"Lucky shovel" can mine ore
In the "lucky" group and able to mine ore (groupcap: cracky), but not a pickaxe. For testing that extra coal drops require both "lucky" and "pickaxe".master
parent
a2cd04985c
commit
cd97ba1d04
1
init.lua
1
init.lua
|
@ -53,6 +53,7 @@ minetest.register_tool("toolgrouptest:shovel_lucky", {
|
||||||
max_drop_level=1,
|
max_drop_level=1,
|
||||||
groupcaps={
|
groupcaps={
|
||||||
crumbly = {times={[1]=1.10, [2]=0.50, [3]=0.30}, uses=30, maxlevel=3},
|
crumbly = {times={[1]=1.10, [2]=0.50, [3]=0.30}, uses=30, maxlevel=3},
|
||||||
|
cracky = {times={[3]=1.60}, uses=10, maxlevel=1},
|
||||||
},
|
},
|
||||||
damage_groups = {fleshy=4},
|
damage_groups = {fleshy=4},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue