Skip to content

Commit

Permalink
Bones: Improve bones textures
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paramat committed Aug 1, 2016
1 parent ea49eb3 commit 4fba897
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions mods/bones/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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()
Expand Down
Binary file modified mods/bones/textures/bones_front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified mods/bones/textures/bones_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4fba897

Please sign in to comment.