From 9427c1a94f594d483d3fa57eb0961478f34c57a5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 15 Sep 2016 18:25:40 +0200 Subject: Add lava height --- helptexts.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'helptexts.lua') 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, -- cgit v1.2.3