create some new ground cover types

This commit is contained in:
FaceDeer 2020-02-27 15:28:47 -07:00
parent c328f05de4
commit 53605f1005
12 changed files with 247 additions and 2 deletions

View File

@ -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_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.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_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.") df_mapitems.doc.hoar_moss_usage = S("Hoar moss has no known use aside from providing a faint source of light.")

View File

@ -10,7 +10,7 @@ minetest.register_node("df_mapitems:dirt_with_cave_moss", {
_doc_items_longdesc = df_mapitems.doc.cave_moss_desc, _doc_items_longdesc = df_mapitems.doc.cave_moss_desc,
_doc_items_usagehelp = df_mapitems.doc.cave_moss_usage, _doc_items_usagehelp = df_mapitems.doc.cave_moss_usage,
tiles = {"default_dirt.png^dfcaverns_cave_moss.png", "default_dirt.png", 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}}, tileable_vertical = false}},
drop = "default:dirt", drop = "default:dirt",
is_ground_content = false, is_ground_content = false,
@ -43,6 +43,100 @@ minetest.register_abm{
end, 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 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_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. 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, footprint_opacity = 128,
hard_pack_probability = HARDPACK_PROBABILITY, hard_pack_probability = HARDPACK_PROBABILITY,
hard_pack_count = HARDPACK_COUNT, 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 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 -- floor fungus

View File

@ -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 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 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.= 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.= 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 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.= 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.= 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.= 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 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= Cobblestone with Floor Fungus=
Dirt with Cave Moss= Dirt with Cave Moss=
Dirt with Cave Moss and Footprint= 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= Ice with Hoar Moss=
Rock Rot=
Sand Scum=
Sand Scum with Footprint=
Spongestone=
Spongestone with Footprint=
### snareweed.lua ### ### snareweed.lua ###

View File

@ -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 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 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.= 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.= 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 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.= 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.= 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.= 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 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 Cobblestone with Floor Fungus=Ciottoli con funghi del terreno
Dirt with Cave Moss=Terra con muschio di caverna Dirt with Cave Moss=Terra con muschio di caverna
Dirt with Cave Moss and Footprint=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= Ice with Hoar Moss=
Rock Rot=
Sand Scum=
Sand Scum with Footprint=
Spongestone=
Spongestone with Footprint=
### snareweed.lua ### ### snareweed.lua ###

View File

@ -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 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 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.= 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.= 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 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.= 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.= 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.= 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 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= Cobblestone with Floor Fungus=
Dirt with Cave Moss= Dirt with Cave Moss=
Dirt with Cave Moss and Footprint= 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= Ice with Hoar Moss=
Rock Rot=
Sand Scum=
Sand Scum with Footprint=
Spongestone=
Spongestone with Footprint=
### snareweed.lua ### ### snareweed.lua ###

Binary file not shown.

Before

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB