diff options
author | Wuzzy <almikes@aol.com> | 2016-08-15 14:21:48 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-15 14:21:48 +0200 |
commit | 8e1429cb1aca5fe3d60ea62d88591c89b2e20229 (patch) | |
tree | aac91e1427e466c821d36828e209cc1778bb66a3 /helptexts.lua | |
parent | cee05c9a4906bba2473912a8fc045b76bf6f552f (diff) |
Add hoe usage count
Diffstat (limited to 'helptexts.lua')
-rw-r--r-- | helptexts.lua | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/helptexts.lua b/helptexts.lua index 16229a8..b90bdbc 100644 --- a/helptexts.lua +++ b/helptexts.lua @@ -1,3 +1,9 @@ +--[[ + Developer note: + - All areas marked with “CHECKME” are places which should be reviewed carefully + for every release of Minetest Game. +]] + local basicflametext if minetest.setting_getbool("disable_fire") == true then basicflametext = "The basic flame is a damaging but short-lived kind of block. This particular world is rather hostile to fire, so basic flames won't spread and destroy other blocks. They disappear after a while. A basic flame will be extinguished by water and other blocks if it is next to it. A single basic flame block can be destroyed safely by punching it, but it is hurtful if you stand directly in it." @@ -34,7 +40,8 @@ else beddesc = beddesc .. "Going into bed seems to make time pass faster: The night will be skipped when you go sleep and you are the only human being in this world. If you are not alone, the night will be skipped as soon the majority of all humans went to bed." end -local hoedesc = "Hoes are essential tools for growing crops. They are used to create farming soil in order to plant seeds on it." +local hoedesc = "Hoes are essential tools for growing crops. They are used to create farming soil in order to plant seeds on it. " +local hoeusecount = "Hoes of this kind can be used %d times before they break." local hoeuse = "Punch a cultivatable block with a hoe to turn it into soil. Dirt, dirt with grass, dirt with dry grass and desert sand are cultivatable blocks." local axedesc = "An axe is your tool of choice to cut down blocks which are affected by brute force, especially trees and wood. It also serves as a weapon in a pinch, although not as efficient as swords, but still acceptable." local sworddesc = "Swords are great in melee combat, as they are fast, deal high damage and can endure countless battles. Swords are also surprisingly useful in cutting “snappy” plants and blocks, like grass, wheat and leaves, but this will wear them out much faster than by fighting." @@ -257,12 +264,13 @@ local export_longdesc = { ["stairs:stair_desert_stone_block"] = stairdesc, ["stairs:stair_sandstone_block"] = stairdesc, ["stairs:stair_obsidian_block"] = stairdesc, - ["farming:hoe_wood"] = hoedesc, - ["farming:hoe_stone"] = hoedesc, - ["farming:hoe_steel"] = hoedesc, - ["farming:hoe_bronze"] = hoedesc, - ["farming:hoe_mese"] = hoedesc, - ["farming:hoe_diamond"] = hoedesc, + -- CHECKME: Hoe usage count + ["farming:hoe_wood"] = hoedesc .. string.format(hoeusecount, 30), + ["farming:hoe_stone"] = hoedesc .. string.format(hoeusecount, 90), + ["farming:hoe_steel"] = hoedesc .. string.format(hoeusecount, 200), + ["farming:hoe_bronze"] = hoedesc .. string.format(hoeusecount, 220), + ["farming:hoe_mese"] = hoedesc .. string.format(hoeusecount, 350), + ["farming:hoe_diamond"] = hoedesc .. string.format(hoeusecount, 500), ["default:pick_wood"] = pickaxedesc, ["default:pick_stone"] = pickaxedesc, ["default:pick_steel"] = pickaxedesc, |