mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-20 01:51:06 +01:00
Add help for bow and arrow
This commit is contained in:
parent
772dbb97cf
commit
70c0ff05ea
2 changed files with 4 additions and 0 deletions
|
@ -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 },
|
||||
})
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue