1
0
mirror of https://github.com/Sokomine/cottages.git synced 2024-11-10 20:30:46 +01:00
cottages/resources/sounds.lua
2023-01-23 16:07:26 -08:00

29 lines
795 B
Lua

local has = cottages.has
local sounds = {}
if has.default then
sounds.wood = default.node_sound_wood_defaults()
sounds.dirt = default.node_sound_dirt_defaults()
sounds.stone = default.node_sound_stone_defaults()
sounds.leaves = default.node_sound_leaves_defaults()
sounds.metal = default.node_sound_metal_defaults()
sounds.water_empty = "default_water_footstep"
sounds.water_fill = "default_water_footstep"
sounds.tool_breaks = "default_tool_breaks"
sounds.use_thresher = "default_grass_footstep"
sounds.use_quern = "default_gravel_footstep"
end
if has.env_sounds then
sounds.water_empty = sounds.water_empty or "env_sounds_water"
sounds.water_fill = "env_sounds_water"
sounds.lava_fill = "env_sounds_lava"
sounds.lava_empty = "env_sounds_lava"
end
cottages.sounds = sounds