Factorio Prototype DocsVersion 2.0.76 Image

UtilityConstants 'utility-constants'

Constants used by the game that are not specific to certain prototypes. See utility-constants.lua for the values used by the base game.

Prototype limited to 1 total instances.

Inherits from PrototypeBase

Properties

entity_button_background_color :: Color
building_buildable_too_far_tint :: Color
building_buildable_tint :: Color
building_not_buildable_tint :: Color
building_ignorable_tint :: Color
building_no_tint :: Color
underground_belt_max_distance_tint :: Color
underground_pipe_max_distance_tint :: Color
ghost_shader_tint :: GhostTintSet
ghost_shaderless_tint :: GhostTintSet
ghost_shimmer_settings :: GhostShimmerConfig
probability_product_count_tint :: Color
zero_count_value_tint :: Color
equipment_default_background_color :: Color
equipment_default_background_border_color :: Color
equipment_default_grabbed_background_color :: Color
turret_range_visualization_color :: Color
capsule_range_visualization_color :: Color
agricultural_range_visualization_color :: Color
artillery_range_visualization_color :: Color
chart :: ChartUtilityConstants

Chart means map and minimap.

Chart means map and minimap.

gui_remark_color :: Color
gui_search_match_foreground_color :: Color
gui_search_match_background_color :: Color
default_player_force_color :: Color
default_enemy_force_color :: Color
default_other_force_color :: Color
deconstruct_mark_tint :: Color
rail_planner_count_button_color :: Color
count_button_size :: int32
logistic_gui_unselected_network_highlight_tint :: Color
logistic_gui_selected_network_highlight_tint :: Color
chart_search_highlight :: Color
selected_chart_search_highlight :: Color
zoom_to_world_can_use_nightvision :: boolean
zoom_to_world_effect_strength :: float
max_logistic_filter_count :: LogisticFilterIndex
max_terrain_building_size :: uint8
small_area_size :: float
medium_area_size :: float
large_area_size :: float
huge_platform_animation_sound_area :: float
small_blueprint_area_size :: float
medium_blueprint_area_size :: float
large_blueprint_area_size :: float
enabled_recipe_slot_tint :: Color
disabled_recipe_slot_tint :: Color
disabled_recipe_slot_background_tint :: Color
forced_enabled_recipe_slot_background_tint :: Color
rail_segment_colors :: array[Color]
player_colors :: array[PlayerColorData]

The table with name = "default" must exist and be the first member of the array.

The table with name = "default" must exist and be the first member of the array.

server_command_console_chat_color :: Color
script_command_console_chat_color :: Color
default_alert_icon_scale :: float
default_alert_icon_shift_by_type optional :: dictionary[string → Vector]
default_alert_icon_scale_by_type optional :: dictionary[string → float]
bonus_gui_ordering :: BonusGuiOrdering

The base game uses more entries here that are applied via the ammo-category.lua file.

The base game uses more entries here that are applied via the ammo-category.lua file.

merge_bonus_gui_production_bonuses optional :: boolean

If not set, defaults to 'true' when modded and 'false' when vanilla.

If not set, defaults to 'true' when modded and 'false' when vanilla.

daytime_color_lookup :: DaytimeColorLookupTable
zoom_to_world_daytime_color_lookup :: DaytimeColorLookupTable
frozen_color_lookup :: ColorLookupTable
map_editor :: MapEditorConstants
drop_item_radius :: float
checkerboard_white :: Color
checkerboard_black :: Color
item_outline_color :: Color
item_outline_radius :: float
item_outline_inset :: float
item_outline_sharpness :: float
item_default_random_tint_strength :: Color
spawner_evolution_factor_health_modifier :: float
item_health_bar_colors :: array[ItemHealthColorData]

There must be one array item with a threshold of 0.

There must be one array item with a threshold of 0.

item_ammo_magazine_left_bar_color :: Color
item_tool_durability_bar_color :: Color
filter_outline_color :: Color
icon_shadow_radius :: float
icon_shadow_inset :: float
icon_shadow_sharpness :: float
icon_shadow_color :: Color
clipboard_history_size :: uint32
recipe_step_limit :: uint32
manual_rail_building_reach_modifier :: double
train_temporary_stop_wait_time :: uint32
train_time_wait_condition_default :: uint32
train_inactivity_wait_condition_default :: uint32
default_trigger_target_mask_by_type optional :: dictionary[string → TriggerTargetMask]

