Improve helptexts, remove redundancy
[minetest_doc_minetest_game.git] / helptexts.lua
blob98840ffad9646eef43b87efe9c03256b89d4092f
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 will decay if there is no block of the group “Tree Trunks” near them. After they have been placed by a player, they won't 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 craftitemdesc = "This item is primarily used for crafting other items."
45 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."
47 local export_longdesc = {
48 [""] = "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.",
49 ["default:apple"] = "Eat it to restore 2 hit points.",
50 ["default:furnace"] = "Cooks several items, using a furnace fuel, into something else.",
51 ["default:chest"] = "Provides 32 slots of inventory space.",
52 ["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.",
53 ["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.",
54 ["default:desert_stone"] = "A bit less common than stone, it is usually only found in deserts.",
55 ["default:stone_with_coal"] = "Some coal contained in a stone, it is very common, and is even more common in somewhat deeper regions.",
56 ["default:stone_with_iron"] = "It's some iron contained in stone. Iron is found underground in clusters at a depth of 16 below sea level or lower.",
57 ["default:stone_with_copper"] = "This stone contains copper. Copper is found underground in clusters at a depth of 16 below sea level or lower.",
58 ["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.",
59 ["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.",
60 ["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.",
61 ["default:stonebrick"] = "A decorational block.",
62 ["default:desert_stonebrick"] = "A decorational block.",
63 ["default:dirt_with_grass"] = "Very common on the surface, found in grasslands, forests and jungles. It this block is in darkness, it will turn into naked dirt eventually.",
64 ["default:dirt_with_dry_grass"] = "Found at the surface of savannahs. If this block is in darkness, it will turn into naked dirt eventually.",
65 ["default:dirt_with_snow"] = "Dirt with a snow cover, found in cold regions. If this block is in darkness, it will turn into naked dirt eventually.",
66 ["default:snow"] = "A thin layer of snow. When placed on a dirt block, the dirt block will soon become a dirt with snow block.",
67 ["default:dirt"] = "If exposed to sunlight, it will turn into dirt with grass or dirt with dry grass eventually, depending on its near environment.",
68 ["default:sand"] = "Sand is found in large quanties at beaches, but it occacionally appears in small chunks around the world.",
69 ["default:desert_sand"] = "Usually found in huge quantities at the surface of deserts.",
70 ["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.",
71 ["default:clay"] = "Clay is pretty soft but also a bit rare, it can sometimes be found in beaches next to sand.",
72 ["default:sandstone"] = "A pretty soft kind of stone.",
73 ["default:sandstonebrick"] = "A decorational block.",
74 ["default:brick"] = "A decorational block.",
75 ["default:cloud"] = "A solid block which can not be mined by simple tools. It can be destroyed by explosions, however.",
76 ["default:tree"] = "A trunk of a regular tree. This kind of tree originates from decidiuous forests in mild climates.",
77 ["default:jungletree"] = "A trunk of a jungle tree. Jungle trees can be found in jungles, which are in hot and wet climates.",
78 ["default:pine_tree"] = "A trunk of a pine tree. The natural habitat of pine trees coniferous forests which can be found in cold climates.",
79 ["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.",
80 ["default:acacia_tree"] = "A trunk of an acacia tree. The natural habitat of acacia trees are savannahs, which can be found in hot climates.",
81 ["default:wood"] = "A decorational and flammable block.",
82 ["default:junglewood"] = "A decorational and flammable block.",
83 ["default:pinewood"] = "A decorational and flammable block.",
84 ["default:acaciawood"] = "A decorational and flammable block.",
85 ["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.",
86 ["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.",
87 ["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.",
88 ["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.",
89 ["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.",
90 ["default:leaves"] = leavesdesc,
91 ["default:jungleleaves"] = leavesdesc,
92 ["default:pine_needles"] = leavesdesc,
93 ["default:acacia_leaves"] = leavesdesc,
94 ["default:aspen_leaves"] = leavesdesc,
95 ["default:cactus"] = "A piece of cactus usually found in deserts. Cactus placed on desert sand will slowly grow up to 4 cactus blocks high.",
96 ["default:papyrus"] = "A papyrus piece usually found near water. Papyrus will grow up to 4 blocks high when it is near a water source.",
97 ["default:bookshelf"] = "A bookshelf provides 16 inventory slots for books.",
98 ["default:glass"] = "A decorational and mostly transparent block which is rather easy to break.",
99 ["default:fence_wood"] = fencedesc,
100 ["default:fence_junglewood"] = fencedesc,
101 ["default:fence_pine_wood"] = fencedesc,
102 ["default:fence_acacia_wood"] = fencedesc,
103 ["default:fence_aspen_wood"] = fencedesc,
104 ["doors:gate_wood_closed"] = fencegatedesc,
105 ["doors:gate_junglewood_closed"] = fencegatedesc,
106 ["doors:gate_acacia_wood_closed"] = fencegatedesc,
107 ["doors:gate_pine_wood_closed"] = fencegatedesc,
108 ["doors:gate_aspen_wood_closed"] = fencegatedesc,
110 ["default:dry_shrub"] = "An unremarkable dead plant which is common in deserts and snowy biomes.",
111 ["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.",
112 ["default:ladder_wood"] = ladderdesc,
113 ["default:ladder_steel"] = ladderdesc,
114 ["default:water_source"] = "Water is abundant in ocans 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. When a water source meets a lava source, obsidian is created. When water meets lava, but one or both of them are not a source, a stone is created instead.",
115 ["default:river_water_source"] = "You can swim easily in river water, but you need to catch your breath from time to time. River water is similar to (normal) water, it has a reduced flowing range and appears in rivers only. When a river water source meets a lava source, obsidian is created. When river water meets lava, but one or both of them are not a source, a stone is created instead.",
116 ["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 a water or river water source, obsidian is created. When lava meets water or river water, but one or both of them are not a source, a stone is created instead.",
117 ["default:torch"] = "Provides plenty of light. It can be placed on almost any block facing any direction.",
118 ["default:sign_wall_wood"] = signdesc,
119 ["default:sign_wall_steel"] = signdesc,
120 ["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.",
121 ["default:desert_cobble"] = "A decorational block.",
122 ["default:coal_lump"] = "Coal lumps are your standard furnace fuel, but they are also used to make torches and a few other things.",
123 ["default:mossycobble"] = "A decorational block. It is found in underground dungeons and is the product of cobblestone near water.",
124 ["default:coalblock"] = "A decorational block and compact storage of coal lumps. As a furnace fuel, it is slightly more efficient than 9 coal lumps.",
125 ["default:steelblock"] = "A decorational block.",
126 ["default:copperblock"] = "A decorational block.",
127 ["default:bronzeblock"] = "A decorational block.",
128 ["default:goldblock"] = "A decorational block.",
129 ["default:diamondblock"] = "A very hard decorational block.",
130 ["default:obsidian_glass"] = "Obsidian glass is transparent, has a very clean surface and is rather hard to break.",
131 ["default:obsidian"] = "A hard mineral which is generated when a lava source meets a water source.",
133 ["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.",
134 ["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.",
135 ["default:book"] = "A book is used to store notes and to make bookshelfs.",
136 ["default:grass_1"] = "Grass can be found in large quantities in open plains. It comes in 5 different sizes but doesn't grow.",
137 ["default:junglegrass"] = "This plant is common in jungles and spreads on dirt with grass blocks.",
138 ["default:dry_grass_1"] = "Dry grass is very common in savannahs and comes in 5 different sizes but doesn't grow.",
139 ["default:meselamp"] = "A bright source of light made out of mese. It shines slightly brighter than a torch.",
140 ["default:mese"] = "A very rare mineral of alien origin. To find mese blocks in ther natural form, one has to dig very deep at a depth of at least 1024 below sea level.",
141 ["bucket:bucket_empty"] = "A bucket, liquids can be collected with it.",
142 ["bucket:bucket_water"] = "A bucket which is filled with water.",
143 ["bucket:bucket_river_water"] = "A bucket which is filled with river water.",
144 ["bucket:bucket_lava"] = "A bucket which is filled with dangerous lava.",
146 ["bones:bones"] = "These are the remains of a deceased player. It contains 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. The bones are destroyed after they have been completely looted.",
147 ["doors:door_wood"] = "A door covers a vertical area of two blocks to block the way. It can be opened and closed by any player.",
148 ["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.",
149 ["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.",
150 ["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.",
151 ["farming:bread"] = "A nutritious food. Eat it to restore 5 hit points.",
152 ["farming:seed_wheat"] = "Grows into a wheat plant.",
153 ["farming:seed_cotton"] = "Grows into a cotton plant.",
154 ["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.",
155 ["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.",
156 ["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.",
157 ["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.",
158 ["farming:wheat_8"] = "The wheat plant is a plant grown from wheat seed. It only 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.",
159 ["farming:cotton_8"] = "The cotton plant is a plant grown from wheat seed. It only 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 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.",
160 ["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.",
161 ["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.",
162 ["flowers:geranium"] = flowertext,
163 ["flowers:dandelion_yellow"] = flowertext,
164 ["flowers:dandelion_white"] = flowertext,
165 ["flowers:tulip"] = flowertext,
166 ["flowers:rose"] = flowertext,
167 ["flowers:viola"] = flowertext,
168 ["flowers:waterlily"] = "Waterlilies grow and spread on shallow water. They can't survive on anything else but water.",
170 ["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 rather than being destroyed. TNT can be ignited by explosions and fire.",
171 ["tnt:gunpowder"] = "Gunpowder is used to craft TNT and to create gunpowder trails which can be ignited.",
173 ["fire:basic_flame"] = basicflametext,
174 ["fire:flint_and_steel"] = "Flint and steel is a tool to start fires.",
175 ["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.",
178 ["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.",
179 ["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.",
181 ["screwdriver:screwdriver"] = "A screwdriver can be used to rotate blocks. It can be used 200 times.",
183 ["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.",
184 ["vessels:glass_bottle"] = "A decorational item. Can be placed like a block.",
185 ["vessels:drinking_glass"] = "A decorational item which can be placed.",
186 ["vessels:steel_bottle"] = "A decorational item which can be placed.",
187 ["vessels:shelf"] = "A vessels shelf provides 16 inventory slots for vessels (like glass bottles).",
188 ["xpanes:pane"] = "Glass panes are thin layers of glass which neatly connect to their neighbors as you build them.",
189 ["xpanes:bar"] = "Iron bars neatly connect to their neighbors as you build them.",
190 ["beds:bed_bottom"] = beddesc,
191 ["beds:fancy_bed_bottom"] = beddesc,
192 ["walls:cobble"] = walldesc,
193 ["walls:desertcobble"] = walldesc,
194 ["walls:mossycobble"] = walldesc,
195 ["stairs:slab_wood"] = slabdesc,
196 ["stairs:slab_junglewood"] = slabdesc,
197 ["stairs:slab_pine_wood"] = slabdesc,
198 ["stairs:slab_acacia_wood"] = slabdesc,
199 ["stairs:slab_aspen_wood"] = slabdesc,
200 ["stairs:slab_stone"] = slabdesc,
201 ["stairs:slab_cobble"] = slabdesc,
202 ["stairs:slab_stonebrick"] = slabdesc,
203 ["stairs:slab_sandstone"] = slabdesc,
204 ["stairs:slab_sandstonebrick"] = slabdesc,
205 ["stairs:slab_obsidian"] = slabdesc,
206 ["stairs:slab_obsidianbrick"] = slabdesc,
207 ["stairs:slab_brick"] = slabdesc,
208 ["stairs:slab_straw"] = slabdesc,
209 ["stairs:slab_steelblock"] = slabdesc,
210 ["stairs:slab_copperblock"] = slabdesc,
211 ["stairs:slab_bronzeblock"] = slabdesc,
212 ["stairs:slab_goldblock"] = slabdesc,
213 ["stairs:stair_wood"] = stairdesc,
214 ["stairs:stair_junglewood"] = stairdesc,
215 ["stairs:stair_pine_wood"] = stairdesc,
216 ["stairs:stair_acacia_wood"] = stairdesc,
217 ["stairs:stair_aspen_wood"] = stairdesc,
218 ["stairs:stair_stone"] = stairdesc,
219 ["stairs:stair_cobble"] = stairdesc,
220 ["stairs:stair_stonebrick"] = stairdesc,
221 ["stairs:stair_sandstone"] = stairdesc,
222 ["stairs:stair_sandstonebrick"] = stairdesc,
223 ["stairs:stair_obsidian"] = stairdesc,
224 ["stairs:stair_obsidianbrick"] = stairdesc,
225 ["stairs:stair_brick"] = stairdesc,
226 ["stairs:stair_straw"] = stairdesc,
227 ["stairs:stair_steelblock"] = stairdesc,
228 ["stairs:stair_copperblock"] = stairdesc,
229 ["stairs:stair_bronzeblock"] = stairdesc,
230 ["stairs:stair_goldblock"] = stairdesc,
231 ["farming:hoe_wood"] = hoedesc,
232 ["farming:hoe_stone"] = hoedesc,
233 ["farming:hoe_steel"] = hoedesc,
234 ["farming:hoe_bronze"] = hoedesc,
235 ["farming:hoe_mese"] = hoedesc,
236 ["farming:hoe_diamond"] = hoedesc,
237 ["default:pick_wood"] = pickaxedesc,
238 ["default:pick_stone"] = pickaxedesc,
239 ["default:pick_steel"] = pickaxedesc,
240 ["default:pick_bronze"] = pickaxedesc,
241 ["default:pick_mese"] = pickaxedesc,
242 ["default:pick_diamond"] = pickaxedesc,
243 ["default:shovel_wood"] = shoveldesc,
244 ["default:shovel_stone"] = shoveldesc,
245 ["default:shovel_steel"] = shoveldesc,
246 ["default:shovel_bronze"] = shoveldesc,
247 ["default:shovel_mese"] = shoveldesc,
248 ["default:shovel_diamond"] = shoveldesc,
249 ["default:axe_wood"] = axedesc,
250 ["default:axe_stone"] = axedesc,
251 ["default:axe_steel"] = axedesc,
252 ["default:axe_bronze"] = axedesc,
253 ["default:axe_mese"] = axedesc,
254 ["default:axe_diamond"] = axedesc,
255 ["default:sword_wood"] = sworddesc,
256 ["default:sword_stone"] = sworddesc,
257 ["default:sword_steel"] = sworddesc,
258 ["default:sword_bronze"] = sworddesc,
259 ["default:sword_mese"] = sworddesc,
260 ["default:sword_diamond"] = sworddesc,
261 ["dye:black"] = dyedesc,
262 ["dye:white"] = dyedesc,
263 ["dye:blue"] = dyedesc,
264 ["dye:green"] = dyedesc,
265 ["dye:dark_green"] = dyedesc,
266 ["dye:grey"] = dyedesc,
267 ["dye:dark_grey"] = dyedesc,
268 ["dye:yellow"] = dyedesc,
269 ["dye:orange"] = dyedesc,
270 ["dye:brown"] = dyedesc,
271 ["dye:violet"] = dyedesc,
272 ["dye:cyan"] = dyedesc,
273 ["dye:red"] = dyedesc,
274 ["dye:magenta"] = dyedesc,
275 ["dye:pink"] = dyedesc,
276 ["default:bronze_ingot"] = craftitemdesc,
277 ["default:gold_ingot"] = craftitemdesc,
278 ["default:steel_ingot"] = "Smolten iron. It is the element of numerous crafting recipes.",
279 ["default:copper_ingot"] = craftitemdesc,
280 ["default:clay_brick"] = craftitemdesc,
281 ["default:clay_lump"] = "A clay lump can be burnt in the furnace to make a clay brick.",
282 ["default:paper"] = craftitemdesc,
283 ["vessels:glass_fragments"] = craftitemdesc,
284 ["default:diamond"] = craftitemdesc,
285 ["default:flint"] = craftitemdesc,
286 ["default:gold_lump"] = "A gold lump can be smolten in a furnace to make a gold ingot.",
287 ["default:copper_lump"] = "A copper lump can be smolten in a furnace to make a copper ingot.",
288 ["default:iron_lump"] = "An iron lump can be smolten in a furnace to make a steel ingot.",
289 ["default:obsidian_shard"] = craftitemdesc,
290 ["default:mese_crystal"] = craftitemdesc,
291 ["default:mese_crystal_fragment"] = craftitemdesc,
292 ["default:stick"] = "Wooden sticks are used as a vital element in countless crafting recipes.",
293 ["farming:cotton"] = craftitemdesc,
294 ["farming:wheat"] = craftitemdesc,
295 ["farming:flour"] = craftitemdesc,
298 local bonestime = tonumber(minetest.setting_get("share_bones_time"))
299 local bonestime2 = tonumber(minetest.setting_get("share_bones_time_early"))
300 local bonesstring, bonesstring2, bonestime_s, bonestime2_s
301 if bonestime == nil then bonestime = 1200 end
302 if bonestime2 == nil then bonestime2 = math.floor(bonestime / 4) end
304 if bonestime == 0 then
305 bonesstring = "In this world this can be done without any delay as the bones instantly become old. "
306 elseif bonestime % 60 == 0 then
307 bonestime_s = string.format("%d min", bonestime/60)
308 else
309 bonestime_s = string.format("%d min %d s", bonestime/60, bonestime%60)
311 if bonestime2 == 0 then
312 bonesstring2 = ""
313 elseif bonestime2 % 60 == 0 then
314 bonestime2_s = string.format("%d min", bonestime2/60)
315 else
316 bonestime2_s = string.format("%d min %d s", bonestime2/60, bonestime2 % 60)
319 if bonestime ~= 0 then
320 bonesstring = "If these are not your bones, you have to wait "..bonestime_s.." before you can do this. "
322 if bonestime2 ~= 0 then
323 bonesstring2 = "If the player died in a protected area of someone else, the bones can be dug after "..bonestime2_s..". "
326 local export_usagehelp = {
327 ["default:apple"] = "Hold it in your hand, then leftclick to eat it.",
328 ["doors:gate_wood_closed"] = fencegateuse,
329 ["doors:gate_junglewood_closed"] = fencegateuse,
330 ["doors:gate_acacia_wood_closed"] = fencegateuse,
331 ["doors:gate_pine_wood_closed"] = fencegateuse,
332 ["doors:gate_aspen_wood_closed"] = fencegateuse,
334 ["flowers:mushroom_brown"] = "Hold it in your hand, then leftclick to eat it.",
335 ["flowers:mushroom_red"] = "Hold it in your hand, then leftclick to eat it. But why would you want to do that?",
336 ["farming:bread"] = "Hold it in your hand, then leftclick to eat it.",
337 ["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.",
338 ["default:chest"] = "Rightclick the chest to open it and to exchange items. You can only mine it when the chest is empty.",
339 ["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.",
340 ["default:book"] = "Hold the book in hand and leftclick to write some notes. Doing so will turn the book into a “Book With Text” which cannot be stacked.",
341 ["default:sign_wall_wood"] = signuse,
342 ["default:sign_wall_steel"] = signuse,
343 ["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.",
344 ["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.",
345 ["bucket:bucket_empty"] = "Rightclick on a liquid source while holding the bucket to collect the liquid. Rightclick again somewhere to empty the bucket, this will create a liquid source at the position you've clicked at.",
346 ["bucket:bucket_water"] = "Rightclick while holding this bucket on any block to empty it, which creates a water source.",
347 ["bucket:bucket_river_water"] = "Rightclick while holding this bucket on any block to empty it, which creates a river water source.",
348 ["bucket:bucket_lava"] = "Rightclick while holding this bucket on any block to empty it, which creates a lava source. Be careful by doing so, lava is dangerous!",
350 ["bones:bones"] = "Rightclick to access the inventory, mine it to obtain all items immediately. "..bonesstring..bonesstring2.."It is only possible to take from this inventory, nothing can be stored into it.",
352 ["tnt:gunpowder"] = "Place gunpowder on the ground to create gunpowder trails. Punch it with a torch to light the gunpowder, which will then ignore neighbor gunpowder and TNT.",
353 ["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.",
355 ["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.",
356 ["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.",
358 ["doors:door_wood"] = "Rightclick the door to open or close it.",
359 ["doors:door_steel"] = "Point the door to see who owns it. Rightclick the door to open or close it (if you own it).",
360 ["doors:door_glass"] = "Rightclick the door to open or close it.",
361 ["doors:door_obsidian_glass"] = "Rightclick the door to open or close it.",
363 ["screwdriver:screwdriver"] = "Leftclick on a block to rotate it around its current axis. Rightclick on a block to rotate its axis.",
365 ["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.",
366 ["beds:bed_bottom"] = beduse,
367 ["beds:fancy_bed_bottom"] = beduse,
368 ["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.",
369 ["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.",
370 ["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.",
372 ["flowers:waterlily"] = "Waterlilies can only be placed water sources and equivalent blocks.",
373 ["default:ladder_wood"] = ladderuse,
374 ["default:ladder_steel"] = ladderuse,
375 ["farming:hoe_wood"] = hoeuse,
376 ["farming:hoe_stone"] = hoeuse,
377 ["farming:hoe_steel"] = hoeuse,
378 ["farming:hoe_bronze"] = hoeuse,
379 ["farming:hoe_mese"] = hoeuse,
380 ["farming:hoe_diamond"] = hoeuse,
383 -- TODO: Actually make use of these texts
384 local export_generation = {
385 ["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.",
386 ["default:nyancat_rainbow"] = "These blocks are extremely rare. They only appear behind a Nyan Cat, which itself can appear randomly anywhere.",
389 doc.sub.items.set_items_longdesc(export_longdesc)
390 doc.sub.items.set_items_usagehelp(export_usagehelp)