Prototype/UtilitySounds: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
0.18.21: smart_pipette
BilkaBot (talk | contribs)
Updated styling of prototype doc migration note
(6 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]
 
</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 parent|PrototypeBase}}
Sounds used by the game that are not specific to certain prototypes.
Sounds used by the game that are not specific to certain prototypes.


{{Prototype TOC|utility-sounds}}
{{Prototype TOC|utility-sounds}}


== General mandatory properties ==
== Mandatory properties ==
 
Inherits all properties from [[PrototypeBase]].
{{Prototype property|type|[[Types/string|string]]}}
Must be "utility-sounds".


{{Prototype property|name|[[Types/string|string]]}}
All the sounds are mandatory properties.<!--
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 ==
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. List of the property names:


{{Prototype property/short|gui_click|[[Types/Sound|Sound]]}}
-->{{Prototype property/short|gui_click|[[Types/Sound|Sound]]}}
{{Prototype property/short|list_box_click|[[Types/Sound|Sound]]}}
{{Prototype property/short|list_box_click|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_small|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_small|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_medium|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_medium|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_big|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_large|[[Types/Sound|Sound]]}}
{{Prototype property/short|cannot_build|[[Types/Sound|Sound]]}}
{{Prototype property/short|cannot_build|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_blueprint_small|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_blueprint_medium|[[Types/Sound|Sound]]}}
{{Prototype property/short|build_blueprint_large|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruct_small|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruct_small|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruct_medium|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruct_medium|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruct_big|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruct_big|[[Types/Sound|Sound]]}}
{{Prototype property/short|deconstruct_robot|[[Types/Sound|Sound]]}}
{{Prototype property/short|rotated_small|[[Types/Sound|Sound]]}}
{{Prototype property/short|rotated_small|[[Types/Sound|Sound]]}}
{{Prototype property/short|rotated_medium|[[Types/Sound|Sound]]}}
{{Prototype property/short|rotated_medium|[[Types/Sound|Sound]]}}
{{Prototype property/short|rotated_big|[[Types/Sound|Sound]]}}
{{Prototype property/short|rotated_big|[[Types/Sound|Sound]]}}
{{Prototype property/short|axe_mining_ore|[[Types/Sound|Sound]]}}
{{Prototype property/short|mining_wood|[[Types/Sound|Sound]]}}
{{Prototype property/short|axe_fighting|[[Types/Sound|Sound]]}}
{{Prototype property/short|alert_destroyed|[[Types/Sound|Sound]]}}
{{Prototype property/short|alert_destroyed|[[Types/Sound|Sound]]}}
{{Prototype property/short|console_message|[[Types/Sound|Sound]]}}
{{Prototype property/short|console_message|[[Types/Sound|Sound]]}}
Line 33: Line 42:
{{Prototype property/short|game_lost|[[Types/Sound|Sound]]}}
{{Prototype property/short|game_lost|[[Types/Sound|Sound]]}}
{{Prototype property/short|game_won|[[Types/Sound|Sound]]}}
{{Prototype property/short|game_won|[[Types/Sound|Sound]]}}
{{Prototype property/short|metal_walking_sound|[[Types/Sound|Sound]]}}
{{Prototype property/short|research_completed|[[Types/Sound|Sound]]}}
{{Prototype property/short|research_completed|[[Types/Sound|Sound]]}}
{{Prototype property/short|default_manual_repair|[[Types/Sound|Sound]]}}
{{Prototype property/short|crafting_finished|[[Types/Sound|Sound]]}}
{{Prototype property/short|crafting_finished|[[Types/Sound|Sound]]}}
{{Prototype property/short|inventory_click|[[Types/Sound|Sound]]}}
{{Prototype property/short|inventory_move|[[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_insert|[[Types/Sound|Sound]]}}
{{Prototype property/short|armor_remove|[[Types/Sound|Sound]]}}
{{Prototype property/short|armor_remove|[[Types/Sound|Sound]]}}
{{Prototype property/short|achievement_unlocked|[[Types/Sound|Sound]]}}
{{Prototype property/short|achievement_unlocked|[[Types/Sound|Sound]]}}
{{Prototype property/short|axe_mining_ore|[[Types/Sound|Sound]]}}
{{Prototype property/short|mining_wood|[[Types/Sound|Sound]]}}
{{Prototype property/short|axe_fighting|[[Types/Sound|Sound]]}}
{{Prototype property/short|metal_walking_sound|[[Types/Sound|Sound]]}}
{{Prototype property/short|default_manual_repair|[[Types/Sound|Sound]]}}
{{Prototype property/short|wire_connect_pole|[[Types/Sound|Sound]]}}
{{Prototype property/short|wire_connect_pole|[[Types/Sound|Sound]]}}
{{Prototype property/short|wire_disconnect|[[Types/Sound|Sound]]}}
{{Prototype property/short|wire_disconnect|[[Types/Sound|Sound]]}}
Line 49: Line 57:
{{Prototype property/short|tutorial_notice|[[Types/Sound|Sound]]}}
{{Prototype property/short|tutorial_notice|[[Types/Sound|Sound]]}}
{{Prototype property/short|smart_pipette|[[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