The strings are entity types.

The strings are entity types.

unit_group_pathfind_resolution :: int8
unit_group_max_pursue_distance :: double
dynamic_recipe_overload_factor :: double
minimum_recipe_overload_multiplier :: uint32
maximum_recipe_overload_multiplier :: uint32
entity_renderer_search_box_limits :: EntityRendererSearchBoxLimits
light_renderer_search_distance_limit :: uint8

Can be set to anything from range 0 to 255, but larger values will be clamped to 160. [...]

Can be set to anything from range 0 to 255, but larger values will be clamped to 160. [...]

tree_leaf_distortion_strength_far :: Vector
tree_leaf_distortion_distortion_far :: Vector
tree_leaf_distortion_speed_far :: Vector
tree_leaf_distortion_strength_near :: Vector
tree_leaf_distortion_distortion_near :: Vector
tree_leaf_distortion_speed_near :: Vector
tree_shadow_roughness :: float
tree_shadow_speed :: float
missing_preview_sprite_location :: FileName
main_menu_background_image_location :: FileName
main_menu_simulations optional :: dictionary[string → SimulationDefinition]

The strings represent the names of the simulations.

The strings represent the names of the simulations.

main_menu_background_vignette_intensity :: float
main_menu_background_vignette_sharpness :: float
feedback_screenshot_subfolder_name :: string
feedback_screenshot_file_name :: string
default_scorch_mark_color :: Color
color_filters optional :: array[ColorFilterData]
minimap_slot_hovered_tint :: Color
minimap_slot_clicked_tint :: Color
clear_cursor_volume_modifier :: float
weapons_in_simulation_volume_modifier :: float
explosions_in_simulation_volume_modifier :: float
enemies_in_simulation_volume_modifier :: float
low_energy_robot_estimate_multiplier :: double
asteroid_spawning_offset :: SimpleBoundingBox
asteroid_fading_range :: float
asteroid_spawning_with_random_orientation_max_speed :: double
asteroid_position_offset_to_speed_coefficient :: double
asteroid_collector_navmesh_refresh_tick_interval :: uint32
asteroid_collector_blockage_update_tile_distance :: uint32
asteroid_collector_max_nurbs_control_point_separation :: double
asteroid_collector_static_head_swing_strength_scale :: float
asteroid_collector_static_head_swing_segment_count :: uint32
space_platform_acceleration_expression :: MathExpression

Variables: speed, thrust, weight, width, height

Variables: speed, thrust, weight, width, height

space_platform_relative_speed_factor :: double
space_platform_starfield_movement_vector :: Vector
space_platform_max_size :: SimpleBoundingBox
space_platform_dump_cooldown :: uint32

Determines how fast space platforms will send items in drop slots to the surface. [...]

Determines how fast space platforms will send items in drop slots to the surface. [...]

space_platform_manual_dump_cooldown :: uint32

Delay after manual transfer until space platform sends items in drop slots to the surface. [...]

Delay after manual transfer until space platform sends items in drop slots to the surface. [...]

space_platform_max_relative_speed_deviation_for_asteroid_chunks_update :: float

Space platform remembers relative speed range which asteroids use while it moves. [...]

Space platform remembers relative speed range which asteroids use while it moves. [...]

space_platform_asteroid_chunk_trajectory_updates_per_tick :: uint32

How many asteroid chunks should be processed per tick, see space_platform_max_relative_speed_deviation_for_asteroid_chunks_update.

How many asteroid chunks should be processed per tick, see space_platform_max_relative_speed_deviation_for_asteroid_chunks_update.

default_item_weight :: Weight
rocket_lift_weight :: Weight
factoriopedia_recycling_recipe_categories :: array[RecipeCategoryID]
max_fluid_flow :: FluidAmount
default_pipeline_extent :: double

The default value of FluidBox::max_pipeline_extent.

The default value of FluidBox::max_pipeline_extent.

default_platform_procession_set :: ProcessionSet

Must contain arrival and departure with procession_style containing 0.

Must contain arrival and departure with procession_style containing 0.

default_planet_procession_set :: ProcessionSet

Must contain arrival and departure with procession_style containing 0.

Must contain arrival and departure with procession_style containing 0.

landing_area_clear_zone_radius :: float

