Bones: Improve bones textures
authorparamat <mat.gregory@virginmedia.com>
Sat, 30 Jul 2016 00:49:49 +0000 (01:49 +0100)
committerparamat <mat.gregory@virginmedia.com>
Mon, 1 Aug 2016 00:20:27 +0000 (01:20 +0100)
Add mouth, remove jaw shadow, shade eyesockets.
Darker shading for spine and rotate texture using ^[transform2
instead of inverting texture.
Use 'node sound gravel defaults' for sounds.

mods/bones/init.lua
mods/bones/textures/bones_front.png
mods/bones/textures/bones_top.png

index a39b23d4074fab6413402833494e1b5bb513c755..8c3554264204d8cccd0e7968731ce5a15a318b93 100644 (file)
@@ -27,7 +27,7 @@ local share_bones_time_early = tonumber(minetest.setting_get("share_bones_time_e
 minetest.register_node("bones:bones", {
        description = "Bones",
        tiles = {
-               "bones_top.png",
+               "bones_top.png^[transform2",
                "bones_bottom.png",
                "bones_side.png",
                "bones_side.png",
@@ -36,10 +36,7 @@ minetest.register_node("bones:bones", {
        },
        paramtype2 = "facedir",
        groups = {dig_immediate = 2},
-       sounds = default.node_sound_dirt_defaults({
-               footstep = {name = "default_gravel_footstep", gain = 0.5},
-               dug = {name = "default_gravel_footstep", gain = 1.0},
-       }),
+       sounds = default.node_sound_gravel_defaults(),
 
        can_dig = function(pos, player)
                local inv = minetest.get_meta(pos):get_inventory()
index bfec3a11637e8d96a6d53d775085cabf20cd1241..1e52437017beddaad8f4febf9427cb5e95b81ce0 100644 (file)
Binary files a/mods/bones/textures/bones_front.png and b/mods/bones/textures/bones_front.png differ
index 29320ce99b2d04e6aea36fa90c8c9336858ceb69..198a8a2ddeb5de43a9579e6ba2ed5eff001b3876 100644 (file)
Binary files a/mods/bones/textures/bones_top.png and b/mods/bones/textures/bones_top.png differ