mirror of
git://repo.or.cz/rocks.git
synced 2025-01-01 14:00:30 +01:00
Re-enabled skarn deposits. Currently without ores.
This commit is contained in:
parent
093310ed4b
commit
697a50d5f7
2
init.lua
2
init.lua
@ -26,7 +26,7 @@ local modpath=minetest.get_modpath(minetest.get_current_modname())
|
|||||||
|
|
||||||
dofile(modpath.."/sed.lua")
|
dofile(modpath.."/sed.lua")
|
||||||
dofile(modpath.."/ign.lua")
|
dofile(modpath.."/ign.lua")
|
||||||
--dofile(modpath.."/skarn.lua")
|
dofile(modpath.."/skarn.lua")
|
||||||
|
|
||||||
minetest.register_on_mapgen_init(function(mapgen_params)
|
minetest.register_on_mapgen_init(function(mapgen_params)
|
||||||
-- todo: disable caves and ores
|
-- todo: disable caves and ores
|
||||||
|
10
skarn.lua
10
skarn.lua
@ -2,7 +2,7 @@
|
|||||||
-- Skarn deposit
|
-- Skarn deposit
|
||||||
--
|
--
|
||||||
|
|
||||||
local CommonRarity=0.02 --too high... should be like 0.013
|
local CommonRarity=70 --too high... should be like 76
|
||||||
local CommonRadius=10
|
local CommonRadius=10
|
||||||
local CommonWherein={ "rocks:granite", "rocks:limestone" }
|
local CommonWherein={ "rocks:granite", "rocks:limestone" }
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ minetest.register_node( "rocks:skarn_malachyte", {
|
|||||||
rocks.register_vein("rocks:skarn",{
|
rocks.register_vein("rocks:skarn",{
|
||||||
wherein=CommonWherein,
|
wherein=CommonWherein,
|
||||||
miny=-160, maxy=20,
|
miny=-160, maxy=20,
|
||||||
radius={ average=CommonRadius, amplitude=3, frequency=5 },
|
radius={ average=CommonRadius, amplitude=0.16, frequency=8 },
|
||||||
density=80, rarity=CommonRarity,
|
density=80, rarity=CommonRarity,
|
||||||
ores={
|
ores={
|
||||||
-- marble and hornfels, as well as unchanged limestone.
|
-- marble and hornfels, as well as unchanged limestone.
|
||||||
@ -69,7 +69,7 @@ minetest.register_node( "rocks:skarn_galena", {
|
|||||||
rocks.register_vein("rocks:skarn",{
|
rocks.register_vein("rocks:skarn",{
|
||||||
wherein=CommonWherein,
|
wherein=CommonWherein,
|
||||||
miny=-160, maxy=20,
|
miny=-160, maxy=20,
|
||||||
radius={ average=CommonRadius, amplitude=3, frequency=5 },
|
radius={ average=CommonRadius, amplitude=0.16, frequency=8 },
|
||||||
density=80, rarity=CommonRarity,
|
density=80, rarity=CommonRarity,
|
||||||
ores={
|
ores={
|
||||||
-- marble and hornfels, as well as unchanged limestone.
|
-- marble and hornfels, as well as unchanged limestone.
|
||||||
@ -91,7 +91,7 @@ minetest.register_node( "rocks:skarn_magnetite", {
|
|||||||
rocks.register_vein("rocks:skarn",{
|
rocks.register_vein("rocks:skarn",{
|
||||||
wherein=CommonWherein,
|
wherein=CommonWherein,
|
||||||
miny=-160, maxy=20,
|
miny=-160, maxy=20,
|
||||||
radius={ average=CommonRadius, amplitude=3, frequency=5 },
|
radius={ average=CommonRadius, amplitude=0.16, frequency=8 },
|
||||||
density=80, rarity=CommonRarity,
|
density=80, rarity=CommonRarity,
|
||||||
ores={
|
ores={
|
||||||
-- marble and hornfels, as well as unchanged limestone.
|
-- marble and hornfels, as well as unchanged limestone.
|
||||||
@ -119,7 +119,7 @@ minetest.register_node( "rocks:vermiculite", {
|
|||||||
rocks.register_vein("rocks:skarn",{
|
rocks.register_vein("rocks:skarn",{
|
||||||
wherein=CommonWherein,
|
wherein=CommonWherein,
|
||||||
miny=-160, maxy=20,
|
miny=-160, maxy=20,
|
||||||
radius={ average=CommonRadius, amplitude=3, frequency=5 },
|
radius={ average=CommonRadius, amplitude=0.16, frequency=8 },
|
||||||
density=80, rarity=CommonRarity,
|
density=80, rarity=CommonRarity,
|
||||||
ores={
|
ores={
|
||||||
-- marble and hornfels, as well as unchanged limestone.
|
-- marble and hornfels, as well as unchanged limestone.
|
||||||
|
Loading…
Reference in New Issue
Block a user