update translation string formatting, fix a typo in ice sprites

This commit is contained in:
FaceDeer 2020-02-19 12:21:59 -07:00
parent 8ce754b234
commit b519280f1c
18 changed files with 988 additions and 201 deletions

View File

@ -1,5 +1,6 @@
# textdomain: bones_loot
##### textdomain: bones_loot #####
# ./bones_loot/init.lua
Someone's old bones=
### init.lua ###
Someone's old bones=

View File

@ -1,7 +1,10 @@
# textdomain: df_caverns
##### textdomain: df_caverns #####
# ./df_caverns/underworld.lua
### underworld.lua ###
A glowing pit=
Ancient ruin=
Mysterious seal=
Mysterious seal=

View File

@ -1,112 +1,204 @@
# textdomain: df_farming
##### textdomain: df_farming #####
# ./df_farming/cave_wheat.lua
### cave_wheat.lua ###
Cave Straw=Grano di caverna
Cave Wheat=Grano di caverna
Cave Wheat Flour=Farina di grano di caverna
Cave Wheat Seed=Seme di grano di caverna
Dwarven Bread=Pane nanico
Flattened Cave Wheat=Grano di caverna
# ./df_farming/cooking.lua
### cooking.lua ###
Cave Wheat Flour Biscuit=Farina di grano di caverna
Cave Wheat Flour Bun=Farina di grano di caverna
Cave Wheat Flour Pancake=Farina di grano di caverna
Cave Wheat Seed Loaf=Seme di grano di caverna
Cave Wheat Seed Puffs=Seme di grano di caverna
Cave Wheat Seed Risotto=Seme di grano di caverna
Dimple Cup Spore Flatbread=Spora di coppa increspata
Dimple Cup Spore Roll=Spora di coppa increspata
Dimple Cup Spore Scone=Spora di coppa increspata
Dwarven Syrup Delight=Secchio di sciroppo nanico
Dwarven Syrup Jellies=Sciroppo nanico
Dwarven Syrup Taffy=Sciroppo nanico
Pig Tail Spore Casserole=Spora di coda di maiale
Pig Tail Spore Sandwich=Spora di coda di maiale
Pig Tail Spore Tofu=Spora di coda di maiale
Plump Helmet Mince=Elmo rotondo
Plump Helmet Roast=Elmo rotondo
Plump Helmet Spawn Jambalaya=Prole di elmo rotondo
Plump Helmet Spawn Soup=Prole di elmo rotondo
Plump Helmet Sprout Stew=Prole di elmo rotondo
Plump Helmet Stalk Sausage=Prole di elmo rotondo
Quarry Bush Leaf Croissant=Foglia di cespuglio di cava
Quarry Bush Leaf Spicy Bun=Foglia di cespuglio di cava
Rock Nut Bread=Noce di roccia
Rock Nut Cake=Noce di roccia
Rock Nut Cookie=Noce di roccia
Stuffed Quarry Bush Leaf=Foglia di cespuglio di cava
Sweet Pod Spore Brule=Spora di baccello dolce
Sweet Pod Spore Dumplings=Spore di baccello dolce
Sweet Pod Spore Single Crust Pie=Spore di baccello dolce
Sweet Pod Sugar Cookie=Zucchero di baccello dolce
Sweet Pod Sugar Gingerbread=Zucchero di baccello dolce
Sweet Pod Sugar Roll=Zucchero di baccello dolce
# ./df_farming/dimple_cup.lua
### dimple_cup.lua ###
Dimple Cup=Coppa increspata
Dimple Cup Spores=Spore di coppa increspata
# ./df_farming/doc.lua
### doc.lua ###
A crafting item that can be woven into textiles and other similar items.=
A meal made from the admixture of two ingredients, it keeps well but are not a rich source of nutrients.=
A meal made from three ingredients mixed together. They're more wholesome, packing more nutrition into a single serving.=
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.=
A species of lavender mushroom ubiquitous in caves that is most notable for the soft bioluminescence it produces.=
Bread baked from cave wheat flour is tough and durable. A useful ration for long expeditions.=
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.=
Cave wheat seed ground into a powder suitable for cooking.=
Crushing them in a bucket squeezes out a flavorful syrup.=
Dead fungus quickly decays into an unrecognizable mess. It can be used as weak fuel or terrible decor.=
Dimple cups can be dried, ground, and processed to extract a deep blue dye.=
Four finely minced ingredients combine into a fine, full meal.=
It's not tasty, but it keeps you going.=
Like its surface cousin, cave wheat produces grain that can be ground into a form of flour.=
Pig tail stalks can be processed to extract fibers useful as thread.=
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.=
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.=
Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are edible with processing.=
Quarry bush leaves can be used as an ingredient in foodstuffs.=
Sweet pod sugar has a pink tint to it.=
Sweet pod syrup is thick and flavorful.=
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.=
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.=
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.=
This mushroom is inedible but continues producing modest levels of light long after it's picked.=
Threads of pig tail fiber.=
Too strong and thick to drink straight, sweet pod syrup is useful in food recipes.=
Too sweet to be eaten directly, it makes an excellent ingredient in food recipes.=
Whatever this fungus was in life, it is now dead.=
When baked alone it forms an edible bread, but it combines well with other more flavorful ingredients.=
When dried in an oven, sweet pods produce a granular sugary substance.=
When milled, sweet pods produce a granular sugary substance.=
While they can be eaten fresh, they can be monotonous fare and are perhaps better appreciated as part of a more complex prepared dish.=
# ./df_farming/pig_tail.lua
### pig_tail.lua ###
Flattened Pig Tail=Coda di maiale
Pig Tail=Coda di maiale
Pig Tail Spore=Spora di coda di maiale
Pig tail thread=Filo di coda di maiale
# ./df_farming/plants.lua
### plants.lua ###
Cavern Fungi=Funghi di caverna
Dead Fungus=Fungo morto
# ./df_farming/plump_helmet.lua
### plump_helmet.lua ###
Plump Helmet=Elmo rotondo
Plump Helmet Spawn=Prole di elmo rotondo
# ./df_farming/quarry_bush.lua
### quarry_bush.lua ###
Quarry Bush=Cespuglio di cava
Quarry Bush Leaves=Foglie di cespuglio di cava
Rock Nuts=Noci di roccia
# ./df_farming/sweet_pod.lua
### sweet_pod.lua ###
Dwarven Syrup Bucket=Secchio di sciroppo nanico
Dwarven Syrup Source=Fonte di sciroppo nanico
Flowing Dwarven Syrup=Sciroppo nanico che scorre
Sweet Pod=Baccello dolce
Sweet Pod Spores=Spore di baccello dolce
Sweet Pod Sugar=Zucchero di baccello dolce
Sweet Pods=Baccelli dolci
Sweet Pods=Baccelli dolci

View File