Radius of area where cargo pods won't land.

Radius of area where cargo pods won't land.

landing_area_max_radius :: float

Max radius where cargo pods will land.

Max radius where cargo pods will land.

lightning_attractor_collection_range_color :: Color
lightning_attractor_protection_range_color :: Color
landing_squash_immunity :: MapTick
ejected_item_lifetime :: MapTick

Silently clamped to be between 1 tick and 5 minutes (5 * 60 * 60 ticks).

Silently clamped to be between 1 tick and 5 minutes (5 * 60 * 60 ticks).

ejected_item_speed :: double

Silently clamped to be between 0 and 1/60.

Silently clamped to be between 0 and 1/60.

ejected_item_direction_variation :: double

Silently clamped to be between 0 and 0.99.

Silently clamped to be between 0 and 0.99.

ejected_item_friction :: double

Silently clamped to be between 0 and 1.

Silently clamped to be between 0 and 1.

train_visualization :: TrainVisualizationConstants
default_collision_masks :: dictionary[string → CollisionMaskConnector]

The strings can be entity types or custom strings.

The strings can be entity types or custom strings.

show_chunk_components_collision_mask :: CollisionMaskConnector
building_collision_mask :: CollisionMaskConnector
water_collision_mask :: CollisionMaskConnector
ghost_layer :: CollisionLayerID
train_pushed_by_player_max_speed :: double
train_pushed_by_player_max_acceleration :: double
train_pushed_by_player_ignores_friction :: boolean
freezing_temperature :: double
train_on_elevated_rail_shadow_shift_multiplier :: Vector
max_belt_stack_size :: uint8

Must be >= 1.

Must be >= 1.

inserter_hand_stack_items_per_sprite :: ItemCountType

Must be >= 1.

Must be >= 1.

inserter_hand_stack_max_sprites :: ItemCountType

Must be >= 1.

Must be >= 1.

remote_view_LPF_min_cutoff_frequency :: float
remote_view_LPF_max_cutoff_frequency :: float
space_LPF_min_cutoff_frequency :: float
space_LPF_max_cutoff_frequency :: float
walking_sound_count_reduction_rate :: float

Silently clamped to be between 0 and 1.

Silently clamped to be between 0 and 1.

moving_sound_count_reduction_rate :: float

Silently clamped to be between 0 and 1.

Silently clamped to be between 0 and 1.

environment_sounds_transition_fade_in_ticks :: uint32
starmap_orbit_default_color :: Color
starmap_orbit_hovered_color :: Color
starmap_orbit_clicked_color :: Color
starmap_orbit_disabled_color :: Color
time_to_show_full_health_bar :: MapTick

The number of ticks to show a segmented unit's health bar after fully regenerating.

The number of ticks to show a segmented unit's health bar after fully regenerating.

capture_water_mask_at_layer :: uint8

Layer within ground-natural tile render layer group, before which terrain lightmap alpha channel is copied into water mask. [...]

Layer within ground-natural tile render layer group, before which terrain lightmap alpha channel is copied into water mask. [...]

logistic_robots_use_busy_robots_queue :: boolean
construction_robots_use_busy_robots_queue :: boolean
quality_selector_dropdown_threshold :: uint8
maximum_quality_jump :: uint8

Cap for how many steps of quality the output of something (miner/crafter) may be higher than the input (resource/ingredients). [...]

Cap for how many steps of quality the output of something (miner/crafter) may be higher than the input (resource/ingredients). [...]

select_group_row_count :: uint8

Will be clamped to the range [1, 100].

Will be clamped to the range [1, 100].

select_slot_row_count :: uint8

Will be clamped to the range [1, 100].

Will be clamped to the range [1, 100].

crafting_queue_slots_per_row :: uint8

Will be clamped to the range [1, 100].

Will be clamped to the range [1, 100].

logistic_slots_per_row :: uint8

Will be clamped to the range [2, 100].

Will be clamped to the range [2, 100].

blueprint_big_slots_per_row :: uint8

Will be clamped to the range [2, 100].

Will be clamped to the range [2, 100].

blueprint_small_slots_per_row :: uint8

Will be clamped to the range [2, 100].

Will be clamped to the range [2, 100].

inventory_width :: uint8

Will be clamped to the range [1, 100].

Will be clamped to the range [1, 100].

