summaryrefslogtreecommitdiff
path: root/helptexts.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-09-15 18:25:40 +0200
committerWuzzy <almikes@aol.com>2016-09-15 18:25:40 +0200
commit9427c1a94f594d483d3fa57eb0961478f34c57a5 (patch)
treee6deed722cce6f32a0fc5f78e05143d8e012ee88 /helptexts.lua
parentac6f56c73be225ddf42c1f594fc9e54597c27b5a (diff)
Add lava height
Diffstat (limited to 'helptexts.lua')
-rw-r--r--helptexts.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/helptexts.lua b/helptexts.lua
index 71daa1e..edd8a8e 100644
--- a/helptexts.lua
+++ b/helptexts.lua
@@ -50,6 +50,13 @@ local dyedesc = "Dyes are primarily used for crafting other items, especially fo
local wooldesc = "Wool is a soft decorative block which comes in different colors. Walking on wool is completely silent."
+local lavaheight
+if minetest.get_mapgen_params().mgname == "v6" then
+ lavaheight = -32
+else
+ lavaheight = -273
+end
+
local deconode = doc.sub.items.temp.deco
local buildnode = doc.sub.items.temp.build
local craftitemdesc = doc.sub.items.temp.craftitem
@@ -140,7 +147,7 @@ local export_longdesc = {
["default:ladder_steel"] = ladderdesc,
["default:water_source"] = "Water is abundant in oceans and may also appear in small quantities in underground water pockets. You can swim easily in water, but you need to catch your breath from time to time. Water will turn nearby lava into obsidian or stone.",
["default:river_water_source"] = "You can swim easily in river water, but you need to catch your breath from time to time. Unlike (normal) water, it appears in rivers only. River water will turn nearby lava into obsidian or stone.",
- ["default:lava_source"] = "Lava is found deep underground and rather dangerous. Don't touch it, it will hurt you a lot and once you're in, it is hard to get out. When a lava source meets water or river water (or another block in the Water group), it turns into obsidian. Flowing lava turns into stone instead.",
+ ["default:lava_source"] = string.format("Lava is found deep underground (%d and below) and rather dangerous. Don't touch it, it will hurt you a lot and once you're in, it is hard to get out. When a lava source meets water or river water (or another block in the Water group), it turns into obsidian. Flowing lava turns into stone instead.", lavaheight),
["default:torch"] = "Provides plenty of light. It can be placed on almost any block facing any direction.",
["default:sign_wall_wood"] = signdesc,
["default:sign_wall_steel"] = signdesc,