summaryrefslogtreecommitdiff
path: root/helptexts.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-05 01:58:54 +0200
committerWuzzy <almikes@aol.com>2016-08-05 01:58:54 +0200
commitb9b49d27a6ae4f303496647eb2cf56a4571e9804 (patch)
tree23f2262155c59f5ce48e93f8654f0f13a95978af /helptexts.lua
parent91c007e88e1a92383df894333a992bf78acb4324 (diff)
Use doc_items templates
Diffstat (limited to 'helptexts.lua')
-rw-r--r--helptexts.lua43
1 files changed, 23 insertions, 20 deletions
diff --git a/helptexts.lua b/helptexts.lua
index bf63ba7..99f8139 100644
--- a/helptexts.lua
+++ b/helptexts.lua
@@ -41,10 +41,13 @@ local sworddesc = "Swords are great in melee combat, as they are fast, deal high
local shoveldesc = "Shovels are mining tools to mine “crumbly” blocks, such as sand, dirt, gravel, and so on. Technically, they can also be used as weapons, but they are not much better than hand-to-hand combat."
local pickaxedesc = "Pickaxes are mining tools to mine hard, “cracky” blocks, such as stone. If you are desperate, you can use a pickaxe as an inefficient weapon."
-local craftitemdesc = "This item is primarily used for crafting other items."
local dyedesc = "Dyes are primarily used for crafting other items, especially for colorization. Dyes can also be used to obtain new dyes by using two dyes in crafting."
-local deconode = "This is a decorational block."
+local deconode = doc.sub.items.temp.deco
+local buildnode = doc.sub.items.temp.build
+local craftitemdesc = doc.sub.items.temp.craftitem
+local eat = doc.sub.items.temp.eat
+local eat_bad = doc.sub.items.temp.eat_bad
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 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.",
@@ -60,8 +63,8 @@ local export_longdesc = {
["default:stone_with_mese"] = "This stone contains mese, a rare mineral of alien origin. It can be found in clusters at a depth of 64 below sea level or lower.",
["default:stone_with_gold"] = "This stone contains gold, a rare metal. It can be found in clusters at a depth of 64 below sea level or lower.",
["default:stone_with_diamond"] = "Diamonds are very rare and hard and can be found in clusters deep in the underground. They start to appear at a depth of 128 below sea level or lower.",
- ["default:stonebrick"] = deconode,
- ["default:desert_stonebrick"] = deconode,
+ ["default:stonebrick"] = buildnode,
+ ["default:desert_stonebrick"] = buildnode,
["default:dirt_with_grass"] = "Very common on the surface, found in grasslands, forests and jungles. Dirt with grass will turn its neighbor dirt blocks into dirt with grass, when they are in direct sunlight. It this block is in darkness, it will turn into naked dirt eventually.",
["default:dirt_with_dry_grass"] = "Common on the surface, found in savannahs. Dirt with dry grass will turn its neighbor dirt blocks into dirt with dry grass, when they are in direct sunlight. It this block is in darkness, it will turn into naked dirt eventually.",
["default:dirt_with_snow"] = "Dirt with a snow cover, found in cold regions. This block will turn its neighbor dirt blocks into dirt with snow when they are exposed to sunlight. If this block is in darkness, it will turn into naked dirt eventually.",
@@ -74,19 +77,19 @@ local export_longdesc = {
["default:gravel"] = "This block consists of a couple of loose stones and can't support itself. It is common only at the beaches of very cold regions, but it can be found in small quantities on the surface and underground.",
["default:clay"] = "Clay is pretty soft but also a bit rare, it can sometimes be found in beaches next to sand.",
["default:sandstone"] = "A pretty soft kind of stone.",
- ["default:sandstonebrick"] = deconode,
- ["default:brick"] = deconode,
+ ["default:sandstonebrick"] = buildnode,
+ ["default:brick"] = buildnode,
["default:cloud"] = "A solid block which can not be mined by simple tools. It can be destroyed by explosions, however.",
["default:tree"] = "A trunk of a regular tree. This kind of tree originates from decidiuous forests in mild climates.",
["default:jungletree"] = "A trunk of a jungle tree. Jungle trees can be found in jungles, which are in hot and wet climates.",
["default:pine_tree"] = "A trunk of a pine tree. The natural habitat of pine trees coniferous forests which can be found in cold climates.",
["default:aspen_tree"] = "A trunk of an aspen tree. The natural habitat of aspen trees are decidiuous forests which can be found in mild climates.",
["default:acacia_tree"] = "A trunk of an acacia tree. The natural habitat of acacia trees are savannahs, which can be found in hot climates.",
- ["default:wood"] = deconode,
- ["default:junglewood"] = deconode,
- ["default:pine_wood"] = deconode,
- ["default:acacia_wood"] = deconode,
- ["default:aspen_wood"] = deconode,
+ ["default:wood"] = buildnode,
+ ["default:junglewood"] = buildnode,
+ ["default:pine_wood"] = buildnode,
+ ["default:acacia_wood"] = buildnode,
+ ["default:aspen_wood"] = buildnode,
["default:sapling"] = "When placed on natural soil (such as dirt) and exposed to sunlight, this sapling will grow into an ordinary tree or an apple tree after some time.",
["default:junglesapling"] = "When placed on natural soil (such as dirt) and exposed to sunlight, this sapling will grow into a large jungle tree after some time.",
["default:pine_sapling"] = "When placed on natural soil (such as dirt) and exposed to sunlight, this sapling will grow into a pine tree after some time.",
@@ -122,8 +125,8 @@ local export_longdesc = {
["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,
- ["default:cobble"] = "A decorational block used to build houses, dungeons and other buildings. It is obtained after mining stone. If it is near water, it might turn into mossy cobblestone.",
- ["default:desert_cobble"] = deconode,
+ ["default:cobble"] = "A building block used to create houses, dungeons and other buildings. It is obtained after mining stone. If it is near water, it might turn into mossy cobblestone.",
+ ["default:desert_cobble"] = buildnode,
["default:coal_lump"] = "Coal lumps are your standard furnace fuel, but they are also used to make torches and a few other things.",
["default:mossycobble"] = "A decorational block. It is found in underground dungeons and is the product of cobblestone near water.",
["default:coalblock"] = "A decorational block and compact storage of coal lumps. As a furnace fuel, it is slightly more efficient than 9 coal lumps.",
@@ -134,7 +137,7 @@ local export_longdesc = {
["default:diamondblock"] = "A very hard decorational block.",
["default:obsidian_glass"] = "Obsidian glass is transparent, has a very clean surface and is rather hard to break.",
["default:obsidian"] = "A hard mineral which is generated when a lava source meets a water source.",
- ["default:obsidianbrick"] = deconode,
+ ["default:obsidianbrick"] = buildnode,
["default:nyancat"] = "A weird creature with a cat face, cat extremities and a strawberry-flavored pop-tart body. It has been trapped in a block and cannot move and can thus be dug easily by simple tools. Nyan cats are usually followed by nyan cat rainbows. Legends say that in ancient times, long before the creation of our world, the were many of the Nyan Cats which were free and flew through space and sang the \"Nya-nya\" song. Nowadays, nyan cats serve as a fancy collector's item and are traded as souveniers. Apart from that, nyan cats have no intrinsic value.",
["default:nyancat_rainbow"] = "A rainbow made by a real nyan cat, ancient creatures which once flew through space. It has gone inert and can be dug by simple tools. Like nyan cats, nyan cat rainbows have no intrinsic value.",
@@ -154,7 +157,7 @@ local export_longdesc = {
["doors:door_glass"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.",
["doors:door_obsidian_glass"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.",
["doors:door_steel"] = "Steel doors are owned by the player who placed it, only their owner can open, close or mine them. Steel doors are also immune to TNT explosions.",
- ["farming:straw"] = "A decorational block.",
+ ["farming:straw"] = deconode,
["farming:bread"] = "A nutritious food. Eat it to restore 5 hit points.",
["farming:seed_wheat"] = "Grows into a wheat plant.",
["farming:seed_cotton"] = "Grows into a cotton plant.",
@@ -188,7 +191,7 @@ local export_longdesc = {
["screwdriver:screwdriver"] = "A screwdriver can be used to rotate blocks. It can be used 200 times.",
["boats:boat"] = "A simple boat which allows you to float on the surface of large water bodies. Travelling by boat is slightly faster than swimming.",
- ["vessels:glass_bottle"] = "A decorational item. Can be placed like a block.",
+ ["vessels:glass_bottle"] = "A decorational item which can be placed.",
["vessels:drinking_glass"] = "A decorational item which can be placed.",
["vessels:steel_bottle"] = "A decorational item which can be placed.",
["vessels:shelf"] = "A vessels shelf provides 16 inventory slots for vessels (like glass bottles).",
@@ -349,16 +352,16 @@ if bonestime2 ~= 0 then
end
local export_usagehelp = {
- ["default:apple"] = "Hold it in your hand, then leftclick to eat it.",
+ ["default:apple"] = eat,
["doors:gate_wood_closed"] = fencegateuse,
["doors:gate_junglewood_closed"] = fencegateuse,
["doors:gate_acacia_wood_closed"] = fencegateuse,
["doors:gate_pine_wood_closed"] = fencegateuse,
["doors:gate_aspen_wood_closed"] = fencegateuse,
- ["flowers:mushroom_brown"] = "Hold it in your hand, then leftclick to eat it.",
- ["flowers:mushroom_red"] = "Hold it in your hand, then leftclick to eat it. But why would you want to do that?",
- ["farming:bread"] = "Hold it in your hand, then leftclick to eat it.",
+ ["flowers:mushroom_brown"] = eat,
+ ["flowers:mushroom_red"] = eat_bad,
+ ["farming:bread"] = eat,
["default:furnace"] = "Rightclick the furnace to view it. Place a furnace fuel in the lower slot and the source material in the upper slot. The furnace will slowly use its fuel to smelt the item. The result will be placed into the 4 slots at the right side.",
["default:chest"] = "Rightclick the chest to open it and to exchange items. You can only mine it when the chest is empty.",
["default:chest_locked"] = "Point it to reveal the name of its owner. Rightclick the chest to open it and to exchange items. This is only possible if you own the chest. You also can only mine the chest when you own it and it is empty.",