module_inventory_width :: uint8

Will be clamped to the range [1, 100].

Will be clamped to the range [1, 100].

trash_inventory_width :: uint8

Will be clamped to the range [1, 100].

Will be clamped to the range [1, 100].

tooltip_monitor_edge_border :: int32

Must be >= 1.

Must be >= 1.

flying_text_ttl :: uint32

Must be >= 1.

Must be >= 1.

train_path_finding :: TrainPathFinderConstants

Inherited from PrototypeBase
type :: string

Specifies the kind of prototype this is. [...]

Specifies the kind of prototype this is. [...]

name :: string

Unique textual identification of the prototype. [...]

Unique textual identification of the prototype. [...]

order optional :: Order

Used to order prototypes in inventory, recipes and GUIs. [...]

Used to order prototypes in inventory, recipes and GUIs. [...]

localised_name optional :: LocalisedString

Overwrites the name set in the locale file. [...]

Overwrites the name set in the locale file. [...]

localised_description optional :: LocalisedString

Overwrites the description set in the locale file. [...]

Overwrites the description set in the locale file. [...]

factoriopedia_description optional :: LocalisedString

Provides additional description used in factoriopedia.

Provides additional description used in factoriopedia.

subgroup optional :: ItemSubGroupID

The name of an ItemSubGroup.

The name of an ItemSubGroup.

hidden optional :: boolean
hidden_in_factoriopedia optional :: boolean
parameter optional :: boolean

Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.

Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.

factoriopedia_simulation optional :: SimulationDefinition

The simulation shown when looking at this prototype in the Factoriopedia GUI.

The simulation shown when looking at this prototype in the Factoriopedia GUI.

Properties

entity_button_background_color :: ColorImage

building_buildable_too_far_tint :: ColorImage

building_buildable_tint :: ColorImage

building_not_buildable_tint :: ColorImage

building_ignorable_tint :: ColorImage

building_no_tint :: ColorImage

underground_belt_max_distance_tint :: ColorImage

underground_pipe_max_distance_tint :: ColorImage

ghost_shader_tint :: GhostTintSetImage

ghost_shaderless_tint :: GhostTintSetImage

ghost_shimmer_settings :: GhostShimmerConfigImage

probability_product_count_tint :: ColorImage

zero_count_value_tint :: ColorImage

equipment_default_background_color :: ColorImage

equipment_default_background_border_color :: ColorImage

equipment_default_grabbed_background_color :: ColorImage

turret_range_visualization_color :: ColorImage

capsule_range_visualization_color :: ColorImage

agricultural_range_visualization_color :: ColorImage

artillery_range_visualization_color :: ColorImage

chart :: ChartUtilityConstantsImage

Chart means map and minimap.

gui_remark_color :: ColorImage

gui_search_match_foreground_color :: ColorImage

gui_search_match_background_color :: ColorImage

default_player_force_color :: ColorImage

default_enemy_force_color :: ColorImage

default_other_force_color :: ColorImage

deconstruct_mark_tint :: ColorImage

rail_planner_count_button_color :: ColorImage

count_button_size :: int32Image

logistic_gui_unselected_network_highlight_tint :: ColorImage

logistic_gui_selected_network_highlight_tint :: ColorImage

chart_search_highlight :: ColorImage

selected_chart_search_highlight :: ColorImage

zoom_to_world_can_use_nightvision :: booleanImage

zoom_to_world_effect_strength :: floatImage

max_logistic_filter_count :: LogisticFilterIndexImage

max_terrain_building_size :: uint8Image

small_area_size :: floatImage

medium_area_size :: floatImage

large_area_size :: floatImage

huge_platform_animation_sound_area :: floatImage

small_blueprint_area_size :: floatImage

medium_blueprint_area_size :: floatImage

large_blueprint_area_size :: floatImage

enabled_recipe_slot_tint :: ColorImage

disabled_recipe_slot_tint :: ColorImage

disabled_recipe_slot_background_tint :: ColorImage

forced_enabled_recipe_slot_background_tint :: ColorImage

rail_segment_colors :: array[Color] Image

player_colors :: array[PlayerColorData] Image

The table with name = "default" must exist and be the first member of the array.

PlayerColorData :: struct

Properties

name :: stringImage

player_color :: ColorImage

chat_color :: ColorImage

server_command_console_chat_color :: ColorImage

