Default: Add 'silver sand' for cold desert biome
authorparamat <mat.gregory@virginmedia.com>
Tue, 4 Oct 2016 02:45:49 +0000 (03:45 +0100)
committerparamat <mat.gregory@virginmedia.com>
Wed, 5 Oct 2016 21:22:08 +0000 (22:22 +0100)
mods/default/README.txt
mods/default/nodes.lua
mods/default/textures/default_silver_sand.png [new file with mode: 0644]

index 382b2f76d71859f80c71eb85c6352eadc4d1bbe5..4d7744f734a287575ab6c69cdb4c53239ab48202 100644 (file)
@@ -111,6 +111,7 @@ paramat (CC BY-SA 3.0):
   default_grass.png
   default_grass_side.png
   default_mese_block.png
+  default_silver_sand.png
 
 brunob.santos (CC BY-SA 4.0):
   default_desert_cobble.png
index c5d05232b63723f54a85198099a9f4824338868c..b6ae52cba38daaff0a8c0e2bee8d2b0516a9ade6 100644 (file)
@@ -47,6 +47,7 @@ default:dirt_with_snow
 
 default:sand
 default:desert_sand
+default:silver_sand
 
 default:gravel
 
@@ -390,6 +391,13 @@ minetest.register_node("default:desert_sand", {
        sounds = default.node_sound_sand_defaults(),
 })
 
+minetest.register_node("default:silver_sand", {
+       description = "Silver Sand",
+       tiles = {"default_silver_sand.png"},
+       groups = {crumbly = 3, falling_node = 1, sand = 1},
+       sounds = default.node_sound_sand_defaults(),
+})
+
 
 minetest.register_node("default:gravel", {
        description = "Gravel",
diff --git a/mods/default/textures/default_silver_sand.png b/mods/default/textures/default_silver_sand.png
new file mode 100644 (file)
index 0000000..d381e88
Binary files /dev/null and b/mods/default/textures/default_silver_sand.png differ