2020-08-04 19:16:51 +02:00
|
|
|
local S = minetest.get_translator("building_blocks")
|
2017-09-27 15:58:04 +02:00
|
|
|
|
|
|
|
minetest.register_craftitem("building_blocks:sticks", {
|
|
|
|
description = S("Small bundle of sticks"),
|
|
|
|
image = "building_blocks_sticks.png",
|
|
|
|
on_place_on_ground = minetest.craftitem_place_item,
|
|
|
|
})
|
|
|
|
minetest.register_craftitem("building_blocks:tar_base", {
|
|
|
|
description = S("Tar base"),
|
|
|
|
image = "building_blocks_tar_base.png",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_tool("building_blocks:knife", {
|
|
|
|
description = S("Tar Knife"),
|
|
|
|
inventory_image = "building_blocks_knife.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=0,
|
|
|
|
groupcaps={
|
|
|
|
choppy={times={[2]=7.50, [3]=2.80}, uses=100, maxlevel=1},
|
|
|
|
fleshy={times={[2]=5.50, [3]=2.80}, uses=100, maxlevel=1}
|
|
|
|
}
|
|
|
|
},
|
2019-04-21 17:25:21 +02:00
|
|
|
})
|