Prototype of an entity.
has_flag(flag) → boolean | Does this prototype have a flag enabled? |
get_inventory_size(index) → uint | Gets the base size of the given inventory on this entity or nil if the given inventory doesn't exist. |
type :: string [R] | Type of this prototype. |
name :: string [R] | Name of this prototype. |
localised_name :: LocalisedString [R] | |
localised_description :: LocalisedString [R] | |
max_health :: float [R] | Max health of this entity. |
infinite_resource :: boolean [R] | Is this resource infinite? |
minimum_resource_amount :: uint [R] | Minimum amount of this resource. |
normal_resource_amount :: uint [R] | The normal amount for this resource. |
infinite_depletion_resource_amount :: uint [R] | Every time this infinite resource 'ticks' down it is reduced by this amount. |
resource_category :: string [R] | Name of the category of this resource or nil when not a resource. |
mineable_properties :: table [R] | Whether this entity is minable and what can be obtained by mining it. |
items_to_place_this :: array[SimpleItemStack] [R] | Items that, when placed, will produce this entity. |
collision_box :: BoundingBox [R] | The bounding box used for collision checking. |
secondary_collision_box :: BoundingBox [R] | The secondary bounding box used for collision checking, or nil if it doesn't have one. |
map_generator_bounding_box :: BoundingBox [R] | The bounding box used for map generator collision checking. |
selection_box :: BoundingBox [R] | The bounding box used for drawing selection. |
drawing_box :: BoundingBox [R] | The bounding box used for drawing the entity icon. |
sticker_box :: BoundingBox [R] | The bounding box used to attach sticker type entities. |
collision_mask :: CollisionMask [R] | The collision masks this entity uses |
collision_mask_with_flags :: CollisionMaskWithFlags [R] | |
default_collision_mask_with_flags :: CollisionMaskWithFlags [R] | The hardcoded default collision mask (with flags) for this entity prototype type. |
order :: string [R] | Order string of this prototype. |
group :: LuaGroup [R] | Group of this entity. |
subgroup :: LuaGroup [R] | Subgroup of this entity. |
healing_per_tick :: float [R] | Amount this entity can heal per tick. |
emissions_per_second :: double [R] | Amount of pollution emissions per second this entity will create. |
corpses :: dictionary[string → LuaEntityPrototype] [R] | Corpses used when this entity is destroyed. |
selectable_in_game :: boolean [R] | Is this entity selectable? |
selection_priority :: uint [R] | The selection priority of this entity - a value between 0 and 255 |
weight :: double [R] | The weight of this vehicle prototype or nil if not a vehicle prototype. |
resistances :: dictionary[string → Resistance] [R] | List of resistances towards each damage type. |
fast_replaceable_group :: string [R] | The group of mutually fast-replaceable entities. |
next_upgrade :: LuaEntityPrototype [R] | The next upgrade for this entity or nil . |
loot :: array[Loot] [R] | Loot that will be dropped when this entity is killed. |
repair_speed_modifier :: uint [R] | Repair-speed modifier for this entity. |
turret_range :: uint [R] | The range of this turret or nil if this isn't a turret related prototype. |
autoplace_specification :: AutoplaceSpecification [R] | Autoplace specification for this entity prototype. |
belt_speed :: double [R] | The speed of this transport belt or nil if this isn't a transport belt related prototype. |
result_units :: array[UnitSpawnDefinition] [R] | The result units and spawn points with weight and evolution factor for a biter spawner entity. |
attack_result :: array[TriggerItem] [R] | The attack result of this entity if the entity has one, else nil . |
final_attack_result :: array[TriggerItem] [R] | The final attack result for projectiles nil if not a projectile
|
attack_parameters :: AttackParameters [R] | The attack parameters for this entity or nil if the entity doesn't use attack parameters. |
spawn_cooldown :: table [R] | The spawning cooldown for this enemy spawner prototype or nil . |
mining_drill_radius :: double [R] | The mining radius of this mining drill prototype or nil if this isn't a mining drill prototype. |
mining_speed :: double [R] | The mining speed of this mining drill/character prototype or nil . |
logistic_mode :: string [R] | The logistic mode of this logistic container or nil if this isn't a logistic container prototype. |
max_underground_distance :: uint8 [R] | The max underground distance for underground belts and underground pipes or nil if this isn't one of those prototypes. |
flags :: EntityPrototypeFlags [R] | The entity prototype flags for this entity. |
remains_when_mined :: array[LuaEntityPrototype] [R] | The remains left behind when this entity is mined. |
additional_pastable_entities :: array[LuaEntityPrototype] [R] | Entities this entity can be pasted onto in addition to the normal allowed ones. |
allow_copy_paste :: boolean [R] | When false copy-paste is not allowed for this entity. |
shooting_cursor_size :: double [R] | The cursor size used when shooting at this entity. |
created_smoke :: table [R] | The smoke trigger run when this entity is built or nil . |
created_effect :: array[TriggerItem] [R] | The trigger run when this entity is created or nil . |
map_color :: Color [R] | The map color used when charting this entity if a friendly or enemy color isn't defined or nil . |
friendly_map_color :: Color [R] | The friendly map color used when charting this entity. |
enemy_map_color :: Color [R] | The enemy map color used when charting this entity. |
build_base_evolution_requirement :: double [R] | The evolution requirement to build this entity as a base when expanding enemy bases. |
instruments :: array[ProgrammableSpeakerInstrument] [R] | The instruments for this programmable speaker or nil . |
max_polyphony :: uint [R] | The maximum polyphony for this programmable speaker or nil . |
module_inventory_size :: uint [R] | The module inventory size or nil if this entity doesn't support modules. |
ingredient_count :: uint [R] | The max number of ingredients this crafting-machine prototype supports or nil if this isn't a crafting-machine prototype. |
crafting_speed :: double [R] | The crafting speed of this crafting-machine or nil . |
crafting_categories :: dictionary[string → boolean] [R] | The crafting categories this entity supports. |
resource_categories :: dictionary[string → boolean] [R] | The resource categories this character or mining drill supports, or nil if not a character or mining dill. |
supply_area_distance :: double [R] | The supply area of this electric pole, beacon, or nil if this is neither. |
max_wire_distance :: double [R] | The maximum wire distance for this entity. |
max_circuit_wire_distance :: double [R] | The maximum circuit wire distance for this entity. |
energy_usage :: double [R] | The direct energy usage of this entity or nil if this entity doesn't have a direct energy usage. |
max_energy_usage :: double [R] | The theoretical maximum energy usage for this entity. |
max_energy_production :: double [R] | The theoretical maximum energy production for this this entity. |
effectivity :: double [R] | The effectivity of this car prototype, generator prototype or nil . |
consumption :: double [R] | The energy consumption of this car prototype or nil if not a car prototype. |
friction_force :: double [R] | The friction of this vehicle prototype or nil if not a vehicle prototype. |
braking_force :: double [R] | The braking force of this vehicle prototype or nil if not a vehicle prototype. |
air_resistance :: double [R] | The air resistance of this rolling stock prototype or nil if not a rolling stock prototype. |
tank_driving :: boolean [R] | If this car prototype uses tank controls to drive or nil if this is not a car prototype. |
rotation_speed :: double [R] | The rotation speed of this car prototype or nil if not a car prototype. |
turret_rotation_speed :: double [R] | The turret rotation speed of this car prototype or nil if not a car prototype. |
guns :: dictionary[string → LuaItemPrototype] [R] | The guns this prototype uses or nil . |
speed :: double [R] | The default speed of this flying robot, rolling stock or unit, nil if not one of these. |
speed_multiplier_when_out_of_energy :: float [R] | The speed multiplier when this flying robot is out of energy or nil . |
max_payload_size :: uint [R] | The max payload size of this logistics or construction robot or nil . |
draw_cargo :: boolean [R] | Whether this logistics or construction robot renders its cargo when flying or nil . |
energy_per_move :: double [R] | The energy consumed per tile moved for this flying robot or nil . |
energy_per_tick :: double [R] | The energy consumed per tick for this flying robot or nil . |
max_energy :: double [R] | The max energy for this flying robot or nil . |
min_to_charge :: float [R] | The minimum energy for this flying robot before it tries to recharge or nil . |
max_to_charge :: float [R] | The maximum energy for this flying robot above which it won't try to recharge when stationing or nil . |
burner_prototype :: LuaBurnerPrototype [R] | The burner energy source prototype this entity uses or nil . |
electric_energy_source_prototype :: LuaElectricEnergySourcePrototype [R] | The electric energy source prototype this entity uses or nil . |
heat_energy_source_prototype :: LuaHeatEnergySourcePrototype [R] | The heat energy source prototype this entity uses or nil . |
fluid_energy_source_prototype :: LuaFluidEnergySourcePrototype [R] | The fluid energy source prototype this entity uses or nil . |
void_energy_source_prototype :: LuaVoidEnergySourcePrototype [R] | The void energy source prototype this entity uses or nil . |
building_grid_bit_shift :: uint [R] | The log2 of grid size of the building |
fluid_usage_per_tick :: double [R] | The fluid usage of this generator prototype or nil . |
maximum_temperature :: double [R] | The maximum fluid temperature of this generator prototype or nil . |
target_temperature :: double [R] | The target temperature of this boiler prototype or nil . |
fluid :: LuaFluidPrototype [R] | The fluid this offshore pump produces or nil . |
fluid_capacity :: double [R] | The fluid capacity of this entity or 0 if this entity doesn't support fluids. |
pumping_speed :: double [R] | The pumping speed of this offshore pump, normal pump, or nil . |
stack :: boolean [R] | If this inserter is a stack-type. |
allow_custom_vectors :: boolean [R] | If this inserter allows custom pickup and drop vectors. |
allow_burner_leech :: boolean [R] | If this inserter allows burner leeching. |
inserter_extension_speed :: double [R] | The extension speed of this inserter or nil . |
inserter_rotation_speed :: double [R] | The rotation speed of this inserter or nil . |
inserter_pickup_position :: Vector [R] | The pickup position for this inserter or nil . |
inserter_drop_position :: Vector [R] | The drop position for this inserter or nil . |
inserter_chases_belt_items :: boolean [R] | True if this inserter chases items on belts for pickup or nil . |
count_as_rock_for_filtered_deconstruction :: boolean [R] | If this simple-entity is counted as a rock for the deconstruction planner "trees and rocks only" filter. |
filter_count :: uint [R] | The filter count of this inserter, loader, or logistic chest or nil . |
time_to_live :: uint [R] | The time to live for this prototype or 0 if prototype doesn't have time_to_live or time_before_removed. |
distribution_effectivity :: double [R] | The distribution effectivity for this beacon prototype or nil if not a beacon prototype. |
explosion_beam :: double [R] | Does this explosion have a beam or nil if not an explosion prototype. |
explosion_rotate :: double [R] | Does this explosion rotate or nil if not an explosion prototype. |
tree_color_count :: uint8 [R] | If it is a tree, return the number of colors it supports. |
alert_when_damaged :: boolean [R] | Does this entity with health prototype alert when damaged? |
alert_when_attacking :: boolean [R] | Does this turret prototype alert when attacking? |
color :: Color [R] | The color of the prototype, or nil if the prototype doesn't have color. |
collision_mask_collides_with_self :: boolean [R] | Does this prototype collision mask collide with itself? |
collision_mask_collides_with_tiles_only :: boolean [R] | Does this prototype collision mask collide with tiles only? |
collision_mask_considers_tile_transitions :: boolean [R] | Does this prototype collision mask consider tile transitions? |
allowed_effects :: dictionary[string → boolean] [R] | The allowed module effects for this entity or nil . |
rocket_parts_required :: uint [R] | The rocket parts required for this rocket silo prototype or nil . |
rocket_rising_delay :: uint8 [R] | The rocket rising delay for this rocket silo prototype or nil . |
launch_wait_time :: uint8 [R] | The rocket launch delay for this rocket silo prototype or nil . |
light_blinking_speed :: double [R] | The light blinking speed for this rocket silo prototype or nil . |
door_opening_speed :: double [R] | The door opening speed for this rocket silo prototype or nil . |
rising_speed :: double [R] | The rising speed for this rocket silo rocket prototype or nil . |
engine_starting_speed :: double [R] | The engine starting speed for this rocket silo rocket prototype or nil . |
flying_speed :: double [R] | The flying speed for this rocket silo rocket prototype or nil . |
flying_acceleration :: double [R] | The flying acceleration for this rocket silo rocket prototype or nil . |
fixed_recipe :: string [R] | The fixed recipe name for this assembling machine prototype or nil . |
construction_radius :: double [R] | The construction radius for this roboport prototype or nil . |
logistic_radius :: double [R] | The logistic radius for this roboport prototype or nil . |
energy_per_hit_point :: double [R] | The energy used per hitpoint taken for this vehicle during collisions or nil . |
create_ghost_on_death :: boolean [R] | If this prototype will attempt to create a ghost of itself on death. |
timeout :: uint [R] | The time it takes this land mine to arm. |
fluidbox_prototypes :: array[LuaFluidBoxPrototype] [R] | The fluidbox prototypes for this entity. |
neighbour_bonus :: double [R] | |
neighbour_collision_increase :: double [R] | Controls how much a reactor extends when connected to other reactors. |
container_distance :: double [R] | |
belt_distance :: double [R] | |
belt_length :: double [R] | |
is_building :: boolean [R] | |
automated_ammo_count :: uint [R] | The amount of ammo that inserters automatically insert into this ammo-turret or artillery-turret or nil . |
max_speed :: double [R] | The max speed of this projectile prototype or flying robot prototype or nil . |
darkness_for_all_lamps_on :: float [R] | Value between 0 and 1 darkness where all lamps of this lamp prototype are on or nil . |
darkness_for_all_lamps_off :: float [R] | Value between 0 and 1 darkness where all lamps of this lamp prototype are off or nil . |
always_on :: boolean [R] | Whether the lamp is always on (except when out of power or turned off by the circuit network) or nil . |
min_darkness_to_spawn :: float [R] | The minimum darkness at which this unit spawner can spawn entities. |
max_darkness_to_spawn :: float [R] | The maximum darkness at which this unit spawner can spawn entities. |
call_for_help_radius :: double [R] | |
max_count_of_owned_units :: double [R] | Count of enemies this spawner can sustain. |
max_friends_around_to_spawn :: double [R] | How many friendly units are required within the spawning_radius of this spawner for it to stop producing more units. |
spawning_radius :: double [R] | How far from the spawner can the units be spawned. |
spawning_spacing :: double [R] | What spaces should be between the spawned units. |
radius :: double [R] | The radius of this entity prototype. |
cliff_explosive_prototype :: string [R] | The item prototype name used to destroy this cliff or nil . |
rocket_entity_prototype :: LuaEntityPrototype [R] | The rocket entity prototype associated with this rocket silo prototype or nil . |
has_belt_immunity :: boolean [R] | Whether this unit, car, or character prototype has belt immunity, nil if not car, unit, or character prototype. |
vision_distance :: double [R] | The vision distance of this unit prototype or nil . |
pollution_to_join_attack :: float [R] | The amount of pollution that has to be absorbed by the unit's spawner before the unit will leave the spawner and attack the source of the pollution. |
min_pursue_time :: uint [R] | The minimum pursue time of this unit prototype or nil . |
max_pursue_distance :: double [R] | The maximum pursue distance of this unit prototype or nil . |
radar_range :: uint [R] | The radar range of this unit prototype or nil . |
move_while_shooting :: boolean [R] | Whether this unit prototype can move while shooting or nil . |
can_open_gates :: boolean [R] | Whether this unit prototype can open gates or nil . |
affected_by_tiles :: boolean [R] | Whether this unit prototype is affected by tile walking speed modifiers or nil . |
distraction_cooldown :: uint [R] | The distraction cooldown of this unit prototype or nil . |
spawning_time_modifier :: double [R] | The spawning time modifier of this unit prototype or nil . |
alert_icon_shift :: Vector [R] | The alert icon shift of this entity prototype. |
lab_inputs :: array[string] [R] | The item prototype names that are the inputs of this lab prototype or nil . |
researching_speed :: double [R] | The base researching speed of this lab prototype or nil . |
item_slot_count :: uint [R] | The item slot count of this constant combinator prototype or nil . |
base_productivity :: double [R] | The base productivity of this crafting machine, lab, or mining drill, or nil . |
allow_access_to_all_forces :: boolean [R] | If this market allows access to all forces or just friendly ones. |
supports_direction :: boolean [R] | If this entity prototype could possibly ever be rotated. |
terrain_friction_modifier :: float [R] | The terrain friction modifier for this vehicle. |
allow_passengers :: boolean [R] | If this vehicle allows passengers. |
max_distance_of_sector_revealed :: uint [R] | The radius of the area this radar can chart, in chunks. |
max_distance_of_nearby_sector_revealed :: uint [R] | The radius of the area constantly revealed by this radar, in chunks. |
adjacent_tile_collision_box :: BoundingBox [R] | The bounding box that specifies which tiles adjacent to the offshore pump should be checked. |
adjacent_tile_collision_mask :: CollisionMask [R] | Tiles adjacent to the offshore pump must not collide with this collision mask. |
adjacent_tile_collision_test :: CollisionMask [R] | If this mask is not empty, tiles adjacent to the offshore pump must not collide with this collision mask. |
center_collision_mask :: CollisionMask [R] | The collision mask used only for collision test with tile directly at offshore pump position. |
grid_prototype :: LuaEquipmentGridPrototype [R] | The equipment grid prototype for this entity or nil . |
remove_decoratives :: string [R] | |
related_underground_belt :: LuaEntityPrototype [R] | |
running_speed :: double [R] | Gets the current movement speed of this character, including effects from exoskeletons, tiles, stickers and shooting. |
maximum_corner_sliding_distance :: double [R] | |
build_distance :: uint [R] | |
drop_item_distance :: uint [R] | |
reach_distance :: uint [R] | |
reach_resource_distance :: double [R] | |
item_pickup_distance :: double [R] | |
loot_pickup_distance :: double [R] | |
enter_vehicle_distance :: double [R] | |
ticks_to_keep_gun :: uint [R] | |
ticks_to_keep_aiming_direction :: uint [R] | |
ticks_to_stay_in_combat :: uint [R] | |
respawn_time :: uint [R] | |
damage_hit_tint :: Color [R] | |
character_corpse :: LuaEntityPrototype [R] | |
valid :: boolean [R] | Is this object valid? |
object_name :: string [R] | The class name of this object. |
help() → string | All methods and properties that this object supports. |
Does this prototype have a flag enabled?
"not-rotatable"
"placeable-neutral"
"placeable-player"
"placeable-enemy"
"placeable-off-grid"
"player-creation"
"building-direction-8-way"
"filter-directions"
"fast-replaceable-no-build-while-moving"
"breaths-air"
"not-repairable"
"not-on-map"
"not-deconstructable"
"not-blueprintable"
"hide-from-bonus-gui"
"hide-alt-info"
"fast-replaceable-no-cross-type-while-moving"
"no-gap-fill-while-building"
"not-flammable"
"no-automated-item-removal"
"no-automated-item-insertion"
"not-upgradable"
Gets the base size of the given inventory on this entity or nil
if the given inventory doesn't exist.
Type of this prototype.
Name of this prototype.
Max health of this entity. Will be 0
if this is not an entity with health.
Is this resource infinite? Will be nil
when used on a non-resource.
Minimum amount of this resource. Will be nil
when used on a non-resource.
The normal amount for this resource. nil
when not a resource.
Every time this infinite resource 'ticks' down it is reduced by this amount. nil
when not a resource. Meaningless if this isn't an infinite type resource.
Name of the category of this resource or nil
when not a resource.
Whether this entity is minable and what can be obtained by mining it.
Table with the following fields:
Items that, when placed, will produce this entity. It is an array of items, or nil
if no items place this entity.
Construction bots will always choose the first item in this list to build this entity.
The bounding box used for collision checking.
The secondary bounding box used for collision checking, or nil
if it doesn't have one. This is only used in rails and rail remnants.
The bounding box used for map generator collision checking.
The bounding box used for drawing selection.
The bounding box used for drawing the entity icon.
The bounding box used to attach sticker type entities.
The collision masks this entity uses
The hardcoded default collision mask (with flags) for this entity prototype type.
Order string of this prototype.
Group of this entity.
Subgroup of this entity.
Amount this entity can heal per tick.
Amount of pollution emissions per second this entity will create.
Corpses used when this entity is destroyed. It is a dictionary indexed by the corpse's prototype name.
Is this entity selectable?
The selection priority of this entity - a value between 0 and 255
The weight of this vehicle prototype or nil
if not a vehicle prototype.
List of resistances towards each damage type. It is a dictionary indexed by damage type names
(see data/base/prototypes/damage-type.lua
).
The group of mutually fast-replaceable entities. Possibly nil
.
The next upgrade for this entity or nil
.
Loot that will be dropped when this entity is killed. nil
if there is no loot.
Repair-speed modifier for this entity. Actual repair speed will be
tool_repair_speed * entity_repair_speed_modifier
. May be nil
.
The range of this turret or nil
if this isn't a turret related prototype.
Autoplace specification for this entity prototype. nil
if none.
The speed of this transport belt or nil
if this isn't a transport belt related prototype.
The result units and spawn points with weight and evolution factor for a biter spawner entity.
The attack result of this entity if the entity has one, else nil
.
The final attack result for projectiles nil
if not a projectile
The attack parameters for this entity or nil
if the entity doesn't use attack parameters.
The mining radius of this mining drill prototype or nil
if this isn't a mining drill prototype.
The mining speed of this mining drill/character prototype or nil
.
The logistic mode of this logistic container or nil
if this isn't a logistic container prototype.
One of "requester"
, "active-provider"
, "passive-provider"
, "buffer"
, "storage"
, "none"
.
The max underground distance for underground belts and underground pipes or nil
if this isn't one of those prototypes.
The entity prototype flags for this entity.
The remains left behind when this entity is mined.
Entities this entity can be pasted onto in addition to the normal allowed ones.
When false copy-paste is not allowed for this entity.
The cursor size used when shooting at this entity.
The smoke trigger run when this entity is built or nil
.
Table with the following fields:
The trigger run when this entity is created or nil
.
The map color used when charting this entity if a friendly or enemy color isn't defined or nil
.
The friendly map color used when charting this entity.
The enemy map color used when charting this entity.
The evolution requirement to build this entity as a base when expanding enemy bases.
The instruments for this programmable speaker or nil
.
The maximum polyphony for this programmable speaker or nil
.
The module inventory size or nil
if this entity doesn't support modules.
The max number of ingredients this crafting-machine prototype supports or nil
if this isn't a crafting-machine prototype.
The crafting speed of this crafting-machine or nil
.
The crafting categories this entity supports. Only meaningful when this is a crafting-machine or player entity type.
The resource categories this character or mining drill supports, or nil
if not a character or mining dill.
The supply area of this electric pole, beacon, or nil
if this is neither.
The maximum wire distance for this entity. 0 when the entity doesn't support wires.
The maximum circuit wire distance for this entity. 0 when the entity doesn't support circuit wires.
The direct energy usage of this entity or nil
if this entity doesn't have a direct energy usage.
The theoretical maximum energy usage for this entity.
The theoretical maximum energy production for this this entity.
The effectivity of this car prototype, generator prototype or nil
.
The energy consumption of this car prototype or nil
if not a car prototype.
The friction of this vehicle prototype or nil
if not a vehicle prototype.
The braking force of this vehicle prototype or nil
if not a vehicle prototype.
The air resistance of this rolling stock prototype or nil
if not a rolling stock prototype.
If this car prototype uses tank controls to drive or nil
if this is not a car prototype.
The rotation speed of this car prototype or nil
if not a car prototype.
The turret rotation speed of this car prototype or nil
if not a car prototype.
The guns this prototype uses or nil
.
The default speed of this flying robot, rolling stock or unit, nil
if not one of these.
max_speed
. The speed multiplier when this flying robot is out of energy or nil
.
The max payload size of this logistics or construction robot or nil
.
Whether this logistics or construction robot renders its cargo when flying or nil
.
The energy consumed per tile moved for this flying robot or nil
.
The energy consumed per tick for this flying robot or nil
.
The max energy for this flying robot or nil
.
The minimum energy for this flying robot before it tries to recharge or nil
.
The maximum energy for this flying robot above which it won't try to recharge when stationing or nil
.
The burner energy source prototype this entity uses or nil
.
The electric energy source prototype this entity uses or nil
.
The heat energy source prototype this entity uses or nil
.
The fluid energy source prototype this entity uses or nil
.
The void energy source prototype this entity uses or nil
.
The log2 of grid size of the building
The fluid usage of this generator prototype or nil
.
The maximum fluid temperature of this generator prototype or nil
.
The target temperature of this boiler prototype or nil
.
The fluid this offshore pump produces or nil
.
The fluid capacity of this entity or 0 if this entity doesn't support fluids.
The pumping speed of this offshore pump, normal pump, or nil
.
If this inserter is a stack-type.
If this inserter allows custom pickup and drop vectors.
If this inserter allows burner leeching.
The extension speed of this inserter or nil
.
The rotation speed of this inserter or nil
.
The pickup position for this inserter or nil
.
The drop position for this inserter or nil
.
True if this inserter chases items on belts for pickup or nil
.
If this simple-entity is counted as a rock for the deconstruction planner "trees and rocks only" filter.
The filter count of this inserter, loader, or logistic chest or nil
.
For logistic containers, nil
means no limit.
The time to live for this prototype or 0
if prototype doesn't have time_to_live or time_before_removed.
The distribution effectivity for this beacon prototype or nil
if not a beacon prototype.
Does this explosion have a beam or nil
if not an explosion prototype.
Does this explosion rotate or nil
if not an explosion prototype.
If it is a tree, return the number of colors it supports. nil
otherwise.
Does this entity with health prototype alert when damaged? or nil
if not entity with health prototype.
Does this turret prototype alert when attacking? or nil
if not turret prototype.
The color of the prototype, or nil
if the prototype doesn't have color.
Does this prototype collision mask collide with itself?
Does this prototype collision mask collide with tiles only?
Does this prototype collision mask consider tile transitions?
The allowed module effects for this entity or nil
.
The rocket parts required for this rocket silo prototype or nil
.
The rocket rising delay for this rocket silo prototype or nil
.
The rocket launch delay for this rocket silo prototype or nil
.
The light blinking speed for this rocket silo prototype or nil
.
The door opening speed for this rocket silo prototype or nil
.
The rising speed for this rocket silo rocket prototype or nil
.
The engine starting speed for this rocket silo rocket prototype or nil
.
The flying speed for this rocket silo rocket prototype or nil
.
The flying acceleration for this rocket silo rocket prototype or nil
.
The fixed recipe name for this assembling machine prototype or nil
.
The construction radius for this roboport prototype or nil
.
The logistic radius for this roboport prototype or nil
.
The energy used per hitpoint taken for this vehicle during collisions or nil
.
If this prototype will attempt to create a ghost of itself on death.
The time it takes this land mine to arm.
The fluidbox prototypes for this entity.
Controls how much a reactor extends when connected to other reactors.
The amount of ammo that inserters automatically insert into this ammo-turret or artillery-turret or nil
.
The max speed of this projectile prototype or flying robot prototype or nil
.
Value between 0 and 1 darkness where all lamps of this lamp prototype are on or nil
.
Value between 0 and 1 darkness where all lamps of this lamp prototype are off or nil
.
Whether the lamp is always on (except when out of power or turned off by the circuit network) or nil
.
The minimum darkness at which this unit spawner can spawn entities.
The maximum darkness at which this unit spawner can spawn entities.
Count of enemies this spawner can sustain.
How many friendly units are required within the spawning_radius of this spawner for it to stop producing more units.
How far from the spawner can the units be spawned.
What spaces should be between the spawned units.
The radius of this entity prototype.
The item prototype name used to destroy this cliff or nil
.
The rocket entity prototype associated with this rocket silo prototype or nil
.
Whether this unit, car, or character prototype has belt immunity, nil
if not car, unit, or character prototype.
The vision distance of this unit prototype or nil
.
The amount of pollution that has to be absorbed by the unit's spawner before the unit will leave the spawner and attack the source of the pollution.
nil
when prototype is not a unit prototype.
The minimum pursue time of this unit prototype or nil
.
The maximum pursue distance of this unit prototype or nil
.
The radar range of this unit prototype or nil
.
Whether this unit prototype can move while shooting or nil
.
Whether this unit prototype can open gates or nil
.
Whether this unit prototype is affected by tile walking speed modifiers or nil
.
The distraction cooldown of this unit prototype or nil
.
The spawning time modifier of this unit prototype or nil
.
The alert icon shift of this entity prototype.
The item prototype names that are the inputs of this lab prototype or nil
.
The base researching speed of this lab prototype or nil
.
The item slot count of this constant combinator prototype or nil
.
The base productivity of this crafting machine, lab, or mining drill, or nil
.
If this market allows access to all forces or just friendly ones.
If this entity prototype could possibly ever be rotated.
The terrain friction modifier for this vehicle.
If this vehicle allows passengers.
The radius of the area this radar can chart, in chunks.
The radius of the area constantly revealed by this radar, in chunks.
The bounding box that specifies which tiles adjacent to the offshore pump should be checked.
Tiles adjacent to the offshore pump must not collide with this collision mask.
If this mask is not empty, tiles adjacent to the offshore pump must not collide with this collision mask.
The collision mask used only for collision test with tile directly at offshore pump position.
The equipment grid prototype for this entity or nil
.
Gets the current movement speed of this character, including effects from exoskeletons, tiles, stickers and shooting.