]> git.lizzy.rs Git - Crafter.git/commitdiff
Rebalance sounds pt 1
authorOilboi <oil.boi.minetest@gmail.com>
Sun, 16 Feb 2020 16:11:04 +0000 (11:11 -0500)
committerOilboi <oil.boi.minetest@gmail.com>
Sun, 16 Feb 2020 16:11:04 +0000 (11:11 -0500)
mods/main/nodes.lua
mods/main/sounds.lua
mods/main/sounds/dirt.1.ogg [new file with mode: 0644]
mods/main/sounds/dirt.2.ogg [new file with mode: 0644]
mods/main/sounds/dirt.3.ogg [new file with mode: 0644]
mods/main/sounds/sounds.tar.gz [new file with mode: 0644]
mods/main/sounds/stone.1.ogg
mods/main/sounds/stone.2.ogg
mods/main/sounds/stone.3.ogg
todo.txt

index e04dc2df01a6cddd68ce7d03cd063c752e4360e1..b576a564149df253be4923eeb11f90d330ebb3de 100644 (file)
@@ -34,21 +34,21 @@ minetest.register_node("main:dirt", {
     description = "Dirt",
     tiles = {"dirt.png"},
     groups = {dirt = 1, soft = 1, shovel = 1, hand = 1},
-    sounds = main.grassSound(),
+    sounds = main.dirtSound(),
 })
 
 minetest.register_node("main:grass", {
     description = "Grass",
     tiles = {"grass.png"},
     groups = {dirt = 1, soft = 1, shovel = 1, hand = 1},
-    sounds = main.grassSound(),
+    sounds = main.dirtSound(),
     drop="main:dirt",
 })
 
 minetest.register_node("main:sand", {
     description = "Sand",
     tiles = {"sand.png"},
-    groups = {dirt = 1, sand = 1, soft = 1, shovel = 1, hand = 1},
+    groups = {dirt = 1, sand = 1, soft = 1, shovel = 1, hand = 1, falling_node = 1},
     sounds = main.sandSound(),
 })
 
index a60791ae10092dbfd1eda76e3f32c2b24c80d7e5..0310d28c5813ba07a6b67c84da5dc6966cf5c099 100644 (file)
@@ -34,9 +34,9 @@ function main.sandSound(table)
        table.footstep = table.footstep or
                        {name = "sand", gain = 0.2}
        table.dug = table.dug or
-                       {name = "", gain = 1.0}
+                       {name = "sand", gain = 0.3}
        table.place = table.place or
-                       {name = "sand", gain = 0.5}
+                       {name = "sand", gain = 0.3}
        --default.node_sound_defaults(table)
        return table
 end
@@ -54,3 +54,16 @@ function main.grassSound(table)
        --default.node_sound_defaults(table)
        return table
 end
+function main.dirtSound(table)
+       table = table or {}
+       table.dig = table.dig or
+                       {name = "dirt",gain=0.5}
+       table.footstep = table.footstep or
+                       {name = "dirt", gain = 0.3}
+       table.dug = table.dug or
+                       {name = "dirt", gain = 1.0}
+       table.place = table.place or
+                       {name = "dirt", gain = 0.5}
+       --default.node_sound_defaults(table)
+       return table
+end
diff --git a/mods/main/sounds/dirt.1.ogg b/mods/main/sounds/dirt.1.ogg
new file mode 100644 (file)
index 0000000..948e31d
Binary files /dev/null and b/mods/main/sounds/dirt.1.ogg differ
diff --git a/mods/main/sounds/dirt.2.ogg b/mods/main/sounds/dirt.2.ogg
new file mode 100644 (file)
index 0000000..add84bd
Binary files /dev/null and b/mods/main/sounds/dirt.2.ogg differ
diff --git a/mods/main/sounds/dirt.3.ogg b/mods/main/sounds/dirt.3.ogg
new file mode 100644 (file)
index 0000000..6cf05dd
Binary files /dev/null and b/mods/main/sounds/dirt.3.ogg differ
diff --git a/mods/main/sounds/sounds.tar.gz b/mods/main/sounds/sounds.tar.gz
new file mode 100644 (file)
index 0000000..5775e91
Binary files /dev/null and b/mods/main/sounds/sounds.tar.gz differ
index c0e9cdd03d0ce6854b4e5ede505a0b4b1dfb69a3..55bbcce4d8d5ca9d29b1cc01c306c158727bf47f 100644 (file)
Binary files a/mods/main/sounds/stone.1.ogg and b/mods/main/sounds/stone.1.ogg differ
index 6567c934670256fc1e86c911b22aefbce3fc677b..5e517e0712784dcd0770fa689123701f567dcdea 100644 (file)
Binary files a/mods/main/sounds/stone.2.ogg and b/mods/main/sounds/stone.2.ogg differ
index 7d768799fdb44217611bd55c4b638bd3a5a816fe..3ee54ad4c7ac278736827e68892d5fd14ddf4775 100644 (file)
Binary files a/mods/main/sounds/stone.3.ogg and b/mods/main/sounds/stone.3.ogg differ
index 979f395f912941be9f174eca68f60ca3369dae7d..3976b96ba8acb2ad93f91d0572845940b4cd8e98 100644 (file)
--- a/todo.txt
+++ b/todo.txt
 --beds - set respawn point - only sleep at night
 --make treecapitator cut down whole tree if using axe - make trees drop items on treecapitator
 --tnt
+sand fall down
+tnt throw player
+water flow faster
+torches with particle
 crafting bench
 make a mob?
 fishing