Merge pull request #1 from Kilarin/master

oops, accidentally turned off ore thinning!
This commit is contained in:
HeroOfTheWinds 2015-03-01 12:36:34 -10:00
commit bd6f0c5e62
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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