aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/treeprop.png
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2015-11-29 00:17:51 -0500
committerShadowNinja <shadowninja@minetest.net>2015-12-07 13:53:56 -0500
commit696148e29889b2923f926b27f76979454676506d (patch)
treecad2d63201dd7242794575327da22a795a083afe /games/minimal/mods/default/textures/treeprop.png
parentea2964f5a168cb52d1b9f74a08f00c7c068c6649 (diff)
downloadminetest-696148e29889b2923f926b27f76979454676506d.tar.gz
minetest-696148e29889b2923f926b27f76979454676506d.tar.bz2
minetest-696148e29889b2923f926b27f76979454676506d.zip
Fix Event implementation
On non-windows platforms this just used a semaphore, which meant that multiple calls to signal() would result in wait() returning multiple times.
Diffstat (limited to 'games/minimal/mods/default/textures/treeprop.png')
0 files changed, 0 insertions, 0 deletions
34' href='#n134'>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 167 168 169 170 171 172 173 174
local simple_nodes = {
	footstep = { "Footstep Sound Node", "soundstuff_node_footstep.png" },
	dig = { "Dig Sound Node", "soundstuff_node_dig.png" },
	dug = { "Dug Sound Node", "soundstuff_node_dug.png" },
	place = { "Place Sound Node", "soundstuff_node_place.png" },
	place_failed = { "Place Failed Sound Node", "soundstuff_node_place_failed.png" },
}

for k,v in pairs(simple_nodes) do
	minetest.register_node("soundstuff:"..k, {
		description = v[1],
		tiles = {"soundstuff_node_sound.png","soundstuff_node_sound.png",v[2]},
		groups = {dig_immediate=2},
		sounds = {
			[k] = { name = "soundstuff_mono", gain = 1.0 },
		}
	})
end