Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_item(":", {
type = "none",
wield_image = "wieldhand.png",
wield_scale = {x=1,y=1,z=2.5},
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level = 0,
groupcaps = {
crumbly = {times={[4]=3.00, [7]=0.70}, uses=0, maxlevel=7},
snappy = {times={[7]=0.40}, uses=0, maxlevel=7},
oddly_breakable_by_hand = {times={[3]=7.00,[4]=4.00,[7]=1.40}, uses=0, maxlevel=7}
},
damage_groups = {fleshy=1},
}
})
dig this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("default:dirt", {
description = "Dirt",
tiles = {"default_dirt.png"},
is_ground_content = true,
groups = {crumbly=7},
sounds = default.node_sound_dirt_defaults(),
})