1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
local valid_sounds = {
csharp = "mesecons_noteblock_csharp",
d = "mesecons_noteblock_d",
dsharp = "mesecons_noteblock_dsharp",
e = "mesecons_noteblock_e",
f = "mesecons_noteblock_f",
fsharp = "mesecons_noteblock_fsharp",
g = "mesecons_noteblock_g",
gsharp = "mesecons_noteblock_gsharp",
a = "mesecons_noteblock_a",
asharp = "mesecons_noteblock_asharp",
b = "mesecons_noteblock_b",
c = "mesecons_noteblock_c",
csharp2 = "mesecons_noteblock_csharp2",
d2 = "mesecons_noteblock_d2",
dsharp2 = "mesecons_noteblock_dsharp2",
e2 = "mesecons_noteblock_e2",
f2 = "mesecons_noteblock_f2",
fsharp2 = "mesecons_noteblock_fsharp2",
g2 = "mesecons_noteblock_g2",
gsharp2 = "mesecons_noteblock_gsharp2",
a2 = "mesecons_noteblock_a2",
asharp2 = "mesecons_noteblock_asharp2",
b2 = "mesecons_noteblock_b2",
c2 = "mesecons_noteblock_c2",
hihat = "mesecons_noteblock_hihat",
kick = "mesecons_noteblock_kick",
snare = "mesecons_noteblock_snare",
crash = "mesecons_noteblock_crash",
litecrash = "mesecons_noteblock_litecrash",
fire = "fire_large",
explosion = "tnt_explode",
digistuff_piezo_short = "digistuff_piezo_short_single",
digistuff_piezo_long = "digistuff_piezo_long_single"
}
local mod_sounds = {
pbj_pup = {
pbj_pup_barks = "pbj_pup_barks",
pbj_pup_howl = "pbj_pup_howl"
},
anvil = {
anvil_clang = "anvil_clang"
},
bees = {
bees = "bees"
},
bobblocks = {
bobblocks_glass_block = "bobblocks_glassblock",
bobblocks_health = "bobblocks_health",
bobblocks_trap = "bobblocks_trap_fall",
bobblocks_trap_large = "bobblocks_trap_fall_major"
},
fake_fire = {
fake_fire_extinguish = "fire_extinguish"
},
homedecor = {
homedecor_book_close = "homedecor_book_close",
homedecor_doorbell = "homedecor_doorbell",
homedecor_door_close = "homedecor_door_close",
homedecor_door_open = "homedecor_door_open",
homedecor_faucet = "homedecor_faucet",
homedecor_gate = "homedecor_gate_open_close",
homedecor_shower = "homedecor_shower",
homedecor_telephone = "homedecor_telephone_ringing",
homedecor_toilet = "homedecor_toilet_flush",
homedecor_trash = "homedecor_trash_all",
homedecor_insert_coin = "insert_coin",
homedecor_toaster = "toaster"
},
infrastructure = {
infrastructure_emergency_phone = "infrastructure_emergency_phone"
},
item_tweaks = {
item_drop = "item_drop",
item_pickup = "item_drop_pickup"
},
mesecons_button = {
mesecons_button_push = "mesecons_button_push",
mesecons_button_pop = "mesecons_button_pop",
},
mesecons_pistons = {
mesecons_piston_extend = "piston_extend",
mesecons_piston_retract = "piston_retract"
},
mesecons_walllever = {
mesecons_lever = "mesecons_lever"
},
technic = {
technic_chainsaw = "chainsaw",
technic_mining_drill = "mining_drill",
technic_laser_mk1 = "technic_laser_mk1",
technic_laser_mk2 = "technic_laser_mk2",
technic_laser_mk3 = "technic_laser_mk3",
technic_prospector_hit = "technic_prospector_hit",
technic_prospector_miss = "technic_prospector_miss"
},
teleport_request = {
teleport_request_accept = "whoosh"
},
unified_inventory = {
unified_inventory_day = "birds",
unified_inventory_click = "click",
unified_inventory_sethome = "dingdong",
unified_inventory_refill = "electricity",
unified_inventory_night = "owl",
unified_inventory_turn_page_1 = "paperflip1",
unified_inventory_turn_page_2 = "paperflip2",
unified_inventory_home = "teleport",
unified_inventory_trash = "trash",
unified_inventory_clear = "trash_all"
},
carts = {
carts_cart_moving = "carts_cart_moving"
},
default = {
default_break_glass = "default_break_glass",
default_chest_close = "default_chest_close",
default_chest_open = "default_chest_open",
default_cool_lava = "default_cool_lava",
default_dig_choppy = "default_dig_choppy",
default_dig_cracky = "default_dig_cracky",
default_dig_crumbly = "default_dig_crumbly",
default_dig_dig_immediate = "default_dig_dig_immediate",
default_dig_metal = "default_dig_metal",
default_dig_oddly_breakable_by_hand = "default_dig_oddly_breakable_by_hand",
default_dig_snappy = "default_dig_snappy",
default_dirt_footstep = "default_dirt_footstep",
default_dug_metal = "default_dug_metal",
default_dug_node = "default_dug_node",
default_glass_footstep = "default_glass_footstep",
default_grass_footstep = "default_grass_footstep",
default_gravel_footstep = "default_gravel_footstep",
default_hard_footstep = "default_hard_footstep",
default_item_smoke = "default_item_smoke",
default_metal_footstep = "default_metal_footstep",
default_place_node = "default_place_node",
default_place_node_hard = "default_place_node_hard",
default_place_node_metal = "default_place_node_metal",
default_sand_footstep = "default_sand_footstep",
default_snow_footstep = "default_snow_footstep",
default_tool_breaks = "default_tool_breaks",
default_water_footstep = "default_water_footstep",
default_wood_footstep = "default_wood_footstep"
},
doors = {
doors_door_open = "doors_door_open",
doors_door_close = "doors_door_close",
doors_gate_open = "doors_fencegate_open",
doors_gate_close = "doors_fencegate_close",
doors_glass_door_open = "doors_glass_door_open",
doors_glass_door_close = "doors_glass_door_close",
doors_steel_door_open = "doors_steel_door_open",
doors_steel_door_close = "doors_steel_door_close",
}
}
for mod,sounds in pairs(mod_sounds) do
if minetest.get_modpath(mod) then
for name,file in pairs(sounds) do
valid_sounds[name] = file
end
end
end
return valid_sounds
|