script_command_console_chat_color :: ColorImage

default_alert_icon_scale :: floatImage

default_alert_icon_shift_by_type :: dictionary[string → Vector] optional Image

default_alert_icon_scale_by_type :: dictionary[string → float] optional Image

bonus_gui_ordering :: BonusGuiOrdering Image

The base game uses more entries here that are applied via the ammo-category.lua file.

BonusGuiOrdering :: struct

Properties

artillery_range :: OrderImage

worker_robots :: OrderImage

character :: OrderImage

follower_robots :: OrderImage

research_speed :: OrderImage

beacon_distribution :: OrderImage

inserter :: OrderImage

stack_inserter :: OrderImage

bulk_inserter :: OrderImage

turret_attack :: OrderImage

mining_productivity :: OrderImage

train_braking_force :: OrderImage

merge_bonus_gui_production_bonuses :: boolean optional Image

If not set, defaults to 'true' when modded and 'false' when vanilla.

daytime_color_lookup :: DaytimeColorLookupTableImage

zoom_to_world_daytime_color_lookup :: DaytimeColorLookupTableImage

frozen_color_lookup :: ColorLookupTableImage

map_editor :: MapEditorConstants Image

MapEditorConstants :: struct

Properties

clone_editor_copy_source_color :: ColorImage

clone_editor_copy_destination_allowed_color :: ColorImage

clone_editor_copy_destination_not_allowed_color :: ColorImage

clone_editor_brush_source_color :: ColorImage

clone_editor_brush_destination_color :: ColorImage

clone_editor_brush_cursor_preview_tint :: ColorImage

clone_editor_brush_world_preview_tint :: ColorImage

script_editor_select_area_color :: ColorImage

script_editor_drag_area_color :: ColorImage

force_editor_select_area_color :: ColorImage

cliff_editor_remove_cliffs_color :: ColorImage

tile_editor_selection_preview_tint :: ColorImage

tile_editor_area_selection_color :: ColorImage

decorative_editor_selection_preview_tint :: ColorImage

tile_editor_selection_preview_radius :: uint8Image

decorative_editor_selection_preview_radius :: uint8Image

drop_item_radius :: floatImage

checkerboard_white :: ColorImage

checkerboard_black :: ColorImage

item_outline_color :: ColorImage

item_outline_radius :: floatImage

item_outline_inset :: floatImage

item_outline_sharpness :: floatImage

item_default_random_tint_strength :: ColorImage

spawner_evolution_factor_health_modifier :: floatImage

item_health_bar_colors :: array[ItemHealthColorData] Image

There must be one array item with a threshold of 0.

ItemHealthColorData :: struct

Properties

threshold :: floatImage

Cannot be negative.

color :: ColorImage

item_ammo_magazine_left_bar_color :: ColorImage

item_tool_durability_bar_color :: ColorImage

filter_outline_color :: ColorImage

icon_shadow_radius :: floatImage

icon_shadow_inset :: floatImage

icon_shadow_sharpness :: floatImage

icon_shadow_color :: ColorImage

clipboard_history_size :: uint32Image

recipe_step_limit :: uint32Image

manual_rail_building_reach_modifier :: doubleImage

train_temporary_stop_wait_time :: uint32Image

train_time_wait_condition_default :: uint32Image

train_inactivity_wait_condition_default :: uint32Image

default_trigger_target_mask_by_type :: dictionary[string → TriggerTargetMask] optional Image

The strings are entity types.

unit_group_pathfind_resolution :: int8Image

unit_group_max_pursue_distance :: doubleImage

dynamic_recipe_overload_factor :: doubleImage

minimum_recipe_overload_multiplier :: uint32Image

maximum_recipe_overload_multiplier :: uint32Image

entity_renderer_search_box_limits :: EntityRendererSearchBoxLimits Image

EntityRendererSearchBoxLimits :: struct

How far (in tiles) entities should be rendered outside the visible area of the screen.

Properties

left :: uint8Image

Min value 6, max value 15. Min value 6 to compensate for shadows.

top :: uint8Image

Min value 3, max value 15.

right :: uint8Image

Min value 3, max value 15.

bottom :: uint8Image

Min value 4, max value 15. Min value 4 to compensate for tall entities like electric poles.

light_renderer_search_distance_limit :: uint8Image