@ -1,112 +1,204 @@
# textdomain: df_farming
##### textdomain: df_farming #####
# ./df_farming/cave_wheat.lua
### cave_wheat.lua ###
Cave Straw=
Cave Wheat=
Cave Wheat Flour=
Cave Wheat Seed=
Dwarven Bread=
Flattened Cave Wheat=
# ./df_farming/cooking.lua
### cooking.lua ###
Cave Wheat Flour Biscuit=
Cave Wheat Flour Bun=
Cave Wheat Flour Pancake=
Cave Wheat Seed Loaf=
Cave Wheat Seed Puffs=
Cave Wheat Seed Risotto=
Dimple Cup Spore Flatbread=
Dimple Cup Spore Roll=
Dimple Cup Spore Scone=
Dwarven Syrup Delight=
Dwarven Syrup Jellies=
Dwarven Syrup Taffy=
Pig Tail Spore Casserole=
Pig Tail Spore Sandwich=
Pig Tail Spore Tofu=
Plump Helmet Mince=
Plump Helmet Roast=
Plump Helmet Spawn Jambalaya=
Plump Helmet Spawn Soup=
Plump Helmet Sprout Stew=
Plump Helmet Stalk Sausage=
Quarry Bush Leaf Croissant=
Quarry Bush Leaf Spicy Bun=
Rock Nut Bread=
Rock Nut Cake=
Rock Nut Cookie=
Stuffed Quarry Bush Leaf=
Sweet Pod Spore Brule=
Sweet Pod Spore Dumplings=
Sweet Pod Spore Single Crust Pie=
Sweet Pod Sugar Cookie=
Sweet Pod Sugar Gingerbread=
Sweet Pod Sugar Roll=
# ./df_farming/dimple_cup.lua
### dimple_cup.lua ###
Dimple Cup=
Dimple Cup Spores=
# ./df_farming/doc.lua
### doc.lua ###
A crafting item that can be woven into textiles and other similar items.=
A meal made from the admixture of two ingredients, it keeps well but are not a rich source of nutrients.=
A meal made from three ingredients mixed together. They're more wholesome, packing more nutrition into a single serving.=
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.=
A species of lavender mushroom ubiquitous in caves that is most notable for the soft bioluminescence it produces.=
Bread baked from cave wheat flour is tough and durable. A useful ration for long expeditions.=
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.=
Cave wheat seed ground into a powder suitable for cooking.=
Crushing them in a bucket squeezes out a flavorful syrup.=
Dead fungus quickly decays into an unrecognizable mess. It can be used as weak fuel or terrible decor.=
Dimple cups can be dried, ground, and processed to extract a deep blue dye.=
Four finely minced ingredients combine into a fine, full meal.=
It's not tasty, but it keeps you going.=
Like its surface cousin, cave wheat produces grain that can be ground into a form of flour.=
Pig tail stalks can be processed to extract fibers useful as thread.=
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.=
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.=
Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are edible with processing.=
Quarry bush leaves can be used as an ingredient in foodstuffs.=
Sweet pod sugar has a pink tint to it.=
Sweet pod syrup is thick and flavorful.=
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.=
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.=
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.=
This mushroom is inedible but continues producing modest levels of light long after it's picked.=
Threads of pig tail fiber.=
Too strong and thick to drink straight, sweet pod syrup is useful in food recipes.=
Too sweet to be eaten directly, it makes an excellent ingredient in food recipes.=
Whatever this fungus was in life, it is now dead.=
When baked alone it forms an edible bread, but it combines well with other more flavorful ingredients.=
When dried in an oven, sweet pods produce a granular sugary substance.=
When milled, sweet pods produce a granular sugary substance.=
While they can be eaten fresh, they can be monotonous fare and are perhaps better appreciated as part of a more complex prepared dish.=
# ./df_farming/pig_tail.lua
### pig_tail.lua ###
Flattened Pig Tail=
Pig Tail=
Pig Tail Spore=
Pig tail thread=
# ./df_farming/plants.lua
### plants.lua ###
Cavern Fungi=
Dead Fungus=
# ./df_farming/plump_helmet.lua
### plump_helmet.lua ###
Plump Helmet=
Plump Helmet Spawn=
# ./df_farming/quarry_bush.lua
### quarry_bush.lua ###
Quarry Bush=
Quarry Bush Leaves=
Rock Nuts=
# ./df_farming/sweet_pod.lua
### sweet_pod.lua ###
Dwarven Syrup Bucket=
Dwarven Syrup Source=
Flowing Dwarven Syrup=
Sweet Pod=
Sweet Pod Spores=
Sweet Pod Sugar=
Sweet Pods=
Sweet Pods=

View File

@ -1,81 +1,136 @@
# textdomain: df_mapitems
##### textdomain: df_mapitems #####
# ./df_mapitems/castle_coral.lua
### castle_coral.lua ###
Castle Coral=
Castle Coral Skeleton=
# ./df_mapitems/cave_coral.lua
### cave_coral.lua ###
Cave Coral=
# ./df_mapitems/cave_pearls.lua
### cave_pearls.lua ###
Cave Pearls=
# ./df_mapitems/crystals_mese.lua
### crystals_mese.lua ###
Flawless Mese Block=
Flawless Mese Crystal=
# ./df_mapitems/crystals_ruby.lua
### crystals_ruby.lua ###
Big Red Crystal=
Giant Red Crystal=
Red Crystal Vein=
# ./df_mapitems/crystals_salt.lua
### crystals_salt.lua ###
Luminous Salt Crystal=
Salty Cobble=
# ./df_mapitems/doc.lua
### doc.lua ###
A crystal of salt grown from water that percolated through the depths of the earth, picking up all manner of minerals as it went.=
A nasty kelp-like plant that grows in patches on the floor of the Sunless Sea. Its reflective patches draw in the unwary and then its prickly barbs catch and hold small creatures.=
A rare form of coral found only deep underground in the Sunless Sea, cave coral grows hanging from the ceilings of flooded caverns.=
Although stalagmites are blunter than the stalactites above them, they can cause extra damage to the unwary caver who falls on them.=
Aside from its aesthetic value this crystal has no particular use.=
Aside from its aesthetic value this rock has no particular use.=
Aside from the aesthetic beauty of its formations flowstone has no special properties or uses.=
Aside from their aesthetic beauty, cave corals can be harvested for simple building materials.=
Aside from their soft glow and beauty, cave pearls have no practical use. Except perhaps as handholds for climbing.=
Attemping to mine this rock knocks the salt crust away, leaving only base stone.=
Castle Coral has little practical use aside from perhaps as a distinctive-looking building material.=
Cave moss has no known uses aside from the faint glow it emits. It dies when exposed to bright light sources such as the Sun.=
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.=
Deep in the infernal conditions of the magma sea, over the course of millions of years, mese crystals grow into flawless blocks that glow bright with strange energies.=
Deep under the surface of the Sunless Sea are the rare and beautiful Castle Corals, so named due to their resemblance to small undersea castles.=
Falling onto an icicle is particularly damaging.=
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.=
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.=
Flowstone is a carbonate-rich rock formation deposited by flowing water. It consists of minerals that the water dissolved earlier as it widens cracks and fissures into caves.=
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.=
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.=
Hoar moss has no known use aside from providing a faint source of light.=
Hoar moss is a strange glowing crust that sometimes forms on the surface of water flowing over ice.=
Ice formed by water dripping slowly into a cold environment, icicles tend to be exceptionally pure and clear.=
Large, dry caverns deep underground are well suited to aeons-long processes that concentrate crystalline substances in their walls. This rock is riddled with veins of the stuff.=
Monolithic crystals of this size form only over extremely long periods deep underground, in large long-lived cavities that allow them room to grow. Water and the life it hosts tend to disrupt the formation process of these crystals so they're only found in dry environments.=
Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.=
Snareweed has no practical use, its fibers disintegrate when they dry.=
The iconic stalactites and stalagmites found in caverns are composed of flowstone (or 'dripstone' in the case of these formations). Moist dripstone is still undergoing growth, whereas dry dripstone is found in 'dead' caverns once the source of water that created them ceases.=
These blocks can be broken down into a large number of mese crystals, but cannot be artificially reassembled.=
These nodules are actually calcified bacterial colonies.=
Traces of Mese must have been dissolved by the water as this crystal has an inherent glow to it. Not enough Mese to be useful as a reagent, unfortunately.=
# ./df_mapitems/flowstone.lua
### flowstone.lua ###
Dry Dripstone=Trockener Tropfstein
Dry Flowstone=Trockener Fließstein
Icicle=
Wet Dripstone=Nasser Tropfstein
Wet Flowstone=Nasser Fließstein
# ./df_mapitems/glow_worms.lua
### glow_worms.lua ###
Glow Worms=
# ./df_mapitems/ground_cover.lua
### ground_cover.lua ###
Cobblestone with Floor Fungus=
Dirt with Cave Moss=
Dirt with Cave Moss and Footprint=
Ice with Hoar Moss=
# ./df_mapitems/snareweed.lua
### snareweed.lua ###
Snareweed=
# ./df_mapitems/veinstone.lua
Veinstone=
### veinstone.lua ###
Veinstone=

View File

