summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-03 14:11:38 +0200
committerWuzzy <almikes@aol.com>2016-08-03 14:11:38 +0200
commit2223d0aea851ae62926b5f5c4b3325fe04b71830 (patch)
tree420ba46959134cd8cdbc1b7a9aed006032d8a3a5 /init.lua
parent4c3c58378870ce18db8b1de1dc6e9d405adeea20 (diff)
Use Minetest Game-specific hand text
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index dd1313a..f03f327 100644
--- a/init.lua
+++ b/init.lua
@@ -132,6 +132,12 @@ doc.add_entry_alias("nodes", "default:river_water_source", "default:river_water_
-- Gather help texts
dofile(minetest.get_modpath("doc_minetest_game") .. "/helptexts.lua")
+-- Overwrite hand text
+doc.sub.items.overwrite_hand(
+ "Hand",
+ "You use your bare hand whenever you are not wielding any item. With your hand you can dig the weakest blocks and deal minor damage by punching. Using the hand is often a last resort, as proper mining tools and weapons are usually better than the hand. When you are wielding an item which is not a mining tool or a weapon it will behave is it were the hand when you start mining or punching. In Creative Mode, the mining capabilities, range and damage of the hand are greatly enhanced.",
+ nil)
+
-- Achievement
local awardchecktime = 0
if minetest.get_modpath("awards") ~= nil then