Can be set to anything from range 0 to 255, but larger values will be clamped to 160. Setting it to larger values can have performance impact (growing geometrically).

tree_leaf_distortion_strength_far :: VectorImage

tree_leaf_distortion_distortion_far :: VectorImage

tree_leaf_distortion_speed_far :: VectorImage

tree_leaf_distortion_strength_near :: VectorImage

tree_leaf_distortion_distortion_near :: VectorImage

tree_leaf_distortion_speed_near :: VectorImage

tree_shadow_roughness :: floatImage

tree_shadow_speed :: floatImage

missing_preview_sprite_location :: FileNameImage

feedback_screenshot_subfolder_name :: stringImage

feedback_screenshot_file_name :: stringImage

default_scorch_mark_color :: ColorImage

color_filters :: array[ColorFilterData] optional Image

ColorFilterData :: struct

Properties

name :: stringImage

localised_name :: LocalisedStringImage

matrix :: array[array[float]] Image

4 arrays of 4-length float arrays, essentially a 4x4 matrix.

minimap_slot_hovered_tint :: ColorImage

minimap_slot_clicked_tint :: ColorImage

clear_cursor_volume_modifier :: floatImage

weapons_in_simulation_volume_modifier :: floatImage

explosions_in_simulation_volume_modifier :: floatImage

enemies_in_simulation_volume_modifier :: floatImage

low_energy_robot_estimate_multiplier :: doubleImage

asteroid_spawning_offset :: SimpleBoundingBoxImage

asteroid_fading_range :: floatImage

asteroid_spawning_with_random_orientation_max_speed :: doubleImage

asteroid_position_offset_to_speed_coefficient :: doubleImage

asteroid_collector_navmesh_refresh_tick_interval :: uint32Image

asteroid_collector_blockage_update_tile_distance :: uint32Image

asteroid_collector_max_nurbs_control_point_separation :: doubleImage

asteroid_collector_static_head_swing_strength_scale :: floatImage

asteroid_collector_static_head_swing_segment_count :: uint32Image

space_platform_acceleration_expression :: MathExpressionImage

Variables: speed, thrust, weight, width, height

space_platform_relative_speed_factor :: doubleImage

space_platform_starfield_movement_vector :: VectorImage

space_platform_max_size :: SimpleBoundingBoxImage

space_platform_dump_cooldown :: uint32Image

Determines how fast space platforms will send items in drop slots to the surface. Each item type has its own cooldown.

space_platform_manual_dump_cooldown :: uint32Image

Delay after manual transfer until space platform sends items in drop slots to the surface. Overrides remaining space_platform_dump_cooldown in this instance.

space_platform_max_relative_speed_deviation_for_asteroid_chunks_update :: floatImage

Space platform remembers relative speed range which asteroids use while it moves. When the range is larger than the specified deviation, the platform will start updating cached trajectories of all asteroid chunks over multiple ticks.

space_platform_asteroid_chunk_trajectory_updates_per_tick :: uint32Image

How many asteroid chunks should be processed per tick, see space_platform_max_relative_speed_deviation_for_asteroid_chunks_update.

default_item_weight :: WeightImage

rocket_lift_weight :: WeightImage

factoriopedia_recycling_recipe_categories :: array[RecipeCategoryID] Image

max_fluid_flow :: FluidAmountImage

default_pipeline_extent :: doubleImage

The default value of FluidBox::max_pipeline_extent.

default_platform_procession_set :: ProcessionSetImage

Must contain arrival and departure with procession_style containing 0.

default_planet_procession_set :: ProcessionSetImage

Must contain arrival and departure with procession_style containing 0.

landing_area_clear_zone_radius :: floatImage

Radius of area where cargo pods won't land.

landing_area_max_radius :: floatImage

Max radius where cargo pods will land.

lightning_attractor_collection_range_color :: ColorImage

lightning_attractor_protection_range_color :: ColorImage

landing_squash_immunity :: MapTickImage

ejected_item_lifetime :: MapTickImage

Silently clamped to be between 1 tick and 5 minutes (5 * 60 * 60 ticks).

ejected_item_speed :: doubleImage

Silently clamped to be between 0 and 1/60.

ejected_item_direction_variation :: doubleImage

Silently clamped to be between 0 and 0.99.

ejected_item_friction :: doubleImage

Silently clamped to be between 0 and 1.

