Prototype/UtilitySounds: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
0.17
BilkaBot (talk | contribs)
Updated styling of prototype doc migration note
(12 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/UtilitySounds.html https://lua-api.factorio.com/latest/prototypes/UtilitySounds.html]
Prototype type: '''map-gen-presets'''
 
</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>


Sounds used by the game that are not specific to certain prototypes.


== General mandatory properties ==


=== type ===
{{Prototype parent|PrototypeBase}}
'''Type''': [[Types/string]]
Sounds used by the game that are not specific to certain prototypes.


Must be "utility-sounds".
{{Prototype TOC|utility-sounds}}


=== name ===
== Mandatory properties ==
'''Type''': [[Types/string]]
Inherits all properties from [[PrototypeBase]].


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>.
All the sounds are mandatory properties.<!--


== The sounds ==
UtilitySounds.hpp: Search for <code>Utility(\w+).+"(.+)"</code>, replace with <code>{{Prototype property/short|$2|[[Types/$1|$1]]}}\n</code>
All the sounds are mandatory and a [[types/Sound]]. List of the property names:


* "gui_click"
-->{{Prototype property/short|gui_click|[[Types/Sound|Sound]]}}
* "list_box_click"
{{Prototype property/short|list_box_click|[[Types/Sound|Sound]]}}
* "build_small"
{{Prototype property/short|build_small|[[Types/Sound|Sound]]}}
* "build_medium"
{{Prototype property/short|build_medium|[[Types/Sound|Sound]]}}
* "build_big"
{{Prototype property/short|build_large|[[Types/Sound|Sound]]}}
* "cannot_build"
{{Prototype property/short|cannot_build|[[Types/Sound|Sound]]}}
* "deconstruct_small"
{{Prototype property/short|build_blueprint_small|[[Types/Sound|Sound]]}}
* "deconstruct_medium"
{{Prototype property/short|build_blueprint_medium|[[Types/Sound|Sound]]}}
* "deconstruct_big"
{{Prototype property/short|build_blueprint_large|[[Types/Sound|Sound]]}}
* "alert_destroyed"
{{Prototype property/short|deconstruct_small|[[Types/Sound|Sound]]}}
* "console_message"
{{Prototype property/short|deconstruct_medium|[[Types/Sound|Sound]]}}
* "scenario_message"
{{Prototype property/short|deconstruct_big|[[Types/Sound|Sound]]}}
* "new_objective"
{{Prototype property/short|deconstruct_robot|[[Types/Sound|Sound]]}}
* "game_lost"
{{Prototype property/short|rotated_small|[[Types/Sound|Sound]]}}
* "game_won"
{{Prototype property/short|rotated_medium|[[Types/Sound|Sound]]}}
* "research_completed"
{{Prototype property/short|rotated_big|[[Types/Sound|Sound]]}}
* "crafting_finished"
{{Prototype property/short|axe_mining_ore|[[Types/Sound|Sound]]}}
* "inventory_move"
{{Prototype property/short|mining_wood|[[Types/Sound|Sound]]}}
* "armor_insert"
{{Prototype property/short|axe_fighting|[[Types/Sound|Sound]]}}
* "armor_remove"
{{Prototype property/short|alert_destroyed|[[Types/Sound|Sound]]}}
* "achievement_unlocked"
{{Prototype property/short|console_message|[[Types/Sound|Sound]]}}
* "axe_mining_ore"
{{Prototype property/short|scenario_message|[[Types/Sound|Sound]]}}
* "mining_wood"
{{Prototype property/short|new_objective|[[Types/Sound|Sound]]}}
* "axe_fighting"
{{Prototype property/short|game_lost|[[Types/Sound|Sound]]}}
* "metal_walking_sound"
{{Prototype property/short|game_won|[[Types/Sound|Sound]]}}
* "default_manual_repair"
{{Prototype property/short|metal_walking_sound|[[Types/Sound|Sound]]}}
* "wire_connect_pole"
{{Prototype property/short|research_completed|[[Types/Sound|Sound]]}}
* "wire_disconnect"
{{Prototype property/short|default_manual_repair|[[Types/Sound|Sound]]}}
* "wire_pickup"
{{Prototype property/short|crafting_finished|[[Types/Sound|Sound]]}}
* "tutorial_notice"
{{Prototype property/short|inventory_click|[[Types/Sound|Sound]]}}
{{Prototype property/short|inventory_move|[[Types/Sound|Sound]]}}
{{Prototype property/short|clear_cursor|[[Types/Sound|Sound]]}}
{{Prototype property/short|armor_insert|[[Types/Sound|Sound]]}}
{{Prototype property/short|armor_remove|[[Types/Sound|Sound]]}}
{{Prototype property/short|achievement_unlocked|[[Types/Sound|Sound]]}}
{{Prototype property/short|wire_connect_pole|[[Types/Sound|Sound]]}}
{{Prototype property/short|wire_disconnect|[[Types/Sound|Sound]]}}
{{Prototype property/short|wire_pickup|[[Types/Sound|Sound]]}}
{{Prototype property/short|tutorial_notice|[[Types/Sound|Sound]]}}
{{Prototype property/short|smart_pipette|[[Types/Sound|Sound]]}}
{{Prototype property/short|switch_gun|[[Types/Sound|Sound]]}}
{{Prototype property/short|picked_up_item|[[Types/Sound|Sound]]}}
{{Prototype property/short|blueprint_selection_ended|[[Types/Sound|Sound]]}}
{{Prototype property/short|blueprint_selection_started|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruction_selection_started|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruction_selection_ended|[[Types/Sound|Sound]]}}
{{Prototype property/short|cancel_deconstruction_selection_started|[[Types/Sound|Sound]]}}
{{Prototype property/short|cancel_deconstruction_selection_ended|[[Types/Sound|Sound]]}}
{{Prototype property/short|upgrade_selection_started|[[Types/Sound|Sound]]}}
{{Prototype property/short|upgrade_selection_ended|[[Types/Sound|Sound]]}}
{{Prototype property/short|copy_activated|[[Types/Sound|Sound]]}}
{{Prototype property/short|cut_activated|[[Types/Sound|Sound]]}}
{{Prototype property/short|paste_activated|[[Types/Sound|Sound]]}}
{{Prototype property/short|item_deleted|[[Types/Sound|Sound]]}}
{{Prototype property/short|entity_settings_pasted|[[Types/Sound|Sound]]}}
{{Prototype property/short|entity_settings_copied|[[Types/Sound|Sound]]}}
{{Prototype property/short|item_spawned|[[Types/Sound|Sound]]}}
{{Prototype property/short|confirm|[[Types/Sound|Sound]]}}
{{Prototype property/short|undo|[[Types/Sound|Sound]]}}
{{Prototype property/short|drop_item|[[Types/Sound|Sound]]}}
{{Prototype property/short|rail_plan_start|[[Types/Sound|Sound]]}}

Revision as of 10:43, 21 September 2023

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.


Template:Prototype parent Sounds used by the game that are not specific to certain prototypes.

Template:Prototype TOC

Mandatory properties

Inherits all properties from PrototypeBase.

All the sounds are mandatory properties.Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short Template:Prototype property/short