Prototype/UtilitySounds: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Removed old prototype docs)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Prototype parent}}
<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/UtilitySounds.html https://lua-api.factorio.com/latest/prototypes/UtilitySounds.html]


== Basics ==
</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>
Prototype type: '''utility-sounds'''
 
Sounds used by the game that are not specific to certain prototypes.
 
== General mandatory properties ==
 
=== type ===
'''Type''': [[Types/string]]
 
Must be "utility-sounds".
 
=== name ===
'''Type''': [[Types/string]]
 
The base uses <code>"default"</code> and only one instance of UtilitySounds can be defined, so unless the base game definition is completely removed, <code>name</code> will have to be <code>"default"</code>.
 
== The sounds ==
All the sounds are mandatory and a [[types/Sound]]. List of the property names:
 
* "gui_click"
* "list_box_click"
* "build_small"
* "build_medium"
* "build_big"
* "cannot_build"
* "deconstruct_small"
* "deconstruct_medium"
* "deconstruct_big"
* "alert_destroyed"
* "console_message"
* "scenario_message"
* "new_objective"
* "game_lost"
* "game_won"
* "research_completed"
* "crafting_finished"
* "inventory_move"
* "armor_insert"
* "armor_remove"
* "achievement_unlocked"
* "axe_mining_ore"
* "mining_wood"
* "axe_fighting"
* "metal_walking_sound"
* "default_manual_repair"
* "wire_connect_pole"
* "wire_disconnect"
* "wire_pickup"
* "tutorial_notice"

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/UtilitySounds.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.