Add help for bow and arrow

This commit is contained in:
Wuzzy 2017-03-12 02:20:33 +01:00
parent 772dbb97cf
commit 70c0ff05ea
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
minetest.register_craftitem("mcl_throwing:arrow", {
description = "Arrow",
_doc_items_longdescs = "Arrows are ammunition for bows and dispensers.",
inventory_image = "mcl_throwing_arrow_inv.png",
groups = { ammo=1, ammo_bow=1 },
})

View File

@ -94,6 +94,9 @@ end
minetest.register_tool("mcl_throwing:bow", {
description = "Bow",
_doc_items_longdesc = "Bows are ranged weapons to shoot arrows at your foes.",
_doc_items_usagehelp = [[To use the bow, you first need to have at least one arrow anywhere in your inventory. Rightclick one to three times to charge the bow. Leftclick to shoot.
The higher the charge, the faster the arrow will go and the higher the damage. A successful hit deals 1-5 HP of damage."]],
inventory_image = "mcl_throwing_bow.png",
stack_max = 1,
on_place = powerup_function("mcl_throwing:bow_0"),