diff --git a/df_mapitems/doc.lua b/df_mapitems/doc.lua index 620ac8f..bc0f0c9 100644 --- a/df_mapitems/doc.lua +++ b/df_mapitems/doc.lua @@ -11,6 +11,22 @@ df_mapitems.doc.cave_moss_usage = S("Cave moss has no known uses aside from the df_mapitems.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.") df_mapitems.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.") +df_mapitems.doc.sand_scum_desc = S("Sand scum is a crust of algae that sometimes accumulates on wet sand deep underground, somehow managing to eke out a meager living from the phosphorescent light emitted by other organisms.") +df_mapitems.doc.sand_scum_usage = S("Sand scum is useless. You can get sand out of it, at least.") + +df_mapitems.doc.pebble_fungus_desc = S("Soil that is rich enough to support gigantic mushrooms can support innumerable smaller ones as well. Pebble fungus is a prolific form of mushroom that covers the soil in small spheroidal fruiting bodies.") +df_mapitems.doc.pebble_fungus_usage = S("Pebble fungus grows in soil that is rich enough for farming.") + +df_mapitems.doc.stillworm_desc = S("Stillworm is not actually a kind of worm, but a sort of fungus that looks uncannily like pale, motionless earthworms intertwined with the soil.") +df_mapitems.doc.stillworm_usage = S("Stillworm grows in soil that is rich enough for farming.") + +df_mapitems.doc.rock_rot_desc = S("A highly aggressive form of lichen that eats into solid rock, turning its upper surfaces rough and a little spongy.") +df_mapitems.doc.rock_rot_usage = S("Organic material accumulates in the enlarged pores of rock rot, but not enough to be considered \"soil\" in the usable sense.") + +df_mapitems.doc.spongestone_desc = S("Spongestone is the result of advanced rock rot in its ultimate form. The stone has become so riddled with pores and cavities that it's no longer really stone.") +df_mapitems.doc.spongestone_usage = S("Although a strong mineral matrix remains, spongestone has enough organic content that it can be used as soil for farming.") + + df_mapitems.doc.hoar_moss_desc = S("Hoar moss is a strange glowing crust that sometimes forms on the surface of water flowing over ice.") df_mapitems.doc.hoar_moss_usage = S("Hoar moss has no known use aside from providing a faint source of light.") diff --git a/df_mapitems/ground_cover.lua b/df_mapitems/ground_cover.lua index 71a64a5..af2b165 100644 --- a/df_mapitems/ground_cover.lua +++ b/df_mapitems/ground_cover.lua @@ -10,7 +10,7 @@ minetest.register_node("df_mapitems:dirt_with_cave_moss", { _doc_items_longdesc = df_mapitems.doc.cave_moss_desc, _doc_items_usagehelp = df_mapitems.doc.cave_moss_usage, tiles = {"default_dirt.png^dfcaverns_cave_moss.png", "default_dirt.png", - {name = "default_dirt.png^dfcaverns_cave_moss_side.png", + {name = "default_dirt.png^(dfcaverns_cave_moss.png^[mask:dfcaverns_ground_cover_side_mask.png)", tileable_vertical = false}}, drop = "default:dirt", is_ground_content = false, @@ -43,6 +43,100 @@ minetest.register_abm{ end, } +--------------------------------------------------------------- +-- Sand scum + +minetest.register_node("df_mapitems:sand_scum", { + description = S("Sand Scum"), + _doc_items_longdesc = df_mapitems.doc.sand_scum_desc, + _doc_items_usagehelp = df_mapitems.doc.sand_scum_usage, + tiles = {"dfcaverns_ground_cover_sand_scum.png", "default_sand.png", + {name = "default_sand.png^(dfcaverns_ground_cover_sand_scum.png^[mask:dfcaverns_ground_cover_side_mask.png)", + tileable_vertical = false}}, + drop = "default:sand", + is_ground_content = false, + light_source = 2, + paramtype = "light", + groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8}, + sounds = default.node_sound_sand_defaults({ + footstep = {name = "dfcaverns_squish", gain = 0.25}, + }), + _dfcaverns_dead_node = "default:sand", +}) + +--------------------------------------------------------------- +-- Spongestone + +minetest.register_node("df_mapitems:spongestone", { + description = S("Spongestone"), + _doc_items_longdesc = df_mapitems.doc.sponge_stone_desc, + _doc_items_usagehelp = df_mapitems.doc.sponge_stone_usage, + tiles = {"dfcaverns_ground_cover_sponge_stone.png"}, + is_ground_content = false, + paramtype = "light", + groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8}, + sounds = default.node_sound_dirt_defaults(), + soil = { + base = "df_mapitems:spongestone", + dry = "farming:soil", + wet = "farming:soil_wet" + }, + _dfcaverns_dead_node = "default:dirt", +}) + +--------------------------------------------------------------- +-- Pebble fungus + +minetest.register_node("df_mapitems:dirt_with_pebble_fungus", { + description = S("Dirt with Pebble Fungus"), + _doc_items_longdesc = df_mapitems.doc.pebble_fungus_desc, + _doc_items_usagehelp = df_mapitems.doc.pebble_fungus_usage, + tiles = {"dfcaverns_ground_cover_pebble_fungus.png", "default_dirt.png", + {name = "default_dirt.png^(dfcaverns_ground_cover_pebble_fungus.png^[mask:dfcaverns_ground_cover_side_mask.png)", + tileable_vertical = false}}, + drop = "default:dirt", + is_ground_content = false, + light_source = 2, + paramtype = "light", + groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8}, + sounds = default.node_sound_dirt_defaults(), + soil = { + base = "df_mapitems:dirt_with_pebble_fungus", + dry = "farming:soil", + wet = "farming:soil_wet" + }, + _dfcaverns_dead_node = "default:dirt", +}) + +--------------------------------------------------------------- +-- Stillworm + +minetest.register_node("df_mapitems:dirt_with_stillworm", { + description = S("Dirt with Stillworm"), + _doc_items_longdesc = df_mapitems.doc.stillworm_desc, + _doc_items_usagehelp = df_mapitems.doc.stillworm_usage, + tiles = {"default_dirt.png^dfcaverns_ground_cover_stillworm.png", "default_dirt.png", + {name = "default_dirt.png^(dfcaverns_ground_cover_stillworm.png^[mask:dfcaverns_ground_cover_side_mask.png)", + tileable_vertical = false}}, + drop = "default:dirt", + is_ground_content = false, + light_source = 2, + paramtype = "light", + groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8}, + sounds = default.node_sound_dirt_defaults({ + footstep = {name = "default_grass_footstep", gain = 0.25}, + }), + soil = { + base = "df_mapitems:dirt_with_stillworm", + dry = "farming:soil", + wet = "farming:soil_wet" + }, + _dfcaverns_dead_node = "default:dirt", +}) + +---------------------------------------------------------------- +-- Footprint-capable nodes + if minetest.get_modpath("footprints") then local HARDPACK_PROBABILITY = tonumber(minetest.settings:get("footprints_hardpack_probability")) or 0.9 -- Chance walked dirt/grass is worn and compacted to footprints:trail. local HARDPACK_COUNT = tonumber(minetest.settings:get("footprints_hardpack_count")) or 10 -- Number of times the above chance needs to be passed for soil to compact. @@ -53,9 +147,57 @@ if minetest.get_modpath("footprints") then footprint_opacity = 128, hard_pack_probability = HARDPACK_PROBABILITY, hard_pack_count = HARDPACK_COUNT, - }) + }) + + footprints.register_trample_node("df_mapitems:sand_scum", { + trampled_node_def_override = {description = S("Sand Scum with Footprint"),}, + hard_pack_node_name = "default:sand", + footprint_opacity = 128, + hard_pack_probability = HARDPACK_PROBABILITY, + hard_pack_count = HARDPACK_COUNT * 0.5, + }) + + footprints.register_trample_node("df_mapitems:spongestone", { + trampled_node_def_override = {description = S("Spongestone with Footprint"),}, + hard_pack_node_name = "footprints:trail", + hard_pack_probability = HARDPACK_PROBABILITY, + hard_pack_count = HARDPACK_COUNT * 2, + }) + + footprints.register_trample_node("df_mapitems:dirt_with_pebble_fungus", { + trampled_node_def_override = {description = S("Dirt with Pebble Fungus and Footprint"),}, + hard_pack_node_name = "footprints:trail", + hard_pack_probability = HARDPACK_PROBABILITY, + hard_pack_count = HARDPACK_COUNT, + }) + + footprints.register_trample_node("df_mapitems:dirt_with_stillworm", { + trampled_node_def_override = {description = S("Dirt with Stillworm and Footprint"),}, + hard_pack_node_name = "footprints:trail", + hard_pack_probability = HARDPACK_PROBABILITY, + hard_pack_count = HARDPACK_COUNT, + }) end +--------------------------------------------------------------- +-- Rock rot + +minetest.register_node("df_mapitems:rock_rot", { + description = S("Rock Rot"), + _doc_items_longdesc = df_mapitems.doc.rock_rot_desc, + _doc_items_usagehelp = df_mapitems.doc.rock_rot_usage, + tiles = {"default_stone.png^dfcaverns_ground_cover_rock_rot.png", "default_stone.png", + {name = "default_stone.png^(dfcaverns_ground_cover_rock_rot.png^[mask:dfcaverns_ground_cover_side_mask.png)", + tileable_vertical = false}}, + drop = "default:stone", + is_ground_content = false, + light_source = 2, + paramtype = "light", + groups = {crumbly = 3, soil = 1, light_sensitive_fungus = 8}, + sounds = default.node_sound_dirt_defaults(), + _dfcaverns_dead_node = "default:stone", +}) + -------------------------------------------------- -- floor fungus diff --git a/df_mapitems/locale/df_mapitems.de.tr b/df_mapitems/locale/df_mapitems.de.tr index b63b7b7..94e546b 100644 --- a/df_mapitems/locale/df_mapitems.de.tr +++ b/df_mapitems/locale/df_mapitems.de.tr @@ -34,10 +34,14 @@ Salty Cobble= 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 highly aggressive form of lichen that eats into solid rock, turning its upper surfaces rough and a little spongy.= + 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 a strong mineral matrix remains, spongestone has enough organic content that it can be used as soil for farming.= + 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.= @@ -86,8 +90,24 @@ Monolithic crystals of this size form only over extremely long periods deep unde Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.= +Organic material accumulates in the enlarged pores of rock rot, but not enough to be considered "soil" in the usable sense.= + +Pebble fungus grows in soil that is rich enough for farming.= + +Sand scum is a crust of algae that sometimes accumulates on wet sand deep underground, somehow managing to eke out a meager living from the phosphorescent light emitted by other organisms.= + +Sand scum is useless. You can get sand out of it, at least.= + Snareweed has no practical use, its fibers disintegrate when they dry.= +Soil that is rich enough to support gigantic mushrooms can support innumerable smaller ones as well. Pebble fungus is a prolific form of mushroom that covers the soil in small spheroidal fruiting bodies.= + +Spongestone is the result of advanced rock rot in its ultimate form. The stone has become so riddled with pores and cavities that it's no longer really stone.= + +Stillworm grows in soil that is rich enough for farming.= + +Stillworm is not actually a kind of worm, but a sort of fungus that looks uncannily like pale, motionless earthworms intertwined with the soil.= + 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.= @@ -114,7 +134,16 @@ Glow Worms= Cobblestone with Floor Fungus= Dirt with Cave Moss= Dirt with Cave Moss and Footprint= +Dirt with Pebble Fungus= +Dirt with Pebble Fungus and Footprint= +Dirt with Stillworm= +Dirt with Stillworm and Footprint= Ice with Hoar Moss= +Rock Rot= +Sand Scum= +Sand Scum with Footprint= +Spongestone= +Spongestone with Footprint= ### snareweed.lua ### diff --git a/df_mapitems/locale/df_mapitems.it.tr b/df_mapitems/locale/df_mapitems.it.tr index f68dc6e..29d2013 100644 --- a/df_mapitems/locale/df_mapitems.it.tr +++ b/df_mapitems/locale/df_mapitems.it.tr @@ -34,10 +34,14 @@ Salty Cobble= 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 highly aggressive form of lichen that eats into solid rock, turning its upper surfaces rough and a little spongy.= + 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 a strong mineral matrix remains, spongestone has enough organic content that it can be used as soil for farming.= + 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.= @@ -86,8 +90,24 @@ Monolithic crystals of this size form only over extremely long periods deep unde Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.= +Organic material accumulates in the enlarged pores of rock rot, but not enough to be considered "soil" in the usable sense.= + +Pebble fungus grows in soil that is rich enough for farming.= + +Sand scum is a crust of algae that sometimes accumulates on wet sand deep underground, somehow managing to eke out a meager living from the phosphorescent light emitted by other organisms.= + +Sand scum is useless. You can get sand out of it, at least.= + Snareweed has no practical use, its fibers disintegrate when they dry.= +Soil that is rich enough to support gigantic mushrooms can support innumerable smaller ones as well. Pebble fungus is a prolific form of mushroom that covers the soil in small spheroidal fruiting bodies.= + +Spongestone is the result of advanced rock rot in its ultimate form. The stone has become so riddled with pores and cavities that it's no longer really stone.= + +Stillworm grows in soil that is rich enough for farming.= + +Stillworm is not actually a kind of worm, but a sort of fungus that looks uncannily like pale, motionless earthworms intertwined with the soil.= + 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.= @@ -114,7 +134,16 @@ Glow Worms=Vermi luminosi 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 +Dirt with Pebble Fungus= +Dirt with Pebble Fungus and Footprint= +Dirt with Stillworm= +Dirt with Stillworm and Footprint= Ice with Hoar Moss= +Rock Rot= +Sand Scum= +Sand Scum with Footprint= +Spongestone= +Spongestone with Footprint= ### snareweed.lua ### diff --git a/df_mapitems/locale/template.txt b/df_mapitems/locale/template.txt index 5c174a1..777b043 100644 --- a/df_mapitems/locale/template.txt +++ b/df_mapitems/locale/template.txt @@ -34,10 +34,14 @@ Salty Cobble= 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 highly aggressive form of lichen that eats into solid rock, turning its upper surfaces rough and a little spongy.= + 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 a strong mineral matrix remains, spongestone has enough organic content that it can be used as soil for farming.= + 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.= @@ -86,8 +90,24 @@ Monolithic crystals of this size form only over extremely long periods deep unde Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.= +Organic material accumulates in the enlarged pores of rock rot, but not enough to be considered "soil" in the usable sense.= + +Pebble fungus grows in soil that is rich enough for farming.= + +Sand scum is a crust of algae that sometimes accumulates on wet sand deep underground, somehow managing to eke out a meager living from the phosphorescent light emitted by other organisms.= + +Sand scum is useless. You can get sand out of it, at least.= + Snareweed has no practical use, its fibers disintegrate when they dry.= +Soil that is rich enough to support gigantic mushrooms can support innumerable smaller ones as well. Pebble fungus is a prolific form of mushroom that covers the soil in small spheroidal fruiting bodies.= + +Spongestone is the result of advanced rock rot in its ultimate form. The stone has become so riddled with pores and cavities that it's no longer really stone.= + +Stillworm grows in soil that is rich enough for farming.= + +Stillworm is not actually a kind of worm, but a sort of fungus that looks uncannily like pale, motionless earthworms intertwined with the soil.= + 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.= @@ -114,7 +134,16 @@ Glow Worms= Cobblestone with Floor Fungus= Dirt with Cave Moss= Dirt with Cave Moss and Footprint= +Dirt with Pebble Fungus= +Dirt with Pebble Fungus and Footprint= +Dirt with Stillworm= +Dirt with Stillworm and Footprint= Ice with Hoar Moss= +Rock Rot= +Sand Scum= +Sand Scum with Footprint= +Spongestone= +Spongestone with Footprint= ### snareweed.lua ### diff --git a/df_mapitems/textures/dfcaverns_cave_moss_side.png b/df_mapitems/textures/dfcaverns_cave_moss_side.png deleted file mode 100644 index c7609cc..0000000 Binary files a/df_mapitems/textures/dfcaverns_cave_moss_side.png and /dev/null differ diff --git a/df_mapitems/textures/dfcaverns_ground_cover_pebble_fungus.png b/df_mapitems/textures/dfcaverns_ground_cover_pebble_fungus.png new file mode 100644 index 0000000..ca73cb0 Binary files /dev/null and b/df_mapitems/textures/dfcaverns_ground_cover_pebble_fungus.png differ diff --git a/df_mapitems/textures/dfcaverns_ground_cover_rock_rot.png b/df_mapitems/textures/dfcaverns_ground_cover_rock_rot.png new file mode 100644 index 0000000..2e95850 Binary files /dev/null and b/df_mapitems/textures/dfcaverns_ground_cover_rock_rot.png differ diff --git a/df_mapitems/textures/dfcaverns_ground_cover_sand_scum.png b/df_mapitems/textures/dfcaverns_ground_cover_sand_scum.png new file mode 100644 index 0000000..ef57b74 Binary files /dev/null and b/df_mapitems/textures/dfcaverns_ground_cover_sand_scum.png differ diff --git a/df_mapitems/textures/dfcaverns_ground_cover_side_mask.png b/df_mapitems/textures/dfcaverns_ground_cover_side_mask.png new file mode 100644 index 0000000..9095a6c Binary files /dev/null and b/df_mapitems/textures/dfcaverns_ground_cover_side_mask.png differ diff --git a/df_mapitems/textures/dfcaverns_ground_cover_sponge_stone.png b/df_mapitems/textures/dfcaverns_ground_cover_sponge_stone.png new file mode 100644 index 0000000..c57882b Binary files /dev/null and b/df_mapitems/textures/dfcaverns_ground_cover_sponge_stone.png differ diff --git a/df_mapitems/textures/dfcaverns_ground_cover_stillworm.png b/df_mapitems/textures/dfcaverns_ground_cover_stillworm.png new file mode 100644 index 0000000..6d634e9 Binary files /dev/null and b/df_mapitems/textures/dfcaverns_ground_cover_stillworm.png differ