forked from minetest/minetest_game
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.
This commit is contained in:
parent
ea49eb3f3d
commit
4fba897a96
@ -27,7 +27,7 @@ local share_bones_time_early = tonumber(minetest.setting_get("share_bones_time_e
|
|||||||
minetest.register_node("bones:bones", {
|
minetest.register_node("bones:bones", {
|
||||||
description = "Bones",
|
description = "Bones",
|
||||||
tiles = {
|
tiles = {
|
||||||
"bones_top.png",
|
"bones_top.png^[transform2",
|
||||||
"bones_bottom.png",
|
"bones_bottom.png",
|
||||||
"bones_side.png",
|
"bones_side.png",
|
||||||
"bones_side.png",
|
"bones_side.png",
|
||||||
@ -36,10 +36,7 @@ minetest.register_node("bones:bones", {
|
|||||||
},
|
},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = {dig_immediate = 2},
|
groups = {dig_immediate = 2},
|
||||||
sounds = default.node_sound_dirt_defaults({
|
sounds = default.node_sound_gravel_defaults(),
|
||||||
footstep = {name = "default_gravel_footstep", gain = 0.5},
|
|
||||||
dug = {name = "default_gravel_footstep", gain = 1.0},
|
|
||||||
}),
|
|
||||||
|
|
||||||
can_dig = function(pos, player)
|
can_dig = function(pos, player)
|
||||||
local inv = minetest.get_meta(pos):get_inventory()
|
local inv = minetest.get_meta(pos):get_inventory()
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 656 B |
Binary file not shown.
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 662 B |
Loading…
Reference in New Issue
Block a user