diff --git a/biomes/level1.lua b/biomes/level1.lua index 6706c3d..2c7d0da 100644 --- a/biomes/level1.lua +++ b/biomes/level1.lua @@ -175,7 +175,7 @@ local level_1_cave_floor = function(area, data, ai, vi, bi, param2_data) data[bi] = c_cobble_fungus if math.random() < 0.15 then if data[vi] == c_air then - dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_dead_fungus, c_dead_fungus, c_dead_fungus, c_cavern_fungi}) + dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_dead_fungus, c_dead_fungus, c_cavern_fungi, c_cavern_fungi}) end end return diff --git a/biomes/level2.lua b/biomes/level2.lua index 5b8c9a0..45628b1 100644 --- a/biomes/level2.lua +++ b/biomes/level2.lua @@ -269,7 +269,7 @@ end local level_2_cave_floor = function(area, data, ai, vi, bi, param2_data) if dfcaverns.can_support_vegetation[data[bi]] then data[bi] = c_cobble_fungus - if math.random() < 0.25 then + if math.random() < 0.15 then if data[vi] == c_air then dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_pig_tail, c_dead_fungus, c_dead_fungus, c_cavern_fungi}) end diff --git a/biomes/level3.lua b/biomes/level3.lua index f9f4267..0a3bc10 100644 --- a/biomes/level3.lua +++ b/biomes/level3.lua @@ -275,7 +275,7 @@ end local level_3_cave_floor = function(area, data, ai, vi, bi, param2_data) if dfcaverns.can_support_vegetation[data[bi]] then data[bi] = c_dirt_moss - if math.random() < 0.25 then + if math.random() < 0.10 then if data[vi] == c_air then dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_quarry_bush, c_dead_fungus, c_dead_fungus, c_cavern_fungi}) end diff --git a/depends.txt b/depends.txt index dbf41cf..3af08de 100644 --- a/depends.txt +++ b/depends.txt @@ -6,4 +6,5 @@ bucket? dynamic_liquid? wool? magma_conduits? -intllib? \ No newline at end of file +intllib? +doc? \ No newline at end of file diff --git a/doc.lua b/doc.lua new file mode 100644 index 0000000..bf55756 --- /dev/null +++ b/doc.lua @@ -0,0 +1,96 @@ +dfcaverns.doc = {} + +if not minetest.get_modpath("doc") then + return +end + +-- internationalization boilerplate +local MP = minetest.get_modpath(minetest.get_current_modname()) +local S, NS = dofile(MP.."/intllib.lua") + +dfcaverns.doc.biscuit_desc = S("A meal made from the admixture of two ingredients, biscuits keep well but are not a rich source of nutrients.") +dfcaverns.doc.biscuit_usage = nil +dfcaverns.doc.stew_desc = S("Stews mix three ingredients together. They're more wholesome than biscuits, packing more nutrition into a single serving.") +dfcaverns.doc.stew_usage = nil +dfcaverns.doc.roast_desc = S("Four finely minced ingredients combine into a roast, which serves as a full meal.") +dfcaverns.doc.roast_usage = nil + +dfcaverns.doc.cave_moss_desc = S("Cave moss is technically a form of mold, but fortunately a relatively benign one given its ubiquity. Its fibers form a tough but springy mat over the surface of any organic-rich soil that accumulates deep underground.") +dfcaverns.doc.cave_moss_usage = S("Cave moss has no known uses. It dies when exposed to bright light sources.") +dfcaverns.doc.floor_fungus_desc = S("Floor fungus produces a thin, slick film that spreads through the cracks of broken rock. Its ability to subsist on the tiniest traces of nutrients means it's found in relatively harsh underground environments.") +dfcaverns.doc.floor_fungus_usage = S("Floor fungus has no known uses. It can penetrate deeply into cobblestone constructions if an infestation gets hold, but it is difficult to transport and is inhibited by light so it hasn't spread beyond the deep caverns.") + +dfcaverns.doc.glow_worms_desc = S("Glistening strings of silk hang from the ceilings of some of the larger caverns, lit by the millions of tiny bioluminescent worms that spun them. Glow worms prey on the insects they lure and entangle with their faux starry sky - and sometimes the occasional bat or other larger flying beast.") +dfcaverns.doc.glow_worms_usage = S("Glow worms can be harvested and used as a source of light but they die when exposed to light significantly brighter than themselves or when immersed in water. A colony of glow worms hung in a hospitable environment will undergo a modest amount of growth, allowing it to be divided and propagated.") + +-- Plants + +dfcaverns.doc.dead_fungus_desc = S("Whatever this fungus was in life, it is now dead.") +dfcaverns.doc.dead_fungus_usage = S("Dead fungus quickly decays into an unrecognizable mess. It can be used as weak fuel or terrible decor.") + +dfcaverns.doc.cavern_fungi_desc = S("A species of lavender mushroom ubiquitous in caves that is most notable for the soft bioluminescence it produces.") +dfcaverns.doc.cavern_fungi_usage = S("This mushroom is inedible but continues producing modest levels of light long after it's picked.") + +dfcaverns.doc.cave_wheat_desc = S("Cave wheat is literally a breed of grain-producing grass that somehow lost its ability to photosynthesize and adapted to a more fungal style of life.") +dfcaverns.doc.cave_wheat_usage = S("Like its surface cousin, cave wheat produces grain that can be ground into a form of flour.") +dfcaverns.doc.cave_flour_desc = S("Cave wheat seed ground into a powder suitable for cooking.") +dfcaverns.doc.cave_flour_usage = S("When baked alone it forms an edible bread, but it combines well with other more flavorful ingredients.") +dfcaverns.doc.cave_bread_desc = S("Bread baked from cave wheat flour is tough and durable. A useful ration for long expeditions.") +dfcaverns.doc.cave_bread_usage = S("It's not tasty, but it keeps you going.") + +dfcaverns.doc.dimple_cup_desc = S("The distinctive midnight-blue caps of these mushrooms are inverted, exposing their gills to any breeze that might pass, and have dimpled edges that give them their name.") +dfcaverns.doc.dimple_cup_usage = S("Dimple cups can be dried, ground, and processed to extract a deep blue dye.") + +dfcaverns.doc.pig_tail_desc = S("Pig tails are a fibrous fungal growth that's most notable for its twisting stalks. In a mature stand of pig tails the helical stalks intertwine into a dense mesh.") +dfcaverns.doc.pig_tail_usage = S("Pig tail stalks can be processed to extract fibers useful as thread.") +dfcaverns.doc.pig_tail_thread_desc = S("Threads of pig tail fiber.") +dfcaverns.doc.pig_tail_thread_usage = S("A crafting item that can be woven into textiles and other similar items.") + +dfcaverns.doc.plump_helmet_desc = S("Plump helmets are a thick, fleshy mushroom that's edible picked straight from the ground. They form a staple diet for both lost cave explorers and the fauna that preys on them.") +dfcaverns.doc.plump_helmet_usage = S("While they can be eaten fresh, they can be monotonous fare and are perhaps better appreciated as part of a more complex prepared dish.") + +dfcaverns.doc.quarry_bush_desc = S("A rare breed of fungus from deep underground that produces a bushy cluster of rumpled gray 'blades'. The biological function of these blades is not known, as quarry bushes reproduce via hard-shelled nodules that grow down at the blade's base.") +dfcaverns.doc.quarry_bush_usage = S("Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are edible with processing.") +dfcaverns.doc.quarry_bush_leaves_desc = S("The dried blades of a quarry bush add a welcome zing to recipes containing otherwise-bland subterranean foodstuffs, but they're too spicy to be eaten on their own.") +dfcaverns.doc.quarry_bush_leaves_usage = S("Quarry bush leaves can be used as an ingredient in foodstuffs.") + +dfcaverns.doc.sweet_pod_desc = S("Sweet pods grow in rich soil, and once they reach maturity they draw that supply of nutrients up to concentrate it in their fruiting bodies. They turn bright red when ripe and can be processed in a variety of ways to extract the sugars they contain.") + +if minetest.get_modpath("cottages") then + dfcaverns.doc.sweet_pod_usage = S("When milled, sweet pods produce a granular sugary substance.") +else + dfcaverns.doc.sweet_pod_usage = S("When dried in an oven, sweet pods produce a granular sugary substance.") +end +dfcaverns.doc.sweet_pod_usage = dfcaverns.doc.sweet_pod_usage .. " " .. S("Crushing them in a bucket squeezes out a flavorful syrup.") + +dfcaverns.doc.sweet_pod_sugar_desc = S("Sweet pod sugar has a pink tint to it.") +dfcaverns.doc.sweet_pod_sugar_usage = S("Too sweet to be eaten directly, it makes an excellent ingredient in food recipes.") +dfcaverns.doc.sweet_pod_syrup_desc = S("Sweet pod syrup is thick and flavorful.") +dfcaverns.doc.sweet_pod_syrup_usage = S("Too strong and thick to drink straight, sweet pod syrup is useful in food recipes.") + +-- Trees +dfcaverns.doc.black_cap_desc = S("The dense black wood of these mushrooms is heavy and hard to work with, and has few remarkable properties.") +dfcaverns.doc.black_cap_usage = S("Aside from the artistic applications of its particularly dark color, black cap wood is a long-burning fuel source that's as good as coal for some applications.") + +dfcaverns.doc.blood_thorn_desc = S("Blood thorns are the most vicious of underground flora, as befits their harsh environments. Found only in hot, dry caverns with sandy soil far from the surface world's organic bounty, blood thorns seek to supplement their nutrient supply with wickedly barbed hollow spines that actively drain fluids from whatever stray plant or creature they might impale.") +dfcaverns.doc.blood_thorn_usage = S("When harvested, the central stalk of a blood thorn can be cut into planks and used as wood. It has a purple-red hue that may or may not appeal, depending on one's artistic tastes.") +dfcaverns.doc.blood_thorn_spike_desc = S("The spikes of a blood thorn can actually remain living long after they're severed from their parent stalk, a testament to their tenacity. As long as they remain alive they will continue to actively drain anything they puncture, though they don't grow.") +dfcaverns.doc.blood_thorn_spike_usage = S("Living blood thorn spikes remain harmful to creatures that touch them. If killed by bright light, they cause only passive damage to creatures that fall on them (as one would expect from an enormous spike).") + +dfcaverns.doc.fungiwood_desc = S("Thin, irregular layers of spore-producing 'shelves' surround the strong central stalk of the mighty Fungiwood.") +dfcaverns.doc.fungiwood_usage = S("Fungiwood stalk is strong and very fine-grained, making smooth yellow-tinted lumber when cut. Fungiwood shelf is too fragile to be much use as anything other than fuel.") + +dfcaverns.doc.goblin_cap_desc = S("Massive but squat, mature goblin cap mushrooms are the size of small cottages.") +dfcaverns.doc.goblin_cap_usage = S("Goblin cap stem and cap material can be cut into wood of two different hues, a subdued cream and a bright orange-red.") + +dfcaverns.doc.nether_cap_desc = S("Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.") +dfcaverns.doc.nether_cap_usage = S("Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.") + +dfcaverns.doc.spore_tree_desc = S("Spore trees have a sturdy 'trunk' that supports a large spongy mesh of branching fibers, with embedded fruiting bodies that produce a copious amount of spores that gently rain down around the spore tree's base.") +dfcaverns.doc.spore_tree_usage = S("Spore tree trunks can be cut into pale woody planks. The branching fibers and fruiting bodies are only useful as fuel.") + +dfcaverns.doc.tower_cap_desc = S("The king of the fungi, tower cap mushrooms grow to immense proportions.") +dfcaverns.doc.tower_cap_usage = S("Tower caps are an excellent source of wood.") + +dfcaverns.doc.tunnel_tube_desc = S("Tunnel tubes are hollow, curved fungal growths that support a fruiting body.") +dfcaverns.doc.tunnel_tube_usage = S("The trunk of a tunnel tube can be cut and processed to produce plywood-like material.") diff --git a/glow_worms.lua b/glow_worms.lua index cef40b9..bd06624 100644 --- a/glow_worms.lua +++ b/glow_worms.lua @@ -4,6 +4,8 @@ local S, NS = dofile(MP.."/intllib.lua") minetest.register_node("dfcaverns:glow_worm", { description = S("Glow Worms"), + _doc_items_longdesc = dfcaverns.doc.glow_worms_desc, + _doc_items_usagehelp = dfcaverns.doc.glow_worms_usage, tiles = {"dfcaverns_glow_worm.png"}, inventory_image = "dfcaverns_glow_worm.png", wield_image = "dfcaverns_glow_worm.png", diff --git a/ground_cover.lua b/ground_cover.lua index a1abbca..4954756 100644 --- a/ground_cover.lua +++ b/ground_cover.lua @@ -9,6 +9,8 @@ local S, NS = dofile(MP.."/intllib.lua") minetest.register_node("dfcaverns:dirt_with_cave_moss", { description = S("Dirt With Cave Moss"), + _doc_items_longdesc = dfcaverns.doc.cave_moss_desc, + _doc_items_usagehelp = dfcaverns.doc.cave_moss_usage, tiles = {"default_dirt.png^dfcaverns_cave_moss.png", "default_dirt.png", {name = "default_dirt.png^dfcaverns_cave_moss_side.png", tileable_vertical = false}}, @@ -31,7 +33,7 @@ minetest.register_abm{ nodenames = {"default:dirt"}, neighbors = {"dfcaverns:dirt_with_cave_moss"}, interval = 60, - chance = 10, + chance = 15, catch_up = true, action = function(pos) local above_def = minetest.registered_nodes[minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name] @@ -48,6 +50,8 @@ minetest.register_abm{ minetest.register_node("dfcaverns:cobble_with_floor_fungus", { description = S("Cobblestone With Floor Fungus"), + _doc_items_longdesc = dfcaverns.doc.floor_fungus_desc, + _doc_items_usagehelp = dfcaverns.doc.floor_fungus_usage, tiles = {"default_cobble.png^dfcaverns_floor_fungus.png", "default_cobble.png", "default_cobble.png^dfcaverns_floor_fungus_side.png"}, drops = "default:cobble", is_ground_content = true, diff --git a/init.lua b/init.lua index ecc7cea..03b637a 100644 --- a/init.lua +++ b/init.lua @@ -5,6 +5,7 @@ local modpath = minetest.get_modpath(minetest.get_current_modname()) --load companion lua files dofile(modpath.."/config.lua") +dofile(modpath.."/doc.lua") dofile(modpath.."/ground_cover.lua") dofile(modpath.."/glow_worms.lua") diff --git a/locale/it.po b/locale/it.po index 443b248..43b933a 100644 --- a/locale/it.po +++ b/locale/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: dfcaverns module's Italian locale\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-24 00:45-0600\n" +"POT-Creation-Date: 2017-09-10 12:21-0600\n" "PO-Revision-Date: 2017-08-17 23:01+0100\n" "Last-Translator: H4mlet \n" "Language-Team: ITALIANO\n" @@ -18,6 +18,346 @@ msgstr "" "X-Generator: Poedit 1.6.10\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: doc.lua:11 +msgid "" +"A meal made from the admixture of two ingredients, biscuits keep well but " +"are not a rich source of nutrients." +msgstr "" + +#: doc.lua:13 +msgid "" +"Stews mix three ingredients together. They're more wholesome than biscuits, " +"packing more nutrition into a single serving." +msgstr "" + +#: doc.lua:15 +msgid "" +"Four finely minced ingredients combine into a roast, which serves as a full " +"meal." +msgstr "" + +#: doc.lua:18 +msgid "" +"Cave moss is technically a form of mold, but fortunately a relatively benign " +"one given its ubiquity. Its fibers form a tough but springy mat over the " +"surface of any organic-rich soil that accumulates deep underground." +msgstr "" + +#: doc.lua:19 +msgid "" +"Cave moss has no known uses. It dies when exposed to bright light sources." +msgstr "" + +#: doc.lua:20 +msgid "" +"Floor fungus produces a thin, slick film that spreads through the cracks of " +"broken rock. Its ability to subsist on the tiniest traces of nutrients means " +"it's found in relatively harsh underground environments." +msgstr "" + +#: doc.lua:21 +msgid "" +"Floor fungus has no known uses. It can penetrate deeply into cobblestone " +"constructions if an infestation gets hold, but it is difficult to transport " +"and is inhibited by light so it hasn't spread beyond the deep caverns." +msgstr "" + +#: doc.lua:23 +msgid "" +"Glistening strings of silk hang from the ceilings of some of the larger " +"caverns, lit by the millions of tiny bioluminescent worms that spun them. " +"Glow worms prey on the insects they lure and entangle with their faux starry " +"sky - and sometimes the occasional bat or other larger flying beast." +msgstr "" + +#: doc.lua:24 +msgid "" +"Glow worms can be harvested and used as a source of light but they die when " +"exposed to light significantly brighter than themselves or when immersed in " +"water. A colony of glow worms hung in a hospitable environment will undergo " +"a modest amount of growth, allowing it to be divided and propagated." +msgstr "" + +#: doc.lua:28 +msgid "Whatever this fungus was in life, it is now dead." +msgstr "" + +#: doc.lua:29 +msgid "" +"Dead fungus quickly decays into an unrecognizable mess. It can be used as " +"weak fuel or terrible decor." +msgstr "" + +#: doc.lua:31 +msgid "" +"A species of lavender mushroom ubiquitous in caves that is most notable for " +"the soft bioluminescence it produces." +msgstr "" + +#: doc.lua:32 +msgid "" +"This mushroom is inedible but continues producing modest levels of light " +"long after it's picked." +msgstr "" + +#: doc.lua:34 +msgid "" +"Cave wheat is literally a breed of grain-producing grass that somehow lost " +"its ability to photosynthesize and adapted to a more fungal style of life." +msgstr "" + +#: doc.lua:35 +msgid "" +"Like its surface cousin, cave wheat produces grain that can be ground into a " +"form of flour." +msgstr "" + +#: doc.lua:36 +msgid "Cave wheat seed ground into a powder suitable for cooking." +msgstr "" + +#: doc.lua:37 +msgid "" +"When baked alone it forms an edible bread, but it combines well with other " +"more flavorful ingredients." +msgstr "" + +#: doc.lua:38 +msgid "" +"Bread baked from cave wheat flour is tough and durable. A useful ration for " +"long expeditions." +msgstr "" + +#: doc.lua:39 +msgid "It's not tasty, but it keeps you going." +msgstr "" + +#: doc.lua:41 +msgid "" +"The distinctive midnight-blue caps of these mushrooms are inverted, exposing " +"their gills to any breeze that might pass, and have dimpled edges that give " +"them their name." +msgstr "" + +#: doc.lua:42 +msgid "" +"Dimple cups can be dried, ground, and processed to extract a deep blue dye." +msgstr "" + +#: doc.lua:44 +msgid "" +"Pig tails are a fibrous fungal growth that's most notable for its twisting " +"stalks. In a mature stand of pig tails the helical stalks intertwine into a " +"dense mesh." +msgstr "" + +#: doc.lua:45 +msgid "Pig tail stalks can be processed to extract fibers useful as thread." +msgstr "" + +#: doc.lua:46 +msgid "Threads of pig tail fiber." +msgstr "" + +#: doc.lua:47 +msgid "" +"A crafting item that can be woven into textiles and other similar items." +msgstr "" + +#: doc.lua:49 +msgid "" +"Plump helmets are a thick, fleshy mushroom that's edible picked straight " +"from the ground. They form a staple diet for both lost cave explorers and " +"the fauna that preys on them." +msgstr "" + +#: doc.lua:50 +msgid "" +"While they can be eaten fresh, they can be monotonous fare and are perhaps " +"better appreciated as part of a more complex prepared dish." +msgstr "" + +#: doc.lua:52 +msgid "" +"A rare breed of fungus from deep underground that produces a bushy cluster " +"of rumpled gray 'blades'. The biological function of these blades is not " +"known, as quarry bushes reproduce via hard-shelled nodules that grow down at " +"the blade's base." +msgstr "" + +#: doc.lua:53 +msgid "" +"Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are " +"edible with processing." +msgstr "" + +#: doc.lua:54 +msgid "" +"The dried blades of a quarry bush add a welcome zing to recipes containing " +"otherwise-bland subterranean foodstuffs, but they're too spicy to be eaten " +"on their own." +msgstr "" + +#: doc.lua:55 +msgid "Quarry bush leaves can be used as an ingredient in foodstuffs." +msgstr "" + +#: doc.lua:57 +msgid "" +"Sweet pods grow in rich soil, and once they reach maturity they draw that " +"supply of nutrients up to concentrate it in their fruiting bodies. They turn " +"bright red when ripe and can be processed in a variety of ways to extract " +"the sugars they contain." +msgstr "" + +#: doc.lua:60 +msgid "When milled, sweet pods produce a granular sugary substance." +msgstr "" + +#: doc.lua:62 +msgid "When dried in an oven, sweet pods produce a granular sugary substance." +msgstr "" + +#: doc.lua:64 +msgid "Crushing them in a bucket squeezes out a flavorful syrup." +msgstr "" + +#: doc.lua:66 +msgid "Sweet pod sugar has a pink tint to it." +msgstr "" + +#: doc.lua:67 +msgid "" +"Too sweet to be eaten directly, it makes an excellent ingredient in food " +"recipes." +msgstr "" + +#: doc.lua:68 +msgid "Sweet pod syrup is thick and flavorful." +msgstr "" + +#: doc.lua:69 +msgid "" +"Too strong and thick to drink straight, sweet pod syrup is useful in food " +"recipes." +msgstr "" + +#: doc.lua:72 +msgid "" +"The dense black wood of these mushrooms is heavy and hard to work with, and " +"has few remarkable properties." +msgstr "" + +#: doc.lua:73 +msgid "" +"Aside from the artistic applications of its particularly dark color, black " +"cap wood is a long-burning fuel source that's as good as coal for some " +"applications." +msgstr "" + +#: doc.lua:75 +msgid "" +"Blood thorns are the most vicious of underground flora, as befits their " +"harsh environments. Found only in hot, dry caverns with sandy soil far from " +"the surface world's organic bounty, blood thorns seek to supplement their " +"nutrient supply with wickedly barbed hollow spines that actively drain " +"fluids from whatever stray plant or creature they might impale." +msgstr "" + +#: doc.lua:76 +msgid "" +"When harvested, the central stalk of a blood thorn can be cut into planks " +"and used as wood. It has a purple-red hue that may or may not appeal, " +"depending on one's artistic tastes." +msgstr "" + +#: doc.lua:77 +msgid "" +"The spikes of a blood thorn can actually remain living long after they're " +"severed from their parent stalk, a testament to their tenacity. As long as " +"they remain alive they will continue to actively drain anything they " +"puncture, though they don't grow." +msgstr "" + +#: doc.lua:78 +msgid "" +"Living blood thorn spikes remain harmful to creatures that touch them. If " +"killed by bright light, they cause only passive damage to creatures that " +"fall on them (as one would expect from an enormous spike)." +msgstr "" + +#: doc.lua:80 +msgid "" +"Thin, irregular layers of spore-producing 'shelves' surround the strong " +"central stalk of the mighty Fungiwood." +msgstr "" + +#: doc.lua:81 +msgid "" +"Fungiwood stalk is strong and very fine-grained, making smooth yellow-tinted " +"lumber when cut. Fungiwood shelf is too fragile to be much use as anything " +"other than fuel." +msgstr "" + +#: doc.lua:83 +msgid "" +"Massive but squat, mature goblin cap mushrooms are the size of small " +"cottages." +msgstr "" + +#: doc.lua:84 +msgid "" +"Goblin cap stem and cap material can be cut into wood of two different hues, " +"a subdued cream and a bright orange-red." +msgstr "" + +#: doc.lua:86 +msgid "" +"Nether caps have an unusual biochemistry that allows them to somehow subsist " +"on ambient heat, in violation of all known laws of thermodynamics. They grow " +"deep underground in frigid, icy caverns that should by all rights be " +"volcanic." +msgstr "" + +#: doc.lua:87 +msgid "" +"Nether cap wood, in addition to being a beautiful blue hue, retains the odd " +"heat-draining ability of living nether caps and is able to quickly freeze " +"nearby water solid." +msgstr "" + +#: doc.lua:89 +msgid "" +"Spore trees have a sturdy 'trunk' that supports a large spongy mesh of " +"branching fibers, with embedded fruiting bodies that produce a copious " +"amount of spores that gently rain down around the spore tree's base." +msgstr "" + +#: doc.lua:90 +msgid "" +"Spore tree trunks can be cut into pale woody planks. The branching fibers " +"and fruiting bodies are only useful as fuel." +msgstr "" + +#: doc.lua:92 +msgid "The king of the fungi, tower cap mushrooms grow to immense proportions." +msgstr "" + +#: doc.lua:93 +msgid "Tower caps are an excellent source of wood." +msgstr "" + +#: doc.lua:95 +msgid "" +"Tunnel tubes are hollow, curved fungal growths that support a fruiting body." +msgstr "" + +#: doc.lua:96 +msgid "" +"The trunk of a tunnel tube can be cut and processed to produce plywood-like " +"material." +msgstr "" + #: glow_worms.lua:6 msgid "Glow Worms" msgstr "Vermi luminosi" @@ -26,7 +366,7 @@ msgstr "Vermi luminosi" msgid "Dirt With Cave Moss" msgstr "Terra con muschio di caverna" -#: ground_cover.lua:50 +#: ground_cover.lua:52 msgid "Cobblestone With Floor Fungus" msgstr "Ciottoli con funghi del terreno" @@ -34,23 +374,26 @@ msgstr "Ciottoli con funghi del terreno" msgid "Dead Fungus" msgstr "Fungo morto" -#: plants.lua:33 +#: plants.lua:35 msgid "Cavern Fungi" msgstr "Funghi di caverna" -#: plants\cave_wheat.lua:9 plants\cave_wheat.lua:57 +#: plants\cave_wheat.lua:10 +#: plants\cave_wheat.lua:69 msgid "Cave Wheat" msgstr "Grano di caverna" -#: plants\cave_wheat.lua:51 plants\cooking.lua:43 +#: plants\cave_wheat.lua:61 +#: plants\cooking.lua:49 msgid "Cave Wheat Seed" msgstr "Seme di grano di caverna" -#: plants\cave_wheat.lua:68 plants\cooking.lua:42 +#: plants\cave_wheat.lua:82 +#: plants\cooking.lua:48 msgid "Cave Wheat Flour" msgstr "Farina di grano di caverna" -#: plants\cave_wheat.lua:74 +#: plants\cave_wheat.lua:90 msgid "Dwarven Bread" msgstr "Pane nanico" @@ -58,101 +401,107 @@ msgstr "Pane nanico" msgid "@1 Biscuit" msgstr "Biscotto di @1" -#: plants\cooking.lua:12 +#: plants\cooking.lua:14 msgid "@1 Stew" msgstr "Stufato di @1" -#: plants\cooking.lua:17 +#: plants\cooking.lua:21 msgid "@1 Roast" msgstr "Arrosto di @1" -#: plants\cooking.lua:44 +#: plants\cooking.lua:50 msgid "Sweet Pod Spore" msgstr "Spora di baccello dolce" -#: plants\cooking.lua:45 plants\sweet_pod.lua:70 +#: plants\cooking.lua:51 +#: plants\sweet_pod.lua:83 msgid "Sweet Pod Sugar" msgstr "Zucchero di baccello dolce" -#: plants\cooking.lua:46 plants\plump_helmet.lua:80 -#: plants\plump_helmet.lua:109 plants\plump_helmet.lua:150 -#: plants\plump_helmet.lua:190 +#: plants\cooking.lua:52 +#: plants\plump_helmet.lua:91 +#: plants\plump_helmet.lua:127 +#: plants\plump_helmet.lua:161 +#: plants\plump_helmet.lua:195 +#: plants\plump_helmet.lua:246 msgid "Plump Helmet" msgstr "Elmo rotondo" -#: plants\cooking.lua:47 plants\plump_helmet.lua:58 +#: plants\cooking.lua:53 +#: plants\plump_helmet.lua:61 msgid "Plump Helmet Spawn" msgstr "Prole di elmo rotondo" -#: plants\cooking.lua:48 +#: plants\cooking.lua:54 msgid "Quarry Bush Leaf" msgstr "Foglia di cespuglio di cava" -#: plants\cooking.lua:49 +#: plants\cooking.lua:55 msgid "Rock Nut" msgstr "Noce di roccia" -#: plants\cooking.lua:50 +#: plants\cooking.lua:56 msgid "Dimple Cup Spore" msgstr "Spora di coppa increspata" -#: plants\cooking.lua:51 plants\pig_tail.lua:51 +#: plants\cooking.lua:57 +#: plants\pig_tail.lua:61 msgid "Pig Tail Spore" msgstr "Spora di coda di maiale" -#: plants\cooking.lua:52 +#: plants\cooking.lua:58 msgid "Dwarven Syrup" msgstr "Sciroppo nanico" -#: plants\dimple_cup.lua:9 +#: plants\dimple_cup.lua:10 msgid "Dimple Cup" msgstr "Coppa increspata" -#: plants\dimple_cup.lua:45 +#: plants\dimple_cup.lua:55 msgid "Dimple Cup Spores" msgstr "Spore di coppa increspata" -#: plants\pig_tail.lua:9 +#: plants\pig_tail.lua:10 msgid "Pig Tail" msgstr "Coda di maiale" -#: plants\pig_tail.lua:57 +#: plants\pig_tail.lua:69 msgid "Pig tail thread" msgstr "Filo di coda di maiale" -#: plants\quarry_bush.lua:9 +#: plants\quarry_bush.lua:10 msgid "Quarry Bush" msgstr "Cespuglio di cava" -#: plants\quarry_bush.lua:52 +#: plants\quarry_bush.lua:61 msgid "Rock Nuts" msgstr "Noci di roccia" -#: plants\quarry_bush.lua:58 +#: plants\quarry_bush.lua:70 msgid "Quarry Bush Leaves" msgstr "Foglie di cespuglio di cava" -#: plants\sweet_pod.lua:9 +#: plants\sweet_pod.lua:10 msgid "Sweet Pod" msgstr "Baccello dolce" -#: plants\sweet_pod.lua:50 +#: plants\sweet_pod.lua:59 msgid "Sweet Pod Spores" msgstr "Spore di baccello dolce" -#: plants\sweet_pod.lua:56 +#: plants\sweet_pod.lua:67 msgid "Sweet Pods" msgstr "Baccelli dolci" -#: plants\sweet_pod.lua:91 +#: plants\sweet_pod.lua:106 msgid "Dwarven Syrup Source" msgstr "Fonte di sciroppo nanico" -#: plants\sweet_pod.lua:137 +#: plants\sweet_pod.lua:154 msgid "Flowing Dwarven Syrup" msgstr "Sciroppo nanico che scorre" -#: plants\sweet_pod.lua:188 +#: plants\sweet_pod.lua:207 msgid "Dwarven Syrup Bucket" msgstr "Secchio di sciroppo nanico" @@ -160,19 +509,19 @@ msgstr "Secchio di sciroppo nanico" msgid "Black Cap Stem" msgstr "Gambo di cappello nero" -#: trees\black_cap.lua:16 +#: trees\black_cap.lua:18 msgid "Black Cap" msgstr "Cappello nero" -#: trees\black_cap.lua:25 +#: trees\black_cap.lua:29 msgid "Black Cap Gills" msgstr "Lamelle di cappello nero" -#: trees\black_cap.lua:71 +#: trees\black_cap.lua:77 msgid "Black Cap Planks" msgstr "Assi di cappello nero" -#: trees\black_cap.lua:108 +#: trees\black_cap.lua:116 msgid "Black Cap Spawn" msgstr "Prole di cappello nero" @@ -180,19 +529,19 @@ msgstr "Prole di cappello nero" msgid "Blood Thorn Stem" msgstr "Gambo di spina del sangue" -#: trees\blood_thorn.lua:45 +#: trees\blood_thorn.lua:47 msgid "Dead Blood Thorn Stem" msgstr "Gambo di spina del sangue morta" -#: trees\blood_thorn.lua:56 +#: trees\blood_thorn.lua:60 msgid "Blood Thorn Spike" msgstr "Spuntone di spina del sangue" -#: trees\blood_thorn.lua:84 +#: trees\blood_thorn.lua:90 msgid "Dead Blood Thorn Spike" msgstr "Spuntone di spina del sangue morta" -#: trees\blood_thorn.lua:119 +#: trees\blood_thorn.lua:127 msgid "Blood Thorn Planks" msgstr "Assi di spina del sangue" @@ -200,15 +549,15 @@ msgstr "Assi di spina del sangue" msgid "Fungiwood Stem" msgstr "Gambo di fungo di legno" -#: trees\fungiwood.lua:32 +#: trees\fungiwood.lua:34 msgid "Fungiwood Planks" msgstr "Assi di fungo di legno" -#: trees\fungiwood.lua:64 +#: trees\fungiwood.lua:68 msgid "Fungiwood Shelf" msgstr "Mensola di fungo di legno" -#: trees\fungiwood.lua:100 +#: trees\fungiwood.lua:106 msgid "Fungiwood Spawn" msgstr "Prole di fungo di legno" @@ -216,23 +565,23 @@ msgstr "Prole di fungo di legno" msgid "Goblin Cap Stem" msgstr "Gambo di cappello di folletto" -#: trees\goblin_cap.lua:16 +#: trees\goblin_cap.lua:18 msgid "Goblin Cap" msgstr "Cappello di folletto" -#: trees\goblin_cap.lua:25 +#: trees\goblin_cap.lua:29 msgid "Goblin Cap Gills" msgstr "Lamelle di cappello di folletto" -#: trees\goblin_cap.lua:71 +#: trees\goblin_cap.lua:77 msgid "Goblin Cap Planks" msgstr "Assi di cappello di folletto" -#: trees\goblin_cap.lua:81 +#: trees\goblin_cap.lua:89 msgid "Goblin Cap Stem Planks" msgstr "Assi di gambo di cappello di folletto" -#: trees\goblin_cap.lua:123 +#: trees\goblin_cap.lua:133 msgid "Goblin Cap Spawn" msgstr "Prole di cappello di folletto" @@ -240,19 +589,19 @@ msgstr "Prole di cappello di folletto" msgid "Nether Cap Stem" msgstr "Gambo di cappello del Nether" -#: trees\nether_cap.lua:16 +#: trees\nether_cap.lua:18 msgid "Nether Cap" msgstr "Cappello del Nether" -#: trees\nether_cap.lua:25 +#: trees\nether_cap.lua:29 msgid "Nether Cap Gills" msgstr "Lamelle di cappello del Nether" -#: trees\nether_cap.lua:71 +#: trees\nether_cap.lua:77 msgid "Nether Cap Planks" msgstr "Assi di cappello del Nether" -#: trees\nether_cap.lua:83 +#: trees\nether_cap.lua:91 msgid "Nether Cap Spawn" msgstr "Prole di cappello del Nether" @@ -260,19 +609,19 @@ msgstr "Prole di cappello del Nether" msgid "Spore Tree Stem" msgstr "Gambo di albero delle spore" -#: trees\spore_tree.lua:33 +#: trees\spore_tree.lua:35 msgid "Spore Tree Planks" msgstr "Assi di albero delle spore" -#: trees\spore_tree.lua:70 +#: trees\spore_tree.lua:74 msgid "Spore Tree Hyphae" msgstr "Ife di albero delle spore" -#: trees\spore_tree.lua:94 +#: trees\spore_tree.lua:100 msgid "Spore Tree Fruiting Body" msgstr "Corpo fruttifero dell'albero delle spore" -#: trees\spore_tree.lua:140 +#: trees\spore_tree.lua:148 msgid "Spore Tree Spawn" msgstr "Prole di albero delle spore" @@ -280,19 +629,19 @@ msgstr "Prole di albero delle spore" msgid "Tower Cap Stem" msgstr "Gambo di cappello a torre" -#: trees\tower_cap.lua:16 +#: trees\tower_cap.lua:18 msgid "Tower Cap" msgstr "Cappello a torre" -#: trees\tower_cap.lua:25 +#: trees\tower_cap.lua:29 msgid "Tower Cap Gills" msgstr "Lamelle di cappello a torre" -#: trees\tower_cap.lua:71 +#: trees\tower_cap.lua:77 msgid "Tower Cap Planks" msgstr "Assi di cappello a torre" -#: trees\tower_cap.lua:109 +#: trees\tower_cap.lua:117 msgid "Tower Cap Spawn" msgstr "Prole di cappello a torre" @@ -300,14 +649,14 @@ msgstr "Prole di cappello a torre" msgid "Tunnel Tube" msgstr "Tubo di galleria" -#: trees\tunnel_tube.lua:43 +#: trees\tunnel_tube.lua:45 msgid "Tunnel Tube Plies" msgstr "Strati di tubo di galleria" -#: trees\tunnel_tube.lua:70 +#: trees\tunnel_tube.lua:74 msgid "Tunnel Tube Fruiting Body" msgstr "Corpo fruttifero del tubo di galleria" -#: trees\tunnel_tube.lua:97 +#: trees\tunnel_tube.lua:103 msgid "Tunnel Tube Spawn" msgstr "Prole di tubo di galleria" diff --git a/locale/template.pot b/locale/template.pot index 4fd6117..580a16d 100644 --- a/locale/template.pot +++ b/locale/template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-03-24 00:45-0600\n" +"POT-Creation-Date: 2017-09-10 12:21-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,6 +17,346 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" +#: doc.lua:11 +msgid "" +"A meal made from the admixture of two ingredients, biscuits keep well but " +"are not a rich source of nutrients." +msgstr "" + +#: doc.lua:13 +msgid "" +"Stews mix three ingredients together. They're more wholesome than biscuits, " +"packing more nutrition into a single serving." +msgstr "" + +#: doc.lua:15 +msgid "" +"Four finely minced ingredients combine into a roast, which serves as a full " +"meal." +msgstr "" + +#: doc.lua:18 +msgid "" +"Cave moss is technically a form of mold, but fortunately a relatively benign " +"one given its ubiquity. Its fibers form a tough but springy mat over the " +"surface of any organic-rich soil that accumulates deep underground." +msgstr "" + +#: doc.lua:19 +msgid "" +"Cave moss has no known uses. It dies when exposed to bright light sources." +msgstr "" + +#: doc.lua:20 +msgid "" +"Floor fungus produces a thin, slick film that spreads through the cracks of " +"broken rock. Its ability to subsist on the tiniest traces of nutrients means " +"it's found in relatively harsh underground environments." +msgstr "" + +#: doc.lua:21 +msgid "" +"Floor fungus has no known uses. It can penetrate deeply into cobblestone " +"constructions if an infestation gets hold, but it is difficult to transport " +"and is inhibited by light so it hasn't spread beyond the deep caverns." +msgstr "" + +#: doc.lua:23 +msgid "" +"Glistening strings of silk hang from the ceilings of some of the larger " +"caverns, lit by the millions of tiny bioluminescent worms that spun them. " +"Glow worms prey on the insects they lure and entangle with their faux starry " +"sky - and sometimes the occasional bat or other larger flying beast." +msgstr "" + +#: doc.lua:24 +msgid "" +"Glow worms can be harvested and used as a source of light but they die when " +"exposed to light significantly brighter than themselves or when immersed in " +"water. A colony of glow worms hung in a hospitable environment will undergo " +"a modest amount of growth, allowing it to be divided and propagated." +msgstr "" + +#: doc.lua:28 +msgid "Whatever this fungus was in life, it is now dead." +msgstr "" + +#: doc.lua:29 +msgid "" +"Dead fungus quickly decays into an unrecognizable mess. It can be used as " +"weak fuel or terrible decor." +msgstr "" + +#: doc.lua:31 +msgid "" +"A species of lavender mushroom ubiquitous in caves that is most notable for " +"the soft bioluminescence it produces." +msgstr "" + +#: doc.lua:32 +msgid "" +"This mushroom is inedible but continues producing modest levels of light " +"long after it's picked." +msgstr "" + +#: doc.lua:34 +msgid "" +"Cave wheat is literally a breed of grain-producing grass that somehow lost " +"its ability to photosynthesize and adapted to a more fungal style of life." +msgstr "" + +#: doc.lua:35 +msgid "" +"Like its surface cousin, cave wheat produces grain that can be ground into a " +"form of flour." +msgstr "" + +#: doc.lua:36 +msgid "Cave wheat seed ground into a powder suitable for cooking." +msgstr "" + +#: doc.lua:37 +msgid "" +"When baked alone it forms an edible bread, but it combines well with other " +"more flavorful ingredients." +msgstr "" + +#: doc.lua:38 +msgid "" +"Bread baked from cave wheat flour is tough and durable. A useful ration for " +"long expeditions." +msgstr "" + +#: doc.lua:39 +msgid "It's not tasty, but it keeps you going." +msgstr "" + +#: doc.lua:41 +msgid "" +"The distinctive midnight-blue caps of these mushrooms are inverted, exposing " +"their gills to any breeze that might pass, and have dimpled edges that give " +"them their name." +msgstr "" + +#: doc.lua:42 +msgid "" +"Dimple cups can be dried, ground, and processed to extract a deep blue dye." +msgstr "" + +#: doc.lua:44 +msgid "" +"Pig tails are a fibrous fungal growth that's most notable for its twisting " +"stalks. In a mature stand of pig tails the helical stalks intertwine into a " +"dense mesh." +msgstr "" + +#: doc.lua:45 +msgid "Pig tail stalks can be processed to extract fibers useful as thread." +msgstr "" + +#: doc.lua:46 +msgid "Threads of pig tail fiber." +msgstr "" + +#: doc.lua:47 +msgid "" +"A crafting item that can be woven into textiles and other similar items." +msgstr "" + +#: doc.lua:49 +msgid "" +"Plump helmets are a thick, fleshy mushroom that's edible picked straight " +"from the ground. They form a staple diet for both lost cave explorers and " +"the fauna that preys on them." +msgstr "" + +#: doc.lua:50 +msgid "" +"While they can be eaten fresh, they can be monotonous fare and are perhaps " +"better appreciated as part of a more complex prepared dish." +msgstr "" + +#: doc.lua:52 +msgid "" +"A rare breed of fungus from deep underground that produces a bushy cluster " +"of rumpled gray 'blades'. The biological function of these blades is not " +"known, as quarry bushes reproduce via hard-shelled nodules that grow down at " +"the blade's base." +msgstr "" + +#: doc.lua:53 +msgid "" +"Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are " +"edible with processing." +msgstr "" + +#: doc.lua:54 +msgid "" +"The dried blades of a quarry bush add a welcome zing to recipes containing " +"otherwise-bland subterranean foodstuffs, but they're too spicy to be eaten " +"on their own." +msgstr "" + +#: doc.lua:55 +msgid "Quarry bush leaves can be used as an ingredient in foodstuffs." +msgstr "" + +#: doc.lua:57 +msgid "" +"Sweet pods grow in rich soil, and once they reach maturity they draw that " +"supply of nutrients up to concentrate it in their fruiting bodies. They turn " +"bright red when ripe and can be processed in a variety of ways to extract " +"the sugars they contain." +msgstr "" + +#: doc.lua:60 +msgid "When milled, sweet pods produce a granular sugary substance." +msgstr "" + +#: doc.lua:62 +msgid "When dried in an oven, sweet pods produce a granular sugary substance." +msgstr "" + +#: doc.lua:64 +msgid "Crushing them in a bucket squeezes out a flavorful syrup." +msgstr "" + +#: doc.lua:66 +msgid "Sweet pod sugar has a pink tint to it." +msgstr "" + +#: doc.lua:67 +msgid "" +"Too sweet to be eaten directly, it makes an excellent ingredient in food " +"recipes." +msgstr "" + +#: doc.lua:68 +msgid "Sweet pod syrup is thick and flavorful." +msgstr "" + +#: doc.lua:69 +msgid "" +"Too strong and thick to drink straight, sweet pod syrup is useful in food " +"recipes." +msgstr "" + +#: doc.lua:72 +msgid "" +"The dense black wood of these mushrooms is heavy and hard to work with, and " +"has few remarkable properties." +msgstr "" + +#: doc.lua:73 +msgid "" +"Aside from the artistic applications of its particularly dark color, black " +"cap wood is a long-burning fuel source that's as good as coal for some " +"applications." +msgstr "" + +#: doc.lua:75 +msgid "" +"Blood thorns are the most vicious of underground flora, as befits their " +"harsh environments. Found only in hot, dry caverns with sandy soil far from " +"the surface world's organic bounty, blood thorns seek to supplement their " +"nutrient supply with wickedly barbed hollow spines that actively drain " +"fluids from whatever stray plant or creature they might impale." +msgstr "" + +#: doc.lua:76 +msgid "" +"When harvested, the central stalk of a blood thorn can be cut into planks " +"and used as wood. It has a purple-red hue that may or may not appeal, " +"depending on one's artistic tastes." +msgstr "" + +#: doc.lua:77 +msgid "" +"The spikes of a blood thorn can actually remain living long after they're " +"severed from their parent stalk, a testament to their tenacity. As long as " +"they remain alive they will continue to actively drain anything they " +"puncture, though they don't grow." +msgstr "" + +#: doc.lua:78 +msgid "" +"Living blood thorn spikes remain harmful to creatures that touch them. If " +"killed by bright light, they cause only passive damage to creatures that " +"fall on them (as one would expect from an enormous spike)." +msgstr "" + +#: doc.lua:80 +msgid "" +"Thin, irregular layers of spore-producing 'shelves' surround the strong " +"central stalk of the mighty Fungiwood." +msgstr "" + +#: doc.lua:81 +msgid "" +"Fungiwood stalk is strong and very fine-grained, making smooth yellow-tinted " +"lumber when cut. Fungiwood shelf is too fragile to be much use as anything " +"other than fuel." +msgstr "" + +#: doc.lua:83 +msgid "" +"Massive but squat, mature goblin cap mushrooms are the size of small " +"cottages." +msgstr "" + +#: doc.lua:84 +msgid "" +"Goblin cap stem and cap material can be cut into wood of two different hues, " +"a subdued cream and a bright orange-red." +msgstr "" + +#: doc.lua:86 +msgid "" +"Nether caps have an unusual biochemistry that allows them to somehow subsist " +"on ambient heat, in violation of all known laws of thermodynamics. They grow " +"deep underground in frigid, icy caverns that should by all rights be " +"volcanic." +msgstr "" + +#: doc.lua:87 +msgid "" +"Nether cap wood, in addition to being a beautiful blue hue, retains the odd " +"heat-draining ability of living nether caps and is able to quickly freeze " +"nearby water solid." +msgstr "" + +#: doc.lua:89 +msgid "" +"Spore trees have a sturdy 'trunk' that supports a large spongy mesh of " +"branching fibers, with embedded fruiting bodies that produce a copious " +"amount of spores that gently rain down around the spore tree's base." +msgstr "" + +#: doc.lua:90 +msgid "" +"Spore tree trunks can be cut into pale woody planks. The branching fibers " +"and fruiting bodies are only useful as fuel." +msgstr "" + +#: doc.lua:92 +msgid "The king of the fungi, tower cap mushrooms grow to immense proportions." +msgstr "" + +#: doc.lua:93 +msgid "Tower caps are an excellent source of wood." +msgstr "" + +#: doc.lua:95 +msgid "" +"Tunnel tubes are hollow, curved fungal growths that support a fruiting body." +msgstr "" + +#: doc.lua:96 +msgid "" +"The trunk of a tunnel tube can be cut and processed to produce plywood-like " +"material." +msgstr "" + #: glow_worms.lua:6 msgid "Glow Worms" msgstr "" @@ -25,7 +365,7 @@ msgstr "" msgid "Dirt With Cave Moss" msgstr "" -#: ground_cover.lua:50 +#: ground_cover.lua:52 msgid "Cobblestone With Floor Fungus" msgstr "" @@ -33,26 +373,26 @@ msgstr "" msgid "Dead Fungus" msgstr "" -#: plants.lua:33 +#: plants.lua:35 msgid "Cavern Fungi" msgstr "" -#: plants\cave_wheat.lua:9 -#: plants\cave_wheat.lua:57 +#: plants\cave_wheat.lua:10 +#: plants\cave_wheat.lua:69 msgid "Cave Wheat" msgstr "" -#: plants\cave_wheat.lua:51 -#: plants\cooking.lua:43 +#: plants\cave_wheat.lua:61 +#: plants\cooking.lua:49 msgid "Cave Wheat Seed" msgstr "" -#: plants\cave_wheat.lua:68 -#: plants\cooking.lua:42 +#: plants\cave_wheat.lua:82 +#: plants\cooking.lua:48 msgid "Cave Wheat Flour" msgstr "" -#: plants\cave_wheat.lua:74 +#: plants\cave_wheat.lua:90 msgid "Dwarven Bread" msgstr "" @@ -60,106 +400,107 @@ msgstr "" msgid "@1 Biscuit" msgstr "" -#: plants\cooking.lua:12 +#: plants\cooking.lua:14 msgid "@1 Stew" msgstr "" -#: plants\cooking.lua:17 +#: plants\cooking.lua:21 msgid "@1 Roast" msgstr "" -#: plants\cooking.lua:44 +#: plants\cooking.lua:50 msgid "Sweet Pod Spore" msgstr "" -#: plants\cooking.lua:45 -#: plants\sweet_pod.lua:70 +#: plants\cooking.lua:51 +#: plants\sweet_pod.lua:83 msgid "Sweet Pod Sugar" msgstr "" -#: plants\cooking.lua:46 -#: plants\plump_helmet.lua:80 -#: plants\plump_helmet.lua:109 -#: plants\plump_helmet.lua:150 -#: plants\plump_helmet.lua:190 +#: plants\cooking.lua:52 +#: plants\plump_helmet.lua:91 +#: plants\plump_helmet.lua:127 +#: plants\plump_helmet.lua:161 +#: plants\plump_helmet.lua:195 +#: plants\plump_helmet.lua:246 msgid "Plump Helmet" msgstr "" -#: plants\cooking.lua:47 -#: plants\plump_helmet.lua:58 +#: plants\cooking.lua:53 +#: plants\plump_helmet.lua:61 msgid "Plump Helmet Spawn" msgstr "" -#: plants\cooking.lua:48 +#: plants\cooking.lua:54 msgid "Quarry Bush Leaf" msgstr "" -#: plants\cooking.lua:49 +#: plants\cooking.lua:55 msgid "Rock Nut" msgstr "" -#: plants\cooking.lua:50 +#: plants\cooking.lua:56 msgid "Dimple Cup Spore" msgstr "" -#: plants\cooking.lua:51 -#: plants\pig_tail.lua:51 +#: plants\cooking.lua:57 +#: plants\pig_tail.lua:61 msgid "Pig Tail Spore" msgstr "" -#: plants\cooking.lua:52 +#: plants\cooking.lua:58 msgid "Dwarven Syrup" msgstr "" -#: plants\dimple_cup.lua:9 +#: plants\dimple_cup.lua:10 msgid "Dimple Cup" msgstr "" -#: plants\dimple_cup.lua:45 +#: plants\dimple_cup.lua:55 msgid "Dimple Cup Spores" msgstr "" -#: plants\pig_tail.lua:9 +#: plants\pig_tail.lua:10 msgid "Pig Tail" msgstr "" -#: plants\pig_tail.lua:57 +#: plants\pig_tail.lua:69 msgid "Pig tail thread" msgstr "" -#: plants\quarry_bush.lua:9 +#: plants\quarry_bush.lua:10 msgid "Quarry Bush" msgstr "" -#: plants\quarry_bush.lua:52 +#: plants\quarry_bush.lua:61 msgid "Rock Nuts" msgstr "" -#: plants\quarry_bush.lua:58 +#: plants\quarry_bush.lua:70 msgid "Quarry Bush Leaves" msgstr "" -#: plants\sweet_pod.lua:9 +#: plants\sweet_pod.lua:10 msgid "Sweet Pod" msgstr "" -#: plants\sweet_pod.lua:50 +#: plants\sweet_pod.lua:59 msgid "Sweet Pod Spores" msgstr "" -#: plants\sweet_pod.lua:56 +#: plants\sweet_pod.lua:67 msgid "Sweet Pods" msgstr "" -#: plants\sweet_pod.lua:91 +#: plants\sweet_pod.lua:106 msgid "Dwarven Syrup Source" msgstr "" -#: plants\sweet_pod.lua:137 +#: plants\sweet_pod.lua:154 msgid "Flowing Dwarven Syrup" msgstr "" -#: plants\sweet_pod.lua:188 +#: plants\sweet_pod.lua:207 msgid "Dwarven Syrup Bucket" msgstr "" @@ -167,19 +508,19 @@ msgstr "" msgid "Black Cap Stem" msgstr "" -#: trees\black_cap.lua:16 +#: trees\black_cap.lua:18 msgid "Black Cap" msgstr "" -#: trees\black_cap.lua:25 +#: trees\black_cap.lua:29 msgid "Black Cap Gills" msgstr "" -#: trees\black_cap.lua:71 +#: trees\black_cap.lua:77 msgid "Black Cap Planks" msgstr "" -#: trees\black_cap.lua:108 +#: trees\black_cap.lua:116 msgid "Black Cap Spawn" msgstr "" @@ -187,19 +528,19 @@ msgstr "" msgid "Blood Thorn Stem" msgstr "" -#: trees\blood_thorn.lua:45 +#: trees\blood_thorn.lua:47 msgid "Dead Blood Thorn Stem" msgstr "" -#: trees\blood_thorn.lua:56 +#: trees\blood_thorn.lua:60 msgid "Blood Thorn Spike" msgstr "" -#: trees\blood_thorn.lua:84 +#: trees\blood_thorn.lua:90 msgid "Dead Blood Thorn Spike" msgstr "" -#: trees\blood_thorn.lua:119 +#: trees\blood_thorn.lua:127 msgid "Blood Thorn Planks" msgstr "" @@ -207,15 +548,15 @@ msgstr "" msgid "Fungiwood Stem" msgstr "" -#: trees\fungiwood.lua:32 +#: trees\fungiwood.lua:34 msgid "Fungiwood Planks" msgstr "" -#: trees\fungiwood.lua:64 +#: trees\fungiwood.lua:68 msgid "Fungiwood Shelf" msgstr "" -#: trees\fungiwood.lua:100 +#: trees\fungiwood.lua:106 msgid "Fungiwood Spawn" msgstr "" @@ -223,23 +564,23 @@ msgstr "" msgid "Goblin Cap Stem" msgstr "" -#: trees\goblin_cap.lua:16 +#: trees\goblin_cap.lua:18 msgid "Goblin Cap" msgstr "" -#: trees\goblin_cap.lua:25 +#: trees\goblin_cap.lua:29 msgid "Goblin Cap Gills" msgstr "" -#: trees\goblin_cap.lua:71 +#: trees\goblin_cap.lua:77 msgid "Goblin Cap Planks" msgstr "" -#: trees\goblin_cap.lua:81 +#: trees\goblin_cap.lua:89 msgid "Goblin Cap Stem Planks" msgstr "" -#: trees\goblin_cap.lua:123 +#: trees\goblin_cap.lua:133 msgid "Goblin Cap Spawn" msgstr "" @@ -247,19 +588,19 @@ msgstr "" msgid "Nether Cap Stem" msgstr "" -#: trees\nether_cap.lua:16 +#: trees\nether_cap.lua:18 msgid "Nether Cap" msgstr "" -#: trees\nether_cap.lua:25 +#: trees\nether_cap.lua:29 msgid "Nether Cap Gills" msgstr "" -#: trees\nether_cap.lua:71 +#: trees\nether_cap.lua:77 msgid "Nether Cap Planks" msgstr "" -#: trees\nether_cap.lua:83 +#: trees\nether_cap.lua:91 msgid "Nether Cap Spawn" msgstr "" @@ -267,19 +608,19 @@ msgstr "" msgid "Spore Tree Stem" msgstr "" -#: trees\spore_tree.lua:33 +#: trees\spore_tree.lua:35 msgid "Spore Tree Planks" msgstr "" -#: trees\spore_tree.lua:70 +#: trees\spore_tree.lua:74 msgid "Spore Tree Hyphae" msgstr "" -#: trees\spore_tree.lua:94 +#: trees\spore_tree.lua:100 msgid "Spore Tree Fruiting Body" msgstr "" -#: trees\spore_tree.lua:140 +#: trees\spore_tree.lua:148 msgid "Spore Tree Spawn" msgstr "" @@ -287,19 +628,19 @@ msgstr "" msgid "Tower Cap Stem" msgstr "" -#: trees\tower_cap.lua:16 +#: trees\tower_cap.lua:18 msgid "Tower Cap" msgstr "" -#: trees\tower_cap.lua:25 +#: trees\tower_cap.lua:29 msgid "Tower Cap Gills" msgstr "" -#: trees\tower_cap.lua:71 +#: trees\tower_cap.lua:77 msgid "Tower Cap Planks" msgstr "" -#: trees\tower_cap.lua:109 +#: trees\tower_cap.lua:117 msgid "Tower Cap Spawn" msgstr "" @@ -307,14 +648,14 @@ msgstr "" msgid "Tunnel Tube" msgstr "" -#: trees\tunnel_tube.lua:43 +#: trees\tunnel_tube.lua:45 msgid "Tunnel Tube Plies" msgstr "" -#: trees\tunnel_tube.lua:70 +#: trees\tunnel_tube.lua:74 msgid "Tunnel Tube Fruiting Body" msgstr "" -#: trees\tunnel_tube.lua:97 +#: trees\tunnel_tube.lua:103 msgid "Tunnel Tube Spawn" msgstr "" diff --git a/plants.lua b/plants.lua index 4507d68..37ca073 100644 --- a/plants.lua +++ b/plants.lua @@ -8,6 +8,8 @@ local S, NS = dofile(MP.."/intllib.lua") minetest.register_node("dfcaverns:dead_fungus", { description = S("Dead Fungus"), + _doc_items_longdesc = dfcaverns.doc.dead_fungus_desc, + _doc_items_usagehelp = dfcaverns.doc.dead_fungus_usage, drawtype = "plantlike", tiles = {"dfcaverns_dead_fungus.png"}, inventory_image = "dfcaverns_dead_fungus.png", @@ -31,6 +33,8 @@ minetest.register_craft({ -- not DF canon minetest.register_node("dfcaverns:cavern_fungi", { description = S("Cavern Fungi"), + _doc_items_longdesc = dfcaverns.doc.cavern_fungi_desc, + _doc_items_usagehelp = dfcaverns.doc.cavern_fungi_usage, drawtype = "plantlike", tiles = {"dfcaverns_fungi.png"}, inventory_image = "dfcaverns_fungi.png", @@ -122,9 +126,11 @@ local place_seed = function(itemstack, placer, pointed_thing, plantname) return itemstack end -dfcaverns.register_seed = function(name, description, image, stage_one, grow_time) +dfcaverns.register_seed = function(name, description, image, stage_one, grow_time, desc, usage) local def = { description = description, + _doc_items_longdesc = desc, + _doc_items_usagehelp = usage, tiles = {image}, inventory_image = image, wield_image = image, diff --git a/plants/cave_wheat.lua b/plants/cave_wheat.lua index d667e2f..db1b734 100644 --- a/plants/cave_wheat.lua +++ b/plants/cave_wheat.lua @@ -8,6 +8,8 @@ local register_cave_wheat = function(number) local name = "dfcaverns:cave_wheat_"..tostring(number) local def = { description = S("Cave Wheat"), + _doc_items_longdesc = dfcaverns.doc.cave_wheat_desc, + _doc_items_usagehelp = dfcaverns.doc.cave_wheat_usage, drawtype = "plantlike", paramtype2 = "meshoptions", place_param2 = 3, @@ -54,10 +56,19 @@ for i = 1,8 do register_cave_wheat(i) end -dfcaverns.register_seed("cave_wheat_seed", S("Cave Wheat Seed"), "dfcaverns_cave_wheat_seed.png", "dfcaverns:cave_wheat_1", wheat_grow_time) +dfcaverns.register_seed( + "cave_wheat_seed", + S("Cave Wheat Seed"), + "dfcaverns_cave_wheat_seed.png", + "dfcaverns:cave_wheat_1", + wheat_grow_time, + dfcaverns.doc.cave_wheat_desc, + dfcaverns.doc.cave_wheat_usage) minetest.register_craftitem("dfcaverns:cave_wheat", { description = S("Cave Wheat"), + _doc_items_longdesc = dfcaverns.doc.cave_wheat_desc, + _doc_items_usagehelp = dfcaverns.doc.cave_wheat_usage, inventory_image = "dfcaverns_cave_wheat.png", stack_max = 99, }) @@ -69,12 +80,16 @@ minetest.register_craft({ minetest.register_craftitem("dfcaverns:cave_flour", { description = S("Cave Wheat Flour"), + _doc_items_longdesc = dfcaverns.doc.cave_flour_desc, + _doc_items_usagehelp = dfcaverns.doc.cave_flour_usage, inventory_image = "dfcaverns_flour.png", groups = {flammable = 1, dfcaverns_cookable = 1}, }) minetest.register_craftitem("dfcaverns:cave_bread", { description = S("Dwarven Bread"), + _doc_items_longdesc = dfcaverns.doc.cave_bread_desc, + _doc_items_usagehelp = dfcaverns.doc.cave_bread_usage, inventory_image = "dfcaverns_bread.png", on_use = minetest.item_eat(5), groups = {flammable = 2}, diff --git a/plants/cooking.lua b/plants/cooking.lua index 236f137..91f1b43 100644 --- a/plants/cooking.lua +++ b/plants/cooking.lua @@ -5,16 +5,22 @@ local S, NS = dofile(MP.."/intllib.lua") local register_cooking_recipes = function(prefix, item, name, returns) minetest.register_craftitem("dfcaverns:"..item.."_biscuit", { description = S("@1 Biscuit", name), + _doc_items_longdesc = dfcaverns.doc.biscuit_desc, + _doc_items_usagehelp = dfcaverns.doc.biscuit_usage, inventory_image = "dfcaverns_biscuit.png", on_use = minetest.item_eat(4), }) minetest.register_craftitem("dfcaverns:"..item.."_stew", { description = S("@1 Stew", name), + _doc_items_longdesc = dfcaverns.doc.stew_desc, + _doc_items_usagehelp = dfcaverns.doc.stew_usage, inventory_image = "dfcaverns_stew.png", on_use = minetest.item_eat(6), }) minetest.register_craftitem("dfcaverns:"..item.."_roast", { description = S("@1 Roast", name), + _doc_items_longdesc = dfcaverns.doc.roast_desc, + _doc_items_usagehelp = dfcaverns.doc.roast_usage, inventory_image = "dfcaverns_roast.png", on_use = minetest.item_eat(8), }) diff --git a/plants/dimple_cup.lua b/plants/dimple_cup.lua index a6b2515..b12fb6d 100644 --- a/plants/dimple_cup.lua +++ b/plants/dimple_cup.lua @@ -8,6 +8,8 @@ local register_dimple_cup = function(number) local name = "dfcaverns:dimple_cup_"..tostring(number) local def = { description = S("Dimple Cup"), + _doc_items_longdesc = dfcaverns.doc.dimple_cup_desc, + _doc_items_usagehelp = dfcaverns.doc.dimple_cup_usage, drawtype = "plantlike", tiles = {"dfcaverns_dimple_cup_"..tostring(number)..".png"}, inventory_image = "dfcaverns_dimple_cup_"..tostring(number)..".png", @@ -48,4 +50,11 @@ for i = 1,4 do register_dimple_cup(i) end -dfcaverns.register_seed("dimple_cup_seed", S("Dimple Cup Spores"), "dfcaverns_dimple_cup_seed.png", "dfcaverns:dimple_cup_1", dimple_grow_time) +dfcaverns.register_seed( + "dimple_cup_seed", + S("Dimple Cup Spores"), + "dfcaverns_dimple_cup_seed.png", + "dfcaverns:dimple_cup_1", + dimple_grow_time, + dfcaverns.doc.dimple_cup_desc, + dfcaverns.doc.dimple_cup_usage) diff --git a/plants/pig_tail.lua b/plants/pig_tail.lua index 7fac880..38681b4 100644 --- a/plants/pig_tail.lua +++ b/plants/pig_tail.lua @@ -8,6 +8,8 @@ local register_pig_tail = function(number) local name = "dfcaverns:pig_tail_"..tostring(number) local def = { description = S("Pig Tail"), + _doc_items_longdesc = dfcaverns.doc.pig_tail_desc, + _doc_items_usagehelp = dfcaverns.doc.pig_tail_usage, drawtype = "plantlike", paramtype2 = "meshoptions", place_param2 = 3, @@ -54,10 +56,19 @@ for i = 1,8 do register_pig_tail(i) end -dfcaverns.register_seed("pig_tail_seed", S("Pig Tail Spore"), "dfcaverns_pig_tail_seed.png", "dfcaverns:pig_tail_1", pig_tail_grow_time) +dfcaverns.register_seed( + "pig_tail_seed", + S("Pig Tail Spore"), + "dfcaverns_pig_tail_seed.png", + "dfcaverns:pig_tail_1", + pig_tail_grow_time, + dfcaverns.doc.pig_tail_desc, + dfcaverns.doc.pig_tail_usage) minetest.register_craftitem("dfcaverns:pig_tail_thread", { description = S("Pig tail thread"), + _doc_items_longdesc = dfcaverns.doc.pig_tail_thread_desc, + _doc_items_usagehelp = dfcaverns.doc.pig_tail_thread_usage, inventory_image = "dfcaverns_pig_tail_thread.png", groups = {flammable = 1, thread = 1}, }) diff --git a/plants/plump_helmet.lua b/plants/plump_helmet.lua index 1b290d2..e291b03 100644 --- a/plants/plump_helmet.lua +++ b/plants/plump_helmet.lua @@ -59,6 +59,8 @@ end minetest.register_node("dfcaverns:plump_helmet_spawn", { description = S("Plump Helmet Spawn"), + _doc_items_longdesc = dfcaverns.doc.plump_helmet_desc, + _doc_items_usagehelp = dfcaverns.doc.plump_helmet_usage, tiles = { "dfcaverns_plump_helmet_cap.png", }, @@ -87,6 +89,8 @@ minetest.register_node("dfcaverns:plump_helmet_spawn", { minetest.register_node("dfcaverns:plump_helmet_1", { description = S("Plump Helmet"), + _doc_items_longdesc = dfcaverns.doc.plump_helmet_desc, + _doc_items_usagehelp = dfcaverns.doc.plump_helmet_usage, tiles = { "dfcaverns_plump_helmet_cap.png", "dfcaverns_plump_helmet_cap.png", @@ -121,6 +125,8 @@ minetest.register_node("dfcaverns:plump_helmet_1", { minetest.register_node("dfcaverns:plump_helmet_2", { description = S("Plump Helmet"), + _doc_items_longdesc = dfcaverns.doc.plump_helmet_desc, + _doc_items_usagehelp = dfcaverns.doc.plump_helmet_usage, tiles = { "dfcaverns_plump_helmet_cap.png", "dfcaverns_plump_helmet_cap.png", @@ -153,6 +159,8 @@ minetest.register_node("dfcaverns:plump_helmet_2", { minetest.register_node("dfcaverns:plump_helmet_3", { description = S("Plump Helmet"), + _doc_items_longdesc = dfcaverns.doc.plump_helmet_desc, + _doc_items_usagehelp = dfcaverns.doc.plump_helmet_usage, tiles = { "dfcaverns_plump_helmet_cap.png", "dfcaverns_plump_helmet_cap.png", @@ -185,6 +193,8 @@ minetest.register_node("dfcaverns:plump_helmet_3", { minetest.register_node("dfcaverns:plump_helmet_4", { description = S("Plump Helmet"), + _doc_items_longdesc = dfcaverns.doc.plump_helmet_desc, + _doc_items_usagehelp = dfcaverns.doc.plump_helmet_usage, tiles = { "dfcaverns_plump_helmet_cap.png", "dfcaverns_plump_helmet_cap.png", @@ -234,6 +244,8 @@ minetest.register_node("dfcaverns:plump_helmet_4", { minetest.register_node("dfcaverns:plump_helmet_4_picked", { description = S("Plump Helmet"), + _doc_items_longdesc = dfcaverns.doc.plump_helmet_desc, + _doc_items_usagehelp = dfcaverns.doc.plump_helmet_usage, tiles = { "dfcaverns_plump_helmet_cap.png", "dfcaverns_plump_helmet_cap.png", diff --git a/plants/quarry_bush.lua b/plants/quarry_bush.lua index 99b7853..4d70e26 100644 --- a/plants/quarry_bush.lua +++ b/plants/quarry_bush.lua @@ -8,6 +8,8 @@ local register_quarry_bush = function(number) local name = "dfcaverns:quarry_bush_"..tostring(number) local def = { description = S("Quarry Bush"), + _doc_items_longdesc = dfcaverns.doc.quarry_bush_desc, + _doc_items_usagehelp = dfcaverns.doc.quarry_bush_usage, drawtype = "plantlike", paramtype2 = "meshoptions", place_param2 = 4, @@ -54,10 +56,20 @@ for i = 1,5 do register_quarry_bush(i) end -dfcaverns.register_seed("quarry_bush_seed", S("Rock Nuts"), "dfcaverns_rock_nuts.png", "dfcaverns:quarry_bush_1", quarry_grow_time) +dfcaverns.register_seed( + "quarry_bush_seed", + S("Rock Nuts"), + "dfcaverns_rock_nuts.png", + "dfcaverns:quarry_bush_1", + quarry_grow_time, + dfcaverns.doc.quarry_bush_desc, + dfcaverns.doc.quarry_bush_usage +) minetest.register_craftitem("dfcaverns:quarry_bush_leaves", { description = S("Quarry Bush Leaves"), + _doc_items_longdesc = dfcaverns.doc.quarry_bush_leaves_desc, + _doc_items_usagehelp = dfcaverns.doc.quarry_bush_leaves_usage, inventory_image = "dfcaverns_quarry_bush_leaves.png", groups = {dfcaverns_cookable = 1}, stack_max = 99, diff --git a/plants/sweet_pod.lua b/plants/sweet_pod.lua index e6b0f46..e80f44c 100644 --- a/plants/sweet_pod.lua +++ b/plants/sweet_pod.lua @@ -8,6 +8,8 @@ local register_sweet_pod = function(number) local name = "dfcaverns:sweet_pod_"..tostring(number) local def = { description = S("Sweet Pod"), + _doc_items_longdesc = dfcaverns.doc.sweet_pod_desc, + _doc_items_usagehelp = dfcaverns.doc.sweet_pod_usage, drawtype = "plantlike", tiles = {"dfcaverns_sweet_pod_"..tostring(number)..".png"}, inventory_image = "dfcaverns_sweet_pod_"..tostring(number)..".png", @@ -52,10 +54,19 @@ for i = 1,6 do register_sweet_pod(i) end -dfcaverns.register_seed("sweet_pod_seed", S("Sweet Pod Spores"), "dfcaverns_sweet_pod_seed.png", "dfcaverns:sweet_pod_1", sweet_pod_grow_time) +dfcaverns.register_seed( + "sweet_pod_seed", + S("Sweet Pod Spores"), + "dfcaverns_sweet_pod_seed.png", + "dfcaverns:sweet_pod_1", + sweet_pod_grow_time, + dfcaverns.doc.sweet_pod_desc, + dfcaverns.doc.sweet_pod_usage) minetest.register_craftitem("dfcaverns:sweet_pods", { description = S("Sweet Pods"), + _doc_items_longdesc = dfcaverns.doc.sweet_pod_desc, + _doc_items_usagehelp = dfcaverns.doc.sweet_pod_usage, inventory_image = "dfcaverns_sweet_pods.png", stack_max = 99, }) @@ -70,6 +81,8 @@ minetest.register_craft({ minetest.register_craftitem("dfcaverns:sugar", { description = S("Sweet Pod Sugar"), + _doc_items_longdesc = dfcaverns.doc.sweet_pod_sugar_desc, + _doc_items_usagehelp = dfcaverns.doc.sweet_pod_sugar_usage, inventory_image = "dfcaverns_sugar.png", groups = {dfcaverns_cookable = 1}, }) @@ -91,6 +104,8 @@ end if minetest.get_modpath("bucket") then minetest.register_node("dfcaverns:dwarven_syrup_source", { description = S("Dwarven Syrup Source"), + _doc_items_longdesc = dfcaverns.doc.sweet_pod_syrup_desc, + _doc_items_usagehelp = dfcaverns.doc.sweet_pod_syrup_usage, drawtype = "liquid", tiles = { { @@ -137,6 +152,8 @@ if minetest.get_modpath("bucket") then minetest.register_node("dfcaverns:dwarven_syrup_flowing", { description = S("Flowing Dwarven Syrup"), + _doc_items_longdesc = dfcaverns.doc.sweet_pod_syrup_desc, + _doc_items_usagehelp = dfcaverns.doc.sweet_pod_syrup_usage, drawtype = "flowingliquid", tiles = {"dfcaverns_dwarven_syrup.png"}, special_tiles = { diff --git a/trees/black_cap.lua b/trees/black_cap.lua index f66faf8..2d4640f 100644 --- a/trees/black_cap.lua +++ b/trees/black_cap.lua @@ -5,6 +5,8 @@ local S, NS = dofile(MP.."/intllib.lua") --stem minetest.register_node("dfcaverns:black_cap_stem", { description = S("Black Cap Stem"), + _doc_items_longdesc = dfcaverns.doc.black_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.black_cap_usage, tiles = {"dfcaverns_black_cap_top.png","dfcaverns_black_cap_top.png","dfcaverns_black_cap_side.png",}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, @@ -14,6 +16,8 @@ minetest.register_node("dfcaverns:black_cap_stem", { --cap minetest.register_node("dfcaverns:black_cap", { description = S("Black Cap"), + _doc_items_longdesc = dfcaverns.doc.black_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.black_cap_usage, tiles = {"dfcaverns_black_cap_top.png","dfcaverns_black_cap_top.png","dfcaverns_black_cap_side.png^[transformR90",}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, @@ -23,6 +27,8 @@ minetest.register_node("dfcaverns:black_cap", { --gills minetest.register_node("dfcaverns:black_cap_gills", { description = S("Black Cap Gills"), + _doc_items_longdesc = dfcaverns.doc.black_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.black_cap_usage, tiles = {"dfcaverns_black_cap_gills.png"}, is_ground_content = true, groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1}, @@ -69,6 +75,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:black_cap_wood", { description = S("Black Cap Planks"), + _doc_items_longdesc = dfcaverns.doc.black_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.black_cap_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_black_cap_wood.png"}, @@ -106,6 +114,8 @@ minetest.register_craft({ -- sapling minetest.register_node("dfcaverns:black_cap_sapling", { description = S("Black Cap Spawn"), + _doc_items_longdesc = dfcaverns.doc.black_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.black_cap_usage, drawtype = "plantlike", visual_scale = 1.0, tiles = {"dfcaverns_black_cap_sapling.png"}, diff --git a/trees/blood_thorn.lua b/trees/blood_thorn.lua index d94ca09..d13e669 100644 --- a/trees/blood_thorn.lua +++ b/trees/blood_thorn.lua @@ -30,6 +30,8 @@ end minetest.register_node("dfcaverns:blood_thorn", { description = S("Blood Thorn Stem"), + _doc_items_longdesc = dfcaverns.doc.blood_thorn_desc, + _doc_items_usagehelp = dfcaverns.doc.blood_thorn_usage, tiles = {"dfcaverns_blood_thorn_top.png", "dfcaverns_blood_thorn_top.png", "dfcaverns_blood_thorn_side.png", "dfcaverns_blood_thorn_side.png", "dfcaverns_blood_thorn_side.png", "dfcaverns_blood_thorn_side.png"}, paramtype2 = "facedir", @@ -43,6 +45,8 @@ minetest.register_node("dfcaverns:blood_thorn", { minetest.register_node("dfcaverns:blood_thorn_dead", { description = S("Dead Blood Thorn Stem"), + _doc_items_longdesc = dfcaverns.doc.blood_thorn_desc, + _doc_items_usagehelp = dfcaverns.doc.blood_thorn_usage, tiles = {"dfcaverns_blood_thorn_top.png^[multiply:#804000", "dfcaverns_blood_thorn_top.png^[multiply:#804000", "dfcaverns_blood_thorn_side.png^[multiply:#804000"}, paramtype2 = "facedir", @@ -54,6 +58,8 @@ minetest.register_node("dfcaverns:blood_thorn_dead", { minetest.register_node("dfcaverns:blood_thorn_spike", { description = S("Blood Thorn Spike"), + _doc_items_longdesc = dfcaverns.doc.blood_thorn_spike_desc, + _doc_items_usagehelp = dfcaverns.doc.blood_thorn_spike_usage, tiles = { "dfcaverns_blood_thorn_spike_side.png^[transformR90", "dfcaverns_blood_thorn_spike_side.png^[transformR270", @@ -82,6 +88,8 @@ minetest.register_node("dfcaverns:blood_thorn_spike", { minetest.register_node("dfcaverns:blood_thorn_spike_dead", { description = S("Dead Blood Thorn Spike"), + _doc_items_longdesc = dfcaverns.doc.blood_thorn_spike_desc, + _doc_items_usagehelp = dfcaverns.doc.blood_thorn_spike_usage, tiles = { "dfcaverns_blood_thorn_spike_side.png^[transformR90^[multiply:#804000", "dfcaverns_blood_thorn_spike_side.png^[transformR270^[multiply:#804000", @@ -117,6 +125,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:blood_thorn_wood", { description = S("Blood Thorn Planks"), + _doc_items_longdesc = dfcaverns.doc.blood_thorn_desc, + _doc_items_usagehelp = dfcaverns.doc.blood_thorn_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_blood_thorn_wood.png"}, diff --git a/trees/fungiwood.lua b/trees/fungiwood.lua index 0d0fb4c..1a65f05 100644 --- a/trees/fungiwood.lua +++ b/trees/fungiwood.lua @@ -11,6 +11,8 @@ local S, NS = dofile(MP.."/intllib.lua") minetest.register_node("dfcaverns:fungiwood", { description = S("Fungiwood Stem"), + _doc_items_longdesc = dfcaverns.doc.fungiwood_desc, + _doc_items_usagehelp = dfcaverns.doc.fungiwood_usage, tiles = {"dfcaverns_fungiwood.png"}, paramtype2 = "facedir", is_ground_content = false, @@ -30,6 +32,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:fungiwood_wood", { description = S("Fungiwood Planks"), + _doc_items_longdesc = dfcaverns.doc.fungiwood_desc, + _doc_items_usagehelp = dfcaverns.doc.fungiwood_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_fungiwood_wood.png"}, @@ -62,6 +66,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:fungiwood_shelf",{ description = S("Fungiwood Shelf"), + _doc_items_longdesc = dfcaverns.doc.fungiwood_desc, + _doc_items_usagehelp = dfcaverns.doc.fungiwood_usage, tiles = {"dfcaverns_fungiwood.png", "dfcaverns_fungiwood_shelf_underside.png", "dfcaverns_fungiwood.png"}, drawtype = "nodebox", paramtype = "light", @@ -98,6 +104,8 @@ end minetest.register_node("dfcaverns:fungiwood_sapling", { description = S("Fungiwood Spawn"), + _doc_items_longdesc = dfcaverns.doc.fungiwood_desc, + _doc_items_usagehelp = dfcaverns.doc.fungiwood_usage, drawtype = "plantlike", visual_scale = 1.0, tiles = {"dfcaverns_fungiwood_sapling.png"}, diff --git a/trees/goblin_cap.lua b/trees/goblin_cap.lua index 8eab83d..2683995 100644 --- a/trees/goblin_cap.lua +++ b/trees/goblin_cap.lua @@ -5,6 +5,8 @@ local S, NS = dofile(MP.."/intllib.lua") --stem minetest.register_node("dfcaverns:goblin_cap_stem", { description = S("Goblin Cap Stem"), + _doc_items_longdesc = dfcaverns.doc.goblin_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.goblin_cap_usage, tiles = {"dfcaverns_goblin_cap_stem.png"}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, @@ -14,6 +16,8 @@ minetest.register_node("dfcaverns:goblin_cap_stem", { --cap minetest.register_node("dfcaverns:goblin_cap", { description = S("Goblin Cap"), + _doc_items_longdesc = dfcaverns.doc.goblin_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.goblin_cap_usage, tiles = {"dfcaverns_goblin_cap.png"}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, @@ -23,6 +27,8 @@ minetest.register_node("dfcaverns:goblin_cap", { --gills minetest.register_node("dfcaverns:goblin_cap_gills", { description = S("Goblin Cap Gills"), + _doc_items_longdesc = dfcaverns.doc.goblin_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.goblin_cap_usage, tiles = {"dfcaverns_goblin_cap_gills.png"}, is_ground_content = true, groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1}, @@ -69,6 +75,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:goblin_cap_wood", { description = S("Goblin Cap Planks"), + _doc_items_longdesc = dfcaverns.doc.goblin_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.goblin_cap_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_goblin_cap_wood.png"}, @@ -79,6 +87,8 @@ minetest.register_node("dfcaverns:goblin_cap_wood", { minetest.register_node("dfcaverns:goblin_cap_stem_wood", { description = S("Goblin Cap Stem Planks"), + _doc_items_longdesc = dfcaverns.doc.goblin_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.goblin_cap_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_goblin_cap_stem_wood.png"}, @@ -121,6 +131,8 @@ minetest.register_craft({ -- sapling minetest.register_node("dfcaverns:goblin_cap_sapling", { description = S("Goblin Cap Spawn"), + _doc_items_longdesc = dfcaverns.doc.goblin_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.goblin_cap_usage, drawtype = "plantlike", visual_scale = 1.0, tiles = {"dfcaverns_goblin_cap_sapling.png"}, diff --git a/trees/nether_cap.lua b/trees/nether_cap.lua index 92b0f56..9ff016d 100644 --- a/trees/nether_cap.lua +++ b/trees/nether_cap.lua @@ -5,6 +5,8 @@ local S, NS = dofile(MP.."/intllib.lua") --stem minetest.register_node("dfcaverns:nether_cap_stem", { description = S("Nether Cap Stem"), + _doc_items_longdesc = dfcaverns.doc.nether_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap_stem.png"}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1}, @@ -14,6 +16,8 @@ minetest.register_node("dfcaverns:nether_cap_stem", { --cap minetest.register_node("dfcaverns:nether_cap", { description = S("Nether Cap"), + _doc_items_longdesc = dfcaverns.doc.nether_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap.png"}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, puts_out_fire = 1, cools_lava = 1 }, @@ -23,6 +27,8 @@ minetest.register_node("dfcaverns:nether_cap", { --gills minetest.register_node("dfcaverns:nether_cap_gills", { description = S("Nether Cap Gills"), + _doc_items_longdesc = dfcaverns.doc.nether_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.nether_cap_usage, tiles = {"dfcaverns_nether_cap_gills.png"}, is_ground_content = true, groups = {snappy = 3, leafdecay = 3, leaves = 1, puts_out_fire = 1, cools_lava = 1}, @@ -69,6 +75,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:nether_cap_wood", { description = S("Nether Cap Planks"), + _doc_items_longdesc = dfcaverns.doc.nether_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.nether_cap_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_nether_cap_wood.png"}, @@ -81,6 +89,8 @@ minetest.register_node("dfcaverns:nether_cap_wood", { -- sapling minetest.register_node("dfcaverns:nether_cap_sapling", { description = S("Nether Cap Spawn"), + _doc_items_longdesc = dfcaverns.doc.nether_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.nether_cap_usage, drawtype = "plantlike", visual_scale = 1.0, tiles = {"dfcaverns_nether_cap_sapling.png"}, diff --git a/trees/spore_tree.lua b/trees/spore_tree.lua index 5e6cf0c..0419662 100644 --- a/trees/spore_tree.lua +++ b/trees/spore_tree.lua @@ -12,6 +12,8 @@ local S, NS = dofile(MP.."/intllib.lua") minetest.register_node("dfcaverns:spore_tree", { description = S("Spore Tree Stem"), + _doc_items_longdesc = dfcaverns.doc.spore_tree_desc, + _doc_items_usagehelp = dfcaverns.doc.spore_tree_usage, tiles = {"dfcaverns_spore_tree_top.png", "dfcaverns_spore_tree_top.png", "dfcaverns_spore_tree.png"}, paramtype2 = "facedir", is_ground_content = false, @@ -31,6 +33,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:spore_tree_wood", { description = S("Spore Tree Planks"), + _doc_items_longdesc = dfcaverns.doc.spore_tree_desc, + _doc_items_usagehelp = dfcaverns.doc.spore_tree_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_spore_tree_wood.png"}, @@ -68,6 +72,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:spore_tree_hyphae", { description = S("Spore Tree Hyphae"), + _doc_items_longdesc = dfcaverns.doc.spore_tree_desc, + _doc_items_usagehelp = dfcaverns.doc.spore_tree_usage, waving = 1, tiles = {"dfcaverns_spore_tree.png"}, is_ground_content = false, @@ -92,6 +98,8 @@ minetest.register_node("dfcaverns:spore_tree_hyphae", { minetest.register_node("dfcaverns:spore_tree_fruiting_body", { description = S("Spore Tree Fruiting Body"), + _doc_items_longdesc = dfcaverns.doc.spore_tree_desc, + _doc_items_usagehelp = dfcaverns.doc.spore_tree_usage, waving = 1, tiles = {"dfcaverns_spore_tree.png"}, is_ground_content = false, @@ -138,6 +146,8 @@ end minetest.register_node("dfcaverns:spore_tree_sapling", { description = S("Spore Tree Spawn"), + _doc_items_longdesc = dfcaverns.doc.spore_tree_desc, + _doc_items_usagehelp = dfcaverns.doc.spore_tree_usage, drawtype = "plantlike", visual_scale = 1.0, tiles = {"dfcaverns_spore_tree_sapling.png"}, diff --git a/trees/tower_cap.lua b/trees/tower_cap.lua index 6bd905f..273a4d3 100644 --- a/trees/tower_cap.lua +++ b/trees/tower_cap.lua @@ -5,6 +5,8 @@ local S, NS = dofile(MP.."/intllib.lua") --stem minetest.register_node("dfcaverns:tower_cap_stem", { description = S("Tower Cap Stem"), + _doc_items_longdesc = dfcaverns.doc.tower_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.tower_cap_usage, tiles = {"dfcaverns_tower_cap.png"}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, @@ -14,6 +16,8 @@ minetest.register_node("dfcaverns:tower_cap_stem", { --cap minetest.register_node("dfcaverns:tower_cap", { description = S("Tower Cap"), + _doc_items_longdesc = dfcaverns.doc.tower_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.tower_cap_usage, tiles = {"dfcaverns_tower_cap.png"}, is_ground_content = true, groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, @@ -23,6 +27,8 @@ minetest.register_node("dfcaverns:tower_cap", { --gills minetest.register_node("dfcaverns:tower_cap_gills", { description = S("Tower Cap Gills"), + _doc_items_longdesc = dfcaverns.doc.tower_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.tower_cap_usage, tiles = {"dfcaverns_tower_cap_gills.png"}, is_ground_content = true, groups = {snappy = 3, leafdecay = 3, flammable = 2, leaves = 1}, @@ -69,6 +75,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:tower_cap_wood", { description = S("Tower Cap Planks"), + _doc_items_longdesc = dfcaverns.doc.tower_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.tower_cap_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_tower_cap_wood.png"}, @@ -107,6 +115,8 @@ minetest.register_craft({ -- sapling minetest.register_node("dfcaverns:tower_cap_sapling", { description = S("Tower Cap Spawn"), + _doc_items_longdesc = dfcaverns.doc.tower_cap_desc, + _doc_items_usagehelp = dfcaverns.doc.tower_cap_usage, drawtype = "plantlike", visual_scale = 1.0, tiles = {"dfcaverns_tower_cap_sapling.png"}, diff --git a/trees/tunnel_tube.lua b/trees/tunnel_tube.lua index 67617c0..aaab841 100644 --- a/trees/tunnel_tube.lua +++ b/trees/tunnel_tube.lua @@ -12,6 +12,8 @@ local S, NS = dofile(MP.."/intllib.lua") minetest.register_node("dfcaverns:tunnel_tube", { description = S("Tunnel Tube"), + _doc_items_longdesc = dfcaverns.doc.tunnel_tube_desc, + _doc_items_usagehelp = dfcaverns.doc.tunnel_tube_usage, tiles = {"dfcaverns_tunnel_tube.png"}, paramtype2 = "facedir", drawtype = "nodebox", @@ -41,6 +43,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:tunnel_tube_wood", { description = S("Tunnel Tube Plies"), + _doc_items_longdesc = dfcaverns.doc.tunnel_tube_desc, + _doc_items_usagehelp = dfcaverns.doc.tunnel_tube_usage, paramtype2 = "facedir", place_param2 = 0, tiles = {"dfcaverns_tunnel_tube_wood_top.png", "dfcaverns_tunnel_tube_wood_top.png", "dfcaverns_tunnel_tube_wood_side.png"}, @@ -68,6 +72,8 @@ minetest.register_craft({ minetest.register_node("dfcaverns:tunnel_tube_fruiting_body", { description = S("Tunnel Tube Fruiting Body"), + _doc_items_longdesc = dfcaverns.doc.tunnel_tube_desc, + _doc_items_usagehelp = dfcaverns.doc.tunnel_tube_usage, tiles = {"dfcaverns_tunnel_tube.png^[multiply:#b09090"}, paramtype2 = "facedir", groups = {choppy = 3, oddly_breakable_by_hand=1, flammable = 2}, @@ -95,6 +101,8 @@ minetest.register_node("dfcaverns:tunnel_tube_fruiting_body", { minetest.register_node("dfcaverns:tunnel_tube_sapling", { description = S("Tunnel Tube Spawn"), + _doc_items_longdesc = dfcaverns.doc.tunnel_tube_desc, + _doc_items_usagehelp = dfcaverns.doc.tunnel_tube_usage, drawtype = "plantlike", visual_scale = 1.0, tiles = {"dfcaverns_tunnel_tube_sapling.png"},