From b19b1f5a2d67f873b52ec029c7e5843d0dcdccf3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 7 May 2018 17:06:00 +0200 Subject: [PATCH] Rewrite bow/arrow help texts --- mods/ITEMS/mcl_throwing/arrow.lua | 5 +++-- mods/ITEMS/mcl_throwing/bow.lua | 7 +++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mods/ITEMS/mcl_throwing/arrow.lua b/mods/ITEMS/mcl_throwing/arrow.lua index 0795b30b0e..e6478fae14 100644 --- a/mods/ITEMS/mcl_throwing/arrow.lua +++ b/mods/ITEMS/mcl_throwing/arrow.lua @@ -3,8 +3,9 @@ local mod_awards = minetest.get_modpath("awards") and minetest.get_modpath("mcl_ minetest.register_craftitem("mcl_throwing:arrow", { description = "Arrow", - _doc_items_longdesc = "Arrows are ammunition for bows and dispensers.", - _doc_items_usagehelp = "To use arrows as ammunition for a bow, just put them anywhere in your inventory, they will be used up automatically. To use arrows as ammunition for a dispenser, place them in the dispenser's inventory. Arrows fired from a dispenser always deal 3 damage.", + _doc_items_longdesc = [[Arrows are ammunition for bows and dispensers. +An arrow fired from a bow has a regular damage of 1-9. At full charge, there's a 20% chance of a critical hit dealing 10 damage instead. An arrow fired from a dispenser always deals 3 damage.]], + _doc_items_usagehelp = "To use arrows as ammunition for a bow, just put them anywhere in your inventory, they will be used up automatically. To use arrows as ammunition for a dispenser, place them in the dispenser's inventory.", inventory_image = "mcl_throwing_arrow_inv.png", groups = { ammo=1, ammo_bow=1 }, _on_dispense = function(itemstack, dispenserpos, droppos, dropnode, dropdir) diff --git a/mods/ITEMS/mcl_throwing/bow.lua b/mods/ITEMS/mcl_throwing/bow.lua index a9bc2f1aa0..017b855e54 100644 --- a/mods/ITEMS/mcl_throwing/bow.lua +++ b/mods/ITEMS/mcl_throwing/bow.lua @@ -88,10 +88,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 (unless in Creative Mode). Hold down the right mouse button to charge, release to shoot. - -The arrow speed and damage increase the longer you charge. The minimum damage is 1. At full charge, the damage is 9 with a 20% chance of a critical hit dealing 10 damage instead.]], + _doc_items_longdesc = [[Bows are ranged weapons to shoot arrows at your foes. +The speed and damage of the arrow increases the longer you charge. The regular damage of the arrow is between 1 and 9. At full charge, there's also a 20% of a critical hit, dealing 10 damage instead.]], + _doc_items_usagehelp = [[To use the bow, you first need to have at least one arrow anywhere in your inventory (unless in Creative Mode). Hold down the right mouse button to charge, release to shoot.]], _doc_items_durability = BOW_DURABILITY, inventory_image = "mcl_throwing_bow.png", stack_max = 1,