@ -1,81 +1,136 @@
# textdomain: df_mapitems
##### textdomain: df_mapitems #####
# ./df_mapitems/castle_coral.lua
### castle_coral.lua ###
Castle Coral=
Castle Coral Skeleton=
# ./df_mapitems/cave_coral.lua
### cave_coral.lua ###
Cave Coral=Grano di caverna
# ./df_mapitems/cave_pearls.lua
### cave_pearls.lua ###
Cave Pearls=
# ./df_mapitems/crystals_mese.lua
### crystals_mese.lua ###
Flawless Mese Block=
Flawless Mese Crystal=
# ./df_mapitems/crystals_ruby.lua
### crystals_ruby.lua ###
Big Red Crystal=
Giant Red Crystal=
Red Crystal Vein=
# ./df_mapitems/crystals_salt.lua
### crystals_salt.lua ###
Luminous Salt Crystal=
Salty Cobble=
# ./df_mapitems/doc.lua
### doc.lua ###
A crystal of salt grown from water that percolated through the depths of the earth, picking up all manner of minerals as it went.=
A nasty kelp-like plant that grows in patches on the floor of the Sunless Sea. Its reflective patches draw in the unwary and then its prickly barbs catch and hold small creatures.=
A rare form of coral found only deep underground in the Sunless Sea, cave coral grows hanging from the ceilings of flooded caverns.=
Although stalagmites are blunter than the stalactites above them, they can cause extra damage to the unwary caver who falls on them.=
Aside from its aesthetic value this crystal has no particular use.=
Aside from its aesthetic value this rock has no particular use.=
Aside from the aesthetic beauty of its formations flowstone has no special properties or uses.=
Aside from their aesthetic beauty, cave corals can be harvested for simple building materials.=
Aside from their soft glow and beauty, cave pearls have no practical use. Except perhaps as handholds for climbing.=
Attemping to mine this rock knocks the salt crust away, leaving only base stone.=
Castle Coral has little practical use aside from perhaps as a distinctive-looking building material.=
Cave moss has no known uses aside from the faint glow it emits. It dies when exposed to bright light sources such as the Sun.=
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.=
Deep in the infernal conditions of the magma sea, over the course of millions of years, mese crystals grow into flawless blocks that glow bright with strange energies.=
Deep under the surface of the Sunless Sea are the rare and beautiful Castle Corals, so named due to their resemblance to small undersea castles.=
Falling onto an icicle is particularly damaging.=
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.=
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.=
Flowstone is a carbonate-rich rock formation deposited by flowing water. It consists of minerals that the water dissolved earlier as it widens cracks and fissures into caves.=
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.=
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.=
Hoar moss has no known use aside from providing a faint source of light.=
Hoar moss is a strange glowing crust that sometimes forms on the surface of water flowing over ice.=
Ice formed by water dripping slowly into a cold environment, icicles tend to be exceptionally pure and clear.=
Large, dry caverns deep underground are well suited to aeons-long processes that concentrate crystalline substances in their walls. This rock is riddled with veins of the stuff.=
Monolithic crystals of this size form only over extremely long periods deep underground, in large long-lived cavities that allow them room to grow. Water and the life it hosts tend to disrupt the formation process of these crystals so they're only found in dry environments.=
Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.=
Snareweed has no practical use, its fibers disintegrate when they dry.=
The iconic stalactites and stalagmites found in caverns are composed of flowstone (or 'dripstone' in the case of these formations). Moist dripstone is still undergoing growth, whereas dry dripstone is found in 'dead' caverns once the source of water that created them ceases.=
These blocks can be broken down into a large number of mese crystals, but cannot be artificially reassembled.=
These nodules are actually calcified bacterial colonies.=
Traces of Mese must have been dissolved by the water as this crystal has an inherent glow to it. Not enough Mese to be useful as a reagent, unfortunately.=
# ./df_mapitems/flowstone.lua
### flowstone.lua ###
Dry Dripstone=
Dry Flowstone=
Icicle=
Wet Dripstone=
Wet Flowstone=
# ./df_mapitems/glow_worms.lua
### glow_worms.lua ###
Glow Worms=Vermi luminosi
# ./df_mapitems/ground_cover.lua
### ground_cover.lua ###
Cobblestone with Floor Fungus=Ciottoli con funghi del terreno
Dirt with Cave Moss=Terra con muschio di caverna
Dirt with Cave Moss and Footprint=Terra con muschio di caverna
Ice with Hoar Moss=
# ./df_mapitems/snareweed.lua
### snareweed.lua ###
Snareweed=
# ./df_mapitems/veinstone.lua
Veinstone=
### veinstone.lua ###
Veinstone=

View File

@ -1,81 +1,136 @@
# textdomain: df_mapitems
##### textdomain: df_mapitems #####
# ./df_mapitems/castle_coral.lua
### castle_coral.lua ###
Castle Coral=
Castle Coral Skeleton=
# ./df_mapitems/cave_coral.lua
### cave_coral.lua ###
Cave Coral=
# ./df_mapitems/cave_pearls.lua
### cave_pearls.lua ###
Cave Pearls=
# ./df_mapitems/crystals_mese.lua
### crystals_mese.lua ###
Flawless Mese Block=
Flawless Mese Crystal=
# ./df_mapitems/crystals_ruby.lua
### crystals_ruby.lua ###
Big Red Crystal=
Giant Red Crystal=
Red Crystal Vein=
# ./df_mapitems/crystals_salt.lua
### crystals_salt.lua ###
Luminous Salt Crystal=
Salty Cobble=
# ./df_mapitems/doc.lua
### doc.lua ###
A crystal of salt grown from water that percolated through the depths of the earth, picking up all manner of minerals as it went.=
A nasty kelp-like plant that grows in patches on the floor of the Sunless Sea. Its reflective patches draw in the unwary and then its prickly barbs catch and hold small creatures.=
A rare form of coral found only deep underground in the Sunless Sea, cave coral grows hanging from the ceilings of flooded caverns.=
Although stalagmites are blunter than the stalactites above them, they can cause extra damage to the unwary caver who falls on them.=
Aside from its aesthetic value this crystal has no particular use.=
Aside from its aesthetic value this rock has no particular use.=
Aside from the aesthetic beauty of its formations flowstone has no special properties or uses.=
Aside from their aesthetic beauty, cave corals can be harvested for simple building materials.=
Aside from their soft glow and beauty, cave pearls have no practical use. Except perhaps as handholds for climbing.=
Attemping to mine this rock knocks the salt crust away, leaving only base stone.=
Castle Coral has little practical use aside from perhaps as a distinctive-looking building material.=
Cave moss has no known uses aside from the faint glow it emits. It dies when exposed to bright light sources such as the Sun.=
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.=
Deep in the infernal conditions of the magma sea, over the course of millions of years, mese crystals grow into flawless blocks that glow bright with strange energies.=
Deep under the surface of the Sunless Sea are the rare and beautiful Castle Corals, so named due to their resemblance to small undersea castles.=
Falling onto an icicle is particularly damaging.=
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.=
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.=
Flowstone is a carbonate-rich rock formation deposited by flowing water. It consists of minerals that the water dissolved earlier as it widens cracks and fissures into caves.=
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.=
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.=
Hoar moss has no known use aside from providing a faint source of light.=
Hoar moss is a strange glowing crust that sometimes forms on the surface of water flowing over ice.=
Ice formed by water dripping slowly into a cold environment, icicles tend to be exceptionally pure and clear.=
Large, dry caverns deep underground are well suited to aeons-long processes that concentrate crystalline substances in their walls. This rock is riddled with veins of the stuff.=
Monolithic crystals of this size form only over extremely long periods deep underground, in large long-lived cavities that allow them room to grow. Water and the life it hosts tend to disrupt the formation process of these crystals so they're only found in dry environments.=
Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.=
Snareweed has no practical use, its fibers disintegrate when they dry.=
The iconic stalactites and stalagmites found in caverns are composed of flowstone (or 'dripstone' in the case of these formations). Moist dripstone is still undergoing growth, whereas dry dripstone is found in 'dead' caverns once the source of water that created them ceases.=
These blocks can be broken down into a large number of mese crystals, but cannot be artificially reassembled.=
These nodules are actually calcified bacterial colonies.=
Traces of Mese must have been dissolved by the water as this crystal has an inherent glow to it. Not enough Mese to be useful as a reagent, unfortunately.=
# ./df_mapitems/flowstone.lua
### flowstone.lua ###
Dry Dripstone=
Dry Flowstone=
Icicle=
Wet Dripstone=
Wet Flowstone=
# ./df_mapitems/glow_worms.lua
### glow_worms.lua ###
Glow Worms=
# ./df_mapitems/ground_cover.lua
### ground_cover.lua ###
Cobblestone with Floor Fungus=
Dirt with Cave Moss=
Dirt with Cave Moss and Footprint=
Ice with Hoar Moss=
# ./df_mapitems/snareweed.lua
### snareweed.lua ###
Snareweed=
# ./df_mapitems/veinstone.lua
Veinstone=
### veinstone.lua ###
Veinstone=

