Merge pull request #1 from Kilarin/master
oops, accidentally turned off ore thinning!
This commit is contained in:
commit
bd6f0c5e62
@ -5,7 +5,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
local fracrift_width=20 --how wide the rift will be
|
local fracrift_width=20 --how wide the rift will be
|
||||||
local fracrift_depth_air=20 --how deep before the water
|
local fracrift_depth_air=33000 --how deep before the water
|
||||||
local fracrift_depth_water=20 --how deep the water will be
|
local fracrift_depth_water=20 --how deep the water will be
|
||||||
local fracrift_top=100 --max height to scan for land to remove
|
local fracrift_top=100 --max height to scan for land to remove
|
||||||
local fracrift_bottomsmooth=0.995 --odds of bottom being smooth
|
local fracrift_bottomsmooth=0.995 --odds of bottom being smooth
|
||||||
|
@ -134,7 +134,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||||||
-- it is, so now thin it based on distance from center
|
-- it is, so now thin it based on distance from center
|
||||||
-- note the bigger adj is, the smaller the chance of thinning.
|
-- note the bigger adj is, the smaller the chance of thinning.
|
||||||
if math.random() > adj then
|
if math.random() > adj then
|
||||||
--data[vi] = c_stone -- remove the ore
|
data[vi] = c_stone -- remove the ore
|
||||||
--data[vi] = c_goldblock --*VIEWTHINNING* uncomment this line to make it easy to see thinning
|
--data[vi] = c_goldblock --*VIEWTHINNING* uncomment this line to make it easy to see thinning
|
||||||
changed=true
|
changed=true
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user