diff --git a/mapgen.lua b/mapgen.lua index 26163a9..0fa4f10 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -42,6 +42,10 @@ end -- special params, so the below func is not necesary. The mt oregen runs in -- separate therad (emerge) and it does not block server. -- params: type=scatter scacrity=1 size=3 ores=27 : full chance of spawning, only limited by noise thr +-- EDIT: Need to edit mg_ore.cpp and Add following ore_types: layer, blob, region. + -- layer=2Dheightmap style layer with specific thickness + -- blob= 3D noise deformed sphere + -- region= 3D noise / treshold ore placement. rocksl.layergen=function(layer, minp, maxp, seed) if ( (layer.top.offset+layer.top.scale)>minp.y )