mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-06-28 06:30:34 +02:00
switch trail mod to footprints mod
This commit is contained in:
@ -43,13 +43,13 @@ minetest.register_abm{
|
||||
end,
|
||||
}
|
||||
|
||||
if minetest.get_modpath("trail") and trail and trail.register_trample_node then
|
||||
local HARDPACK_PROBABILITY = minetest.settings:get("trail_hardpack_probability") or 0.5 -- Chance walked dirt/grass is worn and compacted to trail:trail.
|
||||
local HARDPACK_COUNT = minetest.settings:get("trail_hardpack_count") or 5 -- Number of times the above chance needs to be passed for soil to compact.
|
||||
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.
|
||||
|
||||
trail.register_trample_node("df_mapitems:dirt_with_cave_moss", {
|
||||
footprints.register_trample_node("df_mapitems:dirt_with_cave_moss", {
|
||||
trampled_node_def_override = {description = S("Dirt with Cave Moss and Footprint"),},
|
||||
hard_pack_node_name = "trail:trail",
|
||||
hard_pack_node_name = "footprints:trail",
|
||||
footprint_opacity = 128,
|
||||
hard_pack_probability = HARDPACK_PROBABILITY,
|
||||
hard_pack_count = HARDPACK_COUNT,
|
||||
|
@ -4,7 +4,6 @@
|
||||
### castle_coral.lua ###
|
||||
|
||||
Castle Coral=
|
||||
|
||||
Castle Coral Skeleton=
|
||||
|
||||
### cave_coral.lua ###
|
||||
@ -18,21 +17,17 @@ Cave Pearls=
|
||||
### crystals_mese.lua ###
|
||||
|
||||
Flawless Mese Block=
|
||||
|
||||
Flawless Mese Crystal=
|
||||
|
||||
### crystals_ruby.lua ###
|
||||
|
||||
Big Red Crystal=
|
||||
|
||||
Giant Red Crystal=
|
||||
|
||||
Red Crystal Vein=
|
||||
|
||||
### crystals_salt.lua ###
|
||||
|
||||
Luminous Salt Crystal=
|
||||
|
||||
Salty Cobble=
|
||||
|
||||
### doc.lua ###
|
||||
@ -101,16 +96,13 @@ 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.=
|
||||
|
||||
|
||||
### flowstone.lua ###
|
||||
|
||||
Dry Dripstone=Trockener Tropfstein
|
||||
|
||||
Dry Flowstone=Trockener Fließstein
|
||||
|
||||
Icicle=
|
||||
|
||||
Wet Dripstone=Nasser Tropfstein
|
||||
|
||||
Wet Flowstone=Nasser Fließstein
|
||||
|
||||
### glow_worms.lua ###
|
||||
@ -120,11 +112,8 @@ Glow Worms=
|
||||
### ground_cover.lua ###
|
||||
|
||||
Cobblestone with Floor Fungus=
|
||||
|
||||
Dirt with Cave Moss=
|
||||
|
||||
Dirt with Cave Moss and Footprint=
|
||||
|
||||
Ice with Hoar Moss=
|
||||
|
||||
### snareweed.lua ###
|
||||
|
@ -4,7 +4,6 @@
|
||||
### castle_coral.lua ###
|
||||
|
||||
Castle Coral=
|
||||
|
||||
Castle Coral Skeleton=
|
||||
|
||||
### cave_coral.lua ###
|
||||
@ -18,21 +17,17 @@ Cave Pearls=
|
||||
### crystals_mese.lua ###
|
||||
|
||||
Flawless Mese Block=
|
||||
|
||||
Flawless Mese Crystal=
|
||||
|
||||
### crystals_ruby.lua ###
|
||||
|
||||
Big Red Crystal=
|
||||
|
||||
Giant Red Crystal=
|
||||
|
||||
Red Crystal Vein=
|
||||
|
||||
### crystals_salt.lua ###
|
||||
|
||||
Luminous Salt Crystal=
|
||||
|
||||
Salty Cobble=
|
||||
|
||||
### doc.lua ###
|
||||
@ -101,16 +96,13 @@ 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.=
|
||||
|
||||
|
||||
### flowstone.lua ###
|
||||
|
||||
Dry Dripstone=
|
||||
|
||||
Dry Flowstone=
|
||||
|
||||
Icicle=
|
||||
|
||||
Wet Dripstone=
|
||||
|
||||
Wet Flowstone=
|
||||
|
||||
### glow_worms.lua ###
|
||||
@ -120,11 +112,8 @@ Glow Worms=Vermi luminosi
|
||||
### 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=
|
||||
|
||||
### snareweed.lua ###
|
||||
|
@ -4,7 +4,6 @@
|
||||
### castle_coral.lua ###
|
||||
|
||||
Castle Coral=
|
||||
|
||||
Castle Coral Skeleton=
|
||||
|
||||
### cave_coral.lua ###
|
||||
@ -18,21 +17,17 @@ Cave Pearls=
|
||||
### crystals_mese.lua ###
|
||||
|
||||
Flawless Mese Block=
|
||||
|
||||
Flawless Mese Crystal=
|
||||
|
||||
### crystals_ruby.lua ###
|
||||
|
||||
Big Red Crystal=
|
||||
|
||||
Giant Red Crystal=
|
||||
|
||||
Red Crystal Vein=
|
||||
|
||||
### crystals_salt.lua ###
|
||||
|
||||
Luminous Salt Crystal=
|
||||
|
||||
Salty Cobble=
|
||||
|
||||
### doc.lua ###
|
||||
@ -101,16 +96,13 @@ 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.=
|
||||
|
||||
|
||||
### flowstone.lua ###
|
||||
|
||||
Dry Dripstone=
|
||||
|
||||
Dry Flowstone=
|
||||
|
||||
Icicle=
|
||||
|
||||
Wet Dripstone=
|
||||
|
||||
Wet Flowstone=
|
||||
|
||||
### glow_worms.lua ###
|
||||
@ -120,11 +112,8 @@ Glow Worms=
|
||||
### ground_cover.lua ###
|
||||
|
||||
Cobblestone with Floor Fungus=
|
||||
|
||||
Dirt with Cave Moss=
|
||||
|
||||
Dirt with Cave Moss and Footprint=
|
||||
|
||||
Ice with Hoar Moss=
|
||||
|
||||
### snareweed.lua ###
|
||||
|
@ -1,4 +1,4 @@
|
||||
name = df_mapitems
|
||||
description = Various node types used by the dfcaverns mapgen mod. Includes cave coral, flowstone, glowing crystals, glow worms, moss and fungi ground cover, and snare weed.
|
||||
depends = default, subterrane
|
||||
optional_depends = df_farming, farming, doc, radiant_damage, trail
|
||||
optional_depends = df_farming, farming, doc, radiant_damage, footprints
|
Reference in New Issue
Block a user