summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helptexts.lua13
1 files changed, 10 insertions, 3 deletions
diff --git a/helptexts.lua b/helptexts.lua
index 042b378..5496517 100644
--- a/helptexts.lua
+++ b/helptexts.lua
@@ -6,7 +6,7 @@
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."
+ 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 will quickly disappear. A basic flame will also 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."
else
basicflametext = "The basic flame is a damaging and destructive but short-lived kind of block. It will destroy and spread towards near flammable blocks, but fire will disappear if there is nothing to burn left. It 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."
@@ -57,6 +57,13 @@ local craftitemdesc = doc.sub.items.temp.craftitem
local eat = doc.sub.items.temp.eat
local eat_bad = doc.sub.items.temp.eat_bad
+local tnt_radius = tonumber(minetest.setting_get("tnt_radius"))
+if tnt_radius == nil then
+ tnt_radius = 3
+end
+
+local tntdesc = string.format("An explosive device. When it explodes, it will hurt living beings, destroy blocks around it, throw blocks affected by gravity all over the place and set flammable blocks on fire. It has an explosion radius of %d. With a small chance, blocks may drop as an item (as if being mined) rather than being destroyed. TNT can be ignited by explosions and fire. A lit TNT will also fall when there's nothing below it.", tnt_radius)
+
local export_longdesc = {
[""] = "You use your bare hand whenever you are not wielding any item. With your hand you can mine 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 as if 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.",
["default:apple"] = "Eat it to restore 2 hit points.",
@@ -191,7 +198,7 @@ local export_longdesc = {
["flowers:viola"] = flowertext,
["flowers:waterlily"] = "Waterlilies are sometimes found on shallow water. They can't survive on anything but water.",
- ["tnt:tnt"] = "An explosive device. When it explodes, it will hurt living beings, destroy blocks around it, and set flammable blocks on fire. With a small chance, blocks may drop as an item (as if being mined) rather than being destroyed. TNT can be ignited by explosions and fire. A lit TNT will also fall when there's nothing below it.",
+ ["tnt:tnt"] = tntdesc,
["tnt:gunpowder"] = "Gunpowder is used to craft TNT and to create gunpowder trails which can be ignited.",
["fire:basic_flame"] = basicflametext,
@@ -408,7 +415,7 @@ local export_usagehelp = {
["bones:bones"] = "Point to the bones to see to whom they belong to. If nothing is displayed, they belong to nobody and are empty; they behave any other block in this case. Otherwise, rightclick on the bones to access the inventory, punch it to obtain all items and the bones immediately, or at least as many items as you can carry. "..bonesstring..bonesstring2.."It is only possible to take from this inventory, nothing can be stored into it.",
["tnt:gunpowder"] = "Place gunpowder on the ground to create gunpowder trails. Punch it with a torch to light the gunpowder. Lit gunpowder will ignite all neighbor (including diagonals) gunpowder tiles and TNTs.",
- ["tnt:tnt"] = "Place the TNT on the ground and punch it with a torch to light it and quickly get in a safe distance before it explodes. A burning gunpowder trail will also ignite the TNT.",
+ ["tnt:tnt"] = "Place the TNT on the ground and punch it with a torch to light it and quickly get in a safe distance before it explodes. Burning gunpowder trails and blocks which set nearby blocks on fire will also ignite the TNT.",
["doors:trapdoor"] = "Rightclick the trapdoor to open or close it.",
["doors:trapdoor_steel"] = "Point the steel trapdoor to see who owns it. Rightclick it to open or close it (if you own it).",