Add texts for upcoming “block” blocks
[minetest_doc_minetest_game.git] / helptexts.lua
bloba2bce7c1a88fc63f90c639b523c25c8a1c12fe89
1 local basicflametext
2 if minetest.setting_getbool("disable_fire") == true then
3 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."
4 else
5 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."
7 end
9 local flowertext = "Flowers are home in grasslands and forests and are important for the production of dyes."
10 local ladderdesc = "A piece of ladder which allows you to move vertically."
11 local ladderuse = "Hold the jump key to climb up and the sneak or use key (depends on configuration) to climb down."
12 local fencedesc = "A fence post. When multiple of these are placed to next to each other, they will automatically build a nice fence structure. You can easily jump over a low fence."
13 local fencegatedesc = "Fence gates connect neatly to other fence pieces and can be opened or closed. They can be easily jumped over."
14 local fencegateuse = "Rightclick the gate to open or close it."
15 local walldesc = "A piece of wall. When multiple of these are placed to next to each other, they will automatically build a nice wall structure. You can easily jump over a low wall."
16 local slabdesc = "Slabs are half as high as their full block counterparts. Slabs can be easily climbed without needing to jump. They are useful to create long staircases and many other structures. When a slab is placed on another slab of the same type, a new full block is created."
17 local stairdesc = "Stairs are useful to climb up without needing to jump."
20 local leavesdesc = "Leaves and needles are solid blocks usually found at trees, but they can be placed anywhere just like every other block. When grown naturally, these blocks may decay when no trunk is nearby. Leaf decay is prevented if any block of the group “Tree Trunks” is nearby or the block is completely surrounded by blocks which are neither air or a liquid. Blocks which have been placed by a player will never decay."
21 local signdesc = "A sign is placed at walls. You can write something want on it."
22 local signuse = "Rightclick the sign to edit the text."
24 local beddesc = "Beds allow you to sleep at night and waste some time. Survival in this world does not demand sleep, but sleeping might have some other uses. "
25 local beduse = "Rightclick on the bed to try to sleep in it. This only works at night. Rightclick the bed again to get up. "
26 if minetest.setting_getbool("enable_bed_respawn") == false then
27 beddesc = beddesc .. "In local folklore, legends are told of other worlds where setting the start point for your next would be possible. But this world is not one of them. "
28 else
29 beddesc = beddesc .. "By sleeping in a bed, you set the starting point for your next life. "
30 end
31 if minetest.setting_getbool("enable_bed_night_skip") == false then
32 beddesc = beddesc .. "In this strange world, the time will not pass faster for you when you sleep."
33 else
34 beddesc = beddesc .. "Going into bed seems to make time pass faster: The night will be skipped when you go sleep and you are the only human being in this world. If you are not alone, the night will be skipped as soon the majority of all humans went to bed."
35 end
37 local hoedesc = "Hoes are essential tools for growing crops. They are used to create farming soil in order to plant seeds on it."
38 local hoeuse = "Punch a cultivatable block with a hoe to turn it into soil. Dirt, dirt with grass, dirt with dry grass and desert sand are cultivatable blocks."
39 local axedesc = "An axe is your tool of choice to cut down blocks which are affected by brute force, especially trees and wood. It also serves as a weapon in a pinch, although not as efficient as swords, but still acceptable."
40 local sworddesc = "Swords are great in melee combat, as they are fast, deal high damage and can endure countless battles. Swords are also surprisingly useful in cutting “snappy” plants and blocks, like grass, wheat and leaves, but this will wear them out much faster than by fighting."
41 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."
42 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."
44 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."
46 local wooldesc = "Wool is a soft decorative block which comes in different colors. Walking on wool is completely silent."
48 local deconode = doc.sub.items.temp.deco
49 local buildnode = doc.sub.items.temp.build
50 local craftitemdesc = doc.sub.items.temp.craftitem
51 local eat = doc.sub.items.temp.eat
52 local eat_bad = doc.sub.items.temp.eat_bad
54 local export_longdesc = {
55 [""] = "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.",
56 ["default:apple"] = "Eat it to restore 2 hit points.",
57 ["default:furnace"] = "Cooks several items, using a furnace fuel, into something else.",
58 ["default:chest"] = "Provides 32 slots of inventory space.",
59 ["default:chest_locked"] = "Provides 32 slots of inventory space, is accessible only to the player who placed it. Locked chests are also immune to explosions.",
60 ["default:stone"] = "A very common block in the world of Minetest, almost the entire underground consists of stone. It sometimes contains ores. Stone may be created when water meets lava.",
61 ["default:desert_stone"] = "A bit less common than stone, it is usually only found in deserts.",
62 ["default:stone_with_coal"] = "Some coal contained in stone, it is very common and can be found in stones as large clusters at a height of +64 or lower.",
63 ["default:stone_with_iron"] = "This stone contains pure iron, which is very common. It is found in small clusters at a height between +2 and -15, in clusters of 5 at a height of -16 or lower and in large clusters of up to 27 iron ores at a height of -64 or lower.",
64 ["default:stone_with_copper"] = "This stone contains pure copper. Copper is found in stone in clusters of 4-5 at a height of -16 or lower and is more common at a height of -64 or lower.",
65 ["default:stone_with_mese"] = "This stone contains a small amount of mese, a rare mineral of alien origin. It can be found in clusters of 3-5 at a height of -64 lower. Mese ore is more common at -256 or lower.",
66 ["default:stone_with_gold"] = "This stone contains pure gold, a rare metal. It can be found in clusters of 3 at a height of -64 or lower and in clusters of 5 at a height of -256 or lower.",
67 ["default:stone_with_diamond"] = "Diamonds are very rare and hard and can be found in clusters deep in the underground. They appear inside stone in clusters of 4 at a height of -128 or lower and are more common at a height of -256 or lower.",
68 ["default:stonebrick"] = buildnode,
69 ["default:desert_stonebrick"] = buildnode,
70 ["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.",
71 ["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.",
72 ["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.",
73 ["default:snow"] = "A thin layer of snow. When placed on a dirt block, the dirt block will soon become a dirt with snow block.",
74 ["default:snowblock"] = "A very thick layer snow, filling an entire block. Snow this thick can usually only be found in arctic regions.",
75 ["default:ice"] = "Ice is found in arctic regions in huge glacier formations, often below snow blocks.",
76 ["default:dirt"] = "Dirt is found often directly under the surface and very common in many regions of the world. When exposed to sunlight, the surface of dirt may change, depending on its neighbors.",
77 ["default:sand"] = "Sand is found in large quanties at beaches, but it occacionally appears in small chunks around the world.",
78 ["default:desert_sand"] = "Usually found in huge quantities at the surface of deserts.",
79 ["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.",
80 ["default:clay"] = "Clay is a rather soft material and it sometimes found in sand beaches.",
81 ["default:sandstone"] = "A pretty soft kind of stone.",
82 ["default:sandstonebrick"] = buildnode,
83 ["default:brick"] = buildnode,
84 ["default:stone_block"] = buildnode,
85 ["default:desert_stone_block"] = buildnode,
86 ["default:sandstone_block"] = buildnode,
87 ["default:obsidian_block"] = buildnode,
88 ["default:cloud"] = "A solid block which can not be mined by simple tools. It can be destroyed by explosions, however.",
89 ["default:tree"] = "A trunk of a regular tree. This kind of tree originates from decidiuous forests in mild climates.",
90 ["default:jungletree"] = "A trunk of a jungle tree. Jungle trees can be found in jungles, which are in hot and wet climates.",
91 ["default:pine_tree"] = "A trunk of a pine tree. The natural habitat of pine trees coniferous forests which can be found in cold climates.",
92 ["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.",
93 ["default:acacia_tree"] = "A trunk of an acacia tree. The natural habitat of acacia trees are savannahs, which can be found in hot climates.",
94 ["default:wood"] = buildnode,
95 ["default:junglewood"] = buildnode,
96 ["default:pine_wood"] = buildnode,
97 ["default:acacia_wood"] = buildnode,
98 ["default:aspen_wood"] = buildnode,
99 ["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.",
100 ["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.",
101 ["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.",
102 ["default:acacia_sapling"] = "When placed on natural soil (such as dirt) and exposed to sunlight, this sapling will grow into an acacia tree after some time.",
103 ["default:aspen_sapling"] = "When placed on natural soil (such as dirt) and exposed to sunlight, this sapling will grow into an aspen tree after some time.",
104 ["default:leaves"] = leavesdesc,
105 ["default:jungleleaves"] = leavesdesc,
106 ["default:pine_needles"] = leavesdesc,
107 ["default:acacia_leaves"] = leavesdesc,
108 ["default:aspen_leaves"] = leavesdesc,
109 ["default:cactus"] = "A piece of cactus usually found in deserts. Cacti grow on sand, desert sand and other blocks belonging to the “Sand” group and can reach a height of up to 4 cactus blocks.",
110 ["default:papyrus"] = "A papyrus piece usually found near shallow water. Papyrus grows vertically on dirt and dirt with grass near a water source (or another block belonging to the Water group) and can reach a height of up to 4 blocks. When dug, all papyrus blocks directly connected above it will also be dug.",
111 ["default:bookshelf"] = "A bookshelf provides 16 inventory slots for books.",
112 ["default:glass"] = "A decorational and mostly transparent block which is rather easy to break.",
113 ["default:fence_wood"] = fencedesc,
114 ["default:fence_junglewood"] = fencedesc,
115 ["default:fence_pine_wood"] = fencedesc,
116 ["default:fence_acacia_wood"] = fencedesc,
117 ["default:fence_aspen_wood"] = fencedesc,
118 ["doors:gate_wood_closed"] = fencegatedesc,
119 ["doors:gate_junglewood_closed"] = fencegatedesc,
120 ["doors:gate_acacia_wood_closed"] = fencegatedesc,
121 ["doors:gate_pine_wood_closed"] = fencegatedesc,
122 ["doors:gate_aspen_wood_closed"] = fencegatedesc,
124 ["default:dry_shrub"] = "An unremarkable dead plant which is common in deserts and snowy biomes.",
125 ["default:rail"] = "Railroad tracks. Place these on the ground to build your railway, the blocks will automatically connect to each other and will turn into curves, junctions, crossings and slopes as needed.",
126 ["default:ladder_wood"] = ladderdesc,
127 ["default:ladder_steel"] = ladderdesc,
128 ["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.",
129 ["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.",
130 ["default:lava_source"] = "Lava is found deep underground and is 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 turns into stone instead.",
131 ["default:torch"] = "Provides plenty of light. It can be placed on almost any block facing any direction.",
132 ["default:sign_wall_wood"] = signdesc,
133 ["default:sign_wall_steel"] = signdesc,
134 ["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.",
135 ["default:desert_cobble"] = buildnode,
136 ["default:coal_lump"] = "Coal lumps are your standard furnace fuel, but they are also used to make torches and a few other things.",
137 ["default:mossycobble"] = "A decorational block. It is found in underground dungeons and is the product of cobblestone near water.",
138 ["default:coalblock"] = "A decorational block and compact storage of coal lumps. As a furnace fuel, it is slightly more efficient than 9 coal lumps.",
139 ["default:steelblock"] = deconode,
140 ["default:copperblock"] = deconode,
141 ["default:bronzeblock"] = deconode,
142 ["default:goldblock"] = deconode,
143 ["default:diamondblock"] = "A very hard decorational block.",
144 ["default:obsidian_glass"] = "Obsidian glass is transparent, has a very clean surface and is rather hard to break.",
145 ["default:obsidian"] = "A hard mineral which is created from a lava source when it meets water (any block in the Water group).",
146 ["default:obsidianbrick"] = buildnode,
148 ["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.",
149 ["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.",
150 ["default:book"] = "A book is used to store notes and to make bookshelfs.",
151 ["default:book_written"] = "A book is used to store notes and to make bookshelfs. Books with text contain notes and can be copied.",
152 ["default:grass_1"] = "Grass can be found in large quantities in open plains. It comes in 5 different sizes but doesn't grow. There's a small chance it turns neighbor dirt blocks into dirt with grass, when they're in sunlight.",
153 ["default:junglegrass"] = "This plant is common in jungles and spreads on dirt with grass blocks.",
154 ["default:dry_grass_1"] = "Dry grass is very common in savannahs and comes in 5 different sizes but doesn't grow. There's a small chance it turns neighbor dirt blocks into dirt with dry grass, when they're in sunlight.",
155 ["default:meselamp"] = "A bright source of light made out of mese. It shines slightly brighter than a torch.",
156 ["default:mese"] = "Mese is a rare mineral of alien origin; mese blocks are a highly concentrated form of mese. Mese blocks very rarely occour natually very deep in stone as clusters of up to 3 mese blocks at a height of -1024 or lower.",
157 ["bucket:bucket_empty"] = "A bucket can be used to collect and release liquids.",
158 ["bucket:bucket_water"] = "A bucket can be used to collect and release liquids. This one is filled with water.",
159 ["bucket:bucket_river_water"] = "A bucket can be used to collect and release liquids. This one is filled with river water.",
160 ["bucket:bucket_lava"] = "A bucket can be used to collect and release liquids. This one is filled with hot lava, safely contained inside. Use with caution.",
162 ["bones:bones"] = "These are the remains of a deceased player. It may contain the player's former inventory which can be looted. Fresh bones are bones of a player who has deceased recently and can only be looted by the same player. Old bones can be looted by everyone. Once collected, bones can be placed like any other block.",
163 ["doors:door_wood_a"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.",
164 ["doors:door_glass_a"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.",
165 ["doors:door_obsidian_glass_a"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.",
166 ["doors:door_steel_a"] = "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.",
167 ["farming:straw"] = deconode,
168 ["farming:bread"] = "A nutritious food. Eat it to restore 5 hit points.",
169 ["farming:seed_wheat"] = "Grows into a wheat plant.",
170 ["farming:seed_cotton"] = "Grows into a cotton plant.",
171 ["farming:soil"] = "Dry soil for farming, a neccessary surface to plant crops. It is created when a hoe is used on dirt or a similar block. Dry soil will become wet soil if a water source is near. Soil might turn back into dirt if nothing is planted on it and it is not made wet for a while.",
172 ["farming:soil_wet"] = "Wet soil for farming, this is where you can plant and grow crops on. Wet soil is created when water is near soil. Wet soil will become (dry) soil again if there is no water nearby.",
173 ["farming:desert_sand_soil"] = "Dry desert sand soil for farming, a neccessary surface to plant crops. It is created when a hoe is used on desert sand. Desert sand soil will become wet desert sand soil if a water source is near. Desert sand soil might turn back into desert sand if nothing is planted on it and it is not made wet for a while.",
174 ["farming:desert_sand_soil_wet"] = "Wet desert sand soil for farming, this is where you can plant and grow crops on. Wet desert sand soil is created when water is near (dry) desert sand soil. Wet desert sand soil will become (dry) desert sand soil again if there is no water nearby.",
175 ["farming:wheat_8"] = "The wheat plant is a plant grown from wheat seed. It grows on wet soil in direct sunlight. It will grow through 8 stages and stops growing at its final stage. Digging it will yield up to 2 wheat seeds and 2 wheat items. The drop probabilities are much lower if the plant is dug at an early stage with the risk to even get nothing at all; only at its final stage you are guaranteed to get at least 1 wheat seed and 1 wheat item.",
176 ["farming:cotton_8"] = "The cotton plant is a plant grown from wheat seed. It grows on wet soil or wet desert sand soil in direct sunlight. It will grow through 8 stages and stops growing at its final stage. Digging it will yield up to 2 cotton seeds and 2 cottons. The drop probabilities are much lower if the plant is dug at an early stage with the risk to even get nothing at all; only at its final stage you are guaranteed to get at least 1 cotton seed and 1 cotton.",
177 ["flowers:mushroom_brown"] = "An edible mushroom. Eat it to restore 1 hit point. Brown mushrooms like to grow and spread on natural soil (like dirt) and sometimes on fallen tree trunks. They need darkness to spread and survive and die off in direct sunlight.",
178 ["flowers:mushroom_red"] = "A poisonous mushroom, don't eat it. If you eat it, you lose 5 hit points. Red mushrooms like to grow and spread on natural dirt (like dirt) and sometimes on fallen tree trunks. They need darkness to spread and survive and die off in direct sunlight.",
179 ["flowers:geranium"] = flowertext,
180 ["flowers:dandelion_yellow"] = flowertext,
181 ["flowers:dandelion_white"] = flowertext,
182 ["flowers:tulip"] = flowertext,
183 ["flowers:rose"] = flowertext,
184 ["flowers:viola"] = flowertext,
185 ["flowers:waterlily"] = "Waterlilies grow and spread on shallow water. They can't survive on anything else but water.",
187 ["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.",
188 ["tnt:gunpowder"] = "Gunpowder is used to craft TNT and to create gunpowder trails which can be ignited.",
190 ["fire:basic_flame"] = basicflametext,
191 ["fire:flint_and_steel"] = "Flint and steel is a tool to start fires.",
192 ["fire:permanent_flame"] = "The permanent flame is a damaging and destructive block. It will create basic flames next to it if flammable blocks are nearby. Other than the basic flame, the permanent flame will not go away by time alone. Permanent flames will be extinguished by water and similar blocks if it is next to it. A single permanent flame block can be destroyed safely by punching it, but it is hurtful if you stand directly in it.",
195 ["doors:trapdoor"] = "A trapdoor covers a hole in the floor and can be opened manually to access the area below it. An opened trapdoor can be climbed like a ladder.",
196 ["doors:trapdoor_steel"] = "A steel trapdoor covers a hole in the floor and can be opened manually only by the placer to access the area below it. An opened steel trapdoor can be climbed like a ladder. Steel trapdoors are immune to explosions.",
198 ["screwdriver:screwdriver"] = "A screwdriver can be used to rotate blocks. It can be used 200 times.",
200 ["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.",
201 ["vessels:glass_bottle"] = "A decorational item which can be placed.",
202 ["vessels:drinking_glass"] = "A decorational item which can be placed.",
203 ["vessels:steel_bottle"] = "A decorational item which can be placed.",
204 ["vessels:shelf"] = "A vessels shelf provides 16 inventory slots for vessels (like glass bottles).",
205 ["xpanes:pane"] = "Glass panes are thin layers of glass which neatly connect to their neighbors as you build them.",
206 ["xpanes:bar"] = "Iron bars neatly connect to their neighbors as you build them.",
207 ["beds:bed_bottom"] = beddesc,
208 ["beds:fancy_bed_bottom"] = beddesc,
209 ["walls:cobble"] = walldesc,
210 ["walls:desertcobble"] = walldesc,
211 ["walls:mossycobble"] = walldesc,
212 ["stairs:slab_wood"] = slabdesc,
213 ["stairs:slab_junglewood"] = slabdesc,
214 ["stairs:slab_pine_wood"] = slabdesc,
215 ["stairs:slab_acacia_wood"] = slabdesc,
216 ["stairs:slab_aspen_wood"] = slabdesc,
217 ["stairs:slab_stone"] = slabdesc,
218 ["stairs:slab_cobble"] = slabdesc,
219 ["stairs:slab_mossycobble"] = slabdesc,
220 ["stairs:slab_desert_cobble"] = slabdesc,
221 ["stairs:slab_stonebrick"] = slabdesc,
222 ["stairs:slab_sandstone"] = slabdesc,
223 ["stairs:slab_sandstonebrick"] = slabdesc,
224 ["stairs:slab_obsidian"] = slabdesc,
225 ["stairs:slab_obsidianbrick"] = slabdesc,
226 ["stairs:slab_brick"] = slabdesc,
227 ["stairs:slab_straw"] = slabdesc,
228 ["stairs:slab_steelblock"] = slabdesc,
229 ["stairs:slab_copperblock"] = slabdesc,
230 ["stairs:slab_bronzeblock"] = slabdesc,
231 ["stairs:slab_goldblock"] = slabdesc,
232 ["stairs:slab_stone_block"] = slabdesc,
233 ["stairs:slab_desert_stone_block"] = slabdesc,
234 ["stairs:slab_sandstone_block"] = slabdesc,
235 ["stairs:slab_obsidian_block"] = slabdesc,
236 ["stairs:stair_wood"] = stairdesc,
237 ["stairs:stair_junglewood"] = stairdesc,
238 ["stairs:stair_pine_wood"] = stairdesc,
239 ["stairs:stair_acacia_wood"] = stairdesc,
240 ["stairs:stair_aspen_wood"] = stairdesc,
241 ["stairs:stair_stone"] = stairdesc,
242 ["stairs:stair_cobble"] = stairdesc,
243 ["stairs:stair_mossycobble"] = stairdesc,
244 ["stairs:stair_desert_cobble"] = slabdesc,
245 ["stairs:stair_stonebrick"] = stairdesc,
246 ["stairs:stair_sandstone"] = stairdesc,
247 ["stairs:stair_sandstonebrick"] = stairdesc,
248 ["stairs:stair_obsidian"] = stairdesc,
249 ["stairs:stair_obsidianbrick"] = stairdesc,
250 ["stairs:stair_brick"] = stairdesc,
251 ["stairs:stair_straw"] = stairdesc,
252 ["stairs:stair_steelblock"] = stairdesc,
253 ["stairs:stair_copperblock"] = stairdesc,
254 ["stairs:stair_bronzeblock"] = stairdesc,
255 ["stairs:stair_goldblock"] = stairdesc,
256 ["stairs:stair_stone_block"] = stairdesc,
257 ["stairs:stair_desert_stone_block"] = stairdesc,
258 ["stairs:stair_sandstone_block"] = stairdesc,
259 ["stairs:stair_obsidian_block"] = stairdesc,
260 ["farming:hoe_wood"] = hoedesc,
261 ["farming:hoe_stone"] = hoedesc,
262 ["farming:hoe_steel"] = hoedesc,
263 ["farming:hoe_bronze"] = hoedesc,
264 ["farming:hoe_mese"] = hoedesc,
265 ["farming:hoe_diamond"] = hoedesc,
266 ["default:pick_wood"] = pickaxedesc,
267 ["default:pick_stone"] = pickaxedesc,
268 ["default:pick_steel"] = pickaxedesc,
269 ["default:pick_bronze"] = pickaxedesc,
270 ["default:pick_mese"] = pickaxedesc,
271 ["default:pick_diamond"] = pickaxedesc,
272 ["default:shovel_wood"] = shoveldesc,
273 ["default:shovel_stone"] = shoveldesc,
274 ["default:shovel_steel"] = shoveldesc,
275 ["default:shovel_bronze"] = shoveldesc,
276 ["default:shovel_mese"] = shoveldesc,
277 ["default:shovel_diamond"] = shoveldesc,
278 ["default:axe_wood"] = axedesc,
279 ["default:axe_stone"] = axedesc,
280 ["default:axe_steel"] = axedesc,
281 ["default:axe_bronze"] = axedesc,
282 ["default:axe_mese"] = axedesc,
283 ["default:axe_diamond"] = axedesc,
284 ["default:sword_wood"] = sworddesc,
285 ["default:sword_stone"] = sworddesc,
286 ["default:sword_steel"] = sworddesc,
287 ["default:sword_bronze"] = sworddesc,
288 ["default:sword_mese"] = sworddesc,
289 ["default:sword_diamond"] = sworddesc,
290 ["dye:black"] = dyedesc,
291 ["dye:white"] = dyedesc,
292 ["dye:blue"] = dyedesc,
293 ["dye:green"] = dyedesc,
294 ["dye:dark_green"] = dyedesc,
295 ["dye:grey"] = dyedesc,
296 ["dye:dark_grey"] = dyedesc,
297 ["dye:yellow"] = dyedesc,
298 ["dye:orange"] = dyedesc,
299 ["dye:brown"] = dyedesc,
300 ["dye:violet"] = dyedesc,
301 ["dye:cyan"] = dyedesc,
302 ["dye:red"] = dyedesc,
303 ["dye:magenta"] = dyedesc,
304 ["dye:pink"] = dyedesc,
305 ["wool:black"] = deconode,
306 ["wool:white"] = deconode,
307 ["wool:blue"] = deconode,
308 ["wool:green"] = deconode,
309 ["wool:dark_green"] = deconode,
310 ["wool:grey"] = deconode,
311 ["wool:dark_grey"] = deconode,
312 ["wool:yellow"] = deconode,
313 ["wool:orange"] = deconode,
314 ["wool:brown"] = deconode,
315 ["wool:violet"] = deconode,
316 ["wool:cyan"] = deconode,
317 ["wool:red"] = deconode,
318 ["wool:magenta"] = deconode,
319 ["wool:pink"] = deconode,
321 ["default:bronze_ingot"] = craftitemdesc,
322 ["default:gold_ingot"] = craftitemdesc,
323 ["default:steel_ingot"] = "Smolten iron. It is the element of numerous crafting recipes.",
324 ["default:copper_ingot"] = craftitemdesc,
325 ["default:clay_brick"] = craftitemdesc,
326 ["default:clay_lump"] = "A clay lump can be burnt in the furnace to make a clay brick.",
327 ["default:paper"] = craftitemdesc,
328 ["vessels:glass_fragments"] = craftitemdesc,
329 ["default:diamond"] = craftitemdesc,
330 ["default:flint"] = craftitemdesc,
331 ["default:gold_lump"] = "A gold lump can be smolten in a furnace to make a gold ingot.",
332 ["default:copper_lump"] = "A copper lump can be smolten in a furnace to make a copper ingot.",
333 ["default:iron_lump"] = "An iron lump can be smolten in a furnace to make a steel ingot.",
334 ["default:obsidian_shard"] = craftitemdesc,
335 ["default:mese_crystal"] = craftitemdesc,
336 ["default:mese_crystal_fragment"] = craftitemdesc,
337 ["default:stick"] = "Wooden sticks are used as a vital element in countless crafting recipes.",
338 ["farming:cotton"] = craftitemdesc,
339 ["farming:wheat"] = craftitemdesc,
340 ["farming:flour"] = craftitemdesc,
343 local bonestime = tonumber(minetest.setting_get("share_bones_time"))
344 local bonestime2 = tonumber(minetest.setting_get("share_bones_time_early"))
345 local bonesstring, bonesstring2, bonestime_s, bonestime2_s
346 if bonestime == nil then bonestime = 1200 end
347 if bonestime2 == nil then bonestime2 = math.floor(bonestime / 4) end
349 if bonestime == 0 then
350 bonesstring = "In this world this can be done without any delay as the bones instantly become old. "
351 elseif bonestime % 60 == 0 then
352 bonestime_s = string.format("%d min", bonestime/60)
353 else
354 bonestime_s = string.format("%d min %d s", bonestime/60, bonestime%60)
356 if bonestime2 == 0 then
357 bonesstring2 = ""
358 elseif bonestime2 % 60 == 0 then
359 bonestime2_s = string.format("%d min", bonestime2/60)
360 else
361 bonestime2_s = string.format("%d min %d s", bonestime2/60, bonestime2 % 60)
364 if bonestime ~= 0 then
365 bonesstring = "If these are not your bones, you have to wait "..bonestime_s.." before you can do this. "
367 if bonestime2 ~= 0 then
368 bonesstring2 = "If the player died in a protected area of someone else, the bones can be dug after "..bonestime2_s..". "
371 local export_usagehelp = {
372 ["default:apple"] = eat,
373 ["doors:gate_wood_closed"] = fencegateuse,
374 ["doors:gate_junglewood_closed"] = fencegateuse,
375 ["doors:gate_acacia_wood_closed"] = fencegateuse,
376 ["doors:gate_pine_wood_closed"] = fencegateuse,
377 ["doors:gate_aspen_wood_closed"] = fencegateuse,
379 ["flowers:mushroom_brown"] = eat,
380 ["flowers:mushroom_red"] = eat_bad,
381 ["farming:bread"] = eat,
382 ["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.",
383 ["default:chest"] = "Rightclick the chest to open it and to exchange items. You can only mine it when the chest is empty.",
384 ["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.",
385 ["default:book"] = "Hold the book in hand and leftclick to write some notes. Doing so will turn the book into a “Book With Text”",
386 ["default:book_written"] = "Hold the book with text in hand and leftclick to update the notes. The text in a book with text can be transferred to a book (without text) by a special crafting recipe: Just place the book with text along with a book into the crafting grid.",
387 ["default:sign_wall_wood"] = signuse,
388 ["default:sign_wall_steel"] = signuse,
389 ["default:bookshelf"] = "Rightclick to open the bookshelf. You can only store books and other items belonging to the Books group into the bookshelf. To collect the bookshelf, you must make sure it does not contain anything.",
390 ["vessels:shelf"] = "Rightclick to open the vessels shelf. You can only store items which belong to the Vessels group (glass bottle, driking glass, heavy steel bottle). To collect the vessels shelf, it must be empty.",
391 ["bucket:bucket_empty"] = "Punch a liquid source to collect the liquid. With the filled bucket, you can rightclick somewhere to empty the bucket which will create a liquid source at the position you've clicked at.",
392 ["bucket:bucket_water"] = "Rightclick on any block to empty the bucket and put a water source on this spot.",
393 ["bucket:bucket_river_water"] = "Rightclick on any block to empty the bucket and put a river water source on this spot.",
394 ["bucket:bucket_lava"] = "Choose a place where you want to empty the bucket, then get in a safe spot somewhere above it. Be prepared to run away when something goes wrong as the lava will soon start to flow after placing. To empty the bucket (which places a lava source), rightclick on your chosen place.",
396 ["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 you can carry. "..bonesstring..bonesstring2.."It is only possible to take from this inventory, nothing can be stored into it.",
398 ["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.",
399 ["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.",
401 ["doors:trapdoor"] = "Rightclick the trapdoor to open or close it. When the trapdoor is open, use the sneak or use key (depends on your configuration) to climb down, and the jump key to climb up.",
402 ["doors:trapdoor_steel"] = "Point the steel trapdoor to see who owns it. Rightclick the trapdoor to open or close it (if you own it). When the trapdoor is open, use the sneak or use key (depends on your configuration) to climb down, and the jump key to climb up.",
404 ["doors:door_wood_a"] = "Rightclick the door to open or close it.",
405 ["doors:door_steel_a"] = "Point the door to see who owns it. Rightclick the door to open or close it (if you own it).",
406 ["doors:door_glass_a"] = "Rightclick the door to open or close it.",
407 ["doors:door_obsidian_glass_a"] = "Rightclick the door to open or close it.",
409 ["screwdriver:screwdriver"] = "Leftclick on a block to rotate it around its current axis. Rightclick on a block to rotate its axis. Note that not all blocks can be rotated.",
411 ["boats:boat"] = "Place the boat on an even water surface to set it up. Rightclick the boat to enter it. When you are on the boat, use the forward key to speed up, the backward key to slow down and the left and right keys to turn the boat. Rightclick on the boat again to leave it. Leftclick the placed boat to collect it.",
412 ["beds:bed_bottom"] = beduse,
413 ["beds:fancy_bed_bottom"] = beduse,
414 ["farming:seed_wheat"] = "Place the wheat seed on soil or wet soil. Use a hoe to create soil. The plant will only grow in sunlight and as long as the soil is wet. Watch the wheat plant grow and mine it at its full size.",
415 ["farming:seed_cotton"] = "Place the cotton seed on soil, wet soil, desert sand soil or wet desert sand soil. Use a hoe to create soil. The plant will only grow in sunlight and as long as the soil is wet. Watch the cotton plant grow and mine it at its full size.",
416 ["fire:flint_and_steel"] = "Punch with it on a appropriate surface to create a basic flame. A basic flame can only be created inside air. Fires can't be started on fire-extinguishing blocks (such as water). Flint and steel can be used 64 times.",
418 ["flowers:waterlily"] = "Waterlilies can only be placed water sources and equivalent blocks.",
419 ["default:ladder_wood"] = ladderuse,
420 ["default:ladder_steel"] = ladderuse,
421 ["farming:hoe_wood"] = hoeuse,
422 ["farming:hoe_stone"] = hoeuse,
423 ["farming:hoe_steel"] = hoeuse,
424 ["farming:hoe_bronze"] = hoeuse,
425 ["farming:hoe_mese"] = hoeuse,
426 ["farming:hoe_diamond"] = hoeuse,
429 -- TODO: Actually make use of these texts
430 local export_generation = {
431 ["default:nyancat"] = "These blocks are extremely rare. It has been said that it would take an adventurer several years to even find one of these Nyan Cats. Nyan Cats can appear anywhere, it is completely random. However, Nyan Cats are always followed by a trail of Nyan Cat Rainbows.",
432 ["default:nyancat_rainbow"] = "These blocks are extremely rare. They only appear behind a Nyan Cat, which itself can appear randomly anywhere.",
435 doc.sub.items.set_items_longdesc(export_longdesc)
436 doc.sub.items.set_items_usagehelp(export_usagehelp)