diff options
Diffstat (limited to 'helptexts.lua')
-rw-r--r-- | helptexts.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/helptexts.lua b/helptexts.lua index 839e7c9..a438456 100644 --- a/helptexts.lua +++ b/helptexts.lua @@ -12,6 +12,8 @@ else S = function(s,a,...)a={a,...}return s:gsub("@(%d+)",function(n)return a[tonumber(n)]end)end end +local v6 = minetest.get_mapgen_setting("mg_name") == "v6" + local basicflametext if minetest.setting_getbool("enable_fire") == false then basicflametext = S("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 is also destroyed by nearby water or punching. It hurts you when you stand directly inside a basic flame, but punching it is safe.") @@ -61,7 +63,7 @@ local wooldesc = S("Wool is a soft decorative block which comes in different col local lavaheight -- CHECKME: Height at which lava spawns -if minetest.get_mapgen_setting("mg_name") == "v6" then +if v6 then lavaheight = -32 else lavaheight = -273 @@ -88,6 +90,11 @@ local railuse = S("Place them on the ground to build your railway, the rails wil local coral_living = S("Corals are plants naturally found in shallow water of warm climates. Corals are rather delicate. When exposed to air, they will die off to become coral skeletons.") +local pine_sapling = S("When placed on natural soil (such as dirt) and exposed to sunlight, a pine sapling will grow into a pine tree after some time.") +if not v6 then + pine_sapling = pine_sapling .. S(" If the pine sapling was placed on dirt with snow or dirt with snow, snow or a snow block was nearby, the pine tree will be covered with snow.") +end + local groupname_sand = doc.sub.items.get_group_name("sand") local groupname_water = doc.sub.items.get_group_name("water") local groupname_flora = doc.sub.items.get_group_name("flora") @@ -150,9 +157,9 @@ local export_longdesc = { ["default:aspen_wood"] = buildnode, ["default:sapling"] = S("When placed on natural soil (such as dirt) and exposed to sunlight, a sapling will grow into a tree after some time. There is a small chance that this tree bears apples."), ["default:junglesapling"] = S("When placed on natural soil (such as dirt) and exposed to sunlight, a jungle sapling will grow into a large jungle tree after some time."), - ["default:pine_sapling"] = S("When placed on natural soil (such as dirt) and exposed to sunlight, a pine sapling will grow into a pine tree after some time. If the pine sapling was placed on dirt with snow, the pine tree will be covered with snow."), ["default:acacia_sapling"] = S("When placed on natural soil (such as dirt) and exposed to sunlight, an acacia sapling will grow into an acacia tree after some time."), ["default:aspen_sapling"] = S("When placed on natural soil (such as dirt) and exposed to sunlight, an aspen sapling will grow into an aspen tree after some time."), + ["default:pine_sapling"] = pine_sapling, ["default:leaves"] = S("Leaves are grown from trees—which sometimes bear apples—found in deciduous forests."), ["default:jungleleaves"] = S("Jungle leaves are grown from jungle trees found in jungles."), ["default:acacia_leaves"] = S("Acacia leaves are grown from acacia trees found in savannahs."), |