View File

@ -13,9 +13,9 @@ df_primordial_items.doc.dirt_with_mycelium_desc = S("Fungal fibers have infiltra
df_primordial_items.doc.dirt_with_mycelium_usage = S("When left uncultivated mycelial soil will sprout all manner of strange wild fungi.")
df_primordial_items.doc.fern_desc = S("The dark-leaved ferns of the primordial jungle harken back to an earlier era of life in the world.")
--df_primordial_items.doc.fern_usage = S("")
--df_primordial_items.doc.fern_usage =
df_primordial_items.doc.grass_desc = S("These fibrous plants that grow in the deep appear similar to grass at a glance, but they are more closely related to horsetails - a form of vegetation from before the advent of modern plant forms. Ironically, pale cave wheat is more kin to surface grass than this is.")
--df_primordial_items.doc.grass_usage = S("")
--df_primordial_items.doc.grass_usage =
df_primordial_items.doc.ivy_desc = S("Tangled weaves of ivy hang from the ceiling where there are wide enough gaps between the bright sources of light.")
df_primordial_items.doc.ivy_usage = S("Ivy is climbable, if it hangs close enough to the ground it can serve as a path between floor and ceiling.")
@ -23,16 +23,16 @@ df_primordial_items.doc.roots_desc = S("Somewhere above an enormous plant has we
df_primordial_items.doc.roots_usage = S("These hanging roots are climbable.")
df_primordial_items.doc.fungal_grass_desc = S("Questing fibers of fungal mycelium sometimes erupt from the soil and reach upward, driven by chemical cues to seek out nourishment above. They look a lot like white grass, at a glance.")
--df_primordial_items.doc.fungal_grass_usage = S("")
--df_primordial_items.doc.fungal_grass_usage =
df_primordial_items.doc.tree_desc = S("The large woody plants of the primordial jungle are similar in appearance to the jungle trees of the surface, but are a result of convergent evolution from ancient cycad plants toward a common form.")
df_primordial_items.doc.tree_usage = S("Like wood of the surface world, primordial jungle trees can be chopped and carved as building material or as fuel.")
df_primordial_items.doc.tree_glowing_desc = S("The cracks in the bark of some primordial jungle trees become host to phosphorescent veins of symbiotic fungus.")
df_primordial_items.doc.tree_glowing_usage = S("The glowing bark fungus doesn't extend into the wood of the trunk, resulting in surprisingly mundane building material when hewn.")
--df_primordial_items.doc.leaves_desc = S("")
--df_primordial_items.doc.leaves_usage = S("")
--df_primordial_items.doc.leaves_desc =
--df_primordial_items.doc.leaves_usage =
df_primordial_items.doc.glowing_leaves_desc = S("Some fronds of primordial jungle trees also become host to the phosphorescent fungus that creeps through cracks in the bark.")
--df_primordial_items.doc.glowing_leaves_usage = S("")
--df_primordial_items.doc.glowing_leaves_usage =
df_primordial_items.doc.giant_fern_desc = S("The still air of these ancient caverns have allowed ferns to grow to prodigious sizes, where storms and rain would normally tear their weaker fronds off on the surface of the world.")
df_primordial_items.doc.giant_fern_usage = S("When a fern grows to such sizes its stem becomes dense enough to be used as a form of wood.")
@ -40,35 +40,35 @@ df_primordial_items.doc.giant_fern_usage = S("When a fern grows to such sizes it
df_primordial_items.doc.giant_hyphae_desc = S("Fungus in its purest form, these gigantic rope-like hyphae creep over the surface of soil and burrow in to feed wherever nutrients are sensed.")
df_primordial_items.doc.giant_hyphae_usage = S("Much like a rope, hyphae have fibers inside that can be unraveled and used for a variety of crafts.")
df_primordial_items.doc.mycelial_fibers_desc = S("Fibers extracted from gigantic fungal hyphae.")
--df_primordial_items.doc.mycelial_fibers_usage = S("")
--df_primordial_items.doc.mycelial_fibers_usage =
df_primordial_items.doc.mycelial_thread_desc = df_primordial_items.doc.mycelial_fibers_desc
--df_primordial_items.doc.mycelial_thread_usage = S("")
--df_primordial_items.doc.mycelial_thread_usage =
df_primordial_items.doc.giant_mushroom_desc = S("The grandest of the great mushroom species can be found in the deepest primordial caverns. Their broad caps have hanging gills.")
df_primordial_items.doc.giant_mushroom_usage = S("Much like the giant mushrooms of higher cavern layers, these can be carved into woody material for use as fuel or for building things. The grain of these primordial mushrooms is knurled.")
--df_primordial_items.doc.gills_desc = S("")
--df_primordial_items.doc.gills_usage = S("")
--df_primordial_items.doc.gills_desc =
--df_primordial_items.doc.gills_usage =
--df_primordial_items.doc.glow_orb_desc = S("")
--df_primordial_items.doc.glow_orb_usage = S("")
--df_primordial_items.doc.glow_plant_desc = S("")
--df_primordial_items.doc.glow_plant_usage = S("")
--df_primordial_items.doc.glow_pod_desc = S("")
--df_primordial_items.doc.glow_pod_usage = S("")
--df_primordial_items.doc.glow_orb_desc =
--df_primordial_items.doc.glow_orb_usage =
--df_primordial_items.doc.glow_plant_desc =
--df_primordial_items.doc.glow_plant_usage =
--df_primordial_items.doc.glow_pod_desc =
--df_primordial_items.doc.glow_pod_usage =
-- The giant hanging fungal structures from the ceiling
--df_primordial_items.doc.glownode_desc = S("")
--df_primordial_items.doc.glownode_usage = S("")
--df_primordial_items.doc.glownode_stalk_desc = S("")
--df_primordial_items.doc.glownode_stalk_usage = S("")
--df_primordial_items.doc.glownode_desc =
--df_primordial_items.doc.glownode_usage =
--df_primordial_items.doc.glownode_stalk_desc =
--df_primordial_items.doc.glownode_stalk_usage =
df_primordial_items.doc.packed_roots_desc = S("The steady light and unchanging growing conditions of the primordial caverns have led to great mountainous masses of plant material growing in particularly fertile spots, hardly identifiable as individual organisms.")
df_primordial_items.doc.packed_roots_usage = S("The gnarled interwoven root-like foundations of this plant material is not useful as building material, but can serve as a fuel source.")
df_primordial_items.doc.plant_matter_desc = df_primordial_items.doc.packed_roots_desc
df_primordial_items.doc.plant_matter_usage = df_primordial_items.doc.packed_roots_usage
--df_primordial_items.doc.small_mushroom_desc = S("")
--df_primordial_items.doc.small_mushroom_usage = S("")
--df_primordial_items.doc.small_mushroom_desc =
--df_primordial_items.doc.small_mushroom_usage =
--
--df_primordial_items.doc.thorn_desc = S("")
--df_primordial_items.doc.thorn_usage = S("")
--df_primordial_items.doc.thorn_desc =
--df_primordial_items.doc.thorn_usage =

View File

@ -1,100 +1,175 @@
# textdomain: df_primordial_items
##### textdomain: df_primordial_items #####
# ./df_primordial_items/ceiling_fungus.lua
### ceiling_fungus.lua ###
Primordial Fungal Lantern=
Primordial Fungal Lantern Stalk=
# ./df_primordial_items/ceiling_fungus.lua
# ./df_primordial_items/fungal_nodes.lua
### ceiling_fungus.lua ###
### fungal_nodes.lua ###
Primordial Fungal Orb=
# ./df_primordial_items/doc.lua
=
### doc.lua ###
Compared to the behemoths found elsewhere in the deep places of the world, the giant mushrooms of the primordial jungles are on the smaller side - often overwhelmed by the green plants that grow in the mysterious light below. Still, they can become substantial resources.=
Fibers extracted from gigantic fungal hyphae.=
Fungal fibers have infiltrated the ground in a spongy mass, making the soil half mineral and half living matter.=
Fungus in its purest form, these gigantic rope-like hyphae creep over the surface of soil and burrow in to feed wherever nutrients are sensed.=
Ivy is climbable, if it hangs close enough to the ground it can serve as a path between floor and ceiling.=
Like wood of the surface world, primordial jungle trees can be chopped and carved as building material or as fuel.=
Much like a rope, hyphae have fibers inside that can be unraveled and used for a variety of crafts.=
Much like the giant mushrooms of higher cavern layers, these can be carved into woody material for use as fuel or for building things. The grain of these primordial mushrooms is knurled.=
Questing fibers of fungal mycelium sometimes erupt from the soil and reach upward, driven by chemical cues to seek out nourishment above. They look a lot like white grass, at a glance.=
Some fronds of primordial jungle trees also become host to the phosphorescent fungus that creeps through cracks in the bark.=
Somewhere above an enormous plant has wedged its roots down through the rock and emerged from the ceiling of another cavern.=
Tangled weaves of ivy hang from the ceiling where there are wide enough gaps between the bright sources of light.=
The cracks in the bark of some primordial jungle trees become host to phosphorescent veins of symbiotic fungus.=
The dark-leaved ferns of the primordial jungle harken back to an earlier era of life in the world.=
The glowing bark fungus doesn't extend into the wood of the trunk, resulting in surprisingly mundane building material when hewn.=
The gnarled interwoven root-like foundations of this plant material is not useful as building material, but can serve as a fuel source.=
The grandest of the great mushroom species can be found in the deepest primordial caverns. Their broad caps have hanging gills.=
The large woody plants of the primordial jungle are similar in appearance to the jungle trees of the surface, but are a result of convergent evolution from ancient cycad plants toward a common form.=
The soft flesh of these large mushrooms is much less woody than other giant mushrooms, making it ill-suited to structural use. This makes it rather more nutritious, however.=
The soil of the primordial jungle is rife with strange life at every scale.=
The steady light and unchanging growing conditions of the primordial caverns have led to great mountainous masses of plant material growing in particularly fertile spots, hardly identifiable as individual organisms.=
The still air of these ancient caverns have allowed ferns to grow to prodigious sizes, where storms and rain would normally tear their weaker fronds off on the surface of the world.=
These fibrous plants that grow in the deep appear similar to grass at a glance, but they are more closely related to horsetails - a form of vegetation from before the advent of modern plant forms. Ironically, pale cave wheat is more kin to surface grass than this is.=
These hanging roots are climbable.=
When a fern grows to such sizes its stem becomes dense enough to be used as a form of wood.=
When left uncultivated mycelial soil will sprout all manner of strange wild fungi.=
When left uncultivated primordial jungle soil will sprout all manner of strange wild plants.=
# ./df_primordial_items/fungal_nodes.lua
### fungal_nodes.lua ###
Dirt with Primordial Mycelium=
Dirt with Primordial Mycelium and Footprint=
Primordial Fungal Grass=
Primordial Fungal Pod=
# ./df_primordial_items/giant_fern.lua
### giant_fern.lua ###
Fern Wood=
Giant Fern Leaves=
Giant Fern Sapling=
Giant Fern Stem=
# ./df_primordial_items/giant_mycelium.lua
### giant_mycelium.lua ###
Giant Hypha=
Giant Hypha Apical Meristem=
Giant Mycelial Fibers=
Mycelial thread=
Rooted Giant Hypha=
# ./df_primordial_items/jungle_mushroom.lua
### jungle_mushroom.lua ###
Dark Jungle Mushroom Cap=
Diced Mushroom=
Pale Jungle Mushroom Cap=
Primordial Jungle Mushroom Sapling=
Primordial Jungle Mushroom Trunk=
# ./df_primordial_items/jungle_nodes.lua
### jungle_nodes.lua ###
Dirt With Primordial Jungle Grass=
Dirt With Primordial Jungle Grass and Footprint=
Large Primordial Jungle Mushroom=
Packed Primordial Jungle Roots=
Primordial Fern=
Primordial Flower=
Primordial Jungle Grass=
Primordial Jungle Ivy=
Primordial Jungle Mushroom=
Primordial Jungle Pod=
Primordial Jungle Root=
Primordial Jungle Roots=
Primordial Jungle Thorns=
Primordial Plant Matter=
Primordial Plant Matter with Footprint=
# ./df_primordial_items/jungle_tree.lua
### jungle_tree.lua ###
Mossy Primordial Jungle Tree=
Phosphorescent Primordial Jungle Tree=
Phosphorescent Primordial Jungle Tree Leaves=
Primordial Jungle Tree=
Primordial Jungle Tree Leaves=
Primordial Jungle Tree Sapling=
# ./df_primordial_items/primordial_mushroom.lua
### primordial_mushroom.lua ###
Glowing Primordial Mushroom Gills=
Primordial Cap Wood=
Primordial Mushroom Cap=
Primordial Mushroom Gills=
Primordial Mushroom Spawn=
Primordial Mushroom Trunk=
Primordial Mushroom Trunk Wood=
Primordial Mushroom Trunk Wood=

View File

@ -1,117 +1,208 @@
# textdomain: df_trees
##### textdomain: df_trees #####
# ./df_trees/black_cap.lua
### black_cap.lua ###
Black Cap=Cappello nero
Black Cap Gills=Lamelle di cappello nero
Black Cap Planks=Assi di cappello nero
Black Cap Spawn=Prole di cappello nero
Black Cap Stem=Gambo di cappello nero
# ./df_trees/blood_thorn.lua
### blood_thorn.lua ###
Blood Thorn Planks=Assi di spina del sangue
Blood Thorn Spike=Spuntone di spina del sangue
Blood Thorn Stem=Gambo di spina del sangue
Dead Blood Thorn Spike=Spuntone di spina del sangue morta
Dead Blood Thorn Stem=Gambo di spina del sangue morta
# ./df_trees/doc.lua
### doc.lua ###
A torchspine alternates between active and quiescent phases and emits dim light when active. They can be harvested for torches, and their embers sprout into new torchspines when placed on flammable surfaces.=
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. Black cap gills are oily and make for excellent torch fuel.=
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.=
Cyan Spindlestems are a sign of both copper and iron deposits nearby. Their glowing symbiotes can be extracted as a long-lived light source.=
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.=
Goblin cap stem and cap material can be cut into wood of two different hues, a subdued cream and a bright orange-red.=
Golden Spindlestems are a sign of rare and magical mineral deposits nearby. Their glowing symbiotes can be extracted as a strong and long-lived light source.=
Green Spindlestems are a sign of nearby copper deposits. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is not strong.=
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).=
Living extract from the cap of a cyan Spindlestem.=
Living extract from the cap of a green Spindlestem.=
Living extract from the cap of a red Spindlestem.=
Living extract from the cap of a yellow Spindlestem.=
Massive but squat, mature goblin cap mushrooms are the size of small cottages.=
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.=
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.=
Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin Caps. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is weak.=
Spindlestems are too big to easily pluck by hand but too small to be called a proper tree. Nevertheless, they are a common and useful resource for underground travelers - particularly their glowing caps.=
Spore tree trunks can be cut into pale woody planks. The branching fibers and fruiting bodies are only useful as fuel.=
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.=
The cap of a Spindlestem, glowing a brilliant yellow due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a soft green due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a strong cyan due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a weak red due to symbiotic microorganisms.=
The cap of a Spindlestem, uncontaminated by any symbiotic luminescent microorganisms.=
The dense black wood of these mushrooms is heavy and hard to work with, and has few remarkable properties.=
The king of the fungi, tower cap mushrooms grow to immense proportions.=
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.=
The stem of a Spindlestem is surprisingly sturdy, and despite their thinness they can grow quite tall. They can be used as a wood substitute in many crafting recipes.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material. The fruiting body accumulates high-energy compounds that, when ignited, produce a vigorous detonation - a unique adaptation for spreading tunnel tube spawn through the still cavern air.=
These things are useless except as weak fuel for a fire.=
Thin, irregular layers of spore-producing 'shelves' surround the strong central stalk of the mighty Fungiwood.=
Torchspines are strange organic formations that are alive only in a technical sense. They "feed" on volatile flammable vapors vented up through their structure, growing from combustion residue deposited at their tips.=
Tower caps are an excellent source of wood.=
Tunnel tubes are hollow, curved fungal growths that support a fruiting body.=
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.=
# ./df_trees/fungiwood.lua
### fungiwood.lua ###
Fungiwood Planks=Assi di fungo di legno
Fungiwood Shelf=Mensola di fungo di legno
Fungiwood Spawn=Prole di fungo di legno
Fungiwood Stem=Gambo di fungo di legno
# ./df_trees/goblin_cap.lua
### goblin_cap.lua ###
Goblin Cap=Cappello di folletto
Goblin Cap Gills=Lamelle di cappello di folletto
Goblin Cap Planks=Assi di cappello di folletto
Goblin Cap Spawn=Prole di cappello di folletto
Goblin Cap Stem=Gambo di cappello di folletto
Goblin Cap Stem Planks=Assi di gambo di cappello di folletto
# ./df_trees/init.lua
### init.lua ###
@1 Slab=
@1 Stair=
# ./df_trees/nether_cap.lua
### nether_cap.lua ###
Nether Cap=Cappello del Nether
Nether Cap Gills=Lamelle di cappello del Nether
Nether Cap Planks=Assi di cappello del Nether
Nether Cap Spawn=Prole di cappello del Nether
Nether Cap Stem=Gambo di cappello del Nether
# ./df_trees/spindlestem.lua
### spindlestem.lua ###
@1 Spindlestem Cap=
@1 Spindlestem Extract=
Cyan=
Golden=
Green=
Red=
Spindlestem=
Spindlestem Spawn=Prole di albero delle spore
White=
# ./df_trees/spore_tree.lua
### spore_tree.lua ###
Spore Tree Fruiting Body=Corpo fruttifero dell'albero delle spore
Spore Tree Hyphae=Ife di albero delle spore
Spore Tree Ladder=Ife di albero delle spore
Spore Tree Planks=Assi di albero delle spore
Spore Tree Spawn=Prole di albero delle spore
Spore Tree Stem=Gambo di albero delle spore
# ./df_trees/torchspine.lua
### torchspine.lua ###
Torchspine=
Torchspine Ember=
Torchspine Tip=
# ./df_trees/tower_cap.lua
### tower_cap.lua ###
Tower Cap=Cappello a torre
Tower Cap Gills=Lamelle di cappello a torre
Tower Cap Planks=Assi di cappello a torre
Tower Cap Spawn=Prole di cappello a torre
Tower Cap Stem=Gambo di cappello a torre
# ./df_trees/tunnel_tube.lua
### tunnel_tube.lua ###
Tunnel Tube=Tubo di galleria
Tunnel Tube Fruiting Body=Corpo fruttifero del tubo di galleria
Tunnel Tube Plies=Strati di tubo di galleria
Tunnel Tube Spawn=Prole di tubo di galleria
Tunnel Tube Spawn=Prole di tubo di galleria

View File

@ -1,117 +1,208 @@
# textdomain: df_trees
##### textdomain: df_trees #####
# ./df_trees/black_cap.lua
### black_cap.lua ###
Black Cap=
Black Cap Gills=
Black Cap Planks=
Black Cap Spawn=
Black Cap Stem=
# ./df_trees/blood_thorn.lua
### blood_thorn.lua ###
Blood Thorn Planks=
Blood Thorn Spike=
Blood Thorn Stem=
Dead Blood Thorn Spike=
Dead Blood Thorn Stem=
# ./df_trees/doc.lua
### doc.lua ###
A torchspine alternates between active and quiescent phases and emits dim light when active. They can be harvested for torches, and their embers sprout into new torchspines when placed on flammable surfaces.=
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. Black cap gills are oily and make for excellent torch fuel.=
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.=
Cyan Spindlestems are a sign of both copper and iron deposits nearby. Their glowing symbiotes can be extracted as a long-lived light source.=
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.=
Goblin cap stem and cap material can be cut into wood of two different hues, a subdued cream and a bright orange-red.=
Golden Spindlestems are a sign of rare and magical mineral deposits nearby. Their glowing symbiotes can be extracted as a strong and long-lived light source.=
Green Spindlestems are a sign of nearby copper deposits. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is not strong.=
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).=
Living extract from the cap of a cyan Spindlestem.=
Living extract from the cap of a green Spindlestem.=
Living extract from the cap of a red Spindlestem.=
Living extract from the cap of a yellow Spindlestem.=
Massive but squat, mature goblin cap mushrooms are the size of small cottages.=
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.=
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.=
Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin Caps. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is weak.=
Spindlestems are too big to easily pluck by hand but too small to be called a proper tree. Nevertheless, they are a common and useful resource for underground travelers - particularly their glowing caps.=
Spore tree trunks can be cut into pale woody planks. The branching fibers and fruiting bodies are only useful as fuel.=
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.=
The cap of a Spindlestem, glowing a brilliant yellow due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a soft green due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a strong cyan due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a weak red due to symbiotic microorganisms.=
The cap of a Spindlestem, uncontaminated by any symbiotic luminescent microorganisms.=
The dense black wood of these mushrooms is heavy and hard to work with, and has few remarkable properties.=
The king of the fungi, tower cap mushrooms grow to immense proportions.=
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.=
The stem of a Spindlestem is surprisingly sturdy, and despite their thinness they can grow quite tall. They can be used as a wood substitute in many crafting recipes.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material. The fruiting body accumulates high-energy compounds that, when ignited, produce a vigorous detonation - a unique adaptation for spreading tunnel tube spawn through the still cavern air.=
These things are useless except as weak fuel for a fire.=
Thin, irregular layers of spore-producing 'shelves' surround the strong central stalk of the mighty Fungiwood.=
Torchspines are strange organic formations that are alive only in a technical sense. They "feed" on volatile flammable vapors vented up through their structure, growing from combustion residue deposited at their tips.=
Tower caps are an excellent source of wood.=
Tunnel tubes are hollow, curved fungal growths that support a fruiting body.=
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.=
# ./df_trees/fungiwood.lua
### fungiwood.lua ###
Fungiwood Planks=
Fungiwood Shelf=
Fungiwood Spawn=
Fungiwood Stem=
# ./df_trees/goblin_cap.lua
### goblin_cap.lua ###
Goblin Cap=
Goblin Cap Gills=
Goblin Cap Planks=
Goblin Cap Spawn=
Goblin Cap Stem=
Goblin Cap Stem Planks=
# ./df_trees/init.lua
### init.lua ###
@1 Slab=
@1 Stair=
# ./df_trees/nether_cap.lua
### nether_cap.lua ###
Nether Cap=
Nether Cap Gills=
Nether Cap Planks=
Nether Cap Spawn=
Nether Cap Stem=
# ./df_trees/spindlestem.lua
### spindlestem.lua ###
@1 Spindlestem Cap=
@1 Spindlestem Extract=
Cyan=
Golden=
Green=
Red=
Spindlestem=
Spindlestem Spawn=
White=
# ./df_trees/spore_tree.lua
### spore_tree.lua ###
Spore Tree Fruiting Body=
Spore Tree Hyphae=
Spore Tree Ladder=
Spore Tree Planks=
Spore Tree Spawn=
Spore Tree Stem=
# ./df_trees/torchspine.lua
### torchspine.lua ###
Torchspine=
Torchspine Ember=
Torchspine Tip=
# ./df_trees/tower_cap.lua
### tower_cap.lua ###
Tower Cap=
Tower Cap Gills=
Tower Cap Planks=
Tower Cap Spawn=
Tower Cap Stem=
# ./df_trees/tunnel_tube.lua
### tunnel_tube.lua ###
Tunnel Tube=
Tunnel Tube Fruiting Body=
Tunnel Tube Plies=
Tunnel Tube Spawn=
Tunnel Tube Spawn=

View File

@ -1,43 +1,72 @@
# textdomain: df_underworld_items
##### textdomain: df_underworld_items #####
# ./df_underworld_items/crystals_amethyst.lua
### crystals_amethyst.lua ###
Glowing Amethyst Block=
# ./df_underworld_items/doc.lua
### doc.lua ###
Bright glowing stones of unknown origin found lodged in the crevices of the underworld's ceiling.=
Glowing purple crystals that grow through holes in the foundation of the world.=
In fact, Slade is impervious to conventional mining entirely.=
Slade is extremely hard to work with so it has little use.=
The liquid found in the deepest pits in the underworld is highly dangerous and damaging.=
The only use for this material is that it destroys whatever is thrown into it. It cannot otherwise be manipulated.=
The very foundation of the world, Slade is a mysterious ultra-dense substance.=
These crystals have no known use.=
These stones are highly volatile and should not be disturbed.=
This block of Slade, carved by an unknown hand, is engraved with mysterious symbols. Most of the engraving's meaning is lost to the mists of time but one frament in the oldest known language can be translated: "This place is not a place of honor."=
# ./df_underworld_items/glow_stone.lua
### glow_stone.lua ###
Lightseam=
# ./df_underworld_items/glowing_pit_plasma.lua
### glowing_pit_plasma.lua ###
Glowing Pit Plasma=
# ./df_underworld_items/puzzle_seal.lua
### puzzle_seal.lua ###
Active Slade Breacher=
Breach in the Slade=
Inscribed Slade Block=
Slade Block Slab=
Slade Block Stair=
Slade Capstone=
Slade Puzzle Seal=
Turn=
# ./df_underworld_items/slade.lua
### slade.lua ###
Slade=
Slade Block=
Slade Brick=
Slade Sand=
Slade Seal=
Slade Slab=
Slade Stair=
Slade Wall=
Slade Wall=

214
i18n.py
View File

@ -1,16 +1,104 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Script to generate the template file and update the translation files.
# Copy the script into the mod or modpack root folder and run it there.
#
# Copyright (C) 2019 Joachim Stolberg, 2020 FaceDeer
# Copyright (C) 2019 Joachim Stolberg, 2020 FaceDeer, 2020 Louis Royer
# LGPLv2.1+
from __future__ import print_function
import os, fnmatch, re, shutil, errno
from sys import argv as _argv
verbose = False
# Running params
params = {"recursive": False,
"help": False,
"mods": False,
"verbose": False,
"folders": []
}
# Available CLI options
options = {"recursive": ['--recursive', '-r'],
"help": ['--help', '-h'],
"mods": ['--installed-mods'],
"verbose": ['--verbose', '-v']
}
def set_params_folders(tab: list):
'''Initialize params["folders"] from CLI arguments.'''
# Discarding argument 0 (tool name)
for param in tab[1:]:
stop_param = False
for option in options:
if param in options[option]:
stop_param = True
break
if not stop_param:
params["folders"].append(os.path.abspath(param))
def set_params(tab: list):
'''Initialize params from CLI arguments.'''
for option in options:
for option_name in options[option]:
if option_name in tab:
params[option] = True
break
def print_help(name):
'''Prints some help message.'''
print(f'''SYNOPSIS
{name} [OPTIONS] [PATHS...]
DESCRIPTION
{' ,'.join(options["help"])}
prints this help message
{' ,'.join(options["recursive"])}
run on all subfolders of paths given
{' ,'.join(options["mods"])}
run on installed locally installed modules
{', '.join(options["verbose"])}
add output information
''')
def main():
'''Main function'''
set_params(_argv)
set_params_folders(_argv)
if params["help"]:
print_help(_argv[0])
elif params["recursive"] and params["mods"]:
print("Option --installed-mods is incompatible with --recursive")
else:
# Add recursivity message
print("Running ", end='')
if params["recursive"]:
print("recursively ", end='')
# Running
if params["mods"]:
print(f"on all locally installed modules in {os.path.abspath('~/.minetest/mods/')}")
run_all_subfolders("~/.minetest/mods")
elif len(params["folders"]) >= 2:
print("on folder list:", params["folders"])
for f in params["folders"]:
if params["recursive"]:
run_all_subfolders(f)
else:
update_folder(f)
elif len(params["folders"]) == 1:
print("on folder", params["folders"][0])
if params["recursive"]:
run_all_subfolders(params["folders"][0])
else:
update_folder(params["folders"][0])
else:
print("on folder", os.path.abspath("./"))
if params["recursive"]:
run_all_subfolders(os.path.abspath("./"))
else:
update_folder(os.path.abspath("./"))
#group 2 will be the string, groups 1 and 3 will be the delimiters (" or ')
#See https://stackoverflow.com/questions/46967465/regex-match-text-in-either-single-or-double-quote
@ -20,7 +108,7 @@ pattern_lua_bracketed = re.compile(r'[\.=^\t,{\(\s]N?S\(\s*\[\[(.*?)\]\][\s,\)]'
# Handles "concatenation" .. " of strings"
pattern_concat = re.compile(r'["\'][\s]*\.\.[\s]*["\']', re.DOTALL)
pattern_tr = re.compile(r'(.+?[^@])=(.+)')
pattern_tr = re.compile(r'(.+?[^@])=(.*)')
pattern_name = re.compile(r'^name[ ]*=[ ]*([^ \n]*)')
pattern_tr_filename = re.compile(r'\.tr$')
pattern_po_language_code = re.compile(r'(.*)\.po$')
@ -28,7 +116,7 @@ pattern_po_language_code = re.compile(r'(.*)\.po$')
#attempt to read the mod's name from the mod.conf file. Returns None on failure
def get_modname(folder):
try:
with open(folder + "mod.conf", "r", encoding='utf-8') as mod_conf:
with open(os.path.join(folder, "mod.conf"), "r", encoding='utf-8') as mod_conf:
for line in mod_conf:
match = pattern_name.match(line)
if match:
@ -40,7 +128,7 @@ def get_modname(folder):
#If there are already .tr files in /locale, returns a list of their names
def get_existing_tr_files(folder):
out = []
for root, dirs, files in os.walk(folder + 'locale/'):
for root, dirs, files in os.walk(os.path.join(folder + '/locale/')):
for name in files:
if pattern_tr_filename.search(name):
out.append(name)
@ -76,7 +164,7 @@ def process_po_file(text):
# any "no longer used" strings will be preserved.
# Note that "fuzzy" tags will be lost in this process.
def process_po_files(folder, modname):
for root, dirs, files in os.walk(folder + 'locale/'):
for root, dirs, files in os.walk(os.path.join(folder + 'locale/')):
for name in files:
code_match = pattern_po_language_code.match(name)
if code_match == None:
@ -85,13 +173,13 @@ def process_po_files(folder, modname):
tr_name = modname + "." + language_code + ".tr"
tr_file = os.path.join(root, tr_name)
if os.path.exists(tr_file):
if verbose:
print(tr_name + " already exists, ignoring " + name)
if params["verbose"]:
print(f"{tr_name} already exists, ignoring {name}")
continue
fname = os.path.join(root, name)
with open(fname, "r", encoding='utf-8') as po_file:
if verbose:
print("Importing translations from " + name)
if params["verbose"]:
print(f"Importing translations from {name}")
text = process_po_file(po_file.read())
with open(tr_file, "wt", encoding='utf-8') as tr_out:
tr_out.write(text)
@ -109,10 +197,10 @@ def mkdir_p(path):
# Converts the template dictionary to a text to be written as a file
# dKeyStrings is a dictionary of localized string to source file sets
# dOld is a dictionary of existing translations, for use when updating
# existing .tr files
# dOld is a dictionary of existing translations and comments from
# the previous version of this text
def strings_to_text(dkeyStrings, dOld, mod_name):
lOut = ["# textdomain: %s\n" % mod_name]
lOut = [f"##### textdomain: {mod_name} #####\n"]
dGroupedBySource = {}
@ -132,22 +220,39 @@ def strings_to_text(dkeyStrings, dOld, mod_name):
localizedStrings.sort()
lOut.append(source)
for localizedString in localizedStrings:
val = dOld.get(localizedString, "")
lOut.append("%s=%s" % (localizedString, val))
lOut.append("")
val = dOld.get(localizedString, {})
translation = val.get("translation", "")
comment = val.get("comment")
if comment != None:
lOut.append(comment)
lOut.append(f"{localizedString}={translation}")
unusedExist = False
for key in dOld:
if key not in dkeyStrings:
if not unusedExist:
unusedExist = True
lOut.append("\n##### not used anymore #####")
lOut.append("%s=%s" % (key, dOld[key]))
return "\n".join(lOut)
val = dOld[key]
translation = val.get("translation")
comment = val.get("comment")
# only keep an unused translation if there was translated
# text or a comment associated with it
if translation != None and (translation != "" or comment):
if not unusedExist:
unusedExist = True
lOut.append("\n\n##### not used anymore #####")
lOut.append("")
if comment != None:
lOut.append(comment)
lOut.append(f"{key}={translation}")
return "\n".join(lOut) + '\n'
# Writes a template.txt file
# dkeyStrings is the dictionary returned by generate_template
def write_template(templ_file, dkeyStrings, mod_name):
text = strings_to_text(dkeyStrings, {}, mod_name)
# read existing template file to preserve comments
existing_template = import_tr_file(templ_file)
text = strings_to_text(dkeyStrings, existing_template[0], mod_name)
mkdir_p(os.path.dirname(templ_file))
with open(templ_file, "wt", encoding='utf-8') as template_file:
template_file.write(text)
@ -188,15 +293,37 @@ def import_tr_file(tr_file):
text = None
if os.path.exists(tr_file):
with open(tr_file, "r", encoding='utf-8') as existing_file :
# save the full text to allow for comparison
# of the old version with the new output
text = existing_file.read()
existing_file.seek(0)
# a running record of the current comment block
# we're inside, to allow preceeding multi-line comments
# to be retained for a translation line
latest_comment_block = None
for line in existing_file.readlines():
s = line.strip()
if s == "" or s[0] == "#":
continue
match = pattern_tr.match(s)
line = line.rstrip('\n')
if line[:3] == "###":
# Reset comment block if we hit a header
latest_comment_block = None
continue
if line[:1] == "#":
# Save the comment we're inside
if not latest_comment_block:
latest_comment_block = line
else:
latest_comment_block = latest_comment_block + "\n" + line
continue
match = pattern_tr.match(line)
if match:
dOut[match.group(1)] = match.group(2)
# this line is a translated line
outval = {}
outval["translation"] = match.group(2)
if latest_comment_block:
# if there was a comment, record that.
outval["comment"] = latest_comment_block
latest_comment_block = None
dOut[match.group(1)] = outval
return (dOut, text)
# Walks all lua files in the mod folder, collects translatable strings,
@ -210,17 +337,17 @@ def generate_template(folder, mod_name):
if fnmatch.fnmatch(name, "*.lua"):
fname = os.path.join(root, name)
found = read_lua_file_strings(fname)
if verbose:
print(fname + ": " + str(len(found)) + " translatable strings")
if params["verbose"]:
print(f"{fname}: {str(len(found))} translatable strings")
for s in found:
sources = dOut.get(s, set())
sources.add("# " + fname)
sources.add(f"### {os.path.basename(fname)} ###")
dOut[s] = sources
if len(dOut) == 0:
return None
templ_file = folder + "locale/template.txt"
templ_file = os.path.join(folder, "locale/template.txt")
write_template(templ_file, dOut, mod_name)
return dOut
@ -229,8 +356,8 @@ def generate_template(folder, mod_name):
# dNew is the data used to generate the template, it has all the
# currently-existing localized strings
def update_tr_file(dNew, mod_name, tr_file):
if verbose:
print("updating " + tr_file)
if params["verbose"]:
print(f"updating {tr_file}")
tr_import = import_tr_file(tr_file)
dOld = tr_import[0]
@ -239,8 +366,8 @@ def update_tr_file(dNew, mod_name, tr_file):
textNew = strings_to_text(dNew, dOld, mod_name)
if textOld and textOld != textNew:
print(tr_file + " has changed.")
shutil.copyfile(tr_file, tr_file+".old")
print(f"{tr_file} has changed.")
shutil.copyfile(tr_file, f"{tr_file}.old")
with open(tr_file, "w", encoding='utf-8') as new_tr_file:
new_tr_file.write(textNew)
@ -250,20 +377,20 @@ def update_mod(folder):
modname = get_modname(folder)
if modname is not None:
process_po_files(folder, modname)
print("Updating translations for " + modname)
print(f"Updating translations for {modname}")
data = generate_template(folder, modname)
if data == None:
print("No translatable strings found in " + modname)
print(f"No translatable strings found in {modname}")
else:
for tr_file in get_existing_tr_files(folder):
update_tr_file(data, modname, folder + "locale/" + tr_file)
update_tr_file(data, modname, os.path.join(folder, "locale/", tr_file))
else:
print("Unable to find modname in folder " + folder)
# Determines if the folder being pointed to is a mod or a mod pack
# and then runs update_mod accordingly
def update_folder(folder):
is_modpack = os.path.exists(folder+"modpack.txt") or os.path.exists(folder+"modpack.conf")
is_modpack = os.path.exists(os.path.join(folder, "modpack.txt")) or os.path.exists(os.path.join(folder, "modpack.conf"))
if is_modpack:
subfolders = [f.path for f in os.scandir(folder) if f.is_dir()]
for subfolder in subfolders:
@ -272,10 +399,9 @@ def update_folder(folder):
update_mod(folder)
print("Done.")
def run_all_subfolders(folder):
for modfolder in [f.path for f in os.scandir(folder) if f.is_dir()]:
update_folder(modfolder + "/")
update_folder("./")
# Runs this script on each sub-folder in the parent folder.
# I'm using this for testing this script on all installed mods.
#for modfolder in [f.path for f in os.scandir("../") if f.is_dir()]:
# update_folder(modfolder + "/")
main()

View File

@ -7,7 +7,7 @@ local ice_sprite_bottle_desc
local ice_sprite_bottle_usage
if minetest.get_modpath("doc") then
ice_sprite_desc = S("Ice sprites are mysterious glowing insect-like creatures that appear to be made partly of crystalized water.")
ice_sprite_desc = S("Ice sprites are mysterious glowing insect-like creatures that appear to be made partly of crystallized water.")
if minetest.get_modpath("vessels") then
if minetest.get_modpath("fireflies") then
ice_sprite_usage = S("Ice sprites can be caught with nets and placed in bottles as sources of light and freezing cold.")

View File

@ -1,11 +1,18 @@
# textdomain: ice_sprites
##### textdomain: ice_sprites #####
# ./ice_sprites/init.lua
### init.lua ###
A bottle containing a captured ice sprite.=
Hidden Ice Sprite=
Ice Sprite=
Ice Sprite in a Bottle=
Ice sprites are mysterious glowing insect-like creatures that appear to be made partly of crystalized water.=
Ice sprites are mysterious glowing insect-like creatures that appear to be made partly of crystallized water.=
Ice sprites can be caught with nets and placed in bottles as sources of light and freezing cold.=
Ice sprites radiate both light and freezing cold.=
Ice sprites radiate both light and freezing cold.=

View File

@ -1,16 +1,26 @@
# textdomain: mine_gas
##### textdomain: mine_gas #####
# ./mine_gas/init.lua
### init.lua ###
Gas Seep=
Gas is highly hazardous. Heavier than air, it pools in deep caverns and asphyxiates the unwary.=
Gaseous hydrocarbons formed from the detritus of long dead plants and animals processed by heat and pressure deep within the earth.=
Mine Gas=
Mining out such a deposit seals the crack.=
Some coal deposits have cracks that seep a steady flow of mine gas.=
When exposed to air and an ignition source it can produce a deadly explosion.=
# ./mine_gas/wisp.lua
### wisp.lua ###
Gas Wisp=
Gas Wisps have no known use, and fortunately they are not hostile or very dangerous.=
Mysterious blue flames may occasionally be found flickering on the edges of oil lakes, burning without oxygen and seeming to maintain their size as they drift about through the unbreathable atmosphere.=
Mysterious blue flames may occasionally be found flickering on the edges of oil lakes, burning without oxygen and seeming to maintain their size as they drift about through the unbreathable atmosphere.=

View File

@ -1,9 +1,14 @@
# textdomain: oil
##### textdomain: oil #####
# ./oil/init.lua
### init.lua ###
Buckets of oil can be used as fuel.=
Flowing Oil=
Liquid hydrocarbons formed from the detritus of long dead plants and animals processed by heat and pressure deep within the earth.=
Oil=
Oil Bucket=
Oil Bucket=

@ -1 +1 @@
Subproject commit 2ad5864a11fbac4cadf1c4facc800d50ec134335
Subproject commit 8faf748175090f166a569ec3f66454e496fd3fc9