Prototype/UtilitySprites: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "== Basics == Prototype type: '''utility-sprites''' Sprites used by the game that are not specific to certain prototypes. Only one instance of UtilityConstants can be defined,...")
 
(Removed old prototype docs)
Tag: Replaced
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Basics ==
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/UtilitySprites.html https://lua-api.factorio.com/latest/prototypes/UtilitySprites.html]
Prototype type: '''utility-sprites'''


Sprites used by the game that are not specific to certain prototypes. Only one instance of UtilityConstants can be defined, the base uses <code>"default"</code> as the name, so unless the base game definition is completely removed, <code>name</code> will have to be <code>"default"</code>.
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
 
== Mandatory properties ==
Inherits all properties from [[PrototypeBase]].
 
All sprites and animations are mandatory properties.
 
* "cursor_box" - [[Types/table]] - Table with the following key/value pairs.
** "regular" - [[Types/table]] (array) of [[Types/BoxSpecification]]
** "not_allowed" - [[Types/table]] (array) of [[Types/BoxSpecification]]
** "copy" - [[Types/table]] (array) of [[Types/BoxSpecification]]
** "electricity" - [[Types/table]] (array) of [[Types/BoxSpecification]]
** "logistics" - [[Types/table]] (array) of [[Types/BoxSpecification]]
** "pair" - [[Types/table]] (array) of [[Types/BoxSpecification]]
** "train_visualization" - [[Types/table]] (array) of [[Types/BoxSpecification]]
* "clouds" - [[Types/Animation]]
* "arrow_button" - [[Types/Animation]]
* "explosion_chart_visualization" - [[Types/Animation]]
* "refresh_white" - [[Types/Animation]]
* "center" - [[Types/Sprite]]
* "check_mark_white" - [[Types/Sprite]]
* "close_black" - [[Types/Sprite]]
* "close_fat" - [[Types/Sprite]]
* "close_white" - [[Types/Sprite]]
* "color_picker" - [[Types/Sprite]]
* "downloading" - [[Types/Sprite]]
* "downloading_white" - [[Types/Sprite]]
* "downloaded" - [[Types/Sprite]]
* "downloaded_white" - [[Types/Sprite]]
* "dropdown" - [[Types/Sprite]]
* "expand_dots" - [[Types/Sprite]]
* "expand_dots_white" - [[Types/Sprite]]
* "export" - [[Types/Sprite]]
* "import" - [[Types/Sprite]]
* "map" - [[Types/Sprite]]
* "map_exchange_string" - [[Types/Sprite]]
* "missing_mod_icon" - [[Types/Sprite]]
* "not_available" - [[Types/Sprite]]
* "play" - [[Types/Sprite]]
* "preset" - [[Types/Sprite]]
* "refresh" - [[Types/Sprite]]
* "reset" - [[Types/Sprite]]
* "reset_white" - [[Types/Sprite]]
* "shuffle" - [[Types/Sprite]]
* "station_name" - [[Types/Sprite]]
* "stop" - [[Types/Sprite]]
* "sync_mods" - [[Types/Sprite]]
* "trash" - [[Types/Sprite]]
* "trash_white" - [[Types/Sprite]]
* "warning" - [[Types/Sprite]]
* "warning_white" - [[Types/Sprite]]
* "mod_dependency_arrow" - [[Types/Sprite]]
* "add" - [[Types/Sprite]]
* "clone" - [[Types/Sprite]]
* "go_to_arrow" - [[Types/Sprite]]
* "remove" - [[Types/Sprite]]
* "pause" - [[Types/Sprite]]
* "speed_down" - [[Types/Sprite]]
* "speed_up" - [[Types/Sprite]]
* "editor_speed_down" - [[Types/Sprite]]
* "editor_pause" - [[Types/Sprite]]
* "editor_play" - [[Types/Sprite]]
* "editor_speed_up" - [[Types/Sprite]]
* "tick_once" - [[Types/Sprite]]
* "tick_sixty" - [[Types/Sprite]]
* "tick_custom" - [[Types/Sprite]]
* "clear" - [[Types/Sprite]]
* "search_icon" - [[Types/Sprite]]
* "too_far" - [[Types/Sprite]]
* "shoot_cursor_green" - [[Types/Sprite]]
* "shoot_cursor_red" - [[Types/Sprite]]
* "electricity_icon" - [[Types/Sprite]]
* "fuel_icon" - [[Types/Sprite]]
* "ammo_icon" - [[Types/Sprite]]
* "fluid_icon" - [[Types/Sprite]]
* "warning_icon" - [[Types/Sprite]]
* "danger_icon" - [[Types/Sprite]]
* "destroyed_icon" - [[Types/Sprite]]
* "recharge_icon" - [[Types/Sprite]]
* "too_far_from_roboport_icon" - [[Types/Sprite]]
* "pump_cannot_connect_icon" - [[Types/Sprite]]
* "not_enough_repair_packs_icon" - [[Types/Sprite]]
* "not_enough_construction_robots_icon" - [[Types/Sprite]]
* "no_building_material_icon" - [[Types/Sprite]]
* "no_storage_space_icon" - [[Types/Sprite]]
* "electricity_icon_unplugged" - [[Types/Sprite]]
* "game_stopped_visualization" - [[Types/Sprite]]
* "pollution_visualization" - [[Types/Sprite]]
* "health_bar_green_pip" - [[Types/Sprite]]
* "health_bar_yellow_pip" - [[Types/Sprite]]
* "health_bar_red_pip" - [[Types/Sprite]]
* "bar_gray_pip" - [[Types/Sprite]]
* "ghost_bar_pip" - [[Types/Sprite]]
* "shield_bar_pip" - [[Types/Sprite]]
* "hand" - [[Types/Sprite]]
* "entity_info_dark_background" - [[Types/Sprite]]
* "medium_gui_arrow" - [[Types/Sprite]]
* "small_gui_arrow" - [[Types/Sprite]]
* "light_medium" - [[Types/Sprite]]
* "light_small" - [[Types/Sprite]]
* "light_cone" - [[Types/Sprite]]
* "color_effect" - [[Types/Sprite]]
* "clock" - [[Types/Sprite]]
* "default_ammo_damage_modifier_icon" - [[Types/Sprite]]
* "default_gun_speed_modifier_icon" - [[Types/Sprite]]
* "default_turret_attack_modifier_icon" - [[Types/Sprite]]
* "hint_arrow_up" - [[Types/Sprite]]
* "hint_arrow_down" - [[Types/Sprite]]
* "hint_arrow_right" - [[Types/Sprite]]
* "hint_arrow_left" - [[Types/Sprite]]
* "fluid_indication_arrow" - [[Types/Sprite]]
* "fluid_indication_arrow_both_ways" - [[Types/Sprite]]
* "heat_exchange_indication" - [[Types/Sprite]]
* "indication_arrow" - [[Types/Sprite]]
* "rail_planner_indication_arrow" - [[Types/Sprite]]
* "rail_planner_indication_arrow_too_far" - [[Types/Sprite]]
* "rail_path_not_possible" - [[Types/Sprite]]
* "indication_line" - [[Types/Sprite]]
* "short_indication_line" - [[Types/Sprite]]
* "slot_icon_module" - [[Types/Sprite]]
* "slot_icon_armor" - [[Types/Sprite]]
* "slot_icon_blueprint" - [[Types/Sprite]]
* "slot_icon_gun" - [[Types/Sprite]]
* "slot_icon_ammo" - [[Types/Sprite]]
* "slot_icon_resource" - [[Types/Sprite]]
* "slot_icon_fuel" - [[Types/Sprite]]
* "slot_icon_result" - [[Types/Sprite]]
* "slot_icon_robot" - [[Types/Sprite]]
* "slot_icon_robot_material" - [[Types/Sprite]]
* "slot_icon_upgrade" - [[Types/Sprite]]
* "slot" - [[Types/Sprite]]
* "equipment_slot" - [[Types/Sprite]]
* "equipment_collision" - [[Types/Sprite]]
* "battery_indicator" - [[Types/Sprite]]
* "green_circle" - [[Types/Sprite]]
* "green_dot" - [[Types/Sprite]]
* "robot_slot" - [[Types/Sprite]]
* "set_bar_slot" - [[Types/Sprite]]
* "upgrade_mark" - [[Types/Sprite]]
* "confirm_slot" - [[Types/Sprite]]
* "export_slot" - [[Types/Sprite]]
* "import_slot" - [[Types/Sprite]]
* "tile_editor_icon" - [[Types/Sprite]]
* "decorative_editor_icon" - [[Types/Sprite]]
* "resource_editor_icon" - [[Types/Sprite]]
* "entity_editor_icon" - [[Types/Sprite]]
* "item_editor_icon" - [[Types/Sprite]]
* "cable_editor_icon" - [[Types/Sprite]]
* "none_editor_icon" - [[Types/Sprite]]
* "force_editor_icon" - [[Types/Sprite]]
* "clone_editor_icon" - [[Types/Sprite]]
* "scripting_editor_icon" - [[Types/Sprite]]
* "paint_bucket_icon" - [[Types/Sprite]]
* "surface_editor_icon" - [[Types/Sprite]]
* "time_editor_icon" - [[Types/Sprite]]
* "cliff_editor_icon" - [[Types/Sprite]]
* "brush_icon" - [[Types/Sprite]]
* "spray_icon" - [[Types/Sprite]]
* "cursor_icon" - [[Types/Sprite]]
* "area_icon" - [[Types/Sprite]]
* "line_icon" - [[Types/Sprite]]
* "editor_selection" - [[Types/Sprite]]
* "brush_square_shape" - [[Types/Sprite]]
* "brush_circle_shape" - [[Types/Sprite]]
* "player_force_icon" - [[Types/Sprite]]
* "neutral_force_icon" - [[Types/Sprite]]
* "enemy_force_icon" - [[Types/Sprite]]
* "nature_icon" - [[Types/Sprite]]
* "no_nature_icon" - [[Types/Sprite]]
* "multiplayer_waiting_icon" - [[Types/Sprite]]
* "spawn_flag" - [[Types/Sprite]]
* "questionmark" - [[Types/Sprite]]
* "copper_wire" - [[Types/Sprite]]
* "green_wire" - [[Types/Sprite]]
* "red_wire" - [[Types/Sprite]]
* "green_wire_hightlight" - [[Types/Sprite]]
* "red_wire_hightlight" - [[Types/Sprite]]
* "wire_shadow" - [[Types/Sprite]]
* "trash_bin" - [[Types/Sprite]]
* "left_arrow" - [[Types/Sprite]]
* "right_arrow" - [[Types/Sprite]]
* "down_arrow" - [[Types/Sprite]]
* "and_or" - [[Types/Sprite]]
* "enter" - [[Types/Sprite]]
* "side_menu_menu_icon" - [[Types/Sprite]]
* "side_menu_production_icon" - [[Types/Sprite]]
* "side_menu_bonus_icon" - [[Types/Sprite]]
* "side_menu_map_icon" - [[Types/Sprite]]
* "side_menu_tutorials_icon" - [[Types/Sprite]]
* "side_menu_train_icon" - [[Types/Sprite]]
* "side_menu_achievements_icon" - [[Types/Sprite]]
* "side_menu_menu_hover_icon" - [[Types/Sprite]]
* "side_menu_production_hover_icon" - [[Types/Sprite]]
* "side_menu_bonus_hover_icon" - [[Types/Sprite]]
* "side_menu_map_hover_icon" - [[Types/Sprite]]
* "side_menu_train_hover_icon" - [[Types/Sprite]]
* "side_menu_achievements_hover_icon" - [[Types/Sprite]]
* "circuit_network_panel" - [[Types/Sprite]]
* "logistic_network_panel" - [[Types/Sprite]]
* "electric_network_info" - [[Types/Sprite]]
* "rename_icon_small" - [[Types/Sprite]]
* "rename_icon_normal" - [[Types/Sprite]]
* "achievement_label_locked" - [[Types/Sprite]]
* "achievement_label_unlocked_off" - [[Types/Sprite]]
* "achievement_label_unlocked" - [[Types/Sprite]]
* "achievement_label_failed" - [[Types/Sprite]]
* "rail_signal_placement_indicator" - [[Types/Sprite]]
* "train_stop_placement_indicator" - [[Types/Sprite]]
* "placement_indicator_leg" - [[Types/Sprite]]
* "grey_rail_signal_placement_indicator" - [[Types/Sprite]]
* "grey_placement_indicator_leg" - [[Types/Sprite]]
* "logistic_radius_visualization" - [[Types/Sprite]]
* "construction_radius_visualization" - [[Types/Sprite]]
* "track_button" - [[Types/Sprite]]
* "show_logistics_network_in_map_view" - [[Types/Sprite]]
* "show_electric_network_in_map_view" - [[Types/Sprite]]
* "show_turret_range_in_map_view" - [[Types/Sprite]]
* "show_pollution_in_map_view" - [[Types/Sprite]]
* "show_train_station_names_in_map_view" - [[Types/Sprite]]
* "show_player_names_in_map_view" - [[Types/Sprite]]
* "train_stop_in_map_view" - [[Types/Sprite]]
* "custom_tag_in_map_view" - [[Types/Sprite]]
* "covered_chunk" - [[Types/Sprite]]
* "white_square" - [[Types/Sprite]]
* "white_mask" - [[Types/Sprite]]
* "favourite_server_icon" - [[Types/Sprite]]
* "crafting_machine_recipe_not_unlocked" - [[Types/Sprite]]
* "gps_map_icon" - [[Types/Sprite]]
* "underground_remove_belts" - [[Types/Sprite]]
* "underground_remove_pipes" - [[Types/Sprite]]
* "underground_pipe_connection" - [[Types/Sprite]]
* "ghost_cursor" - [[Types/Sprite]]
* "expand" - [[Types/Sprite]]
* "expand_dark" - [[Types/Sprite]]
* "collapse" - [[Types/Sprite]]
* "collapse_dark" - [[Types/Sprite]]
* "inserter_stack_size_bonus_modifier_icon" - [[Types/Sprite]]
* "stack_inserter_capacity_bonus_modifier_icon" - [[Types/Sprite]]
* "laboratory_speed_modifier_icon" - [[Types/Sprite]]
* "character_logistic_slots_modifier_icon" - [[Types/Sprite]]
* "character_logistic_trash_slots_modifier_icon" - [[Types/Sprite]]
* "quick_bar_count_modifier_icon" - [[Types/Sprite]]
* "maximum_following_robots_count_modifier_icon" - [[Types/Sprite]]
* "worker_robot_speed_modifier_icon" - [[Types/Sprite]]
* "worker_robot_storage_modifier_icon" - [[Types/Sprite]]
* "ghost_time_to_live_modifier_icon" - [[Types/Sprite]]
* "turret_attack_modifier_icon" - [[Types/Sprite]]
* "ammo_damage_modifier_icon" - [[Types/Sprite]]
* "give_item_modifier_icon" - [[Types/Sprite]]
* "gun_speed_modifier_icon" - [[Types/Sprite]]
* "unlock_recipe_modifier_icon" - [[Types/Sprite]]
* "character_crafting_speed_modifier_icon" - [[Types/Sprite]]
* "character_mining_speed_modifier_icon" - [[Types/Sprite]]
* "character_running_speed_modifier_icon" - [[Types/Sprite]]
* "character_build_distance_modifier_icon" - [[Types/Sprite]]
* "character_item_drop_distance_modifier_icon" - [[Types/Sprite]]
* "character_reach_distance_modifier_icon" - [[Types/Sprite]]
* "character_resource_reach_distance_modifier_icon" - [[Types/Sprite]]
* "character_item_pickup_distance_modifier_icon" - [[Types/Sprite]]
* "character_loot_pickup_distance_modifier_icon" - [[Types/Sprite]]
* "character_inventory_slots_bonus_modifier_icon" - [[Types/Sprite]]
* "deconstruction_time_to_live_modifier_icon" - [[Types/Sprite]]
* "max_failed_attempts_per_tick_per_construction_queue_modifier_icon" - [[Types/Sprite]]
* "max_successful_attempts_per_tick_per_construction_queue_modifier_icon" - [[Types/Sprite]]
* "character_health_bonus_modifier_icon" - [[Types/Sprite]]
* "auto_character_logistic_trash_slots_modifier_icon" - [[Types/Sprite]]
* "mining_drill_productivity_bonus_modifier_icon" - [[Types/Sprite]]
* "train_braking_force_bonus_modifier_icon" - [[Types/Sprite]]
* "zoom_to_world_enabled_modifier_icon" - [[Types/Sprite]]
* "zoom_to_world_ghost_building_enabled_modifier_icon" - [[Types/Sprite]]
* "zoom_to_world_blueprint_enabled_modifier_icon" - [[Types/Sprite]]
* "zoom_to_world_deconstruction_planner_enabled_modifier_icon" - [[Types/Sprite]]
* "zoom_to_world_upgrade_planner_enabled_modifier_icon" - [[Types/Sprite]]
* "zoom_to_world_selection_tool_enabled_modifier_icon" - [[Types/Sprite]]
* "worker_robot_battery_modifier_icon" - [[Types/Sprite]]
* "laboratory_productivity_modifier_icon" - [[Types/Sprite]]
* "follower_robot_lifetime_modifier_icon" - [[Types/Sprite]]
* "artillery_range_modifier_icon" - [[Types/Sprite]]
* "nothing_modifier_icon" - [[Types/Sprite]]
* "character_additional_mining_categories_modifier_icon" - [[Types/Sprite]]

Latest revision as of 14:33, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/UtilitySprites.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.