last minute fixes

This commit is contained in:
MCLx86 2021-12-21 20:55:57 -05:00
parent 6f4e45a90f
commit 666cd54573
2 changed files with 8 additions and 5 deletions

View File

@ -20,13 +20,16 @@ minetest.register_node("coconut:nut", {
{-0.25, -0.5, -0.25, 0.25, 0, 0.25},
}
},
groups = {falling_node = 1, cracky = 2}
groups = {falling_node = 1, cracky = 1}
})
minetest.register_on_joinplayer(function(player)
skybox.set(player, 5)
player.set_wielded_item("minetest:pickaxe_steel")
local wielditem = player:get_wielded_item()
wielditem:set_name("main:pickaxe_steel")
player:set_wielded_item(wielditem)
end)
function coconut.init()

View File

@ -11,10 +11,10 @@ minetest.register_item(":",
groupcaps =
{
oddly_breakable_by_hand = {times={[1]=3.50,[2]=2.00,[3]=0.70}, uses=0},
snappy = {times={[3]=1.00}, uses=0, maxlevel=1},
cracky = {times={[1]=10.00}, uses=0, maxlevel=1},
crumbly = {times={[2]=4.50, [3]=1.80}, uses=0, maxlevel=1},
},
damage_groups = {fleshy = 3, snappy = 2},
damage_groups = {cracky = 1},
}
})
@ -30,7 +30,7 @@ minetest.register_item("main:pickaxe_steel",
groupcaps =
{
cracky = {times={[1]=1.80, [2]=1.00,[3]=0.50}, uses=0, maxlevel=1},
cracky = {times={[1]=6, [2]=1.00,[3]=0.50}, uses=0, maxlevel=1},
crumbly = {times={[2]=2.50, [3]=0.80}, uses=0, maxlevel=1},
},
damage_groups = {fleshy = 5, cracky = 8},