train_visualization :: TrainVisualizationConstantsImage

default_collision_masks :: dictionary[string → CollisionMaskConnector] Image

The strings can be entity types or custom strings.

show_chunk_components_collision_mask :: CollisionMaskConnectorImage

building_collision_mask :: CollisionMaskConnectorImage

water_collision_mask :: CollisionMaskConnectorImage

ghost_layer :: CollisionLayerIDImage

train_pushed_by_player_max_speed :: doubleImage

train_pushed_by_player_max_acceleration :: doubleImage

train_pushed_by_player_ignores_friction :: booleanImage

freezing_temperature :: doubleImage

train_on_elevated_rail_shadow_shift_multiplier :: VectorImage

max_belt_stack_size :: uint8Image

Must be >= 1.

inserter_hand_stack_items_per_sprite :: ItemCountTypeImage

Must be >= 1.

inserter_hand_stack_max_sprites :: ItemCountTypeImage

Must be >= 1.

remote_view_LPF_min_cutoff_frequency :: floatImage

remote_view_LPF_max_cutoff_frequency :: floatImage

space_LPF_min_cutoff_frequency :: floatImage

space_LPF_max_cutoff_frequency :: floatImage

walking_sound_count_reduction_rate :: floatImage

Silently clamped to be between 0 and 1.

moving_sound_count_reduction_rate :: floatImage

Silently clamped to be between 0 and 1.

environment_sounds_transition_fade_in_ticks :: uint32Image

starmap_orbit_default_color :: ColorImage

starmap_orbit_hovered_color :: ColorImage

starmap_orbit_clicked_color :: ColorImage

starmap_orbit_disabled_color :: ColorImage

time_to_show_full_health_bar :: MapTickImage

The number of ticks to show a segmented unit's health bar after fully regenerating.

capture_water_mask_at_layer :: uint8Image

Layer within ground-natural tile render layer group, before which terrain lightmap alpha channel is copied into water mask. Decals, which need to be masked by water should have their DecorativePrototype::tile_layer set to only slightly larger value than capture_water_mask_at_layer, to avoid risk of undefined behavior caused by rendering tiles into layers between capture_water_mask_at_layer and decal's tile_layer.

logistic_robots_use_busy_robots_queue :: booleanImage

construction_robots_use_busy_robots_queue :: booleanImage

quality_selector_dropdown_threshold :: uint8Image

maximum_quality_jump :: uint8Image

Cap for how many steps of quality the output of something (miner/crafter) may be higher than the input (resource/ingredients). Must be >= 1.

select_group_row_count :: uint8Image

Will be clamped to the range [1, 100].

select_slot_row_count :: uint8Image

Will be clamped to the range [1, 100].

crafting_queue_slots_per_row :: uint8Image

Will be clamped to the range [1, 100].

logistic_slots_per_row :: uint8Image

Will be clamped to the range [2, 100].

blueprint_big_slots_per_row :: uint8Image

Will be clamped to the range [2, 100].

blueprint_small_slots_per_row :: uint8Image

Will be clamped to the range [2, 100].

inventory_width :: uint8Image

Will be clamped to the range [1, 100].

module_inventory_width :: uint8Image

Will be clamped to the range [1, 100].

trash_inventory_width :: uint8Image

Will be clamped to the range [1, 100].

tooltip_monitor_edge_border :: int32Image

Must be >= 1.

flying_text_ttl :: uint32Image

Must be >= 1.

train_path_finding :: TrainPathFinderConstants Image

TrainPathFinderConstants :: struct

Properties

train_stop_penalty :: uint32Image

stopped_manually_controlled_train_penalty :: uint32Image

stopped_manually_controlled_train_without_passenger_penalty :: uint32Image

signal_reserved_by_circuit_network_penalty :: uint32Image

train_in_station_penalty :: uint32Image

train_in_station_with_no_other_valid_stops_in_schedule :: uint32Image

train_arriving_to_station_penalty :: uint32Image

train_arriving_to_signal_penalty :: uint32Image

train_waiting_at_signal_penalty :: uint32Image

train_waiting_at_signal_tick_multiplier_penalty :: floatImage

Must be >= 0.

train_with_no_path_penalty :: uint32Image

train_auto_without_schedule_penalty :: uint32Image

Image Prototypes

Image Types

Image Defines