1
0
mirror of git://repo.or.cz/rocks.git synced 2025-12-29 18:55:27 +01:00

Add limestne and dolomite.

This commit is contained in:
Tomáš Brada
2015-02-10 17:00:04 +01:00
parent 9dfb45a978
commit f0d193fcfd
5 changed files with 49 additions and 25 deletions

View File

@@ -19,14 +19,14 @@ rocks.register_layer=function(name,params,rock)
gain=params.gain,
height=params.height,
maxheight=maxheight,
limit=((params.limit or 2)*params.gain)+params.height,
limit=(params.limit*params.gain)+params.height,
seed=params.seed or 0,
rock={ node=rock },
veins={},
name=name
}
rocks.layers_name[name]= ld
print("[rocks] layer "..ld.name)
print("[rocks] layer "..ld.name.."height="..ld.height.." limit="..ld.limit)
end
rocks.register_vein=function(name,params)