-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.lua
1896 lines (1896 loc) · 63.5 KB
/
types.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
dataTypes =
{
["LuaAISettings"] = {
["_type"] = "LuaAISettings",
["allow_destroy_when_commands_fail"] = "boolean",
["allow_try_return_to_spawner"] = "boolean",
["do_separation"] = "boolean",
["path_resolution_modifier"] = "int8",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaAchievementPrototype"] = {
["_type"] = "LuaAchievementPrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["allowed_without_fight"] = "boolean",
["hidden"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaAmmoCategoryPrototype"] = {
["_type"] = "LuaAmmoCategoryPrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["bonus_gui_order"] = "string",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaAutoplaceControlPrototype"] = {
["_type"] = "LuaAutoplaceControlPrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["richness"] = "boolean",
["control_order"] = "string",
["category"] = "string",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaBootstrap"] = {
["_type"] = "LuaBootstrap",
["mod_name"] = "string",
["active_mods"] = "string{}",
["object_name"] = "string"
},
["LuaBurner"] = {
["_type"] = "LuaBurner",
["inventory"] = "^LuaInventory",
["burnt_result_inventory"] = "^LuaInventory",
["heat"] = "double",
["heat_capacity"] = "double",
["remaining_burning_fuel"] = "double",
["currently_burning"] = "^LuaItemPrototype",
["fuel_categories"] = "boolean{}",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaBurnerPrototype"] = {
["_type"] = "LuaBurnerPrototype",
["emissions"] = "double",
["render_no_network_icon"] = "boolean",
["render_no_power_icon"] = "boolean",
["effectivity"] = "double",
["fuel_inventory_size"] = "uint",
["burnt_inventory_size"] = "uint",
["smoke"] = "SmokeSource[]",
["light_flicker"] = "table",
["fuel_categories"] = "boolean{}",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaChunkIterator"] = {
["_type"] = "LuaChunkIterator",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaCircuitNetwork"] = {
["_type"] = "LuaCircuitNetwork",
["entity"] = "^LuaEntity",
["wire_type"] = "defines.wire_type",
["circuit_connector_id"] = "defines.circuit_connector_id",
["signals"] = "Signal[]",
["network_id"] = "uint",
["connected_circuit_count"] = "uint",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaCommandProcessor"] = {
["_type"] = "LuaCommandProcessor",
["commands"] = "LocalisedString{}",
["game_commands"] = "LocalisedString{}",
["object_name"] = "string"
},
["LuaControl"] = {
["_type"] = "LuaControl",
["surface"] = "^LuaSurface",
["position"] = "Position",
["vehicle"] = "^LuaEntity",
["force"] = "^LuaForce",
["selected"] = "^LuaEntity",
["crafting_queue_size"] = "uint",
["crafting_queue_progress"] = "double",
["walking_state"] = "table",
["riding_state"] = "RidingState",
["mining_state"] = "table",
["shooting_state"] = "table",
["picking_state"] = "boolean",
["repair_state"] = "table",
["cursor_stack"] = "^LuaItemStack",
["cursor_ghost"] = "ItemPrototypeSpecification",
["driving"] = "boolean",
["crafting_queue"] = "CraftingQueueItem[]",
["following_robots"] = "^LuaEntity[]",
["cheat_mode"] = "boolean",
["character_crafting_speed_modifier"] = "double",
["character_mining_speed_modifier"] = "double",
["character_additional_mining_categories"] = "string[]",
["character_running_speed_modifier"] = "double",
["character_build_distance_bonus"] = "uint",
["character_item_drop_distance_bonus"] = "uint",
["character_reach_distance_bonus"] = "uint",
["character_resource_reach_distance_bonus"] = "uint",
["character_item_pickup_distance_bonus"] = "uint",
["character_loot_pickup_distance_bonus"] = "uint",
["character_inventory_slots_bonus"] = "uint",
["character_trash_slot_count_bonus"] = "uint",
["character_maximum_following_robot_count_bonus"] = "uint",
["character_health_bonus"] = "float",
["character_personal_logistic_requests_enabled"] = "boolean",
["vehicle_logistic_requests_enabled"] = "boolean",
["opened_gui_type"] = "defines.gui_type",
["build_distance"] = "uint",
["drop_item_distance"] = "uint",
["reach_distance"] = "uint",
["item_pickup_distance"] = "double",
["loot_pickup_distance"] = "double",
["resource_reach_distance"] = "double",
["in_combat"] = "boolean",
["character_running_speed"] = "double",
["character_mining_progress"] = "double"
},
["LuaControlBehavior"] = {
["_type"] = "LuaControlBehavior",
["type"] = "defines.control_behavior.type",
["entity"] = "^LuaEntity"
},
["LuaAccumulatorControlBehavior"] = {
["_type"] = "LuaAccumulatorControlBehavior",
["_proto"] = "LuaControlBehavior",
["output_signal"] = "SignalID",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaCombinatorControlBehavior"] = {
["_type"] = "LuaCombinatorControlBehavior",
["_proto"] = "LuaControlBehavior",
["signals_last_tick"] = "Signal[]"
},
["LuaConstantCombinatorControlBehavior"] = {
["_type"] = "LuaConstantCombinatorControlBehavior",
["_proto"] = "LuaControlBehavior",
["parameters"] = "ConstantCombinatorParameters",
["enabled"] = "boolean",
["signals_count"] = "uint",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaContainerControlBehavior"] = {
["_type"] = "LuaContainerControlBehavior",
["_proto"] = "LuaControlBehavior",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaGenericOnOffControlBehavior"] = {
["_type"] = "LuaGenericOnOffControlBehavior",
["_proto"] = "LuaControlBehavior",
["disabled"] = "boolean",
["circuit_condition"] = "CircuitConditionSpecification",
["logistic_condition"] = "CircuitConditionSpecification",
["connect_to_logistic_network"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaLogisticContainerControlBehavior"] = {
["_type"] = "LuaLogisticContainerControlBehavior",
["_proto"] = "LuaControlBehavior",
["circuit_mode_of_operation"] = "defines.control_behavior.logistic_container.circuit_mode_of_operation",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaProgrammableSpeakerControlBehavior"] = {
["_type"] = "LuaProgrammableSpeakerControlBehavior",
["_proto"] = "LuaControlBehavior",
["circuit_parameters"] = "ProgrammableSpeakerCircuitParameters",
["circuit_condition"] = "CircuitConditionSpecification",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaRailChainSignalControlBehavior"] = {
["_type"] = "LuaRailChainSignalControlBehavior",
["_proto"] = "LuaControlBehavior",
["red_signal"] = "SignalID",
["orange_signal"] = "SignalID",
["green_signal"] = "SignalID",
["blue_signal"] = "SignalID",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaRailSignalControlBehavior"] = {
["_type"] = "LuaRailSignalControlBehavior",
["_proto"] = "LuaControlBehavior",
["red_signal"] = "SignalID",
["orange_signal"] = "SignalID",
["green_signal"] = "SignalID",
["close_signal"] = "boolean",
["read_signal"] = "boolean",
["circuit_condition"] = "CircuitConditionSpecification",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaRoboportControlBehavior"] = {
["_type"] = "LuaRoboportControlBehavior",
["_proto"] = "LuaControlBehavior",
["read_logistics"] = "boolean",
["read_robot_stats"] = "boolean",
["available_logistic_output_signal"] = "SignalID",
["total_logistic_output_signal"] = "SignalID",
["available_construction_output_signal"] = "SignalID",
["total_construction_output_signal"] = "SignalID",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaStorageTankControlBehavior"] = {
["_type"] = "LuaStorageTankControlBehavior",
["_proto"] = "LuaControlBehavior",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaWallControlBehavior"] = {
["_type"] = "LuaWallControlBehavior",
["_proto"] = "LuaControlBehavior",
["circuit_condition"] = "CircuitConditionSpecification",
["open_gate"] = "boolean",
["read_sensor"] = "boolean",
["output_signal"] = "SignalID",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaArithmeticCombinatorControlBehavior"] = {
["_type"] = "LuaArithmeticCombinatorControlBehavior",
["_proto"] = "LuaCombinatorControlBehavior",
["parameters"] = "ArithmeticCombinatorParameters",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaDeciderCombinatorControlBehavior"] = {
["_type"] = "LuaDeciderCombinatorControlBehavior",
["_proto"] = "LuaCombinatorControlBehavior",
["parameters"] = "DeciderCombinatorParameters",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaInserterControlBehavior"] = {
["_type"] = "LuaInserterControlBehavior",
["_proto"] = "LuaGenericOnOffControlBehavior",
["circuit_read_hand_contents"] = "boolean",
["circuit_mode_of_operation"] = "defines.control_behavior.inserter.circuit_mode_of_operation",
["circuit_hand_read_mode"] = "defines.control_behavior.inserter.hand_read_mode",
["circuit_set_stack_size"] = "boolean",
["circuit_stack_control_signal"] = "SignalID",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaLampControlBehavior"] = {
["_type"] = "LuaLampControlBehavior",
["_proto"] = "LuaGenericOnOffControlBehavior",
["use_colors"] = "boolean",
["color"] = "Color",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaMiningDrillControlBehavior"] = {
["_type"] = "LuaMiningDrillControlBehavior",
["_proto"] = "LuaGenericOnOffControlBehavior",
["circuit_enable_disable"] = "boolean",
["circuit_read_resources"] = "boolean",
["resource_read_mode"] = "defines.control_behavior.mining_drill.resource_read_mode",
["resource_read_targets"] = "^LuaEntity[]",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaTrainStopControlBehavior"] = {
["_type"] = "LuaTrainStopControlBehavior",
["_proto"] = "LuaGenericOnOffControlBehavior",
["send_to_train"] = "boolean",
["read_from_train"] = "boolean",
["read_stopped_train"] = "boolean",
["set_trains_limit"] = "boolean",
["read_trains_count"] = "boolean",
["enable_disable"] = "boolean",
["stopped_train_signal"] = "SignalID",
["trains_count_signal"] = "SignalID",
["trains_limit_signal"] = "SignalID",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaTransportBeltControlBehavior"] = {
["_type"] = "LuaTransportBeltControlBehavior",
["_proto"] = "LuaGenericOnOffControlBehavior",
["enable_disable"] = "boolean",
["read_contents"] = "boolean",
["read_contents_mode"] = "defines.control_behavior.transport_belt.content_read_mode",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaCustomChartTag"] = {
["_type"] = "LuaCustomChartTag",
["icon"] = "SignalID",
["last_user"] = "^LuaPlayer",
["position"] = "Position",
["text"] = "string",
["tag_number"] = "uint",
["force"] = "^LuaForce",
["surface"] = "^LuaSurface",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaCustomInputPrototype"] = {
["_type"] = "LuaCustomInputPrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["key_sequence"] = "string",
["alternative_key_sequence"] = "string",
["linked_game_control"] = "string",
["consuming"] = "string",
["enabled"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaCustomTable"] = {
["_type"] = "LuaCustomTable",
["operator #"] = "uint",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaDamagePrototype"] = {
["_type"] = "LuaDamagePrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["hidden"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaDecorativePrototype"] = {
["_type"] = "LuaDecorativePrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["collision_box"] = "BoundingBox",
["collision_mask"] = "CollisionMask",
["collision_mask_with_flags"] = "CollisionMaskWithFlags",
["autoplace_specification"] = "AutoplaceSpecification",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaElectricEnergySourcePrototype"] = {
["_type"] = "LuaElectricEnergySourcePrototype",
["buffer_capacity"] = "double",
["usage_priority"] = "string",
["input_flow_limit"] = "double",
["output_flow_limit"] = "double",
["drain"] = "double",
["emissions"] = "double",
["render_no_network_icon"] = "boolean",
["render_no_power_icon"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaEntity"] = {
["_type"] = "LuaEntity",
["_proto"] = "LuaControl",
["name"] = "string",
["ghost_name"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["ghost_localised_name"] = "LocalisedString",
["ghost_localised_description"] = "LocalisedString",
["type"] = "string",
["ghost_type"] = "string",
["active"] = "boolean",
["destructible"] = "boolean",
["minable"] = "boolean",
["rotatable"] = "boolean",
["operable"] = "boolean",
["health"] = "float",
["direction"] = "defines.direction",
["supports_direction"] = "boolean",
["orientation"] = "float",
["cliff_orientation"] = "string",
["amount"] = "uint",
["initial_amount"] = "uint",
["effectivity_modifier"] = "float",
["consumption_modifier"] = "float",
["friction_modifier"] = "float",
["driver_is_gunner"] = "boolean",
["vehicle_automatic_targeting_parameters"] = "VehicleAutomaticTargetingParameters",
["speed"] = "float",
["effective_speed"] = "float",
["stack"] = "^LuaItemStack",
["prototype"] = "^LuaEntityPrototype",
["drop_position"] = "Position",
["pickup_position"] = "Position",
["drop_target"] = "^LuaEntity",
["pickup_target"] = "^LuaEntity",
["selected_gun_index"] = "uint",
["energy"] = "double",
["temperature"] = "double",
["previous_recipe"] = "^LuaRecipe",
["held_stack"] = "^LuaItemStack",
["held_stack_position"] = "Position",
["train"] = "^LuaTrain",
["fluidbox"] = "^LuaFluidBox",
["backer_name"] = "string",
["time_to_live"] = "uint",
["color"] = "Color",
["text"] = "LocalisedString",
["signal_state"] = "defines.signal_state",
["chain_signal_state"] = "defines.chain_signal_state",
["to_be_looted"] = "boolean",
["crafting_speed"] = "double",
["crafting_progress"] = "float",
["bonus_progress"] = "double",
["productivity_bonus"] = "double",
["pollution_bonus"] = "double",
["speed_bonus"] = "double",
["consumption_bonus"] = "double",
["belt_to_ground_type"] = "string",
["loader_type"] = "string",
["rocket_parts"] = "uint",
["logistic_network"] = "^LuaLogisticNetwork",
["logistic_cell"] = "^LuaLogisticCell",
["item_requests"] = "uint{}",
["player"] = "^LuaPlayer",
["unit_group"] = "^LuaUnitGroup",
["damage_dealt"] = "double",
["kills"] = "uint",
["last_user"] = "^LuaPlayer",
["electric_buffer_size"] = "double",
["electric_input_flow_limit"] = "double",
["electric_output_flow_limit"] = "double",
["electric_drain"] = "double",
["electric_emissions"] = "double",
["unit_number"] = "uint",
["ghost_unit_number"] = "uint",
["mining_progress"] = "double",
["bonus_mining_progress"] = "double",
["power_production"] = "double",
["power_usage"] = "double",
["bounding_box"] = "BoundingBox",
["secondary_bounding_box"] = "BoundingBox",
["selection_box"] = "BoundingBox",
["secondary_selection_box"] = "BoundingBox",
["mining_target"] = "^LuaEntity",
["circuit_connected_entities"] = "table",
["circuit_connection_definitions"] = "CircuitConnectionDefinition[]",
["request_slot_count"] = "uint",
["filter_slot_count"] = "uint",
["loader_container"] = "^LuaEntity",
["grid"] = "^LuaEquipmentGrid",
["graphics_variation"] = "uint8",
["tree_color_index"] = "uint8",
["tree_color_index_max"] = "uint8",
["tree_stage_index"] = "uint8",
["tree_stage_index_max"] = "uint8",
["tree_gray_stage_index"] = "uint8",
["tree_gray_stage_index_max"] = "uint8",
["burner"] = "^LuaBurner",
["shooting_target"] = "^LuaEntity",
["proxy_target"] = "^LuaEntity",
["stickers"] = "^LuaEntity[]",
["sticked_to"] = "^LuaEntity",
["parameters"] = "ProgrammableSpeakerParameters",
["alert_parameters"] = "ProgrammableSpeakerAlertParameters",
["electric_network_statistics"] = "^LuaFlowStatistics",
["inserter_stack_size_override"] = "uint",
["products_finished"] = "uint",
["spawner"] = "^LuaEntity",
["units"] = "^LuaEntity[]",
["power_switch_state"] = "boolean",
["relative_turret_orientation"] = "float",
["effects"] = "Effects",
["infinity_container_filters"] = "InfinityInventoryFilter[]",
["remove_unfiltered_items"] = "boolean",
["character_corpse_player_index"] = "uint",
["character_corpse_tick_of_death"] = "uint",
["character_corpse_death_cause"] = "LocalisedString",
["associated_player"] = "^LuaPlayer",
["tick_of_last_attack"] = "uint",
["tick_of_last_damage"] = "uint",
["splitter_filter"] = "^LuaItemPrototype",
["inserter_filter_mode"] = "string",
["splitter_input_priority"] = "string",
["splitter_output_priority"] = "string",
["armed"] = "boolean",
["recipe_locked"] = "boolean",
["connected_rail"] = "^LuaEntity",
["trains_in_block"] = "uint",
["timeout"] = "uint",
["neighbour_bonus"] = "double",
["ai_settings"] = "^LuaAISettings",
["highlight_box_type"] = "string",
["highlight_box_blink_interval"] = "uint",
["status"] = "defines.entity_status",
["enable_logistics_while_moving"] = "boolean",
["render_player"] = "^LuaPlayer",
["render_to_forces"] = "ForceSpecification[]",
["pump_rail_target"] = "^LuaEntity",
["moving"] = "boolean",
["electric_network_id"] = "uint",
["allow_dispatching_robots"] = "boolean",
["auto_launch"] = "boolean",
["energy_generated_last_tick"] = "double",
["storage_filter"] = "^LuaItemPrototype",
["request_from_buffers"] = "boolean",
["corpse_expires"] = "boolean",
["corpse_immune_to_entity_placement"] = "boolean",
["tags"] = "Tags",
["command"] = "Command",
["distraction_command"] = "Command",
["time_to_next_effect"] = "uint",
["autopilot_destination"] = "Position",
["autopilot_destinations"] = "Position[]",
["trains_count"] = "uint",
["trains_limit"] = "uint",
["is_entity_with_force"] = "boolean",
["is_entity_with_owner"] = "boolean",
["is_entity_with_health"] = "boolean",
["combat_robot_owner"] = "^LuaEntity",
["link_id"] = "uint",
["follow_target"] = "^LuaEntity",
["follow_offset"] = "Position",
["linked_belt_type"] = "string",
["linked_belt_neighbour"] = "^LuaEntity",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaEntityPrototype"] = {
["_type"] = "LuaEntityPrototype",
["type"] = "string",
["name"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["max_health"] = "float",
["infinite_resource"] = "boolean",
["minimum_resource_amount"] = "uint",
["normal_resource_amount"] = "uint",
["infinite_depletion_resource_amount"] = "uint",
["resource_category"] = "string",
["mineable_properties"] = "table",
["items_to_place_this"] = "SimpleItemStack[]",
["collision_box"] = "BoundingBox",
["secondary_collision_box"] = "BoundingBox",
["map_generator_bounding_box"] = "BoundingBox",
["selection_box"] = "BoundingBox",
["drawing_box"] = "BoundingBox",
["sticker_box"] = "BoundingBox",
["collision_mask"] = "CollisionMask",
["collision_mask_with_flags"] = "CollisionMaskWithFlags",
["default_collision_mask_with_flags"] = "CollisionMaskWithFlags",
["order"] = "string",
["group"] = "^LuaGroup",
["subgroup"] = "^LuaGroup",
["healing_per_tick"] = "float",
["emissions_per_second"] = "double",
["corpses"] = "^LuaEntityPrototype{}",
["selectable_in_game"] = "boolean",
["selection_priority"] = "uint",
["weight"] = "double",
["resistances"] = "Resistances",
["fast_replaceable_group"] = "string",
["next_upgrade"] = "^LuaEntityPrototype",
["loot"] = "Loot",
["repair_speed_modifier"] = "uint",
["turret_range"] = "uint",
["autoplace_specification"] = "AutoplaceSpecification",
["belt_speed"] = "double",
["result_units"] = "UnitSpawnDefinition[]",
["attack_result"] = "Trigger",
["final_attack_result"] = "Trigger",
["attack_parameters"] = "AttackParameters",
["spawn_cooldown"] = "table",
["mining_drill_radius"] = "double",
["mining_speed"] = "double",
["logistic_mode"] = "string",
["max_underground_distance"] = "uint8",
["flags"] = "EntityPrototypeFlags",
["remains_when_mined"] = "^LuaEntityPrototype[]",
["additional_pastable_entities"] = "^LuaEntityPrototype[]",
["allow_copy_paste"] = "boolean",
["shooting_cursor_size"] = "double",
["created_smoke"] = "table",
["created_effect"] = "Trigger",
["map_color"] = "Color",
["friendly_map_color"] = "Color",
["enemy_map_color"] = "Color",
["build_base_evolution_requirement"] = "double",
["instruments"] = "ProgrammableSpeakerInstrument[]",
["max_polyphony"] = "uint",
["module_inventory_size"] = "uint",
["ingredient_count"] = "uint",
["crafting_speed"] = "double",
["crafting_categories"] = "boolean{}",
["resource_categories"] = "boolean{}",
["supply_area_distance"] = "double",
["max_wire_distance"] = "double",
["max_circuit_wire_distance"] = "double",
["energy_usage"] = "double",
["max_energy_usage"] = "double",
["max_energy_production"] = "double",
["effectivity"] = "double",
["consumption"] = "double",
["friction_force"] = "double",
["braking_force"] = "double",
["tank_driving"] = "boolean",
["rotation_speed"] = "double",
["turret_rotation_speed"] = "double",
["guns"] = "^LuaItemPrototype{}",
["speed"] = "double",
["speed_multiplier_when_out_of_energy"] = "float",
["max_payload_size"] = "uint",
["draw_cargo"] = "boolean",
["energy_per_move"] = "double",
["energy_per_tick"] = "double",
["max_energy"] = "double",
["min_to_charge"] = "float",
["max_to_charge"] = "float",
["burner_prototype"] = "^LuaBurnerPrototype",
["electric_energy_source_prototype"] = "^LuaElectricEnergySourcePrototype",
["heat_energy_source_prototype"] = "^LuaHeatEnergySourcePrototype",
["fluid_energy_source_prototype"] = "^LuaFluidEnergySourcePrototype",
["void_energy_source_prototype"] = "^LuaVoidEnergySourcePrototype",
["building_grid_bit_shift"] = "uint",
["fluid_usage_per_tick"] = "double",
["maximum_temperature"] = "double",
["target_temperature"] = "double",
["fluid"] = "^LuaFluidPrototype",
["fluid_capacity"] = "double",
["pumping_speed"] = "double",
["stack"] = "boolean",
["allow_custom_vectors"] = "boolean",
["allow_burner_leech"] = "boolean",
["inserter_extension_speed"] = "double",
["inserter_rotation_speed"] = "double",
["inserter_pickup_position"] = "Vector",
["inserter_drop_position"] = "Vector",
["inserter_chases_belt_items"] = "boolean",
["count_as_rock_for_filtered_deconstruction"] = "boolean",
["filter_count"] = "uint",
["time_to_live"] = "uint",
["distribution_effectivity"] = "double",
["explosion_beam"] = "double",
["explosion_rotate"] = "double",
["tree_color_count"] = "uint8",
["alert_when_damaged"] = "boolean",
["alert_when_attacking"] = "boolean",
["color"] = "Color",
["collision_mask_collides_with_self"] = "boolean",
["collision_mask_collides_with_tiles_only"] = "boolean",
["collision_mask_considers_tile_transitions"] = "boolean",
["allowed_effects"] = "boolean{}",
["rocket_parts_required"] = "uint",
["rocket_rising_delay"] = "uint8",
["launch_wait_time"] = "uint8",
["light_blinking_speed"] = "double",
["door_opening_speed"] = "double",
["rising_speed"] = "double",
["engine_starting_speed"] = "double",
["flying_speed"] = "double",
["flying_acceleration"] = "double",
["fixed_recipe"] = "string",
["construction_radius"] = "double",
["logistic_radius"] = "double",
["energy_per_hit_point"] = "double",
["create_ghost_on_death"] = "boolean",
["timeout"] = "uint",
["fluidbox_prototypes"] = "^LuaFluidBoxPrototype[]",
["neighbour_bonus"] = "double",
["neighbour_collision_increase"] = "double",
["container_distance"] = "double",
["belt_distance"] = "double",
["belt_length"] = "double",
["is_building"] = "boolean",
["automated_ammo_count"] = "uint",
["max_speed"] = "double",
["darkness_for_all_lamps_on"] = "float",
["darkness_for_all_lamps_off"] = "float",
["always_on"] = "boolean",
["min_darkness_to_spawn"] = "float",
["max_darkness_to_spawn"] = "float",
["call_for_help_radius"] = "double",
["max_count_of_owned_units"] = "double",
["max_friends_around_to_spawn"] = "double",
["spawning_radius"] = "double",
["spawning_spacing"] = "double",
["radius"] = "double",
["cliff_explosive_prototype"] = "string",
["rocket_entity_prototype"] = "^LuaEntityPrototype",
["has_belt_immunity"] = "boolean",
["vision_distance"] = "double",
["pollution_to_join_attack"] = "float",
["min_pursue_time"] = "uint",
["max_pursue_distance"] = "double",
["radar_range"] = "uint",
["move_while_shooting"] = "boolean",
["can_open_gates"] = "boolean",
["affected_by_tiles"] = "boolean",
["distraction_cooldown"] = "uint",
["spawning_time_modifier"] = "double",
["alert_icon_shift"] = "Vector",
["lab_inputs"] = "string[]",
["researching_speed"] = "double",
["item_slot_count"] = "uint",
["base_productivity"] = "double",
["allow_access_to_all_forces"] = "boolean",
["supports_direction"] = "boolean",
["terrain_friction_modifier"] = "float",
["allow_passengers"] = "boolean",
["max_distance_of_sector_revealed"] = "uint",
["max_distance_of_nearby_sector_revealed"] = "uint",
["adjacent_tile_collision_box"] = "BoundingBox",
["adjacent_tile_collision_mask"] = "CollisionMask",
["adjacent_tile_collision_test"] = "CollisionMask",
["center_collision_mask"] = "CollisionMask",
["grid_prototype"] = "^LuaEquipmentGridPrototype",
["remove_decoratives"] = "string",
["running_speed"] = "double",
["maximum_corner_sliding_distance"] = "double",
["build_distance"] = "uint",
["drop_item_distance"] = "uint",
["reach_distance"] = "uint",
["reach_resource_distance"] = "double",
["item_pickup_distance"] = "double",
["loot_pickup_distance"] = "double",
["enter_vehicle_distance"] = "double",
["ticks_to_keep_gun"] = "uint",
["ticks_to_keep_aiming_direction"] = "uint",
["ticks_to_stay_in_combat"] = "uint",
["respawn_time"] = "uint",
["damage_hit_tint"] = "Color",
["character_corpse"] = "^LuaEntityPrototype",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaEquipment"] = {
["_type"] = "LuaEquipment",
["name"] = "string",
["type"] = "string",
["position"] = "Position",
["shape"] = "table",
["shield"] = "double",
["max_shield"] = "double",
["max_solar_power"] = "double",
["movement_bonus"] = "double",
["generator_power"] = "double",
["energy"] = "double",
["max_energy"] = "double",
["prototype"] = "^LuaEquipmentPrototype",
["burner"] = "^LuaBurner",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaEquipmentCategoryPrototype"] = {
["_type"] = "LuaEquipmentCategoryPrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaEquipmentGrid"] = {
["_type"] = "LuaEquipmentGrid",
["prototype"] = "^LuaEquipmentGridPrototype",
["width"] = "uint",
["height"] = "uint",
["equipment"] = "^LuaEquipment[]",
["generator_energy"] = "double",
["max_solar_energy"] = "double",
["available_in_batteries"] = "double",
["battery_capacity"] = "double",
["shield"] = "float",
["max_shield"] = "float",
["inhibit_movement_bonus"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaEquipmentGridPrototype"] = {
["_type"] = "LuaEquipmentGridPrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["equipment_categories"] = "string[]",
["width"] = "uint",
["height"] = "uint",
["locked"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaEquipmentPrototype"] = {
["_type"] = "LuaEquipmentPrototype",
["name"] = "string",
["type"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["shape"] = "table",
["take_result"] = "^LuaItemPrototype",
["energy_production"] = "double",
["shield"] = "float",
["energy_per_shield"] = "double",
["logistic_parameters"] = "table",
["energy_consumption"] = "double",
["movement_bonus"] = "float",
["energy_source"] = "^LuaElectricEnergySourcePrototype",
["equipment_categories"] = "string[]",
["burner_prototype"] = "^LuaBurnerPrototype",
["electric_energy_source_prototype"] = "^LuaElectricEnergySourcePrototype",
["background_color"] = "Color",
["attack_parameters"] = "AttackParameters",
["automatic"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string",
["_req"] = {
["logistic_parameters"] = {
["prop"] = "type",
["val"] = "robotport-equipment"
}
}
},
["LuaFlowStatistics"] = {
["_type"] = "LuaFlowStatistics",
["force"] = "^LuaForce",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaFluidBox"] = {
["_type"] = "LuaFluidBox",
["operator #"] = "uint",
["owner"] = "^LuaEntity",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaFluidBoxPrototype"] = {
["_type"] = "LuaFluidBoxPrototype",
["entity"] = "^LuaEntityPrototype",
["index"] = "uint",
["pipe_connections"] = "FluidBoxConnection[]",
["production_type"] = "string",
["base_area"] = "double",
["base_level"] = "double",
["height"] = "double",
["volume"] = "double",
["filter"] = "^LuaFluidPrototype",
["minimum_temperature"] = "double",
["maximum_temperature"] = "double",
["secondary_draw_orders"] = "int[]",
["render_layer"] = "string",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaFluidEnergySourcePrototype"] = {
["_type"] = "LuaFluidEnergySourcePrototype",
["emissions"] = "double",
["render_no_network_icon"] = "boolean",
["render_no_power_icon"] = "boolean",
["effectivity"] = "double",
["burns_fluid"] = "boolean",
["scale_fluid_usage"] = "boolean",
["fluid_usage_per_tick"] = "double",
["smoke"] = "SmokeSource[]",
["maximum_temperature"] = "double",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaFluidPrototype"] = {
["_type"] = "LuaFluidPrototype",
["name"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["default_temperature"] = "double",
["max_temperature"] = "double",
["heat_capacity"] = "double",
["order"] = "string",
["group"] = "^LuaGroup",
["subgroup"] = "^LuaGroup",
["base_color"] = "Color",
["flow_color"] = "Color",
["gas_temperature"] = "double",
["emissions_multiplier"] = "double",
["fuel_value"] = "double",
["hidden"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaForce"] = {
["_type"] = "LuaForce",
["name"] = "string",
["technologies"] = "LuaTechnology{}",
["recipes"] = "LuaRecipe{}",
["manual_mining_speed_modifier"] = "double",
["manual_crafting_speed_modifier"] = "double",
["laboratory_speed_modifier"] = "double",
["laboratory_productivity_bonus"] = "double",
["worker_robots_speed_modifier"] = "double",
["worker_robots_battery_modifier"] = "double",
["worker_robots_storage_bonus"] = "double",
["current_research"] = "^LuaTechnology",
["research_progress"] = "double",
["previous_research"] = "^LuaTechnology",
["inserter_stack_size_bonus"] = "double",
["stack_inserter_capacity_bonus"] = "uint",
["character_trash_slot_count"] = "double",
["maximum_following_robot_count"] = "uint",
["following_robots_lifetime_modifier"] = "double",
["ghost_time_to_live"] = "uint",
["players"] = "^LuaPlayer[]",
["ai_controllable"] = "boolean",
["item_production_statistics"] = "^LuaFlowStatistics",
["fluid_production_statistics"] = "^LuaFlowStatistics",
["kill_count_statistics"] = "^LuaFlowStatistics",
["entity_build_count_statistics"] = "^LuaFlowStatistics",
["character_running_speed_modifier"] = "double",
["artillery_range_modifier"] = "double",
["character_build_distance_bonus"] = "uint",
["character_item_drop_distance_bonus"] = "uint",
["character_reach_distance_bonus"] = "uint",
["character_resource_reach_distance_bonus"] = "double",
["character_item_pickup_distance_bonus"] = "double",
["character_loot_pickup_distance_bonus"] = "double",
["character_inventory_slots_bonus"] = "uint",
["deconstruction_time_to_live"] = "uint",
["character_health_bonus"] = "double",
["max_successful_attempts_per_tick_per_construction_queue"] = "uint",
["max_failed_attempts_per_tick_per_construction_queue"] = "uint",
["zoom_to_world_enabled"] = "boolean",
["zoom_to_world_ghost_building_enabled"] = "boolean",
["zoom_to_world_blueprint_enabled"] = "boolean",
["zoom_to_world_deconstruction_planner_enabled"] = "boolean",
["zoom_to_world_selection_tool_enabled"] = "boolean",
["character_logistic_requests"] = "boolean",
["rockets_launched"] = "uint",
["items_launched"] = "uint{}",
["connected_players"] = "^LuaPlayer[]",
["mining_drill_productivity_bonus"] = "double",
["train_braking_force_bonus"] = "double",
["evolution_factor"] = "double",
["evolution_factor_by_pollution"] = "double",
["evolution_factor_by_time"] = "double",
["evolution_factor_by_killing_spawners"] = "double",
["friendly_fire"] = "boolean",
["share_chart"] = "boolean",
["research_queue_enabled"] = "boolean",
["index"] = "uint",
["research_queue"] = "TechnologySpecification[]",
["research_enabled"] = "boolean",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaFuelCategoryPrototype"] = {
["_type"] = "LuaFuelCategoryPrototype",
["name"] = "string",
["order"] = "string",
["localised_name"] = "LocalisedString",
["localised_description"] = "LocalisedString",
["valid"] = "boolean",
["object_name"] = "string"
},
["LuaGameScript"] = {
["_type"] = "LuaGameScript",
["object_name"] = "string",
["player"] = "LuaPlayer",
["players"] = "LuaPlayer{}",
["map_settings"] = "MapSettings",
["difficulty_settings"] = "DifficultySettings",
["difficulty"] = "defines.difficulty",
["forces"] = "LuaForce{}",
["entity_prototypes"] = "LuaEntityPrototype{}",
["item_prototypes"] = "LuaItemPrototype{}",
["fluid_prototypes"] = "LuaFluidPrototype{}",