factorio-types 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes.d.ts +377 -375
- package/dist/concepts.d.ts +65 -39
- package/dist/defines.d.ts +75 -75
- package/dist/events.d.ts +1 -1
- package/dist/global.d.ts +1 -1
- package/dist/prototypes.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
package/dist/classes.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Factorio API reference https://lua-api.factorio.com/latest/index.html
|
|
3
3
|
// Generated from JSON source https://lua-api.factorio.com/latest/runtime-api.json
|
|
4
4
|
// Definition source https://github.com/sguest/factorio-types
|
|
5
|
-
// Factorio version 1.1.
|
|
5
|
+
// Factorio version 1.1.109
|
|
6
6
|
// API version 5
|
|
7
7
|
|
|
8
8
|
declare namespace runtime {
|
|
@@ -281,14 +281,14 @@ interface LuaBootstrap {
|
|
|
281
281
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
282
282
|
* @example
|
|
283
283
|
* ```
|
|
284
|
-
* -- Register for the
|
|
284
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
285
285
|
* script.on_event(defines.events.on_tick,
|
|
286
286
|
* function(event) game.print(event.tick) end)
|
|
287
287
|
* ```
|
|
288
288
|
*
|
|
289
289
|
* @example
|
|
290
290
|
* ```
|
|
291
|
-
* -- Register for the
|
|
291
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
292
292
|
* script.on_event(defines.events.on_built_entity,
|
|
293
293
|
* function(event) game.print("Gotta go fast!") end,
|
|
294
294
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -307,14 +307,14 @@ interface LuaBootstrap {
|
|
|
307
307
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
308
308
|
* @example
|
|
309
309
|
* ```
|
|
310
|
-
* -- Register for the
|
|
310
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
311
311
|
* script.on_event(defines.events.on_tick,
|
|
312
312
|
* function(event) game.print(event.tick) end)
|
|
313
313
|
* ```
|
|
314
314
|
*
|
|
315
315
|
* @example
|
|
316
316
|
* ```
|
|
317
|
-
* -- Register for the
|
|
317
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
318
318
|
* script.on_event(defines.events.on_built_entity,
|
|
319
319
|
* function(event) game.print("Gotta go fast!") end,
|
|
320
320
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -333,14 +333,14 @@ interface LuaBootstrap {
|
|
|
333
333
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
334
334
|
* @example
|
|
335
335
|
* ```
|
|
336
|
-
* -- Register for the
|
|
336
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
337
337
|
* script.on_event(defines.events.on_tick,
|
|
338
338
|
* function(event) game.print(event.tick) end)
|
|
339
339
|
* ```
|
|
340
340
|
*
|
|
341
341
|
* @example
|
|
342
342
|
* ```
|
|
343
|
-
* -- Register for the
|
|
343
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
344
344
|
* script.on_event(defines.events.on_built_entity,
|
|
345
345
|
* function(event) game.print("Gotta go fast!") end,
|
|
346
346
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -359,14 +359,14 @@ interface LuaBootstrap {
|
|
|
359
359
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
360
360
|
* @example
|
|
361
361
|
* ```
|
|
362
|
-
* -- Register for the
|
|
362
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
363
363
|
* script.on_event(defines.events.on_tick,
|
|
364
364
|
* function(event) game.print(event.tick) end)
|
|
365
365
|
* ```
|
|
366
366
|
*
|
|
367
367
|
* @example
|
|
368
368
|
* ```
|
|
369
|
-
* -- Register for the
|
|
369
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
370
370
|
* script.on_event(defines.events.on_built_entity,
|
|
371
371
|
* function(event) game.print("Gotta go fast!") end,
|
|
372
372
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -385,14 +385,14 @@ interface LuaBootstrap {
|
|
|
385
385
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
386
386
|
* @example
|
|
387
387
|
* ```
|
|
388
|
-
* -- Register for the
|
|
388
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
389
389
|
* script.on_event(defines.events.on_tick,
|
|
390
390
|
* function(event) game.print(event.tick) end)
|
|
391
391
|
* ```
|
|
392
392
|
*
|
|
393
393
|
* @example
|
|
394
394
|
* ```
|
|
395
|
-
* -- Register for the
|
|
395
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
396
396
|
* script.on_event(defines.events.on_built_entity,
|
|
397
397
|
* function(event) game.print("Gotta go fast!") end,
|
|
398
398
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -411,14 +411,14 @@ interface LuaBootstrap {
|
|
|
411
411
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
412
412
|
* @example
|
|
413
413
|
* ```
|
|
414
|
-
* -- Register for the
|
|
414
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
415
415
|
* script.on_event(defines.events.on_tick,
|
|
416
416
|
* function(event) game.print(event.tick) end)
|
|
417
417
|
* ```
|
|
418
418
|
*
|
|
419
419
|
* @example
|
|
420
420
|
* ```
|
|
421
|
-
* -- Register for the
|
|
421
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
422
422
|
* script.on_event(defines.events.on_built_entity,
|
|
423
423
|
* function(event) game.print("Gotta go fast!") end,
|
|
424
424
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -437,14 +437,14 @@ interface LuaBootstrap {
|
|
|
437
437
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
438
438
|
* @example
|
|
439
439
|
* ```
|
|
440
|
-
* -- Register for the
|
|
440
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
441
441
|
* script.on_event(defines.events.on_tick,
|
|
442
442
|
* function(event) game.print(event.tick) end)
|
|
443
443
|
* ```
|
|
444
444
|
*
|
|
445
445
|
* @example
|
|
446
446
|
* ```
|
|
447
|
-
* -- Register for the
|
|
447
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
448
448
|
* script.on_event(defines.events.on_built_entity,
|
|
449
449
|
* function(event) game.print("Gotta go fast!") end,
|
|
450
450
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -463,14 +463,14 @@ interface LuaBootstrap {
|
|
|
463
463
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
464
464
|
* @example
|
|
465
465
|
* ```
|
|
466
|
-
* -- Register for the
|
|
466
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
467
467
|
* script.on_event(defines.events.on_tick,
|
|
468
468
|
* function(event) game.print(event.tick) end)
|
|
469
469
|
* ```
|
|
470
470
|
*
|
|
471
471
|
* @example
|
|
472
472
|
* ```
|
|
473
|
-
* -- Register for the
|
|
473
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
474
474
|
* script.on_event(defines.events.on_built_entity,
|
|
475
475
|
* function(event) game.print("Gotta go fast!") end,
|
|
476
476
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -489,14 +489,14 @@ interface LuaBootstrap {
|
|
|
489
489
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
490
490
|
* @example
|
|
491
491
|
* ```
|
|
492
|
-
* -- Register for the
|
|
492
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
493
493
|
* script.on_event(defines.events.on_tick,
|
|
494
494
|
* function(event) game.print(event.tick) end)
|
|
495
495
|
* ```
|
|
496
496
|
*
|
|
497
497
|
* @example
|
|
498
498
|
* ```
|
|
499
|
-
* -- Register for the
|
|
499
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
500
500
|
* script.on_event(defines.events.on_built_entity,
|
|
501
501
|
* function(event) game.print("Gotta go fast!") end,
|
|
502
502
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -515,14 +515,14 @@ interface LuaBootstrap {
|
|
|
515
515
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
516
516
|
* @example
|
|
517
517
|
* ```
|
|
518
|
-
* -- Register for the
|
|
518
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
519
519
|
* script.on_event(defines.events.on_tick,
|
|
520
520
|
* function(event) game.print(event.tick) end)
|
|
521
521
|
* ```
|
|
522
522
|
*
|
|
523
523
|
* @example
|
|
524
524
|
* ```
|
|
525
|
-
* -- Register for the
|
|
525
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
526
526
|
* script.on_event(defines.events.on_built_entity,
|
|
527
527
|
* function(event) game.print("Gotta go fast!") end,
|
|
528
528
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -541,14 +541,14 @@ interface LuaBootstrap {
|
|
|
541
541
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
542
542
|
* @example
|
|
543
543
|
* ```
|
|
544
|
-
* -- Register for the
|
|
544
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
545
545
|
* script.on_event(defines.events.on_tick,
|
|
546
546
|
* function(event) game.print(event.tick) end)
|
|
547
547
|
* ```
|
|
548
548
|
*
|
|
549
549
|
* @example
|
|
550
550
|
* ```
|
|
551
|
-
* -- Register for the
|
|
551
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
552
552
|
* script.on_event(defines.events.on_built_entity,
|
|
553
553
|
* function(event) game.print("Gotta go fast!") end,
|
|
554
554
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -567,14 +567,14 @@ interface LuaBootstrap {
|
|
|
567
567
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
568
568
|
* @example
|
|
569
569
|
* ```
|
|
570
|
-
* -- Register for the
|
|
570
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
571
571
|
* script.on_event(defines.events.on_tick,
|
|
572
572
|
* function(event) game.print(event.tick) end)
|
|
573
573
|
* ```
|
|
574
574
|
*
|
|
575
575
|
* @example
|
|
576
576
|
* ```
|
|
577
|
-
* -- Register for the
|
|
577
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
578
578
|
* script.on_event(defines.events.on_built_entity,
|
|
579
579
|
* function(event) game.print("Gotta go fast!") end,
|
|
580
580
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -593,14 +593,14 @@ interface LuaBootstrap {
|
|
|
593
593
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
594
594
|
* @example
|
|
595
595
|
* ```
|
|
596
|
-
* -- Register for the
|
|
596
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
597
597
|
* script.on_event(defines.events.on_tick,
|
|
598
598
|
* function(event) game.print(event.tick) end)
|
|
599
599
|
* ```
|
|
600
600
|
*
|
|
601
601
|
* @example
|
|
602
602
|
* ```
|
|
603
|
-
* -- Register for the
|
|
603
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
604
604
|
* script.on_event(defines.events.on_built_entity,
|
|
605
605
|
* function(event) game.print("Gotta go fast!") end,
|
|
606
606
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -619,14 +619,14 @@ interface LuaBootstrap {
|
|
|
619
619
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
620
620
|
* @example
|
|
621
621
|
* ```
|
|
622
|
-
* -- Register for the
|
|
622
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
623
623
|
* script.on_event(defines.events.on_tick,
|
|
624
624
|
* function(event) game.print(event.tick) end)
|
|
625
625
|
* ```
|
|
626
626
|
*
|
|
627
627
|
* @example
|
|
628
628
|
* ```
|
|
629
|
-
* -- Register for the
|
|
629
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
630
630
|
* script.on_event(defines.events.on_built_entity,
|
|
631
631
|
* function(event) game.print("Gotta go fast!") end,
|
|
632
632
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -645,14 +645,14 @@ interface LuaBootstrap {
|
|
|
645
645
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
646
646
|
* @example
|
|
647
647
|
* ```
|
|
648
|
-
* -- Register for the
|
|
648
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
649
649
|
* script.on_event(defines.events.on_tick,
|
|
650
650
|
* function(event) game.print(event.tick) end)
|
|
651
651
|
* ```
|
|
652
652
|
*
|
|
653
653
|
* @example
|
|
654
654
|
* ```
|
|
655
|
-
* -- Register for the
|
|
655
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
656
656
|
* script.on_event(defines.events.on_built_entity,
|
|
657
657
|
* function(event) game.print("Gotta go fast!") end,
|
|
658
658
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -671,14 +671,14 @@ interface LuaBootstrap {
|
|
|
671
671
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
672
672
|
* @example
|
|
673
673
|
* ```
|
|
674
|
-
* -- Register for the
|
|
674
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
675
675
|
* script.on_event(defines.events.on_tick,
|
|
676
676
|
* function(event) game.print(event.tick) end)
|
|
677
677
|
* ```
|
|
678
678
|
*
|
|
679
679
|
* @example
|
|
680
680
|
* ```
|
|
681
|
-
* -- Register for the
|
|
681
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
682
682
|
* script.on_event(defines.events.on_built_entity,
|
|
683
683
|
* function(event) game.print("Gotta go fast!") end,
|
|
684
684
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -697,14 +697,14 @@ interface LuaBootstrap {
|
|
|
697
697
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
698
698
|
* @example
|
|
699
699
|
* ```
|
|
700
|
-
* -- Register for the
|
|
700
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
701
701
|
* script.on_event(defines.events.on_tick,
|
|
702
702
|
* function(event) game.print(event.tick) end)
|
|
703
703
|
* ```
|
|
704
704
|
*
|
|
705
705
|
* @example
|
|
706
706
|
* ```
|
|
707
|
-
* -- Register for the
|
|
707
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
708
708
|
* script.on_event(defines.events.on_built_entity,
|
|
709
709
|
* function(event) game.print("Gotta go fast!") end,
|
|
710
710
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -723,14 +723,14 @@ interface LuaBootstrap {
|
|
|
723
723
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
724
724
|
* @example
|
|
725
725
|
* ```
|
|
726
|
-
* -- Register for the
|
|
726
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
727
727
|
* script.on_event(defines.events.on_tick,
|
|
728
728
|
* function(event) game.print(event.tick) end)
|
|
729
729
|
* ```
|
|
730
730
|
*
|
|
731
731
|
* @example
|
|
732
732
|
* ```
|
|
733
|
-
* -- Register for the
|
|
733
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
734
734
|
* script.on_event(defines.events.on_built_entity,
|
|
735
735
|
* function(event) game.print("Gotta go fast!") end,
|
|
736
736
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -749,14 +749,14 @@ interface LuaBootstrap {
|
|
|
749
749
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
750
750
|
* @example
|
|
751
751
|
* ```
|
|
752
|
-
* -- Register for the
|
|
752
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
753
753
|
* script.on_event(defines.events.on_tick,
|
|
754
754
|
* function(event) game.print(event.tick) end)
|
|
755
755
|
* ```
|
|
756
756
|
*
|
|
757
757
|
* @example
|
|
758
758
|
* ```
|
|
759
|
-
* -- Register for the
|
|
759
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
760
760
|
* script.on_event(defines.events.on_built_entity,
|
|
761
761
|
* function(event) game.print("Gotta go fast!") end,
|
|
762
762
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -775,14 +775,14 @@ interface LuaBootstrap {
|
|
|
775
775
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
776
776
|
* @example
|
|
777
777
|
* ```
|
|
778
|
-
* -- Register for the
|
|
778
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
779
779
|
* script.on_event(defines.events.on_tick,
|
|
780
780
|
* function(event) game.print(event.tick) end)
|
|
781
781
|
* ```
|
|
782
782
|
*
|
|
783
783
|
* @example
|
|
784
784
|
* ```
|
|
785
|
-
* -- Register for the
|
|
785
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
786
786
|
* script.on_event(defines.events.on_built_entity,
|
|
787
787
|
* function(event) game.print("Gotta go fast!") end,
|
|
788
788
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -801,14 +801,14 @@ interface LuaBootstrap {
|
|
|
801
801
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
802
802
|
* @example
|
|
803
803
|
* ```
|
|
804
|
-
* -- Register for the
|
|
804
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
805
805
|
* script.on_event(defines.events.on_tick,
|
|
806
806
|
* function(event) game.print(event.tick) end)
|
|
807
807
|
* ```
|
|
808
808
|
*
|
|
809
809
|
* @example
|
|
810
810
|
* ```
|
|
811
|
-
* -- Register for the
|
|
811
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
812
812
|
* script.on_event(defines.events.on_built_entity,
|
|
813
813
|
* function(event) game.print("Gotta go fast!") end,
|
|
814
814
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -827,14 +827,14 @@ interface LuaBootstrap {
|
|
|
827
827
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
828
828
|
* @example
|
|
829
829
|
* ```
|
|
830
|
-
* -- Register for the
|
|
830
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
831
831
|
* script.on_event(defines.events.on_tick,
|
|
832
832
|
* function(event) game.print(event.tick) end)
|
|
833
833
|
* ```
|
|
834
834
|
*
|
|
835
835
|
* @example
|
|
836
836
|
* ```
|
|
837
|
-
* -- Register for the
|
|
837
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
838
838
|
* script.on_event(defines.events.on_built_entity,
|
|
839
839
|
* function(event) game.print("Gotta go fast!") end,
|
|
840
840
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -853,14 +853,14 @@ interface LuaBootstrap {
|
|
|
853
853
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
854
854
|
* @example
|
|
855
855
|
* ```
|
|
856
|
-
* -- Register for the
|
|
856
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
857
857
|
* script.on_event(defines.events.on_tick,
|
|
858
858
|
* function(event) game.print(event.tick) end)
|
|
859
859
|
* ```
|
|
860
860
|
*
|
|
861
861
|
* @example
|
|
862
862
|
* ```
|
|
863
|
-
* -- Register for the
|
|
863
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
864
864
|
* script.on_event(defines.events.on_built_entity,
|
|
865
865
|
* function(event) game.print("Gotta go fast!") end,
|
|
866
866
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -879,14 +879,14 @@ interface LuaBootstrap {
|
|
|
879
879
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
880
880
|
* @example
|
|
881
881
|
* ```
|
|
882
|
-
* -- Register for the
|
|
882
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
883
883
|
* script.on_event(defines.events.on_tick,
|
|
884
884
|
* function(event) game.print(event.tick) end)
|
|
885
885
|
* ```
|
|
886
886
|
*
|
|
887
887
|
* @example
|
|
888
888
|
* ```
|
|
889
|
-
* -- Register for the
|
|
889
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
890
890
|
* script.on_event(defines.events.on_built_entity,
|
|
891
891
|
* function(event) game.print("Gotta go fast!") end,
|
|
892
892
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -905,14 +905,14 @@ interface LuaBootstrap {
|
|
|
905
905
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
906
906
|
* @example
|
|
907
907
|
* ```
|
|
908
|
-
* -- Register for the
|
|
908
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
909
909
|
* script.on_event(defines.events.on_tick,
|
|
910
910
|
* function(event) game.print(event.tick) end)
|
|
911
911
|
* ```
|
|
912
912
|
*
|
|
913
913
|
* @example
|
|
914
914
|
* ```
|
|
915
|
-
* -- Register for the
|
|
915
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
916
916
|
* script.on_event(defines.events.on_built_entity,
|
|
917
917
|
* function(event) game.print("Gotta go fast!") end,
|
|
918
918
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -931,14 +931,14 @@ interface LuaBootstrap {
|
|
|
931
931
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
932
932
|
* @example
|
|
933
933
|
* ```
|
|
934
|
-
* -- Register for the
|
|
934
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
935
935
|
* script.on_event(defines.events.on_tick,
|
|
936
936
|
* function(event) game.print(event.tick) end)
|
|
937
937
|
* ```
|
|
938
938
|
*
|
|
939
939
|
* @example
|
|
940
940
|
* ```
|
|
941
|
-
* -- Register for the
|
|
941
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
942
942
|
* script.on_event(defines.events.on_built_entity,
|
|
943
943
|
* function(event) game.print("Gotta go fast!") end,
|
|
944
944
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -957,14 +957,14 @@ interface LuaBootstrap {
|
|
|
957
957
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
958
958
|
* @example
|
|
959
959
|
* ```
|
|
960
|
-
* -- Register for the
|
|
960
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
961
961
|
* script.on_event(defines.events.on_tick,
|
|
962
962
|
* function(event) game.print(event.tick) end)
|
|
963
963
|
* ```
|
|
964
964
|
*
|
|
965
965
|
* @example
|
|
966
966
|
* ```
|
|
967
|
-
* -- Register for the
|
|
967
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
968
968
|
* script.on_event(defines.events.on_built_entity,
|
|
969
969
|
* function(event) game.print("Gotta go fast!") end,
|
|
970
970
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -983,14 +983,14 @@ interface LuaBootstrap {
|
|
|
983
983
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
984
984
|
* @example
|
|
985
985
|
* ```
|
|
986
|
-
* -- Register for the
|
|
986
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
987
987
|
* script.on_event(defines.events.on_tick,
|
|
988
988
|
* function(event) game.print(event.tick) end)
|
|
989
989
|
* ```
|
|
990
990
|
*
|
|
991
991
|
* @example
|
|
992
992
|
* ```
|
|
993
|
-
* -- Register for the
|
|
993
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
994
994
|
* script.on_event(defines.events.on_built_entity,
|
|
995
995
|
* function(event) game.print("Gotta go fast!") end,
|
|
996
996
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1009,14 +1009,14 @@ interface LuaBootstrap {
|
|
|
1009
1009
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1010
1010
|
* @example
|
|
1011
1011
|
* ```
|
|
1012
|
-
* -- Register for the
|
|
1012
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1013
1013
|
* script.on_event(defines.events.on_tick,
|
|
1014
1014
|
* function(event) game.print(event.tick) end)
|
|
1015
1015
|
* ```
|
|
1016
1016
|
*
|
|
1017
1017
|
* @example
|
|
1018
1018
|
* ```
|
|
1019
|
-
* -- Register for the
|
|
1019
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1020
1020
|
* script.on_event(defines.events.on_built_entity,
|
|
1021
1021
|
* function(event) game.print("Gotta go fast!") end,
|
|
1022
1022
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1035,14 +1035,14 @@ interface LuaBootstrap {
|
|
|
1035
1035
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1036
1036
|
* @example
|
|
1037
1037
|
* ```
|
|
1038
|
-
* -- Register for the
|
|
1038
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1039
1039
|
* script.on_event(defines.events.on_tick,
|
|
1040
1040
|
* function(event) game.print(event.tick) end)
|
|
1041
1041
|
* ```
|
|
1042
1042
|
*
|
|
1043
1043
|
* @example
|
|
1044
1044
|
* ```
|
|
1045
|
-
* -- Register for the
|
|
1045
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1046
1046
|
* script.on_event(defines.events.on_built_entity,
|
|
1047
1047
|
* function(event) game.print("Gotta go fast!") end,
|
|
1048
1048
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1061,14 +1061,14 @@ interface LuaBootstrap {
|
|
|
1061
1061
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1062
1062
|
* @example
|
|
1063
1063
|
* ```
|
|
1064
|
-
* -- Register for the
|
|
1064
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1065
1065
|
* script.on_event(defines.events.on_tick,
|
|
1066
1066
|
* function(event) game.print(event.tick) end)
|
|
1067
1067
|
* ```
|
|
1068
1068
|
*
|
|
1069
1069
|
* @example
|
|
1070
1070
|
* ```
|
|
1071
|
-
* -- Register for the
|
|
1071
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1072
1072
|
* script.on_event(defines.events.on_built_entity,
|
|
1073
1073
|
* function(event) game.print("Gotta go fast!") end,
|
|
1074
1074
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1087,14 +1087,14 @@ interface LuaBootstrap {
|
|
|
1087
1087
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1088
1088
|
* @example
|
|
1089
1089
|
* ```
|
|
1090
|
-
* -- Register for the
|
|
1090
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1091
1091
|
* script.on_event(defines.events.on_tick,
|
|
1092
1092
|
* function(event) game.print(event.tick) end)
|
|
1093
1093
|
* ```
|
|
1094
1094
|
*
|
|
1095
1095
|
* @example
|
|
1096
1096
|
* ```
|
|
1097
|
-
* -- Register for the
|
|
1097
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1098
1098
|
* script.on_event(defines.events.on_built_entity,
|
|
1099
1099
|
* function(event) game.print("Gotta go fast!") end,
|
|
1100
1100
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1113,14 +1113,14 @@ interface LuaBootstrap {
|
|
|
1113
1113
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1114
1114
|
* @example
|
|
1115
1115
|
* ```
|
|
1116
|
-
* -- Register for the
|
|
1116
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1117
1117
|
* script.on_event(defines.events.on_tick,
|
|
1118
1118
|
* function(event) game.print(event.tick) end)
|
|
1119
1119
|
* ```
|
|
1120
1120
|
*
|
|
1121
1121
|
* @example
|
|
1122
1122
|
* ```
|
|
1123
|
-
* -- Register for the
|
|
1123
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1124
1124
|
* script.on_event(defines.events.on_built_entity,
|
|
1125
1125
|
* function(event) game.print("Gotta go fast!") end,
|
|
1126
1126
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1139,14 +1139,14 @@ interface LuaBootstrap {
|
|
|
1139
1139
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1140
1140
|
* @example
|
|
1141
1141
|
* ```
|
|
1142
|
-
* -- Register for the
|
|
1142
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1143
1143
|
* script.on_event(defines.events.on_tick,
|
|
1144
1144
|
* function(event) game.print(event.tick) end)
|
|
1145
1145
|
* ```
|
|
1146
1146
|
*
|
|
1147
1147
|
* @example
|
|
1148
1148
|
* ```
|
|
1149
|
-
* -- Register for the
|
|
1149
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1150
1150
|
* script.on_event(defines.events.on_built_entity,
|
|
1151
1151
|
* function(event) game.print("Gotta go fast!") end,
|
|
1152
1152
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1165,14 +1165,14 @@ interface LuaBootstrap {
|
|
|
1165
1165
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1166
1166
|
* @example
|
|
1167
1167
|
* ```
|
|
1168
|
-
* -- Register for the
|
|
1168
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1169
1169
|
* script.on_event(defines.events.on_tick,
|
|
1170
1170
|
* function(event) game.print(event.tick) end)
|
|
1171
1171
|
* ```
|
|
1172
1172
|
*
|
|
1173
1173
|
* @example
|
|
1174
1174
|
* ```
|
|
1175
|
-
* -- Register for the
|
|
1175
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1176
1176
|
* script.on_event(defines.events.on_built_entity,
|
|
1177
1177
|
* function(event) game.print("Gotta go fast!") end,
|
|
1178
1178
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1191,14 +1191,14 @@ interface LuaBootstrap {
|
|
|
1191
1191
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1192
1192
|
* @example
|
|
1193
1193
|
* ```
|
|
1194
|
-
* -- Register for the
|
|
1194
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1195
1195
|
* script.on_event(defines.events.on_tick,
|
|
1196
1196
|
* function(event) game.print(event.tick) end)
|
|
1197
1197
|
* ```
|
|
1198
1198
|
*
|
|
1199
1199
|
* @example
|
|
1200
1200
|
* ```
|
|
1201
|
-
* -- Register for the
|
|
1201
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1202
1202
|
* script.on_event(defines.events.on_built_entity,
|
|
1203
1203
|
* function(event) game.print("Gotta go fast!") end,
|
|
1204
1204
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1217,14 +1217,14 @@ interface LuaBootstrap {
|
|
|
1217
1217
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1218
1218
|
* @example
|
|
1219
1219
|
* ```
|
|
1220
|
-
* -- Register for the
|
|
1220
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1221
1221
|
* script.on_event(defines.events.on_tick,
|
|
1222
1222
|
* function(event) game.print(event.tick) end)
|
|
1223
1223
|
* ```
|
|
1224
1224
|
*
|
|
1225
1225
|
* @example
|
|
1226
1226
|
* ```
|
|
1227
|
-
* -- Register for the
|
|
1227
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1228
1228
|
* script.on_event(defines.events.on_built_entity,
|
|
1229
1229
|
* function(event) game.print("Gotta go fast!") end,
|
|
1230
1230
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1243,14 +1243,14 @@ interface LuaBootstrap {
|
|
|
1243
1243
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1244
1244
|
* @example
|
|
1245
1245
|
* ```
|
|
1246
|
-
* -- Register for the
|
|
1246
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1247
1247
|
* script.on_event(defines.events.on_tick,
|
|
1248
1248
|
* function(event) game.print(event.tick) end)
|
|
1249
1249
|
* ```
|
|
1250
1250
|
*
|
|
1251
1251
|
* @example
|
|
1252
1252
|
* ```
|
|
1253
|
-
* -- Register for the
|
|
1253
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1254
1254
|
* script.on_event(defines.events.on_built_entity,
|
|
1255
1255
|
* function(event) game.print("Gotta go fast!") end,
|
|
1256
1256
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1269,14 +1269,14 @@ interface LuaBootstrap {
|
|
|
1269
1269
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1270
1270
|
* @example
|
|
1271
1271
|
* ```
|
|
1272
|
-
* -- Register for the
|
|
1272
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1273
1273
|
* script.on_event(defines.events.on_tick,
|
|
1274
1274
|
* function(event) game.print(event.tick) end)
|
|
1275
1275
|
* ```
|
|
1276
1276
|
*
|
|
1277
1277
|
* @example
|
|
1278
1278
|
* ```
|
|
1279
|
-
* -- Register for the
|
|
1279
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1280
1280
|
* script.on_event(defines.events.on_built_entity,
|
|
1281
1281
|
* function(event) game.print("Gotta go fast!") end,
|
|
1282
1282
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1295,14 +1295,14 @@ interface LuaBootstrap {
|
|
|
1295
1295
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1296
1296
|
* @example
|
|
1297
1297
|
* ```
|
|
1298
|
-
* -- Register for the
|
|
1298
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1299
1299
|
* script.on_event(defines.events.on_tick,
|
|
1300
1300
|
* function(event) game.print(event.tick) end)
|
|
1301
1301
|
* ```
|
|
1302
1302
|
*
|
|
1303
1303
|
* @example
|
|
1304
1304
|
* ```
|
|
1305
|
-
* -- Register for the
|
|
1305
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1306
1306
|
* script.on_event(defines.events.on_built_entity,
|
|
1307
1307
|
* function(event) game.print("Gotta go fast!") end,
|
|
1308
1308
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1321,14 +1321,14 @@ interface LuaBootstrap {
|
|
|
1321
1321
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1322
1322
|
* @example
|
|
1323
1323
|
* ```
|
|
1324
|
-
* -- Register for the
|
|
1324
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1325
1325
|
* script.on_event(defines.events.on_tick,
|
|
1326
1326
|
* function(event) game.print(event.tick) end)
|
|
1327
1327
|
* ```
|
|
1328
1328
|
*
|
|
1329
1329
|
* @example
|
|
1330
1330
|
* ```
|
|
1331
|
-
* -- Register for the
|
|
1331
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1332
1332
|
* script.on_event(defines.events.on_built_entity,
|
|
1333
1333
|
* function(event) game.print("Gotta go fast!") end,
|
|
1334
1334
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1347,14 +1347,14 @@ interface LuaBootstrap {
|
|
|
1347
1347
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1348
1348
|
* @example
|
|
1349
1349
|
* ```
|
|
1350
|
-
* -- Register for the
|
|
1350
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1351
1351
|
* script.on_event(defines.events.on_tick,
|
|
1352
1352
|
* function(event) game.print(event.tick) end)
|
|
1353
1353
|
* ```
|
|
1354
1354
|
*
|
|
1355
1355
|
* @example
|
|
1356
1356
|
* ```
|
|
1357
|
-
* -- Register for the
|
|
1357
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1358
1358
|
* script.on_event(defines.events.on_built_entity,
|
|
1359
1359
|
* function(event) game.print("Gotta go fast!") end,
|
|
1360
1360
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1373,14 +1373,14 @@ interface LuaBootstrap {
|
|
|
1373
1373
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1374
1374
|
* @example
|
|
1375
1375
|
* ```
|
|
1376
|
-
* -- Register for the
|
|
1376
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1377
1377
|
* script.on_event(defines.events.on_tick,
|
|
1378
1378
|
* function(event) game.print(event.tick) end)
|
|
1379
1379
|
* ```
|
|
1380
1380
|
*
|
|
1381
1381
|
* @example
|
|
1382
1382
|
* ```
|
|
1383
|
-
* -- Register for the
|
|
1383
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1384
1384
|
* script.on_event(defines.events.on_built_entity,
|
|
1385
1385
|
* function(event) game.print("Gotta go fast!") end,
|
|
1386
1386
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1399,14 +1399,14 @@ interface LuaBootstrap {
|
|
|
1399
1399
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1400
1400
|
* @example
|
|
1401
1401
|
* ```
|
|
1402
|
-
* -- Register for the
|
|
1402
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1403
1403
|
* script.on_event(defines.events.on_tick,
|
|
1404
1404
|
* function(event) game.print(event.tick) end)
|
|
1405
1405
|
* ```
|
|
1406
1406
|
*
|
|
1407
1407
|
* @example
|
|
1408
1408
|
* ```
|
|
1409
|
-
* -- Register for the
|
|
1409
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1410
1410
|
* script.on_event(defines.events.on_built_entity,
|
|
1411
1411
|
* function(event) game.print("Gotta go fast!") end,
|
|
1412
1412
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1425,14 +1425,14 @@ interface LuaBootstrap {
|
|
|
1425
1425
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1426
1426
|
* @example
|
|
1427
1427
|
* ```
|
|
1428
|
-
* -- Register for the
|
|
1428
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1429
1429
|
* script.on_event(defines.events.on_tick,
|
|
1430
1430
|
* function(event) game.print(event.tick) end)
|
|
1431
1431
|
* ```
|
|
1432
1432
|
*
|
|
1433
1433
|
* @example
|
|
1434
1434
|
* ```
|
|
1435
|
-
* -- Register for the
|
|
1435
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1436
1436
|
* script.on_event(defines.events.on_built_entity,
|
|
1437
1437
|
* function(event) game.print("Gotta go fast!") end,
|
|
1438
1438
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1451,14 +1451,14 @@ interface LuaBootstrap {
|
|
|
1451
1451
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1452
1452
|
* @example
|
|
1453
1453
|
* ```
|
|
1454
|
-
* -- Register for the
|
|
1454
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1455
1455
|
* script.on_event(defines.events.on_tick,
|
|
1456
1456
|
* function(event) game.print(event.tick) end)
|
|
1457
1457
|
* ```
|
|
1458
1458
|
*
|
|
1459
1459
|
* @example
|
|
1460
1460
|
* ```
|
|
1461
|
-
* -- Register for the
|
|
1461
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1462
1462
|
* script.on_event(defines.events.on_built_entity,
|
|
1463
1463
|
* function(event) game.print("Gotta go fast!") end,
|
|
1464
1464
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1477,14 +1477,14 @@ interface LuaBootstrap {
|
|
|
1477
1477
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1478
1478
|
* @example
|
|
1479
1479
|
* ```
|
|
1480
|
-
* -- Register for the
|
|
1480
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1481
1481
|
* script.on_event(defines.events.on_tick,
|
|
1482
1482
|
* function(event) game.print(event.tick) end)
|
|
1483
1483
|
* ```
|
|
1484
1484
|
*
|
|
1485
1485
|
* @example
|
|
1486
1486
|
* ```
|
|
1487
|
-
* -- Register for the
|
|
1487
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1488
1488
|
* script.on_event(defines.events.on_built_entity,
|
|
1489
1489
|
* function(event) game.print("Gotta go fast!") end,
|
|
1490
1490
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1503,14 +1503,14 @@ interface LuaBootstrap {
|
|
|
1503
1503
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1504
1504
|
* @example
|
|
1505
1505
|
* ```
|
|
1506
|
-
* -- Register for the
|
|
1506
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1507
1507
|
* script.on_event(defines.events.on_tick,
|
|
1508
1508
|
* function(event) game.print(event.tick) end)
|
|
1509
1509
|
* ```
|
|
1510
1510
|
*
|
|
1511
1511
|
* @example
|
|
1512
1512
|
* ```
|
|
1513
|
-
* -- Register for the
|
|
1513
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1514
1514
|
* script.on_event(defines.events.on_built_entity,
|
|
1515
1515
|
* function(event) game.print("Gotta go fast!") end,
|
|
1516
1516
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1529,14 +1529,14 @@ interface LuaBootstrap {
|
|
|
1529
1529
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1530
1530
|
* @example
|
|
1531
1531
|
* ```
|
|
1532
|
-
* -- Register for the
|
|
1532
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1533
1533
|
* script.on_event(defines.events.on_tick,
|
|
1534
1534
|
* function(event) game.print(event.tick) end)
|
|
1535
1535
|
* ```
|
|
1536
1536
|
*
|
|
1537
1537
|
* @example
|
|
1538
1538
|
* ```
|
|
1539
|
-
* -- Register for the
|
|
1539
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1540
1540
|
* script.on_event(defines.events.on_built_entity,
|
|
1541
1541
|
* function(event) game.print("Gotta go fast!") end,
|
|
1542
1542
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1555,14 +1555,14 @@ interface LuaBootstrap {
|
|
|
1555
1555
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1556
1556
|
* @example
|
|
1557
1557
|
* ```
|
|
1558
|
-
* -- Register for the
|
|
1558
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1559
1559
|
* script.on_event(defines.events.on_tick,
|
|
1560
1560
|
* function(event) game.print(event.tick) end)
|
|
1561
1561
|
* ```
|
|
1562
1562
|
*
|
|
1563
1563
|
* @example
|
|
1564
1564
|
* ```
|
|
1565
|
-
* -- Register for the
|
|
1565
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1566
1566
|
* script.on_event(defines.events.on_built_entity,
|
|
1567
1567
|
* function(event) game.print("Gotta go fast!") end,
|
|
1568
1568
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1581,14 +1581,14 @@ interface LuaBootstrap {
|
|
|
1581
1581
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1582
1582
|
* @example
|
|
1583
1583
|
* ```
|
|
1584
|
-
* -- Register for the
|
|
1584
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1585
1585
|
* script.on_event(defines.events.on_tick,
|
|
1586
1586
|
* function(event) game.print(event.tick) end)
|
|
1587
1587
|
* ```
|
|
1588
1588
|
*
|
|
1589
1589
|
* @example
|
|
1590
1590
|
* ```
|
|
1591
|
-
* -- Register for the
|
|
1591
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1592
1592
|
* script.on_event(defines.events.on_built_entity,
|
|
1593
1593
|
* function(event) game.print("Gotta go fast!") end,
|
|
1594
1594
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1607,14 +1607,14 @@ interface LuaBootstrap {
|
|
|
1607
1607
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1608
1608
|
* @example
|
|
1609
1609
|
* ```
|
|
1610
|
-
* -- Register for the
|
|
1610
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1611
1611
|
* script.on_event(defines.events.on_tick,
|
|
1612
1612
|
* function(event) game.print(event.tick) end)
|
|
1613
1613
|
* ```
|
|
1614
1614
|
*
|
|
1615
1615
|
* @example
|
|
1616
1616
|
* ```
|
|
1617
|
-
* -- Register for the
|
|
1617
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1618
1618
|
* script.on_event(defines.events.on_built_entity,
|
|
1619
1619
|
* function(event) game.print("Gotta go fast!") end,
|
|
1620
1620
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1633,14 +1633,14 @@ interface LuaBootstrap {
|
|
|
1633
1633
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1634
1634
|
* @example
|
|
1635
1635
|
* ```
|
|
1636
|
-
* -- Register for the
|
|
1636
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1637
1637
|
* script.on_event(defines.events.on_tick,
|
|
1638
1638
|
* function(event) game.print(event.tick) end)
|
|
1639
1639
|
* ```
|
|
1640
1640
|
*
|
|
1641
1641
|
* @example
|
|
1642
1642
|
* ```
|
|
1643
|
-
* -- Register for the
|
|
1643
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1644
1644
|
* script.on_event(defines.events.on_built_entity,
|
|
1645
1645
|
* function(event) game.print("Gotta go fast!") end,
|
|
1646
1646
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1659,14 +1659,14 @@ interface LuaBootstrap {
|
|
|
1659
1659
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1660
1660
|
* @example
|
|
1661
1661
|
* ```
|
|
1662
|
-
* -- Register for the
|
|
1662
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1663
1663
|
* script.on_event(defines.events.on_tick,
|
|
1664
1664
|
* function(event) game.print(event.tick) end)
|
|
1665
1665
|
* ```
|
|
1666
1666
|
*
|
|
1667
1667
|
* @example
|
|
1668
1668
|
* ```
|
|
1669
|
-
* -- Register for the
|
|
1669
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1670
1670
|
* script.on_event(defines.events.on_built_entity,
|
|
1671
1671
|
* function(event) game.print("Gotta go fast!") end,
|
|
1672
1672
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1685,14 +1685,14 @@ interface LuaBootstrap {
|
|
|
1685
1685
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1686
1686
|
* @example
|
|
1687
1687
|
* ```
|
|
1688
|
-
* -- Register for the
|
|
1688
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1689
1689
|
* script.on_event(defines.events.on_tick,
|
|
1690
1690
|
* function(event) game.print(event.tick) end)
|
|
1691
1691
|
* ```
|
|
1692
1692
|
*
|
|
1693
1693
|
* @example
|
|
1694
1694
|
* ```
|
|
1695
|
-
* -- Register for the
|
|
1695
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1696
1696
|
* script.on_event(defines.events.on_built_entity,
|
|
1697
1697
|
* function(event) game.print("Gotta go fast!") end,
|
|
1698
1698
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1711,14 +1711,14 @@ interface LuaBootstrap {
|
|
|
1711
1711
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1712
1712
|
* @example
|
|
1713
1713
|
* ```
|
|
1714
|
-
* -- Register for the
|
|
1714
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1715
1715
|
* script.on_event(defines.events.on_tick,
|
|
1716
1716
|
* function(event) game.print(event.tick) end)
|
|
1717
1717
|
* ```
|
|
1718
1718
|
*
|
|
1719
1719
|
* @example
|
|
1720
1720
|
* ```
|
|
1721
|
-
* -- Register for the
|
|
1721
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1722
1722
|
* script.on_event(defines.events.on_built_entity,
|
|
1723
1723
|
* function(event) game.print("Gotta go fast!") end,
|
|
1724
1724
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1737,14 +1737,14 @@ interface LuaBootstrap {
|
|
|
1737
1737
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1738
1738
|
* @example
|
|
1739
1739
|
* ```
|
|
1740
|
-
* -- Register for the
|
|
1740
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1741
1741
|
* script.on_event(defines.events.on_tick,
|
|
1742
1742
|
* function(event) game.print(event.tick) end)
|
|
1743
1743
|
* ```
|
|
1744
1744
|
*
|
|
1745
1745
|
* @example
|
|
1746
1746
|
* ```
|
|
1747
|
-
* -- Register for the
|
|
1747
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1748
1748
|
* script.on_event(defines.events.on_built_entity,
|
|
1749
1749
|
* function(event) game.print("Gotta go fast!") end,
|
|
1750
1750
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1763,14 +1763,14 @@ interface LuaBootstrap {
|
|
|
1763
1763
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1764
1764
|
* @example
|
|
1765
1765
|
* ```
|
|
1766
|
-
* -- Register for the
|
|
1766
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1767
1767
|
* script.on_event(defines.events.on_tick,
|
|
1768
1768
|
* function(event) game.print(event.tick) end)
|
|
1769
1769
|
* ```
|
|
1770
1770
|
*
|
|
1771
1771
|
* @example
|
|
1772
1772
|
* ```
|
|
1773
|
-
* -- Register for the
|
|
1773
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1774
1774
|
* script.on_event(defines.events.on_built_entity,
|
|
1775
1775
|
* function(event) game.print("Gotta go fast!") end,
|
|
1776
1776
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1789,14 +1789,14 @@ interface LuaBootstrap {
|
|
|
1789
1789
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1790
1790
|
* @example
|
|
1791
1791
|
* ```
|
|
1792
|
-
* -- Register for the
|
|
1792
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1793
1793
|
* script.on_event(defines.events.on_tick,
|
|
1794
1794
|
* function(event) game.print(event.tick) end)
|
|
1795
1795
|
* ```
|
|
1796
1796
|
*
|
|
1797
1797
|
* @example
|
|
1798
1798
|
* ```
|
|
1799
|
-
* -- Register for the
|
|
1799
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1800
1800
|
* script.on_event(defines.events.on_built_entity,
|
|
1801
1801
|
* function(event) game.print("Gotta go fast!") end,
|
|
1802
1802
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1815,14 +1815,14 @@ interface LuaBootstrap {
|
|
|
1815
1815
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1816
1816
|
* @example
|
|
1817
1817
|
* ```
|
|
1818
|
-
* -- Register for the
|
|
1818
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1819
1819
|
* script.on_event(defines.events.on_tick,
|
|
1820
1820
|
* function(event) game.print(event.tick) end)
|
|
1821
1821
|
* ```
|
|
1822
1822
|
*
|
|
1823
1823
|
* @example
|
|
1824
1824
|
* ```
|
|
1825
|
-
* -- Register for the
|
|
1825
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1826
1826
|
* script.on_event(defines.events.on_built_entity,
|
|
1827
1827
|
* function(event) game.print("Gotta go fast!") end,
|
|
1828
1828
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1841,14 +1841,14 @@ interface LuaBootstrap {
|
|
|
1841
1841
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1842
1842
|
* @example
|
|
1843
1843
|
* ```
|
|
1844
|
-
* -- Register for the
|
|
1844
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1845
1845
|
* script.on_event(defines.events.on_tick,
|
|
1846
1846
|
* function(event) game.print(event.tick) end)
|
|
1847
1847
|
* ```
|
|
1848
1848
|
*
|
|
1849
1849
|
* @example
|
|
1850
1850
|
* ```
|
|
1851
|
-
* -- Register for the
|
|
1851
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1852
1852
|
* script.on_event(defines.events.on_built_entity,
|
|
1853
1853
|
* function(event) game.print("Gotta go fast!") end,
|
|
1854
1854
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1867,14 +1867,14 @@ interface LuaBootstrap {
|
|
|
1867
1867
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1868
1868
|
* @example
|
|
1869
1869
|
* ```
|
|
1870
|
-
* -- Register for the
|
|
1870
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1871
1871
|
* script.on_event(defines.events.on_tick,
|
|
1872
1872
|
* function(event) game.print(event.tick) end)
|
|
1873
1873
|
* ```
|
|
1874
1874
|
*
|
|
1875
1875
|
* @example
|
|
1876
1876
|
* ```
|
|
1877
|
-
* -- Register for the
|
|
1877
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1878
1878
|
* script.on_event(defines.events.on_built_entity,
|
|
1879
1879
|
* function(event) game.print("Gotta go fast!") end,
|
|
1880
1880
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1893,14 +1893,14 @@ interface LuaBootstrap {
|
|
|
1893
1893
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1894
1894
|
* @example
|
|
1895
1895
|
* ```
|
|
1896
|
-
* -- Register for the
|
|
1896
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1897
1897
|
* script.on_event(defines.events.on_tick,
|
|
1898
1898
|
* function(event) game.print(event.tick) end)
|
|
1899
1899
|
* ```
|
|
1900
1900
|
*
|
|
1901
1901
|
* @example
|
|
1902
1902
|
* ```
|
|
1903
|
-
* -- Register for the
|
|
1903
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1904
1904
|
* script.on_event(defines.events.on_built_entity,
|
|
1905
1905
|
* function(event) game.print("Gotta go fast!") end,
|
|
1906
1906
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1919,14 +1919,14 @@ interface LuaBootstrap {
|
|
|
1919
1919
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1920
1920
|
* @example
|
|
1921
1921
|
* ```
|
|
1922
|
-
* -- Register for the
|
|
1922
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1923
1923
|
* script.on_event(defines.events.on_tick,
|
|
1924
1924
|
* function(event) game.print(event.tick) end)
|
|
1925
1925
|
* ```
|
|
1926
1926
|
*
|
|
1927
1927
|
* @example
|
|
1928
1928
|
* ```
|
|
1929
|
-
* -- Register for the
|
|
1929
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1930
1930
|
* script.on_event(defines.events.on_built_entity,
|
|
1931
1931
|
* function(event) game.print("Gotta go fast!") end,
|
|
1932
1932
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1945,14 +1945,14 @@ interface LuaBootstrap {
|
|
|
1945
1945
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1946
1946
|
* @example
|
|
1947
1947
|
* ```
|
|
1948
|
-
* -- Register for the
|
|
1948
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1949
1949
|
* script.on_event(defines.events.on_tick,
|
|
1950
1950
|
* function(event) game.print(event.tick) end)
|
|
1951
1951
|
* ```
|
|
1952
1952
|
*
|
|
1953
1953
|
* @example
|
|
1954
1954
|
* ```
|
|
1955
|
-
* -- Register for the
|
|
1955
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1956
1956
|
* script.on_event(defines.events.on_built_entity,
|
|
1957
1957
|
* function(event) game.print("Gotta go fast!") end,
|
|
1958
1958
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1971,14 +1971,14 @@ interface LuaBootstrap {
|
|
|
1971
1971
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1972
1972
|
* @example
|
|
1973
1973
|
* ```
|
|
1974
|
-
* -- Register for the
|
|
1974
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
1975
1975
|
* script.on_event(defines.events.on_tick,
|
|
1976
1976
|
* function(event) game.print(event.tick) end)
|
|
1977
1977
|
* ```
|
|
1978
1978
|
*
|
|
1979
1979
|
* @example
|
|
1980
1980
|
* ```
|
|
1981
|
-
* -- Register for the
|
|
1981
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
1982
1982
|
* script.on_event(defines.events.on_built_entity,
|
|
1983
1983
|
* function(event) game.print("Gotta go fast!") end,
|
|
1984
1984
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -1997,14 +1997,14 @@ interface LuaBootstrap {
|
|
|
1997
1997
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
1998
1998
|
* @example
|
|
1999
1999
|
* ```
|
|
2000
|
-
* -- Register for the
|
|
2000
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2001
2001
|
* script.on_event(defines.events.on_tick,
|
|
2002
2002
|
* function(event) game.print(event.tick) end)
|
|
2003
2003
|
* ```
|
|
2004
2004
|
*
|
|
2005
2005
|
* @example
|
|
2006
2006
|
* ```
|
|
2007
|
-
* -- Register for the
|
|
2007
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2008
2008
|
* script.on_event(defines.events.on_built_entity,
|
|
2009
2009
|
* function(event) game.print("Gotta go fast!") end,
|
|
2010
2010
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2023,14 +2023,14 @@ interface LuaBootstrap {
|
|
|
2023
2023
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2024
2024
|
* @example
|
|
2025
2025
|
* ```
|
|
2026
|
-
* -- Register for the
|
|
2026
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2027
2027
|
* script.on_event(defines.events.on_tick,
|
|
2028
2028
|
* function(event) game.print(event.tick) end)
|
|
2029
2029
|
* ```
|
|
2030
2030
|
*
|
|
2031
2031
|
* @example
|
|
2032
2032
|
* ```
|
|
2033
|
-
* -- Register for the
|
|
2033
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2034
2034
|
* script.on_event(defines.events.on_built_entity,
|
|
2035
2035
|
* function(event) game.print("Gotta go fast!") end,
|
|
2036
2036
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2049,14 +2049,14 @@ interface LuaBootstrap {
|
|
|
2049
2049
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2050
2050
|
* @example
|
|
2051
2051
|
* ```
|
|
2052
|
-
* -- Register for the
|
|
2052
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2053
2053
|
* script.on_event(defines.events.on_tick,
|
|
2054
2054
|
* function(event) game.print(event.tick) end)
|
|
2055
2055
|
* ```
|
|
2056
2056
|
*
|
|
2057
2057
|
* @example
|
|
2058
2058
|
* ```
|
|
2059
|
-
* -- Register for the
|
|
2059
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2060
2060
|
* script.on_event(defines.events.on_built_entity,
|
|
2061
2061
|
* function(event) game.print("Gotta go fast!") end,
|
|
2062
2062
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2075,14 +2075,14 @@ interface LuaBootstrap {
|
|
|
2075
2075
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2076
2076
|
* @example
|
|
2077
2077
|
* ```
|
|
2078
|
-
* -- Register for the
|
|
2078
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2079
2079
|
* script.on_event(defines.events.on_tick,
|
|
2080
2080
|
* function(event) game.print(event.tick) end)
|
|
2081
2081
|
* ```
|
|
2082
2082
|
*
|
|
2083
2083
|
* @example
|
|
2084
2084
|
* ```
|
|
2085
|
-
* -- Register for the
|
|
2085
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2086
2086
|
* script.on_event(defines.events.on_built_entity,
|
|
2087
2087
|
* function(event) game.print("Gotta go fast!") end,
|
|
2088
2088
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2101,14 +2101,14 @@ interface LuaBootstrap {
|
|
|
2101
2101
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2102
2102
|
* @example
|
|
2103
2103
|
* ```
|
|
2104
|
-
* -- Register for the
|
|
2104
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2105
2105
|
* script.on_event(defines.events.on_tick,
|
|
2106
2106
|
* function(event) game.print(event.tick) end)
|
|
2107
2107
|
* ```
|
|
2108
2108
|
*
|
|
2109
2109
|
* @example
|
|
2110
2110
|
* ```
|
|
2111
|
-
* -- Register for the
|
|
2111
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2112
2112
|
* script.on_event(defines.events.on_built_entity,
|
|
2113
2113
|
* function(event) game.print("Gotta go fast!") end,
|
|
2114
2114
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2127,14 +2127,14 @@ interface LuaBootstrap {
|
|
|
2127
2127
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2128
2128
|
* @example
|
|
2129
2129
|
* ```
|
|
2130
|
-
* -- Register for the
|
|
2130
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2131
2131
|
* script.on_event(defines.events.on_tick,
|
|
2132
2132
|
* function(event) game.print(event.tick) end)
|
|
2133
2133
|
* ```
|
|
2134
2134
|
*
|
|
2135
2135
|
* @example
|
|
2136
2136
|
* ```
|
|
2137
|
-
* -- Register for the
|
|
2137
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2138
2138
|
* script.on_event(defines.events.on_built_entity,
|
|
2139
2139
|
* function(event) game.print("Gotta go fast!") end,
|
|
2140
2140
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2153,14 +2153,14 @@ interface LuaBootstrap {
|
|
|
2153
2153
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2154
2154
|
* @example
|
|
2155
2155
|
* ```
|
|
2156
|
-
* -- Register for the
|
|
2156
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2157
2157
|
* script.on_event(defines.events.on_tick,
|
|
2158
2158
|
* function(event) game.print(event.tick) end)
|
|
2159
2159
|
* ```
|
|
2160
2160
|
*
|
|
2161
2161
|
* @example
|
|
2162
2162
|
* ```
|
|
2163
|
-
* -- Register for the
|
|
2163
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2164
2164
|
* script.on_event(defines.events.on_built_entity,
|
|
2165
2165
|
* function(event) game.print("Gotta go fast!") end,
|
|
2166
2166
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2179,14 +2179,14 @@ interface LuaBootstrap {
|
|
|
2179
2179
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2180
2180
|
* @example
|
|
2181
2181
|
* ```
|
|
2182
|
-
* -- Register for the
|
|
2182
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2183
2183
|
* script.on_event(defines.events.on_tick,
|
|
2184
2184
|
* function(event) game.print(event.tick) end)
|
|
2185
2185
|
* ```
|
|
2186
2186
|
*
|
|
2187
2187
|
* @example
|
|
2188
2188
|
* ```
|
|
2189
|
-
* -- Register for the
|
|
2189
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2190
2190
|
* script.on_event(defines.events.on_built_entity,
|
|
2191
2191
|
* function(event) game.print("Gotta go fast!") end,
|
|
2192
2192
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2205,14 +2205,14 @@ interface LuaBootstrap {
|
|
|
2205
2205
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2206
2206
|
* @example
|
|
2207
2207
|
* ```
|
|
2208
|
-
* -- Register for the
|
|
2208
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2209
2209
|
* script.on_event(defines.events.on_tick,
|
|
2210
2210
|
* function(event) game.print(event.tick) end)
|
|
2211
2211
|
* ```
|
|
2212
2212
|
*
|
|
2213
2213
|
* @example
|
|
2214
2214
|
* ```
|
|
2215
|
-
* -- Register for the
|
|
2215
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2216
2216
|
* script.on_event(defines.events.on_built_entity,
|
|
2217
2217
|
* function(event) game.print("Gotta go fast!") end,
|
|
2218
2218
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2231,14 +2231,14 @@ interface LuaBootstrap {
|
|
|
2231
2231
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2232
2232
|
* @example
|
|
2233
2233
|
* ```
|
|
2234
|
-
* -- Register for the
|
|
2234
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2235
2235
|
* script.on_event(defines.events.on_tick,
|
|
2236
2236
|
* function(event) game.print(event.tick) end)
|
|
2237
2237
|
* ```
|
|
2238
2238
|
*
|
|
2239
2239
|
* @example
|
|
2240
2240
|
* ```
|
|
2241
|
-
* -- Register for the
|
|
2241
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2242
2242
|
* script.on_event(defines.events.on_built_entity,
|
|
2243
2243
|
* function(event) game.print("Gotta go fast!") end,
|
|
2244
2244
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2257,14 +2257,14 @@ interface LuaBootstrap {
|
|
|
2257
2257
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2258
2258
|
* @example
|
|
2259
2259
|
* ```
|
|
2260
|
-
* -- Register for the
|
|
2260
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2261
2261
|
* script.on_event(defines.events.on_tick,
|
|
2262
2262
|
* function(event) game.print(event.tick) end)
|
|
2263
2263
|
* ```
|
|
2264
2264
|
*
|
|
2265
2265
|
* @example
|
|
2266
2266
|
* ```
|
|
2267
|
-
* -- Register for the
|
|
2267
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2268
2268
|
* script.on_event(defines.events.on_built_entity,
|
|
2269
2269
|
* function(event) game.print("Gotta go fast!") end,
|
|
2270
2270
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2283,14 +2283,14 @@ interface LuaBootstrap {
|
|
|
2283
2283
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2284
2284
|
* @example
|
|
2285
2285
|
* ```
|
|
2286
|
-
* -- Register for the
|
|
2286
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2287
2287
|
* script.on_event(defines.events.on_tick,
|
|
2288
2288
|
* function(event) game.print(event.tick) end)
|
|
2289
2289
|
* ```
|
|
2290
2290
|
*
|
|
2291
2291
|
* @example
|
|
2292
2292
|
* ```
|
|
2293
|
-
* -- Register for the
|
|
2293
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2294
2294
|
* script.on_event(defines.events.on_built_entity,
|
|
2295
2295
|
* function(event) game.print("Gotta go fast!") end,
|
|
2296
2296
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2309,14 +2309,14 @@ interface LuaBootstrap {
|
|
|
2309
2309
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2310
2310
|
* @example
|
|
2311
2311
|
* ```
|
|
2312
|
-
* -- Register for the
|
|
2312
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2313
2313
|
* script.on_event(defines.events.on_tick,
|
|
2314
2314
|
* function(event) game.print(event.tick) end)
|
|
2315
2315
|
* ```
|
|
2316
2316
|
*
|
|
2317
2317
|
* @example
|
|
2318
2318
|
* ```
|
|
2319
|
-
* -- Register for the
|
|
2319
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2320
2320
|
* script.on_event(defines.events.on_built_entity,
|
|
2321
2321
|
* function(event) game.print("Gotta go fast!") end,
|
|
2322
2322
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2335,14 +2335,14 @@ interface LuaBootstrap {
|
|
|
2335
2335
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2336
2336
|
* @example
|
|
2337
2337
|
* ```
|
|
2338
|
-
* -- Register for the
|
|
2338
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2339
2339
|
* script.on_event(defines.events.on_tick,
|
|
2340
2340
|
* function(event) game.print(event.tick) end)
|
|
2341
2341
|
* ```
|
|
2342
2342
|
*
|
|
2343
2343
|
* @example
|
|
2344
2344
|
* ```
|
|
2345
|
-
* -- Register for the
|
|
2345
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2346
2346
|
* script.on_event(defines.events.on_built_entity,
|
|
2347
2347
|
* function(event) game.print("Gotta go fast!") end,
|
|
2348
2348
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2361,14 +2361,14 @@ interface LuaBootstrap {
|
|
|
2361
2361
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2362
2362
|
* @example
|
|
2363
2363
|
* ```
|
|
2364
|
-
* -- Register for the
|
|
2364
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2365
2365
|
* script.on_event(defines.events.on_tick,
|
|
2366
2366
|
* function(event) game.print(event.tick) end)
|
|
2367
2367
|
* ```
|
|
2368
2368
|
*
|
|
2369
2369
|
* @example
|
|
2370
2370
|
* ```
|
|
2371
|
-
* -- Register for the
|
|
2371
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2372
2372
|
* script.on_event(defines.events.on_built_entity,
|
|
2373
2373
|
* function(event) game.print("Gotta go fast!") end,
|
|
2374
2374
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2387,14 +2387,14 @@ interface LuaBootstrap {
|
|
|
2387
2387
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2388
2388
|
* @example
|
|
2389
2389
|
* ```
|
|
2390
|
-
* -- Register for the
|
|
2390
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2391
2391
|
* script.on_event(defines.events.on_tick,
|
|
2392
2392
|
* function(event) game.print(event.tick) end)
|
|
2393
2393
|
* ```
|
|
2394
2394
|
*
|
|
2395
2395
|
* @example
|
|
2396
2396
|
* ```
|
|
2397
|
-
* -- Register for the
|
|
2397
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2398
2398
|
* script.on_event(defines.events.on_built_entity,
|
|
2399
2399
|
* function(event) game.print("Gotta go fast!") end,
|
|
2400
2400
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2413,14 +2413,14 @@ interface LuaBootstrap {
|
|
|
2413
2413
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2414
2414
|
* @example
|
|
2415
2415
|
* ```
|
|
2416
|
-
* -- Register for the
|
|
2416
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2417
2417
|
* script.on_event(defines.events.on_tick,
|
|
2418
2418
|
* function(event) game.print(event.tick) end)
|
|
2419
2419
|
* ```
|
|
2420
2420
|
*
|
|
2421
2421
|
* @example
|
|
2422
2422
|
* ```
|
|
2423
|
-
* -- Register for the
|
|
2423
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2424
2424
|
* script.on_event(defines.events.on_built_entity,
|
|
2425
2425
|
* function(event) game.print("Gotta go fast!") end,
|
|
2426
2426
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2439,14 +2439,14 @@ interface LuaBootstrap {
|
|
|
2439
2439
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2440
2440
|
* @example
|
|
2441
2441
|
* ```
|
|
2442
|
-
* -- Register for the
|
|
2442
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2443
2443
|
* script.on_event(defines.events.on_tick,
|
|
2444
2444
|
* function(event) game.print(event.tick) end)
|
|
2445
2445
|
* ```
|
|
2446
2446
|
*
|
|
2447
2447
|
* @example
|
|
2448
2448
|
* ```
|
|
2449
|
-
* -- Register for the
|
|
2449
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2450
2450
|
* script.on_event(defines.events.on_built_entity,
|
|
2451
2451
|
* function(event) game.print("Gotta go fast!") end,
|
|
2452
2452
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2465,14 +2465,14 @@ interface LuaBootstrap {
|
|
|
2465
2465
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2466
2466
|
* @example
|
|
2467
2467
|
* ```
|
|
2468
|
-
* -- Register for the
|
|
2468
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2469
2469
|
* script.on_event(defines.events.on_tick,
|
|
2470
2470
|
* function(event) game.print(event.tick) end)
|
|
2471
2471
|
* ```
|
|
2472
2472
|
*
|
|
2473
2473
|
* @example
|
|
2474
2474
|
* ```
|
|
2475
|
-
* -- Register for the
|
|
2475
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2476
2476
|
* script.on_event(defines.events.on_built_entity,
|
|
2477
2477
|
* function(event) game.print("Gotta go fast!") end,
|
|
2478
2478
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2491,14 +2491,14 @@ interface LuaBootstrap {
|
|
|
2491
2491
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2492
2492
|
* @example
|
|
2493
2493
|
* ```
|
|
2494
|
-
* -- Register for the
|
|
2494
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2495
2495
|
* script.on_event(defines.events.on_tick,
|
|
2496
2496
|
* function(event) game.print(event.tick) end)
|
|
2497
2497
|
* ```
|
|
2498
2498
|
*
|
|
2499
2499
|
* @example
|
|
2500
2500
|
* ```
|
|
2501
|
-
* -- Register for the
|
|
2501
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2502
2502
|
* script.on_event(defines.events.on_built_entity,
|
|
2503
2503
|
* function(event) game.print("Gotta go fast!") end,
|
|
2504
2504
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2517,14 +2517,14 @@ interface LuaBootstrap {
|
|
|
2517
2517
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2518
2518
|
* @example
|
|
2519
2519
|
* ```
|
|
2520
|
-
* -- Register for the
|
|
2520
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2521
2521
|
* script.on_event(defines.events.on_tick,
|
|
2522
2522
|
* function(event) game.print(event.tick) end)
|
|
2523
2523
|
* ```
|
|
2524
2524
|
*
|
|
2525
2525
|
* @example
|
|
2526
2526
|
* ```
|
|
2527
|
-
* -- Register for the
|
|
2527
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2528
2528
|
* script.on_event(defines.events.on_built_entity,
|
|
2529
2529
|
* function(event) game.print("Gotta go fast!") end,
|
|
2530
2530
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2543,14 +2543,14 @@ interface LuaBootstrap {
|
|
|
2543
2543
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2544
2544
|
* @example
|
|
2545
2545
|
* ```
|
|
2546
|
-
* -- Register for the
|
|
2546
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2547
2547
|
* script.on_event(defines.events.on_tick,
|
|
2548
2548
|
* function(event) game.print(event.tick) end)
|
|
2549
2549
|
* ```
|
|
2550
2550
|
*
|
|
2551
2551
|
* @example
|
|
2552
2552
|
* ```
|
|
2553
|
-
* -- Register for the
|
|
2553
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2554
2554
|
* script.on_event(defines.events.on_built_entity,
|
|
2555
2555
|
* function(event) game.print("Gotta go fast!") end,
|
|
2556
2556
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2569,14 +2569,14 @@ interface LuaBootstrap {
|
|
|
2569
2569
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2570
2570
|
* @example
|
|
2571
2571
|
* ```
|
|
2572
|
-
* -- Register for the
|
|
2572
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2573
2573
|
* script.on_event(defines.events.on_tick,
|
|
2574
2574
|
* function(event) game.print(event.tick) end)
|
|
2575
2575
|
* ```
|
|
2576
2576
|
*
|
|
2577
2577
|
* @example
|
|
2578
2578
|
* ```
|
|
2579
|
-
* -- Register for the
|
|
2579
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2580
2580
|
* script.on_event(defines.events.on_built_entity,
|
|
2581
2581
|
* function(event) game.print("Gotta go fast!") end,
|
|
2582
2582
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2595,14 +2595,14 @@ interface LuaBootstrap {
|
|
|
2595
2595
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2596
2596
|
* @example
|
|
2597
2597
|
* ```
|
|
2598
|
-
* -- Register for the
|
|
2598
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2599
2599
|
* script.on_event(defines.events.on_tick,
|
|
2600
2600
|
* function(event) game.print(event.tick) end)
|
|
2601
2601
|
* ```
|
|
2602
2602
|
*
|
|
2603
2603
|
* @example
|
|
2604
2604
|
* ```
|
|
2605
|
-
* -- Register for the
|
|
2605
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2606
2606
|
* script.on_event(defines.events.on_built_entity,
|
|
2607
2607
|
* function(event) game.print("Gotta go fast!") end,
|
|
2608
2608
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2621,14 +2621,14 @@ interface LuaBootstrap {
|
|
|
2621
2621
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2622
2622
|
* @example
|
|
2623
2623
|
* ```
|
|
2624
|
-
* -- Register for the
|
|
2624
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2625
2625
|
* script.on_event(defines.events.on_tick,
|
|
2626
2626
|
* function(event) game.print(event.tick) end)
|
|
2627
2627
|
* ```
|
|
2628
2628
|
*
|
|
2629
2629
|
* @example
|
|
2630
2630
|
* ```
|
|
2631
|
-
* -- Register for the
|
|
2631
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2632
2632
|
* script.on_event(defines.events.on_built_entity,
|
|
2633
2633
|
* function(event) game.print("Gotta go fast!") end,
|
|
2634
2634
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2647,14 +2647,14 @@ interface LuaBootstrap {
|
|
|
2647
2647
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2648
2648
|
* @example
|
|
2649
2649
|
* ```
|
|
2650
|
-
* -- Register for the
|
|
2650
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2651
2651
|
* script.on_event(defines.events.on_tick,
|
|
2652
2652
|
* function(event) game.print(event.tick) end)
|
|
2653
2653
|
* ```
|
|
2654
2654
|
*
|
|
2655
2655
|
* @example
|
|
2656
2656
|
* ```
|
|
2657
|
-
* -- Register for the
|
|
2657
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2658
2658
|
* script.on_event(defines.events.on_built_entity,
|
|
2659
2659
|
* function(event) game.print("Gotta go fast!") end,
|
|
2660
2660
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2673,14 +2673,14 @@ interface LuaBootstrap {
|
|
|
2673
2673
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2674
2674
|
* @example
|
|
2675
2675
|
* ```
|
|
2676
|
-
* -- Register for the
|
|
2676
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2677
2677
|
* script.on_event(defines.events.on_tick,
|
|
2678
2678
|
* function(event) game.print(event.tick) end)
|
|
2679
2679
|
* ```
|
|
2680
2680
|
*
|
|
2681
2681
|
* @example
|
|
2682
2682
|
* ```
|
|
2683
|
-
* -- Register for the
|
|
2683
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2684
2684
|
* script.on_event(defines.events.on_built_entity,
|
|
2685
2685
|
* function(event) game.print("Gotta go fast!") end,
|
|
2686
2686
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2699,14 +2699,14 @@ interface LuaBootstrap {
|
|
|
2699
2699
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2700
2700
|
* @example
|
|
2701
2701
|
* ```
|
|
2702
|
-
* -- Register for the
|
|
2702
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2703
2703
|
* script.on_event(defines.events.on_tick,
|
|
2704
2704
|
* function(event) game.print(event.tick) end)
|
|
2705
2705
|
* ```
|
|
2706
2706
|
*
|
|
2707
2707
|
* @example
|
|
2708
2708
|
* ```
|
|
2709
|
-
* -- Register for the
|
|
2709
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2710
2710
|
* script.on_event(defines.events.on_built_entity,
|
|
2711
2711
|
* function(event) game.print("Gotta go fast!") end,
|
|
2712
2712
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2725,14 +2725,14 @@ interface LuaBootstrap {
|
|
|
2725
2725
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2726
2726
|
* @example
|
|
2727
2727
|
* ```
|
|
2728
|
-
* -- Register for the
|
|
2728
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2729
2729
|
* script.on_event(defines.events.on_tick,
|
|
2730
2730
|
* function(event) game.print(event.tick) end)
|
|
2731
2731
|
* ```
|
|
2732
2732
|
*
|
|
2733
2733
|
* @example
|
|
2734
2734
|
* ```
|
|
2735
|
-
* -- Register for the
|
|
2735
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2736
2736
|
* script.on_event(defines.events.on_built_entity,
|
|
2737
2737
|
* function(event) game.print("Gotta go fast!") end,
|
|
2738
2738
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2751,14 +2751,14 @@ interface LuaBootstrap {
|
|
|
2751
2751
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2752
2752
|
* @example
|
|
2753
2753
|
* ```
|
|
2754
|
-
* -- Register for the
|
|
2754
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2755
2755
|
* script.on_event(defines.events.on_tick,
|
|
2756
2756
|
* function(event) game.print(event.tick) end)
|
|
2757
2757
|
* ```
|
|
2758
2758
|
*
|
|
2759
2759
|
* @example
|
|
2760
2760
|
* ```
|
|
2761
|
-
* -- Register for the
|
|
2761
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2762
2762
|
* script.on_event(defines.events.on_built_entity,
|
|
2763
2763
|
* function(event) game.print("Gotta go fast!") end,
|
|
2764
2764
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2777,14 +2777,14 @@ interface LuaBootstrap {
|
|
|
2777
2777
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2778
2778
|
* @example
|
|
2779
2779
|
* ```
|
|
2780
|
-
* -- Register for the
|
|
2780
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2781
2781
|
* script.on_event(defines.events.on_tick,
|
|
2782
2782
|
* function(event) game.print(event.tick) end)
|
|
2783
2783
|
* ```
|
|
2784
2784
|
*
|
|
2785
2785
|
* @example
|
|
2786
2786
|
* ```
|
|
2787
|
-
* -- Register for the
|
|
2787
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2788
2788
|
* script.on_event(defines.events.on_built_entity,
|
|
2789
2789
|
* function(event) game.print("Gotta go fast!") end,
|
|
2790
2790
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2803,14 +2803,14 @@ interface LuaBootstrap {
|
|
|
2803
2803
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2804
2804
|
* @example
|
|
2805
2805
|
* ```
|
|
2806
|
-
* -- Register for the
|
|
2806
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2807
2807
|
* script.on_event(defines.events.on_tick,
|
|
2808
2808
|
* function(event) game.print(event.tick) end)
|
|
2809
2809
|
* ```
|
|
2810
2810
|
*
|
|
2811
2811
|
* @example
|
|
2812
2812
|
* ```
|
|
2813
|
-
* -- Register for the
|
|
2813
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2814
2814
|
* script.on_event(defines.events.on_built_entity,
|
|
2815
2815
|
* function(event) game.print("Gotta go fast!") end,
|
|
2816
2816
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2829,14 +2829,14 @@ interface LuaBootstrap {
|
|
|
2829
2829
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2830
2830
|
* @example
|
|
2831
2831
|
* ```
|
|
2832
|
-
* -- Register for the
|
|
2832
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2833
2833
|
* script.on_event(defines.events.on_tick,
|
|
2834
2834
|
* function(event) game.print(event.tick) end)
|
|
2835
2835
|
* ```
|
|
2836
2836
|
*
|
|
2837
2837
|
* @example
|
|
2838
2838
|
* ```
|
|
2839
|
-
* -- Register for the
|
|
2839
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2840
2840
|
* script.on_event(defines.events.on_built_entity,
|
|
2841
2841
|
* function(event) game.print("Gotta go fast!") end,
|
|
2842
2842
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2855,14 +2855,14 @@ interface LuaBootstrap {
|
|
|
2855
2855
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2856
2856
|
* @example
|
|
2857
2857
|
* ```
|
|
2858
|
-
* -- Register for the
|
|
2858
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2859
2859
|
* script.on_event(defines.events.on_tick,
|
|
2860
2860
|
* function(event) game.print(event.tick) end)
|
|
2861
2861
|
* ```
|
|
2862
2862
|
*
|
|
2863
2863
|
* @example
|
|
2864
2864
|
* ```
|
|
2865
|
-
* -- Register for the
|
|
2865
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2866
2866
|
* script.on_event(defines.events.on_built_entity,
|
|
2867
2867
|
* function(event) game.print("Gotta go fast!") end,
|
|
2868
2868
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2881,14 +2881,14 @@ interface LuaBootstrap {
|
|
|
2881
2881
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2882
2882
|
* @example
|
|
2883
2883
|
* ```
|
|
2884
|
-
* -- Register for the
|
|
2884
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2885
2885
|
* script.on_event(defines.events.on_tick,
|
|
2886
2886
|
* function(event) game.print(event.tick) end)
|
|
2887
2887
|
* ```
|
|
2888
2888
|
*
|
|
2889
2889
|
* @example
|
|
2890
2890
|
* ```
|
|
2891
|
-
* -- Register for the
|
|
2891
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2892
2892
|
* script.on_event(defines.events.on_built_entity,
|
|
2893
2893
|
* function(event) game.print("Gotta go fast!") end,
|
|
2894
2894
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2907,14 +2907,14 @@ interface LuaBootstrap {
|
|
|
2907
2907
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2908
2908
|
* @example
|
|
2909
2909
|
* ```
|
|
2910
|
-
* -- Register for the
|
|
2910
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2911
2911
|
* script.on_event(defines.events.on_tick,
|
|
2912
2912
|
* function(event) game.print(event.tick) end)
|
|
2913
2913
|
* ```
|
|
2914
2914
|
*
|
|
2915
2915
|
* @example
|
|
2916
2916
|
* ```
|
|
2917
|
-
* -- Register for the
|
|
2917
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2918
2918
|
* script.on_event(defines.events.on_built_entity,
|
|
2919
2919
|
* function(event) game.print("Gotta go fast!") end,
|
|
2920
2920
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2933,14 +2933,14 @@ interface LuaBootstrap {
|
|
|
2933
2933
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2934
2934
|
* @example
|
|
2935
2935
|
* ```
|
|
2936
|
-
* -- Register for the
|
|
2936
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2937
2937
|
* script.on_event(defines.events.on_tick,
|
|
2938
2938
|
* function(event) game.print(event.tick) end)
|
|
2939
2939
|
* ```
|
|
2940
2940
|
*
|
|
2941
2941
|
* @example
|
|
2942
2942
|
* ```
|
|
2943
|
-
* -- Register for the
|
|
2943
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2944
2944
|
* script.on_event(defines.events.on_built_entity,
|
|
2945
2945
|
* function(event) game.print("Gotta go fast!") end,
|
|
2946
2946
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2959,14 +2959,14 @@ interface LuaBootstrap {
|
|
|
2959
2959
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2960
2960
|
* @example
|
|
2961
2961
|
* ```
|
|
2962
|
-
* -- Register for the
|
|
2962
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2963
2963
|
* script.on_event(defines.events.on_tick,
|
|
2964
2964
|
* function(event) game.print(event.tick) end)
|
|
2965
2965
|
* ```
|
|
2966
2966
|
*
|
|
2967
2967
|
* @example
|
|
2968
2968
|
* ```
|
|
2969
|
-
* -- Register for the
|
|
2969
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2970
2970
|
* script.on_event(defines.events.on_built_entity,
|
|
2971
2971
|
* function(event) game.print("Gotta go fast!") end,
|
|
2972
2972
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -2985,14 +2985,14 @@ interface LuaBootstrap {
|
|
|
2985
2985
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
2986
2986
|
* @example
|
|
2987
2987
|
* ```
|
|
2988
|
-
* -- Register for the
|
|
2988
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
2989
2989
|
* script.on_event(defines.events.on_tick,
|
|
2990
2990
|
* function(event) game.print(event.tick) end)
|
|
2991
2991
|
* ```
|
|
2992
2992
|
*
|
|
2993
2993
|
* @example
|
|
2994
2994
|
* ```
|
|
2995
|
-
* -- Register for the
|
|
2995
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
2996
2996
|
* script.on_event(defines.events.on_built_entity,
|
|
2997
2997
|
* function(event) game.print("Gotta go fast!") end,
|
|
2998
2998
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3011,14 +3011,14 @@ interface LuaBootstrap {
|
|
|
3011
3011
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3012
3012
|
* @example
|
|
3013
3013
|
* ```
|
|
3014
|
-
* -- Register for the
|
|
3014
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3015
3015
|
* script.on_event(defines.events.on_tick,
|
|
3016
3016
|
* function(event) game.print(event.tick) end)
|
|
3017
3017
|
* ```
|
|
3018
3018
|
*
|
|
3019
3019
|
* @example
|
|
3020
3020
|
* ```
|
|
3021
|
-
* -- Register for the
|
|
3021
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3022
3022
|
* script.on_event(defines.events.on_built_entity,
|
|
3023
3023
|
* function(event) game.print("Gotta go fast!") end,
|
|
3024
3024
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3037,14 +3037,14 @@ interface LuaBootstrap {
|
|
|
3037
3037
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3038
3038
|
* @example
|
|
3039
3039
|
* ```
|
|
3040
|
-
* -- Register for the
|
|
3040
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3041
3041
|
* script.on_event(defines.events.on_tick,
|
|
3042
3042
|
* function(event) game.print(event.tick) end)
|
|
3043
3043
|
* ```
|
|
3044
3044
|
*
|
|
3045
3045
|
* @example
|
|
3046
3046
|
* ```
|
|
3047
|
-
* -- Register for the
|
|
3047
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3048
3048
|
* script.on_event(defines.events.on_built_entity,
|
|
3049
3049
|
* function(event) game.print("Gotta go fast!") end,
|
|
3050
3050
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3063,14 +3063,14 @@ interface LuaBootstrap {
|
|
|
3063
3063
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3064
3064
|
* @example
|
|
3065
3065
|
* ```
|
|
3066
|
-
* -- Register for the
|
|
3066
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3067
3067
|
* script.on_event(defines.events.on_tick,
|
|
3068
3068
|
* function(event) game.print(event.tick) end)
|
|
3069
3069
|
* ```
|
|
3070
3070
|
*
|
|
3071
3071
|
* @example
|
|
3072
3072
|
* ```
|
|
3073
|
-
* -- Register for the
|
|
3073
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3074
3074
|
* script.on_event(defines.events.on_built_entity,
|
|
3075
3075
|
* function(event) game.print("Gotta go fast!") end,
|
|
3076
3076
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3089,14 +3089,14 @@ interface LuaBootstrap {
|
|
|
3089
3089
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3090
3090
|
* @example
|
|
3091
3091
|
* ```
|
|
3092
|
-
* -- Register for the
|
|
3092
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3093
3093
|
* script.on_event(defines.events.on_tick,
|
|
3094
3094
|
* function(event) game.print(event.tick) end)
|
|
3095
3095
|
* ```
|
|
3096
3096
|
*
|
|
3097
3097
|
* @example
|
|
3098
3098
|
* ```
|
|
3099
|
-
* -- Register for the
|
|
3099
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3100
3100
|
* script.on_event(defines.events.on_built_entity,
|
|
3101
3101
|
* function(event) game.print("Gotta go fast!") end,
|
|
3102
3102
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3115,14 +3115,14 @@ interface LuaBootstrap {
|
|
|
3115
3115
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3116
3116
|
* @example
|
|
3117
3117
|
* ```
|
|
3118
|
-
* -- Register for the
|
|
3118
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3119
3119
|
* script.on_event(defines.events.on_tick,
|
|
3120
3120
|
* function(event) game.print(event.tick) end)
|
|
3121
3121
|
* ```
|
|
3122
3122
|
*
|
|
3123
3123
|
* @example
|
|
3124
3124
|
* ```
|
|
3125
|
-
* -- Register for the
|
|
3125
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3126
3126
|
* script.on_event(defines.events.on_built_entity,
|
|
3127
3127
|
* function(event) game.print("Gotta go fast!") end,
|
|
3128
3128
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3141,14 +3141,14 @@ interface LuaBootstrap {
|
|
|
3141
3141
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3142
3142
|
* @example
|
|
3143
3143
|
* ```
|
|
3144
|
-
* -- Register for the
|
|
3144
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3145
3145
|
* script.on_event(defines.events.on_tick,
|
|
3146
3146
|
* function(event) game.print(event.tick) end)
|
|
3147
3147
|
* ```
|
|
3148
3148
|
*
|
|
3149
3149
|
* @example
|
|
3150
3150
|
* ```
|
|
3151
|
-
* -- Register for the
|
|
3151
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3152
3152
|
* script.on_event(defines.events.on_built_entity,
|
|
3153
3153
|
* function(event) game.print("Gotta go fast!") end,
|
|
3154
3154
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3167,14 +3167,14 @@ interface LuaBootstrap {
|
|
|
3167
3167
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3168
3168
|
* @example
|
|
3169
3169
|
* ```
|
|
3170
|
-
* -- Register for the
|
|
3170
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3171
3171
|
* script.on_event(defines.events.on_tick,
|
|
3172
3172
|
* function(event) game.print(event.tick) end)
|
|
3173
3173
|
* ```
|
|
3174
3174
|
*
|
|
3175
3175
|
* @example
|
|
3176
3176
|
* ```
|
|
3177
|
-
* -- Register for the
|
|
3177
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3178
3178
|
* script.on_event(defines.events.on_built_entity,
|
|
3179
3179
|
* function(event) game.print("Gotta go fast!") end,
|
|
3180
3180
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3193,14 +3193,14 @@ interface LuaBootstrap {
|
|
|
3193
3193
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3194
3194
|
* @example
|
|
3195
3195
|
* ```
|
|
3196
|
-
* -- Register for the
|
|
3196
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3197
3197
|
* script.on_event(defines.events.on_tick,
|
|
3198
3198
|
* function(event) game.print(event.tick) end)
|
|
3199
3199
|
* ```
|
|
3200
3200
|
*
|
|
3201
3201
|
* @example
|
|
3202
3202
|
* ```
|
|
3203
|
-
* -- Register for the
|
|
3203
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3204
3204
|
* script.on_event(defines.events.on_built_entity,
|
|
3205
3205
|
* function(event) game.print("Gotta go fast!") end,
|
|
3206
3206
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3219,14 +3219,14 @@ interface LuaBootstrap {
|
|
|
3219
3219
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3220
3220
|
* @example
|
|
3221
3221
|
* ```
|
|
3222
|
-
* -- Register for the
|
|
3222
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3223
3223
|
* script.on_event(defines.events.on_tick,
|
|
3224
3224
|
* function(event) game.print(event.tick) end)
|
|
3225
3225
|
* ```
|
|
3226
3226
|
*
|
|
3227
3227
|
* @example
|
|
3228
3228
|
* ```
|
|
3229
|
-
* -- Register for the
|
|
3229
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3230
3230
|
* script.on_event(defines.events.on_built_entity,
|
|
3231
3231
|
* function(event) game.print("Gotta go fast!") end,
|
|
3232
3232
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3245,14 +3245,14 @@ interface LuaBootstrap {
|
|
|
3245
3245
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3246
3246
|
* @example
|
|
3247
3247
|
* ```
|
|
3248
|
-
* -- Register for the
|
|
3248
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3249
3249
|
* script.on_event(defines.events.on_tick,
|
|
3250
3250
|
* function(event) game.print(event.tick) end)
|
|
3251
3251
|
* ```
|
|
3252
3252
|
*
|
|
3253
3253
|
* @example
|
|
3254
3254
|
* ```
|
|
3255
|
-
* -- Register for the
|
|
3255
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3256
3256
|
* script.on_event(defines.events.on_built_entity,
|
|
3257
3257
|
* function(event) game.print("Gotta go fast!") end,
|
|
3258
3258
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3271,14 +3271,14 @@ interface LuaBootstrap {
|
|
|
3271
3271
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3272
3272
|
* @example
|
|
3273
3273
|
* ```
|
|
3274
|
-
* -- Register for the
|
|
3274
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3275
3275
|
* script.on_event(defines.events.on_tick,
|
|
3276
3276
|
* function(event) game.print(event.tick) end)
|
|
3277
3277
|
* ```
|
|
3278
3278
|
*
|
|
3279
3279
|
* @example
|
|
3280
3280
|
* ```
|
|
3281
|
-
* -- Register for the
|
|
3281
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3282
3282
|
* script.on_event(defines.events.on_built_entity,
|
|
3283
3283
|
* function(event) game.print("Gotta go fast!") end,
|
|
3284
3284
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3297,14 +3297,14 @@ interface LuaBootstrap {
|
|
|
3297
3297
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3298
3298
|
* @example
|
|
3299
3299
|
* ```
|
|
3300
|
-
* -- Register for the
|
|
3300
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3301
3301
|
* script.on_event(defines.events.on_tick,
|
|
3302
3302
|
* function(event) game.print(event.tick) end)
|
|
3303
3303
|
* ```
|
|
3304
3304
|
*
|
|
3305
3305
|
* @example
|
|
3306
3306
|
* ```
|
|
3307
|
-
* -- Register for the
|
|
3307
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3308
3308
|
* script.on_event(defines.events.on_built_entity,
|
|
3309
3309
|
* function(event) game.print("Gotta go fast!") end,
|
|
3310
3310
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3323,14 +3323,14 @@ interface LuaBootstrap {
|
|
|
3323
3323
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3324
3324
|
* @example
|
|
3325
3325
|
* ```
|
|
3326
|
-
* -- Register for the
|
|
3326
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3327
3327
|
* script.on_event(defines.events.on_tick,
|
|
3328
3328
|
* function(event) game.print(event.tick) end)
|
|
3329
3329
|
* ```
|
|
3330
3330
|
*
|
|
3331
3331
|
* @example
|
|
3332
3332
|
* ```
|
|
3333
|
-
* -- Register for the
|
|
3333
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3334
3334
|
* script.on_event(defines.events.on_built_entity,
|
|
3335
3335
|
* function(event) game.print("Gotta go fast!") end,
|
|
3336
3336
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3349,14 +3349,14 @@ interface LuaBootstrap {
|
|
|
3349
3349
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3350
3350
|
* @example
|
|
3351
3351
|
* ```
|
|
3352
|
-
* -- Register for the
|
|
3352
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3353
3353
|
* script.on_event(defines.events.on_tick,
|
|
3354
3354
|
* function(event) game.print(event.tick) end)
|
|
3355
3355
|
* ```
|
|
3356
3356
|
*
|
|
3357
3357
|
* @example
|
|
3358
3358
|
* ```
|
|
3359
|
-
* -- Register for the
|
|
3359
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3360
3360
|
* script.on_event(defines.events.on_built_entity,
|
|
3361
3361
|
* function(event) game.print("Gotta go fast!") end,
|
|
3362
3362
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3375,14 +3375,14 @@ interface LuaBootstrap {
|
|
|
3375
3375
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3376
3376
|
* @example
|
|
3377
3377
|
* ```
|
|
3378
|
-
* -- Register for the
|
|
3378
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3379
3379
|
* script.on_event(defines.events.on_tick,
|
|
3380
3380
|
* function(event) game.print(event.tick) end)
|
|
3381
3381
|
* ```
|
|
3382
3382
|
*
|
|
3383
3383
|
* @example
|
|
3384
3384
|
* ```
|
|
3385
|
-
* -- Register for the
|
|
3385
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3386
3386
|
* script.on_event(defines.events.on_built_entity,
|
|
3387
3387
|
* function(event) game.print("Gotta go fast!") end,
|
|
3388
3388
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3401,14 +3401,14 @@ interface LuaBootstrap {
|
|
|
3401
3401
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3402
3402
|
* @example
|
|
3403
3403
|
* ```
|
|
3404
|
-
* -- Register for the
|
|
3404
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3405
3405
|
* script.on_event(defines.events.on_tick,
|
|
3406
3406
|
* function(event) game.print(event.tick) end)
|
|
3407
3407
|
* ```
|
|
3408
3408
|
*
|
|
3409
3409
|
* @example
|
|
3410
3410
|
* ```
|
|
3411
|
-
* -- Register for the
|
|
3411
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3412
3412
|
* script.on_event(defines.events.on_built_entity,
|
|
3413
3413
|
* function(event) game.print("Gotta go fast!") end,
|
|
3414
3414
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3427,14 +3427,14 @@ interface LuaBootstrap {
|
|
|
3427
3427
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3428
3428
|
* @example
|
|
3429
3429
|
* ```
|
|
3430
|
-
* -- Register for the
|
|
3430
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3431
3431
|
* script.on_event(defines.events.on_tick,
|
|
3432
3432
|
* function(event) game.print(event.tick) end)
|
|
3433
3433
|
* ```
|
|
3434
3434
|
*
|
|
3435
3435
|
* @example
|
|
3436
3436
|
* ```
|
|
3437
|
-
* -- Register for the
|
|
3437
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3438
3438
|
* script.on_event(defines.events.on_built_entity,
|
|
3439
3439
|
* function(event) game.print("Gotta go fast!") end,
|
|
3440
3440
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3453,14 +3453,14 @@ interface LuaBootstrap {
|
|
|
3453
3453
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3454
3454
|
* @example
|
|
3455
3455
|
* ```
|
|
3456
|
-
* -- Register for the
|
|
3456
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3457
3457
|
* script.on_event(defines.events.on_tick,
|
|
3458
3458
|
* function(event) game.print(event.tick) end)
|
|
3459
3459
|
* ```
|
|
3460
3460
|
*
|
|
3461
3461
|
* @example
|
|
3462
3462
|
* ```
|
|
3463
|
-
* -- Register for the
|
|
3463
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3464
3464
|
* script.on_event(defines.events.on_built_entity,
|
|
3465
3465
|
* function(event) game.print("Gotta go fast!") end,
|
|
3466
3466
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3479,14 +3479,14 @@ interface LuaBootstrap {
|
|
|
3479
3479
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3480
3480
|
* @example
|
|
3481
3481
|
* ```
|
|
3482
|
-
* -- Register for the
|
|
3482
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3483
3483
|
* script.on_event(defines.events.on_tick,
|
|
3484
3484
|
* function(event) game.print(event.tick) end)
|
|
3485
3485
|
* ```
|
|
3486
3486
|
*
|
|
3487
3487
|
* @example
|
|
3488
3488
|
* ```
|
|
3489
|
-
* -- Register for the
|
|
3489
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3490
3490
|
* script.on_event(defines.events.on_built_entity,
|
|
3491
3491
|
* function(event) game.print("Gotta go fast!") end,
|
|
3492
3492
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3505,14 +3505,14 @@ interface LuaBootstrap {
|
|
|
3505
3505
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3506
3506
|
* @example
|
|
3507
3507
|
* ```
|
|
3508
|
-
* -- Register for the
|
|
3508
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3509
3509
|
* script.on_event(defines.events.on_tick,
|
|
3510
3510
|
* function(event) game.print(event.tick) end)
|
|
3511
3511
|
* ```
|
|
3512
3512
|
*
|
|
3513
3513
|
* @example
|
|
3514
3514
|
* ```
|
|
3515
|
-
* -- Register for the
|
|
3515
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3516
3516
|
* script.on_event(defines.events.on_built_entity,
|
|
3517
3517
|
* function(event) game.print("Gotta go fast!") end,
|
|
3518
3518
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3531,14 +3531,14 @@ interface LuaBootstrap {
|
|
|
3531
3531
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3532
3532
|
* @example
|
|
3533
3533
|
* ```
|
|
3534
|
-
* -- Register for the
|
|
3534
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3535
3535
|
* script.on_event(defines.events.on_tick,
|
|
3536
3536
|
* function(event) game.print(event.tick) end)
|
|
3537
3537
|
* ```
|
|
3538
3538
|
*
|
|
3539
3539
|
* @example
|
|
3540
3540
|
* ```
|
|
3541
|
-
* -- Register for the
|
|
3541
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3542
3542
|
* script.on_event(defines.events.on_built_entity,
|
|
3543
3543
|
* function(event) game.print("Gotta go fast!") end,
|
|
3544
3544
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3557,14 +3557,14 @@ interface LuaBootstrap {
|
|
|
3557
3557
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3558
3558
|
* @example
|
|
3559
3559
|
* ```
|
|
3560
|
-
* -- Register for the
|
|
3560
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3561
3561
|
* script.on_event(defines.events.on_tick,
|
|
3562
3562
|
* function(event) game.print(event.tick) end)
|
|
3563
3563
|
* ```
|
|
3564
3564
|
*
|
|
3565
3565
|
* @example
|
|
3566
3566
|
* ```
|
|
3567
|
-
* -- Register for the
|
|
3567
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3568
3568
|
* script.on_event(defines.events.on_built_entity,
|
|
3569
3569
|
* function(event) game.print("Gotta go fast!") end,
|
|
3570
3570
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3583,14 +3583,14 @@ interface LuaBootstrap {
|
|
|
3583
3583
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3584
3584
|
* @example
|
|
3585
3585
|
* ```
|
|
3586
|
-
* -- Register for the
|
|
3586
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3587
3587
|
* script.on_event(defines.events.on_tick,
|
|
3588
3588
|
* function(event) game.print(event.tick) end)
|
|
3589
3589
|
* ```
|
|
3590
3590
|
*
|
|
3591
3591
|
* @example
|
|
3592
3592
|
* ```
|
|
3593
|
-
* -- Register for the
|
|
3593
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3594
3594
|
* script.on_event(defines.events.on_built_entity,
|
|
3595
3595
|
* function(event) game.print("Gotta go fast!") end,
|
|
3596
3596
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3609,14 +3609,14 @@ interface LuaBootstrap {
|
|
|
3609
3609
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3610
3610
|
* @example
|
|
3611
3611
|
* ```
|
|
3612
|
-
* -- Register for the
|
|
3612
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3613
3613
|
* script.on_event(defines.events.on_tick,
|
|
3614
3614
|
* function(event) game.print(event.tick) end)
|
|
3615
3615
|
* ```
|
|
3616
3616
|
*
|
|
3617
3617
|
* @example
|
|
3618
3618
|
* ```
|
|
3619
|
-
* -- Register for the
|
|
3619
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3620
3620
|
* script.on_event(defines.events.on_built_entity,
|
|
3621
3621
|
* function(event) game.print("Gotta go fast!") end,
|
|
3622
3622
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3635,14 +3635,14 @@ interface LuaBootstrap {
|
|
|
3635
3635
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3636
3636
|
* @example
|
|
3637
3637
|
* ```
|
|
3638
|
-
* -- Register for the
|
|
3638
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3639
3639
|
* script.on_event(defines.events.on_tick,
|
|
3640
3640
|
* function(event) game.print(event.tick) end)
|
|
3641
3641
|
* ```
|
|
3642
3642
|
*
|
|
3643
3643
|
* @example
|
|
3644
3644
|
* ```
|
|
3645
|
-
* -- Register for the
|
|
3645
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3646
3646
|
* script.on_event(defines.events.on_built_entity,
|
|
3647
3647
|
* function(event) game.print("Gotta go fast!") end,
|
|
3648
3648
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3661,14 +3661,14 @@ interface LuaBootstrap {
|
|
|
3661
3661
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3662
3662
|
* @example
|
|
3663
3663
|
* ```
|
|
3664
|
-
* -- Register for the
|
|
3664
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3665
3665
|
* script.on_event(defines.events.on_tick,
|
|
3666
3666
|
* function(event) game.print(event.tick) end)
|
|
3667
3667
|
* ```
|
|
3668
3668
|
*
|
|
3669
3669
|
* @example
|
|
3670
3670
|
* ```
|
|
3671
|
-
* -- Register for the
|
|
3671
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3672
3672
|
* script.on_event(defines.events.on_built_entity,
|
|
3673
3673
|
* function(event) game.print("Gotta go fast!") end,
|
|
3674
3674
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3687,14 +3687,14 @@ interface LuaBootstrap {
|
|
|
3687
3687
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3688
3688
|
* @example
|
|
3689
3689
|
* ```
|
|
3690
|
-
* -- Register for the
|
|
3690
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3691
3691
|
* script.on_event(defines.events.on_tick,
|
|
3692
3692
|
* function(event) game.print(event.tick) end)
|
|
3693
3693
|
* ```
|
|
3694
3694
|
*
|
|
3695
3695
|
* @example
|
|
3696
3696
|
* ```
|
|
3697
|
-
* -- Register for the
|
|
3697
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3698
3698
|
* script.on_event(defines.events.on_built_entity,
|
|
3699
3699
|
* function(event) game.print("Gotta go fast!") end,
|
|
3700
3700
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3713,14 +3713,14 @@ interface LuaBootstrap {
|
|
|
3713
3713
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3714
3714
|
* @example
|
|
3715
3715
|
* ```
|
|
3716
|
-
* -- Register for the
|
|
3716
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3717
3717
|
* script.on_event(defines.events.on_tick,
|
|
3718
3718
|
* function(event) game.print(event.tick) end)
|
|
3719
3719
|
* ```
|
|
3720
3720
|
*
|
|
3721
3721
|
* @example
|
|
3722
3722
|
* ```
|
|
3723
|
-
* -- Register for the
|
|
3723
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3724
3724
|
* script.on_event(defines.events.on_built_entity,
|
|
3725
3725
|
* function(event) game.print("Gotta go fast!") end,
|
|
3726
3726
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3739,14 +3739,14 @@ interface LuaBootstrap {
|
|
|
3739
3739
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3740
3740
|
* @example
|
|
3741
3741
|
* ```
|
|
3742
|
-
* -- Register for the
|
|
3742
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3743
3743
|
* script.on_event(defines.events.on_tick,
|
|
3744
3744
|
* function(event) game.print(event.tick) end)
|
|
3745
3745
|
* ```
|
|
3746
3746
|
*
|
|
3747
3747
|
* @example
|
|
3748
3748
|
* ```
|
|
3749
|
-
* -- Register for the
|
|
3749
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3750
3750
|
* script.on_event(defines.events.on_built_entity,
|
|
3751
3751
|
* function(event) game.print("Gotta go fast!") end,
|
|
3752
3752
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3765,14 +3765,14 @@ interface LuaBootstrap {
|
|
|
3765
3765
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3766
3766
|
* @example
|
|
3767
3767
|
* ```
|
|
3768
|
-
* -- Register for the
|
|
3768
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3769
3769
|
* script.on_event(defines.events.on_tick,
|
|
3770
3770
|
* function(event) game.print(event.tick) end)
|
|
3771
3771
|
* ```
|
|
3772
3772
|
*
|
|
3773
3773
|
* @example
|
|
3774
3774
|
* ```
|
|
3775
|
-
* -- Register for the
|
|
3775
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3776
3776
|
* script.on_event(defines.events.on_built_entity,
|
|
3777
3777
|
* function(event) game.print("Gotta go fast!") end,
|
|
3778
3778
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3791,14 +3791,14 @@ interface LuaBootstrap {
|
|
|
3791
3791
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3792
3792
|
* @example
|
|
3793
3793
|
* ```
|
|
3794
|
-
* -- Register for the
|
|
3794
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3795
3795
|
* script.on_event(defines.events.on_tick,
|
|
3796
3796
|
* function(event) game.print(event.tick) end)
|
|
3797
3797
|
* ```
|
|
3798
3798
|
*
|
|
3799
3799
|
* @example
|
|
3800
3800
|
* ```
|
|
3801
|
-
* -- Register for the
|
|
3801
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3802
3802
|
* script.on_event(defines.events.on_built_entity,
|
|
3803
3803
|
* function(event) game.print("Gotta go fast!") end,
|
|
3804
3804
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3817,14 +3817,14 @@ interface LuaBootstrap {
|
|
|
3817
3817
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3818
3818
|
* @example
|
|
3819
3819
|
* ```
|
|
3820
|
-
* -- Register for the
|
|
3820
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3821
3821
|
* script.on_event(defines.events.on_tick,
|
|
3822
3822
|
* function(event) game.print(event.tick) end)
|
|
3823
3823
|
* ```
|
|
3824
3824
|
*
|
|
3825
3825
|
* @example
|
|
3826
3826
|
* ```
|
|
3827
|
-
* -- Register for the
|
|
3827
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3828
3828
|
* script.on_event(defines.events.on_built_entity,
|
|
3829
3829
|
* function(event) game.print("Gotta go fast!") end,
|
|
3830
3830
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3843,14 +3843,14 @@ interface LuaBootstrap {
|
|
|
3843
3843
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3844
3844
|
* @example
|
|
3845
3845
|
* ```
|
|
3846
|
-
* -- Register for the
|
|
3846
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3847
3847
|
* script.on_event(defines.events.on_tick,
|
|
3848
3848
|
* function(event) game.print(event.tick) end)
|
|
3849
3849
|
* ```
|
|
3850
3850
|
*
|
|
3851
3851
|
* @example
|
|
3852
3852
|
* ```
|
|
3853
|
-
* -- Register for the
|
|
3853
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3854
3854
|
* script.on_event(defines.events.on_built_entity,
|
|
3855
3855
|
* function(event) game.print("Gotta go fast!") end,
|
|
3856
3856
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3869,14 +3869,14 @@ interface LuaBootstrap {
|
|
|
3869
3869
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3870
3870
|
* @example
|
|
3871
3871
|
* ```
|
|
3872
|
-
* -- Register for the
|
|
3872
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3873
3873
|
* script.on_event(defines.events.on_tick,
|
|
3874
3874
|
* function(event) game.print(event.tick) end)
|
|
3875
3875
|
* ```
|
|
3876
3876
|
*
|
|
3877
3877
|
* @example
|
|
3878
3878
|
* ```
|
|
3879
|
-
* -- Register for the
|
|
3879
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3880
3880
|
* script.on_event(defines.events.on_built_entity,
|
|
3881
3881
|
* function(event) game.print("Gotta go fast!") end,
|
|
3882
3882
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3895,14 +3895,14 @@ interface LuaBootstrap {
|
|
|
3895
3895
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3896
3896
|
* @example
|
|
3897
3897
|
* ```
|
|
3898
|
-
* -- Register for the
|
|
3898
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3899
3899
|
* script.on_event(defines.events.on_tick,
|
|
3900
3900
|
* function(event) game.print(event.tick) end)
|
|
3901
3901
|
* ```
|
|
3902
3902
|
*
|
|
3903
3903
|
* @example
|
|
3904
3904
|
* ```
|
|
3905
|
-
* -- Register for the
|
|
3905
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3906
3906
|
* script.on_event(defines.events.on_built_entity,
|
|
3907
3907
|
* function(event) game.print("Gotta go fast!") end,
|
|
3908
3908
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3921,14 +3921,14 @@ interface LuaBootstrap {
|
|
|
3921
3921
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3922
3922
|
* @example
|
|
3923
3923
|
* ```
|
|
3924
|
-
* -- Register for the
|
|
3924
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3925
3925
|
* script.on_event(defines.events.on_tick,
|
|
3926
3926
|
* function(event) game.print(event.tick) end)
|
|
3927
3927
|
* ```
|
|
3928
3928
|
*
|
|
3929
3929
|
* @example
|
|
3930
3930
|
* ```
|
|
3931
|
-
* -- Register for the
|
|
3931
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3932
3932
|
* script.on_event(defines.events.on_built_entity,
|
|
3933
3933
|
* function(event) game.print("Gotta go fast!") end,
|
|
3934
3934
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3947,14 +3947,14 @@ interface LuaBootstrap {
|
|
|
3947
3947
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3948
3948
|
* @example
|
|
3949
3949
|
* ```
|
|
3950
|
-
* -- Register for the
|
|
3950
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3951
3951
|
* script.on_event(defines.events.on_tick,
|
|
3952
3952
|
* function(event) game.print(event.tick) end)
|
|
3953
3953
|
* ```
|
|
3954
3954
|
*
|
|
3955
3955
|
* @example
|
|
3956
3956
|
* ```
|
|
3957
|
-
* -- Register for the
|
|
3957
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3958
3958
|
* script.on_event(defines.events.on_built_entity,
|
|
3959
3959
|
* function(event) game.print("Gotta go fast!") end,
|
|
3960
3960
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3973,14 +3973,14 @@ interface LuaBootstrap {
|
|
|
3973
3973
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
3974
3974
|
* @example
|
|
3975
3975
|
* ```
|
|
3976
|
-
* -- Register for the
|
|
3976
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
3977
3977
|
* script.on_event(defines.events.on_tick,
|
|
3978
3978
|
* function(event) game.print(event.tick) end)
|
|
3979
3979
|
* ```
|
|
3980
3980
|
*
|
|
3981
3981
|
* @example
|
|
3982
3982
|
* ```
|
|
3983
|
-
* -- Register for the
|
|
3983
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
3984
3984
|
* script.on_event(defines.events.on_built_entity,
|
|
3985
3985
|
* function(event) game.print("Gotta go fast!") end,
|
|
3986
3986
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -3999,14 +3999,14 @@ interface LuaBootstrap {
|
|
|
3999
3999
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4000
4000
|
* @example
|
|
4001
4001
|
* ```
|
|
4002
|
-
* -- Register for the
|
|
4002
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4003
4003
|
* script.on_event(defines.events.on_tick,
|
|
4004
4004
|
* function(event) game.print(event.tick) end)
|
|
4005
4005
|
* ```
|
|
4006
4006
|
*
|
|
4007
4007
|
* @example
|
|
4008
4008
|
* ```
|
|
4009
|
-
* -- Register for the
|
|
4009
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4010
4010
|
* script.on_event(defines.events.on_built_entity,
|
|
4011
4011
|
* function(event) game.print("Gotta go fast!") end,
|
|
4012
4012
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4025,14 +4025,14 @@ interface LuaBootstrap {
|
|
|
4025
4025
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4026
4026
|
* @example
|
|
4027
4027
|
* ```
|
|
4028
|
-
* -- Register for the
|
|
4028
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4029
4029
|
* script.on_event(defines.events.on_tick,
|
|
4030
4030
|
* function(event) game.print(event.tick) end)
|
|
4031
4031
|
* ```
|
|
4032
4032
|
*
|
|
4033
4033
|
* @example
|
|
4034
4034
|
* ```
|
|
4035
|
-
* -- Register for the
|
|
4035
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4036
4036
|
* script.on_event(defines.events.on_built_entity,
|
|
4037
4037
|
* function(event) game.print("Gotta go fast!") end,
|
|
4038
4038
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4051,14 +4051,14 @@ interface LuaBootstrap {
|
|
|
4051
4051
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4052
4052
|
* @example
|
|
4053
4053
|
* ```
|
|
4054
|
-
* -- Register for the
|
|
4054
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4055
4055
|
* script.on_event(defines.events.on_tick,
|
|
4056
4056
|
* function(event) game.print(event.tick) end)
|
|
4057
4057
|
* ```
|
|
4058
4058
|
*
|
|
4059
4059
|
* @example
|
|
4060
4060
|
* ```
|
|
4061
|
-
* -- Register for the
|
|
4061
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4062
4062
|
* script.on_event(defines.events.on_built_entity,
|
|
4063
4063
|
* function(event) game.print("Gotta go fast!") end,
|
|
4064
4064
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4077,14 +4077,14 @@ interface LuaBootstrap {
|
|
|
4077
4077
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4078
4078
|
* @example
|
|
4079
4079
|
* ```
|
|
4080
|
-
* -- Register for the
|
|
4080
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4081
4081
|
* script.on_event(defines.events.on_tick,
|
|
4082
4082
|
* function(event) game.print(event.tick) end)
|
|
4083
4083
|
* ```
|
|
4084
4084
|
*
|
|
4085
4085
|
* @example
|
|
4086
4086
|
* ```
|
|
4087
|
-
* -- Register for the
|
|
4087
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4088
4088
|
* script.on_event(defines.events.on_built_entity,
|
|
4089
4089
|
* function(event) game.print("Gotta go fast!") end,
|
|
4090
4090
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4103,14 +4103,14 @@ interface LuaBootstrap {
|
|
|
4103
4103
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4104
4104
|
* @example
|
|
4105
4105
|
* ```
|
|
4106
|
-
* -- Register for the
|
|
4106
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4107
4107
|
* script.on_event(defines.events.on_tick,
|
|
4108
4108
|
* function(event) game.print(event.tick) end)
|
|
4109
4109
|
* ```
|
|
4110
4110
|
*
|
|
4111
4111
|
* @example
|
|
4112
4112
|
* ```
|
|
4113
|
-
* -- Register for the
|
|
4113
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4114
4114
|
* script.on_event(defines.events.on_built_entity,
|
|
4115
4115
|
* function(event) game.print("Gotta go fast!") end,
|
|
4116
4116
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4129,14 +4129,14 @@ interface LuaBootstrap {
|
|
|
4129
4129
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4130
4130
|
* @example
|
|
4131
4131
|
* ```
|
|
4132
|
-
* -- Register for the
|
|
4132
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4133
4133
|
* script.on_event(defines.events.on_tick,
|
|
4134
4134
|
* function(event) game.print(event.tick) end)
|
|
4135
4135
|
* ```
|
|
4136
4136
|
*
|
|
4137
4137
|
* @example
|
|
4138
4138
|
* ```
|
|
4139
|
-
* -- Register for the
|
|
4139
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4140
4140
|
* script.on_event(defines.events.on_built_entity,
|
|
4141
4141
|
* function(event) game.print("Gotta go fast!") end,
|
|
4142
4142
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4155,14 +4155,14 @@ interface LuaBootstrap {
|
|
|
4155
4155
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4156
4156
|
* @example
|
|
4157
4157
|
* ```
|
|
4158
|
-
* -- Register for the
|
|
4158
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4159
4159
|
* script.on_event(defines.events.on_tick,
|
|
4160
4160
|
* function(event) game.print(event.tick) end)
|
|
4161
4161
|
* ```
|
|
4162
4162
|
*
|
|
4163
4163
|
* @example
|
|
4164
4164
|
* ```
|
|
4165
|
-
* -- Register for the
|
|
4165
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4166
4166
|
* script.on_event(defines.events.on_built_entity,
|
|
4167
4167
|
* function(event) game.print("Gotta go fast!") end,
|
|
4168
4168
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4181,14 +4181,14 @@ interface LuaBootstrap {
|
|
|
4181
4181
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4182
4182
|
* @example
|
|
4183
4183
|
* ```
|
|
4184
|
-
* -- Register for the
|
|
4184
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4185
4185
|
* script.on_event(defines.events.on_tick,
|
|
4186
4186
|
* function(event) game.print(event.tick) end)
|
|
4187
4187
|
* ```
|
|
4188
4188
|
*
|
|
4189
4189
|
* @example
|
|
4190
4190
|
* ```
|
|
4191
|
-
* -- Register for the
|
|
4191
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4192
4192
|
* script.on_event(defines.events.on_built_entity,
|
|
4193
4193
|
* function(event) game.print("Gotta go fast!") end,
|
|
4194
4194
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4207,14 +4207,14 @@ interface LuaBootstrap {
|
|
|
4207
4207
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4208
4208
|
* @example
|
|
4209
4209
|
* ```
|
|
4210
|
-
* -- Register for the
|
|
4210
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4211
4211
|
* script.on_event(defines.events.on_tick,
|
|
4212
4212
|
* function(event) game.print(event.tick) end)
|
|
4213
4213
|
* ```
|
|
4214
4214
|
*
|
|
4215
4215
|
* @example
|
|
4216
4216
|
* ```
|
|
4217
|
-
* -- Register for the
|
|
4217
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4218
4218
|
* script.on_event(defines.events.on_built_entity,
|
|
4219
4219
|
* function(event) game.print("Gotta go fast!") end,
|
|
4220
4220
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4233,14 +4233,14 @@ interface LuaBootstrap {
|
|
|
4233
4233
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4234
4234
|
* @example
|
|
4235
4235
|
* ```
|
|
4236
|
-
* -- Register for the
|
|
4236
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4237
4237
|
* script.on_event(defines.events.on_tick,
|
|
4238
4238
|
* function(event) game.print(event.tick) end)
|
|
4239
4239
|
* ```
|
|
4240
4240
|
*
|
|
4241
4241
|
* @example
|
|
4242
4242
|
* ```
|
|
4243
|
-
* -- Register for the
|
|
4243
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4244
4244
|
* script.on_event(defines.events.on_built_entity,
|
|
4245
4245
|
* function(event) game.print("Gotta go fast!") end,
|
|
4246
4246
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4259,14 +4259,14 @@ interface LuaBootstrap {
|
|
|
4259
4259
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4260
4260
|
* @example
|
|
4261
4261
|
* ```
|
|
4262
|
-
* -- Register for the
|
|
4262
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4263
4263
|
* script.on_event(defines.events.on_tick,
|
|
4264
4264
|
* function(event) game.print(event.tick) end)
|
|
4265
4265
|
* ```
|
|
4266
4266
|
*
|
|
4267
4267
|
* @example
|
|
4268
4268
|
* ```
|
|
4269
|
-
* -- Register for the
|
|
4269
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4270
4270
|
* script.on_event(defines.events.on_built_entity,
|
|
4271
4271
|
* function(event) game.print("Gotta go fast!") end,
|
|
4272
4272
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4285,14 +4285,14 @@ interface LuaBootstrap {
|
|
|
4285
4285
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4286
4286
|
* @example
|
|
4287
4287
|
* ```
|
|
4288
|
-
* -- Register for the
|
|
4288
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4289
4289
|
* script.on_event(defines.events.on_tick,
|
|
4290
4290
|
* function(event) game.print(event.tick) end)
|
|
4291
4291
|
* ```
|
|
4292
4292
|
*
|
|
4293
4293
|
* @example
|
|
4294
4294
|
* ```
|
|
4295
|
-
* -- Register for the
|
|
4295
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4296
4296
|
* script.on_event(defines.events.on_built_entity,
|
|
4297
4297
|
* function(event) game.print("Gotta go fast!") end,
|
|
4298
4298
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4311,14 +4311,14 @@ interface LuaBootstrap {
|
|
|
4311
4311
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4312
4312
|
* @example
|
|
4313
4313
|
* ```
|
|
4314
|
-
* -- Register for the
|
|
4314
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4315
4315
|
* script.on_event(defines.events.on_tick,
|
|
4316
4316
|
* function(event) game.print(event.tick) end)
|
|
4317
4317
|
* ```
|
|
4318
4318
|
*
|
|
4319
4319
|
* @example
|
|
4320
4320
|
* ```
|
|
4321
|
-
* -- Register for the
|
|
4321
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4322
4322
|
* script.on_event(defines.events.on_built_entity,
|
|
4323
4323
|
* function(event) game.print("Gotta go fast!") end,
|
|
4324
4324
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4337,14 +4337,14 @@ interface LuaBootstrap {
|
|
|
4337
4337
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4338
4338
|
* @example
|
|
4339
4339
|
* ```
|
|
4340
|
-
* -- Register for the
|
|
4340
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4341
4341
|
* script.on_event(defines.events.on_tick,
|
|
4342
4342
|
* function(event) game.print(event.tick) end)
|
|
4343
4343
|
* ```
|
|
4344
4344
|
*
|
|
4345
4345
|
* @example
|
|
4346
4346
|
* ```
|
|
4347
|
-
* -- Register for the
|
|
4347
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4348
4348
|
* script.on_event(defines.events.on_built_entity,
|
|
4349
4349
|
* function(event) game.print("Gotta go fast!") end,
|
|
4350
4350
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4363,14 +4363,14 @@ interface LuaBootstrap {
|
|
|
4363
4363
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4364
4364
|
* @example
|
|
4365
4365
|
* ```
|
|
4366
|
-
* -- Register for the
|
|
4366
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4367
4367
|
* script.on_event(defines.events.on_tick,
|
|
4368
4368
|
* function(event) game.print(event.tick) end)
|
|
4369
4369
|
* ```
|
|
4370
4370
|
*
|
|
4371
4371
|
* @example
|
|
4372
4372
|
* ```
|
|
4373
|
-
* -- Register for the
|
|
4373
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4374
4374
|
* script.on_event(defines.events.on_built_entity,
|
|
4375
4375
|
* function(event) game.print("Gotta go fast!") end,
|
|
4376
4376
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4389,14 +4389,14 @@ interface LuaBootstrap {
|
|
|
4389
4389
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4390
4390
|
* @example
|
|
4391
4391
|
* ```
|
|
4392
|
-
* -- Register for the
|
|
4392
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4393
4393
|
* script.on_event(defines.events.on_tick,
|
|
4394
4394
|
* function(event) game.print(event.tick) end)
|
|
4395
4395
|
* ```
|
|
4396
4396
|
*
|
|
4397
4397
|
* @example
|
|
4398
4398
|
* ```
|
|
4399
|
-
* -- Register for the
|
|
4399
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4400
4400
|
* script.on_event(defines.events.on_built_entity,
|
|
4401
4401
|
* function(event) game.print("Gotta go fast!") end,
|
|
4402
4402
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4415,14 +4415,14 @@ interface LuaBootstrap {
|
|
|
4415
4415
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4416
4416
|
* @example
|
|
4417
4417
|
* ```
|
|
4418
|
-
* -- Register for the
|
|
4418
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4419
4419
|
* script.on_event(defines.events.on_tick,
|
|
4420
4420
|
* function(event) game.print(event.tick) end)
|
|
4421
4421
|
* ```
|
|
4422
4422
|
*
|
|
4423
4423
|
* @example
|
|
4424
4424
|
* ```
|
|
4425
|
-
* -- Register for the
|
|
4425
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4426
4426
|
* script.on_event(defines.events.on_built_entity,
|
|
4427
4427
|
* function(event) game.print("Gotta go fast!") end,
|
|
4428
4428
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4441,14 +4441,14 @@ interface LuaBootstrap {
|
|
|
4441
4441
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4442
4442
|
* @example
|
|
4443
4443
|
* ```
|
|
4444
|
-
* -- Register for the
|
|
4444
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4445
4445
|
* script.on_event(defines.events.on_tick,
|
|
4446
4446
|
* function(event) game.print(event.tick) end)
|
|
4447
4447
|
* ```
|
|
4448
4448
|
*
|
|
4449
4449
|
* @example
|
|
4450
4450
|
* ```
|
|
4451
|
-
* -- Register for the
|
|
4451
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4452
4452
|
* script.on_event(defines.events.on_built_entity,
|
|
4453
4453
|
* function(event) game.print("Gotta go fast!") end,
|
|
4454
4454
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4467,14 +4467,14 @@ interface LuaBootstrap {
|
|
|
4467
4467
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4468
4468
|
* @example
|
|
4469
4469
|
* ```
|
|
4470
|
-
* -- Register for the
|
|
4470
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4471
4471
|
* script.on_event(defines.events.on_tick,
|
|
4472
4472
|
* function(event) game.print(event.tick) end)
|
|
4473
4473
|
* ```
|
|
4474
4474
|
*
|
|
4475
4475
|
* @example
|
|
4476
4476
|
* ```
|
|
4477
|
-
* -- Register for the
|
|
4477
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4478
4478
|
* script.on_event(defines.events.on_built_entity,
|
|
4479
4479
|
* function(event) game.print("Gotta go fast!") end,
|
|
4480
4480
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4493,14 +4493,14 @@ interface LuaBootstrap {
|
|
|
4493
4493
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4494
4494
|
* @example
|
|
4495
4495
|
* ```
|
|
4496
|
-
* -- Register for the
|
|
4496
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4497
4497
|
* script.on_event(defines.events.on_tick,
|
|
4498
4498
|
* function(event) game.print(event.tick) end)
|
|
4499
4499
|
* ```
|
|
4500
4500
|
*
|
|
4501
4501
|
* @example
|
|
4502
4502
|
* ```
|
|
4503
|
-
* -- Register for the
|
|
4503
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4504
4504
|
* script.on_event(defines.events.on_built_entity,
|
|
4505
4505
|
* function(event) game.print("Gotta go fast!") end,
|
|
4506
4506
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4519,14 +4519,14 @@ interface LuaBootstrap {
|
|
|
4519
4519
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4520
4520
|
* @example
|
|
4521
4521
|
* ```
|
|
4522
|
-
* -- Register for the
|
|
4522
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4523
4523
|
* script.on_event(defines.events.on_tick,
|
|
4524
4524
|
* function(event) game.print(event.tick) end)
|
|
4525
4525
|
* ```
|
|
4526
4526
|
*
|
|
4527
4527
|
* @example
|
|
4528
4528
|
* ```
|
|
4529
|
-
* -- Register for the
|
|
4529
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4530
4530
|
* script.on_event(defines.events.on_built_entity,
|
|
4531
4531
|
* function(event) game.print("Gotta go fast!") end,
|
|
4532
4532
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4545,14 +4545,14 @@ interface LuaBootstrap {
|
|
|
4545
4545
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4546
4546
|
* @example
|
|
4547
4547
|
* ```
|
|
4548
|
-
* -- Register for the
|
|
4548
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4549
4549
|
* script.on_event(defines.events.on_tick,
|
|
4550
4550
|
* function(event) game.print(event.tick) end)
|
|
4551
4551
|
* ```
|
|
4552
4552
|
*
|
|
4553
4553
|
* @example
|
|
4554
4554
|
* ```
|
|
4555
|
-
* -- Register for the
|
|
4555
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4556
4556
|
* script.on_event(defines.events.on_built_entity,
|
|
4557
4557
|
* function(event) game.print("Gotta go fast!") end,
|
|
4558
4558
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4571,14 +4571,14 @@ interface LuaBootstrap {
|
|
|
4571
4571
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4572
4572
|
* @example
|
|
4573
4573
|
* ```
|
|
4574
|
-
* -- Register for the
|
|
4574
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4575
4575
|
* script.on_event(defines.events.on_tick,
|
|
4576
4576
|
* function(event) game.print(event.tick) end)
|
|
4577
4577
|
* ```
|
|
4578
4578
|
*
|
|
4579
4579
|
* @example
|
|
4580
4580
|
* ```
|
|
4581
|
-
* -- Register for the
|
|
4581
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4582
4582
|
* script.on_event(defines.events.on_built_entity,
|
|
4583
4583
|
* function(event) game.print("Gotta go fast!") end,
|
|
4584
4584
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4597,14 +4597,14 @@ interface LuaBootstrap {
|
|
|
4597
4597
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4598
4598
|
* @example
|
|
4599
4599
|
* ```
|
|
4600
|
-
* -- Register for the
|
|
4600
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4601
4601
|
* script.on_event(defines.events.on_tick,
|
|
4602
4602
|
* function(event) game.print(event.tick) end)
|
|
4603
4603
|
* ```
|
|
4604
4604
|
*
|
|
4605
4605
|
* @example
|
|
4606
4606
|
* ```
|
|
4607
|
-
* -- Register for the
|
|
4607
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4608
4608
|
* script.on_event(defines.events.on_built_entity,
|
|
4609
4609
|
* function(event) game.print("Gotta go fast!") end,
|
|
4610
4610
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4623,14 +4623,14 @@ interface LuaBootstrap {
|
|
|
4623
4623
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4624
4624
|
* @example
|
|
4625
4625
|
* ```
|
|
4626
|
-
* -- Register for the
|
|
4626
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4627
4627
|
* script.on_event(defines.events.on_tick,
|
|
4628
4628
|
* function(event) game.print(event.tick) end)
|
|
4629
4629
|
* ```
|
|
4630
4630
|
*
|
|
4631
4631
|
* @example
|
|
4632
4632
|
* ```
|
|
4633
|
-
* -- Register for the
|
|
4633
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4634
4634
|
* script.on_event(defines.events.on_built_entity,
|
|
4635
4635
|
* function(event) game.print("Gotta go fast!") end,
|
|
4636
4636
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4649,14 +4649,14 @@ interface LuaBootstrap {
|
|
|
4649
4649
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4650
4650
|
* @example
|
|
4651
4651
|
* ```
|
|
4652
|
-
* -- Register for the
|
|
4652
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4653
4653
|
* script.on_event(defines.events.on_tick,
|
|
4654
4654
|
* function(event) game.print(event.tick) end)
|
|
4655
4655
|
* ```
|
|
4656
4656
|
*
|
|
4657
4657
|
* @example
|
|
4658
4658
|
* ```
|
|
4659
|
-
* -- Register for the
|
|
4659
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4660
4660
|
* script.on_event(defines.events.on_built_entity,
|
|
4661
4661
|
* function(event) game.print("Gotta go fast!") end,
|
|
4662
4662
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4675,14 +4675,14 @@ interface LuaBootstrap {
|
|
|
4675
4675
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4676
4676
|
* @example
|
|
4677
4677
|
* ```
|
|
4678
|
-
* -- Register for the
|
|
4678
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4679
4679
|
* script.on_event(defines.events.on_tick,
|
|
4680
4680
|
* function(event) game.print(event.tick) end)
|
|
4681
4681
|
* ```
|
|
4682
4682
|
*
|
|
4683
4683
|
* @example
|
|
4684
4684
|
* ```
|
|
4685
|
-
* -- Register for the
|
|
4685
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4686
4686
|
* script.on_event(defines.events.on_built_entity,
|
|
4687
4687
|
* function(event) game.print("Gotta go fast!") end,
|
|
4688
4688
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4701,14 +4701,14 @@ interface LuaBootstrap {
|
|
|
4701
4701
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4702
4702
|
* @example
|
|
4703
4703
|
* ```
|
|
4704
|
-
* -- Register for the
|
|
4704
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4705
4705
|
* script.on_event(defines.events.on_tick,
|
|
4706
4706
|
* function(event) game.print(event.tick) end)
|
|
4707
4707
|
* ```
|
|
4708
4708
|
*
|
|
4709
4709
|
* @example
|
|
4710
4710
|
* ```
|
|
4711
|
-
* -- Register for the
|
|
4711
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4712
4712
|
* script.on_event(defines.events.on_built_entity,
|
|
4713
4713
|
* function(event) game.print("Gotta go fast!") end,
|
|
4714
4714
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4727,14 +4727,14 @@ interface LuaBootstrap {
|
|
|
4727
4727
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4728
4728
|
* @example
|
|
4729
4729
|
* ```
|
|
4730
|
-
* -- Register for the
|
|
4730
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4731
4731
|
* script.on_event(defines.events.on_tick,
|
|
4732
4732
|
* function(event) game.print(event.tick) end)
|
|
4733
4733
|
* ```
|
|
4734
4734
|
*
|
|
4735
4735
|
* @example
|
|
4736
4736
|
* ```
|
|
4737
|
-
* -- Register for the
|
|
4737
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4738
4738
|
* script.on_event(defines.events.on_built_entity,
|
|
4739
4739
|
* function(event) game.print("Gotta go fast!") end,
|
|
4740
4740
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4753,14 +4753,14 @@ interface LuaBootstrap {
|
|
|
4753
4753
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4754
4754
|
* @example
|
|
4755
4755
|
* ```
|
|
4756
|
-
* -- Register for the
|
|
4756
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4757
4757
|
* script.on_event(defines.events.on_tick,
|
|
4758
4758
|
* function(event) game.print(event.tick) end)
|
|
4759
4759
|
* ```
|
|
4760
4760
|
*
|
|
4761
4761
|
* @example
|
|
4762
4762
|
* ```
|
|
4763
|
-
* -- Register for the
|
|
4763
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4764
4764
|
* script.on_event(defines.events.on_built_entity,
|
|
4765
4765
|
* function(event) game.print("Gotta go fast!") end,
|
|
4766
4766
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4779,14 +4779,14 @@ interface LuaBootstrap {
|
|
|
4779
4779
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4780
4780
|
* @example
|
|
4781
4781
|
* ```
|
|
4782
|
-
* -- Register for the
|
|
4782
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4783
4783
|
* script.on_event(defines.events.on_tick,
|
|
4784
4784
|
* function(event) game.print(event.tick) end)
|
|
4785
4785
|
* ```
|
|
4786
4786
|
*
|
|
4787
4787
|
* @example
|
|
4788
4788
|
* ```
|
|
4789
|
-
* -- Register for the
|
|
4789
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4790
4790
|
* script.on_event(defines.events.on_built_entity,
|
|
4791
4791
|
* function(event) game.print("Gotta go fast!") end,
|
|
4792
4792
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4805,14 +4805,14 @@ interface LuaBootstrap {
|
|
|
4805
4805
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4806
4806
|
* @example
|
|
4807
4807
|
* ```
|
|
4808
|
-
* -- Register for the
|
|
4808
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4809
4809
|
* script.on_event(defines.events.on_tick,
|
|
4810
4810
|
* function(event) game.print(event.tick) end)
|
|
4811
4811
|
* ```
|
|
4812
4812
|
*
|
|
4813
4813
|
* @example
|
|
4814
4814
|
* ```
|
|
4815
|
-
* -- Register for the
|
|
4815
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4816
4816
|
* script.on_event(defines.events.on_built_entity,
|
|
4817
4817
|
* function(event) game.print("Gotta go fast!") end,
|
|
4818
4818
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4831,14 +4831,14 @@ interface LuaBootstrap {
|
|
|
4831
4831
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4832
4832
|
* @example
|
|
4833
4833
|
* ```
|
|
4834
|
-
* -- Register for the
|
|
4834
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4835
4835
|
* script.on_event(defines.events.on_tick,
|
|
4836
4836
|
* function(event) game.print(event.tick) end)
|
|
4837
4837
|
* ```
|
|
4838
4838
|
*
|
|
4839
4839
|
* @example
|
|
4840
4840
|
* ```
|
|
4841
|
-
* -- Register for the
|
|
4841
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4842
4842
|
* script.on_event(defines.events.on_built_entity,
|
|
4843
4843
|
* function(event) game.print("Gotta go fast!") end,
|
|
4844
4844
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4857,14 +4857,14 @@ interface LuaBootstrap {
|
|
|
4857
4857
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4858
4858
|
* @example
|
|
4859
4859
|
* ```
|
|
4860
|
-
* -- Register for the
|
|
4860
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4861
4861
|
* script.on_event(defines.events.on_tick,
|
|
4862
4862
|
* function(event) game.print(event.tick) end)
|
|
4863
4863
|
* ```
|
|
4864
4864
|
*
|
|
4865
4865
|
* @example
|
|
4866
4866
|
* ```
|
|
4867
|
-
* -- Register for the
|
|
4867
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4868
4868
|
* script.on_event(defines.events.on_built_entity,
|
|
4869
4869
|
* function(event) game.print("Gotta go fast!") end,
|
|
4870
4870
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4883,14 +4883,14 @@ interface LuaBootstrap {
|
|
|
4883
4883
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4884
4884
|
* @example
|
|
4885
4885
|
* ```
|
|
4886
|
-
* -- Register for the
|
|
4886
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4887
4887
|
* script.on_event(defines.events.on_tick,
|
|
4888
4888
|
* function(event) game.print(event.tick) end)
|
|
4889
4889
|
* ```
|
|
4890
4890
|
*
|
|
4891
4891
|
* @example
|
|
4892
4892
|
* ```
|
|
4893
|
-
* -- Register for the
|
|
4893
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4894
4894
|
* script.on_event(defines.events.on_built_entity,
|
|
4895
4895
|
* function(event) game.print("Gotta go fast!") end,
|
|
4896
4896
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4909,14 +4909,14 @@ interface LuaBootstrap {
|
|
|
4909
4909
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4910
4910
|
* @example
|
|
4911
4911
|
* ```
|
|
4912
|
-
* -- Register for the
|
|
4912
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4913
4913
|
* script.on_event(defines.events.on_tick,
|
|
4914
4914
|
* function(event) game.print(event.tick) end)
|
|
4915
4915
|
* ```
|
|
4916
4916
|
*
|
|
4917
4917
|
* @example
|
|
4918
4918
|
* ```
|
|
4919
|
-
* -- Register for the
|
|
4919
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4920
4920
|
* script.on_event(defines.events.on_built_entity,
|
|
4921
4921
|
* function(event) game.print("Gotta go fast!") end,
|
|
4922
4922
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4935,14 +4935,14 @@ interface LuaBootstrap {
|
|
|
4935
4935
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4936
4936
|
* @example
|
|
4937
4937
|
* ```
|
|
4938
|
-
* -- Register for the
|
|
4938
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4939
4939
|
* script.on_event(defines.events.on_tick,
|
|
4940
4940
|
* function(event) game.print(event.tick) end)
|
|
4941
4941
|
* ```
|
|
4942
4942
|
*
|
|
4943
4943
|
* @example
|
|
4944
4944
|
* ```
|
|
4945
|
-
* -- Register for the
|
|
4945
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4946
4946
|
* script.on_event(defines.events.on_built_entity,
|
|
4947
4947
|
* function(event) game.print("Gotta go fast!") end,
|
|
4948
4948
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4961,14 +4961,14 @@ interface LuaBootstrap {
|
|
|
4961
4961
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4962
4962
|
* @example
|
|
4963
4963
|
* ```
|
|
4964
|
-
* -- Register for the
|
|
4964
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4965
4965
|
* script.on_event(defines.events.on_tick,
|
|
4966
4966
|
* function(event) game.print(event.tick) end)
|
|
4967
4967
|
* ```
|
|
4968
4968
|
*
|
|
4969
4969
|
* @example
|
|
4970
4970
|
* ```
|
|
4971
|
-
* -- Register for the
|
|
4971
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4972
4972
|
* script.on_event(defines.events.on_built_entity,
|
|
4973
4973
|
* function(event) game.print("Gotta go fast!") end,
|
|
4974
4974
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -4987,14 +4987,14 @@ interface LuaBootstrap {
|
|
|
4987
4987
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
4988
4988
|
* @example
|
|
4989
4989
|
* ```
|
|
4990
|
-
* -- Register for the
|
|
4990
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
4991
4991
|
* script.on_event(defines.events.on_tick,
|
|
4992
4992
|
* function(event) game.print(event.tick) end)
|
|
4993
4993
|
* ```
|
|
4994
4994
|
*
|
|
4995
4995
|
* @example
|
|
4996
4996
|
* ```
|
|
4997
|
-
* -- Register for the
|
|
4997
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
4998
4998
|
* script.on_event(defines.events.on_built_entity,
|
|
4999
4999
|
* function(event) game.print("Gotta go fast!") end,
|
|
5000
5000
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -5013,14 +5013,14 @@ interface LuaBootstrap {
|
|
|
5013
5013
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
5014
5014
|
* @example
|
|
5015
5015
|
* ```
|
|
5016
|
-
* -- Register for the
|
|
5016
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
5017
5017
|
* script.on_event(defines.events.on_tick,
|
|
5018
5018
|
* function(event) game.print(event.tick) end)
|
|
5019
5019
|
* ```
|
|
5020
5020
|
*
|
|
5021
5021
|
* @example
|
|
5022
5022
|
* ```
|
|
5023
|
-
* -- Register for the
|
|
5023
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
5024
5024
|
* script.on_event(defines.events.on_built_entity,
|
|
5025
5025
|
* function(event) game.print("Gotta go fast!") end,
|
|
5026
5026
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -5039,14 +5039,14 @@ interface LuaBootstrap {
|
|
|
5039
5039
|
* @param filters - The filters for this event. Can only be used when registering for individual events.
|
|
5040
5040
|
* @example
|
|
5041
5041
|
* ```
|
|
5042
|
-
* -- Register for the
|
|
5042
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
5043
5043
|
* script.on_event(defines.events.on_tick,
|
|
5044
5044
|
* function(event) game.print(event.tick) end)
|
|
5045
5045
|
* ```
|
|
5046
5046
|
*
|
|
5047
5047
|
* @example
|
|
5048
5048
|
* ```
|
|
5049
|
-
* -- Register for the
|
|
5049
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
5050
5050
|
* script.on_event(defines.events.on_built_entity,
|
|
5051
5051
|
* function(event) game.print("Gotta go fast!") end,
|
|
5052
5052
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -5065,14 +5065,14 @@ interface LuaBootstrap {
|
|
|
5065
5065
|
* @param handler - The handler for this event. Passing `nil` will unregister it.
|
|
5066
5066
|
* @example
|
|
5067
5067
|
* ```
|
|
5068
|
-
* -- Register for the
|
|
5068
|
+
* -- Register for the on_tick event to print the current tick to console each tick
|
|
5069
5069
|
* script.on_event(defines.events.on_tick,
|
|
5070
5070
|
* function(event) game.print(event.tick) end)
|
|
5071
5071
|
* ```
|
|
5072
5072
|
*
|
|
5073
5073
|
* @example
|
|
5074
5074
|
* ```
|
|
5075
|
-
* -- Register for the
|
|
5075
|
+
* -- Register for the on_built_entity event, limiting it to only be received when a `"fast-inserter"` is built
|
|
5076
5076
|
* script.on_event(defines.events.on_built_entity,
|
|
5077
5077
|
* function(event) game.print("Gotta go fast!") end,
|
|
5078
5078
|
* {{filter = "name", name = "fast-inserter"}})
|
|
@@ -5169,7 +5169,7 @@ interface LuaBootstrap {
|
|
|
5169
5169
|
* @param event - ID of the event to raise.
|
|
5170
5170
|
* @example
|
|
5171
5171
|
* ```
|
|
5172
|
-
* -- Raise the
|
|
5172
|
+
* -- Raise the on_console_chat event with the desired message 'from' the first player
|
|
5173
5173
|
* local data = {player_index = 1, message = "Hello friends!"}
|
|
5174
5174
|
* script.raise_event(defines.events.on_console_chat, data)
|
|
5175
5175
|
* ```
|
|
@@ -6357,7 +6357,7 @@ interface LuaControlBehavior {
|
|
|
6357
6357
|
/**
|
|
6358
6358
|
* The concrete type of this control behavior.
|
|
6359
6359
|
*/
|
|
6360
|
-
readonly type: defines.type
|
|
6360
|
+
readonly type: defines.control_behavior.type
|
|
6361
6361
|
|
|
6362
6362
|
}
|
|
6363
6363
|
|
|
@@ -12961,7 +12961,7 @@ interface LuaGameScript {
|
|
|
12961
12961
|
readonly font_prototypes: {[key: string]: LuaFontPrototype}
|
|
12962
12962
|
|
|
12963
12963
|
/**
|
|
12964
|
-
* Get a table of all the forces that currently exist. This sparse table allows you to find forces by indexing it with either their `name` or `index`. Iterating this table with `pairs()` will
|
|
12964
|
+
* Get a table of all the forces that currently exist. This sparse table allows you to find forces by indexing it with either their `name` or `index`. Iterating this table with `pairs()` will provide the `name`s as the keys. Iterating with `ipairs()` will not work at all.
|
|
12965
12965
|
*/
|
|
12966
12966
|
readonly forces: {[key: string]: LuaForce}
|
|
12967
12967
|
|
|
@@ -13099,7 +13099,7 @@ interface LuaGameScript {
|
|
|
13099
13099
|
readonly styles: {[key: string]: string}
|
|
13100
13100
|
|
|
13101
13101
|
/**
|
|
13102
|
-
* Get a table of all the surfaces that currently exist. This sparse table allows you to find surfaces by indexing it with either their `name` or `index`. Iterating this table with `pairs()` will
|
|
13102
|
+
* Get a table of all the surfaces that currently exist. This sparse table allows you to find surfaces by indexing it with either their `name` or `index`. Iterating this table with `pairs()` will provide the `name`s as the keys. Iterating with `ipairs()` will not work at all.
|
|
13103
13103
|
*/
|
|
13104
13104
|
readonly surfaces: {[key: string]: LuaSurface}
|
|
13105
13105
|
|
|
@@ -22082,6 +22082,8 @@ interface LuaWallControlBehavior extends LuaControlBehavior {
|
|
|
22082
22082
|
}
|
|
22083
22083
|
|
|
22084
22084
|
interface LuaControlSetGuiArrowParams {
|
|
22085
|
+
'margin': uint
|
|
22086
|
+
|
|
22085
22087
|
/**
|
|
22086
22088
|
* Where to point to. This field determines what other fields are mandatory.
|
|
22087
22089
|
*/
|