Changed hammer image and wield scale

This commit is contained in:
DonBatman 2015-11-08 06:27:35 -08:00
parent f7e3fc00c2
commit fc21288ce8
2 changed files with 1 additions and 4 deletions

View File

@ -14,6 +14,7 @@ minetest.register_tool( "mymasonhammer:hammer",{
description = "Mason Hammer", description = "Mason Hammer",
inventory_image = "mymasonhammer_hammer.png", inventory_image = "mymasonhammer_hammer.png",
wield_image = "mymasonhammer_hammer.png", wield_image = "mymasonhammer_hammer.png",
wield_scale = {x=1,y=1,z=3},
tool_capabilities = { tool_capabilities = {
max_drop_level=3, max_drop_level=3,
groupcaps= { groupcaps= {
@ -47,13 +48,9 @@ on_use = function(itemstack, user, pointed_thing)
return return
end end
if mode == "1" then if mode == "1" then
local tuse = 1
if node.name == item then if node.name == item then
tuse = 2
if tuse == 2 then
minetest.set_node(pos,{name = stair, param2=minetest.dir_to_facedir(user:get_look_dir())}) minetest.set_node(pos,{name = stair, param2=minetest.dir_to_facedir(user:get_look_dir())})
parti(pos) parti(pos)
end
end end
end end
if mode == "2" then if mode == "2" then

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

After

Width:  |  Height:  |  Size: 312 B