Clean up creative inventory tabs a little

This commit is contained in:
Wuzzy 2017-01-16 14:29:41 +01:00
parent d7cb7cb5a8
commit b150d227e1
12 changed files with 43 additions and 10 deletions

View file

@ -1,6 +1,7 @@
minetest.register_craftitem("throwing:arrow", {
description = "Arrow",
inventory_image = "throwing_arrow_inv.png",
groups = { ammo=1, ammo_bow=1 },
})
minetest.register_node("throwing:arrow_box", {

View file

@ -36,6 +36,7 @@ minetest.register_tool("throwing:bow", {
itemstack:add_wear(wear)
return itemstack
end,
groups = {weapon_ranged=1,},
on_use = function(itemstack, user, pointed_thing)
local wear = itemstack:get_wear()
itemstack:add_wear(wear)