Fix low hand range in Creative Mode
parent
ecebef726c
commit
4229928f4a
|
@ -199,7 +199,7 @@ else
|
|||
{
|
||||
type = "none",
|
||||
wield_image = "wieldhand.png",
|
||||
wield_scale = {x=1.0,y=1.0,z=2.0},
|
||||
wield_scale = {x=1.0,y=1.0,z=3.0},
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level = 0,
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
wieldhand = {}
|
||||
|
||||
local default_hand_def = minetest.registered_items[""]
|
||||
|
||||
for h=0, 9 do
|
||||
minetest.register_item("rp_wieldhand:hand_"..h, {
|
||||
type = "none",
|
||||
wield_image = "wieldhand_"..h..".png",
|
||||
wield_scale = {x=1.0,y=1.0,z=3.0},
|
||||
})
|
||||
local newdef = table.copy(default_hand_def)
|
||||
newdef.wield_image = "wieldhand_"..h..".png"
|
||||
minetest.register_item("rp_wieldhand:hand_"..h, newdef)
|
||||
end
|
||||
|
||||
function wieldhand.set_hand(player, skin_tone)
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
name = rp_wieldhand
|
||||
description = Adds several wield hands for the different skin tones, to be used by rp_player_skins mod
|
||||
depends = rp_default
|
||||
|
|
Loading…
Reference in New Issue