From: paramat Date: Sat, 30 Jul 2016 00:49:49 +0000 (+0100) Subject: Bones: Improve bones textures X-Git-Tag: 0.4.15~120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4fba897a96a0fdd113632bc82a99a530c42e5c73;p=oweals%2Fminetest_game.git Bones: Improve bones textures 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. --- diff --git a/mods/bones/init.lua b/mods/bones/init.lua index a39b23d4..8c355426 100644 --- a/mods/bones/init.lua +++ b/mods/bones/init.lua @@ -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() diff --git a/mods/bones/textures/bones_front.png b/mods/bones/textures/bones_front.png index bfec3a11..1e524370 100644 Binary files a/mods/bones/textures/bones_front.png and b/mods/bones/textures/bones_front.png differ diff --git a/mods/bones/textures/bones_top.png b/mods/bones/textures/bones_top.png index 29320ce9..198a8a2d 100644 Binary files a/mods/bones/textures/bones_top.png and b/mods/bones/textures/bones_top.png differ