From fa23f5a1c4c984cdafcecacaf2b6496c692eb3b0 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Wed, 22 Mar 2017 23:43:40 -0600 Subject: [PATCH] remove some old code --- biomes/level1.lua | 1 - biomes/level2.lua | 9 --------- biomes/level3.lua | 4 ---- 3 files changed, 14 deletions(-) diff --git a/biomes/level1.lua b/biomes/level1.lua index bc22c5d..7bedd97 100644 --- a/biomes/level1.lua +++ b/biomes/level1.lua @@ -146,7 +146,6 @@ local level_1_fungiwood_floor = function(area, data, ai, vi, bi, param2_data) elseif drip_rand < 0.001 then subterrane:giant_stalagmite(bi, area, data, 6, 15, c_wet_flowstone, c_wet_flowstone, c_wet_flowstone) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) diff --git a/biomes/level2.lua b/biomes/level2.lua index 1f8ad98..4b4dab0 100644 --- a/biomes/level2.lua +++ b/biomes/level2.lua @@ -33,7 +33,6 @@ local level_2_tower_cap_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) @@ -48,7 +47,6 @@ local level_2_moist_ceiling = function(area, data, ai, vi, bi, param2_data) end local drip_rand = subterrane:vertically_consistent_random(vi, area) if drip_rand < 0.075 then - --subterrane:stalactite(ai, area, data, 6, 20, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.075 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, -height, true) @@ -73,7 +71,6 @@ local level_2_dry_floor = function(area, data, ai, vi, bi, param2_data) local drip_rand = subterrane:vertically_consistent_random(vi, area) if drip_rand < 0.05 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.05 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, false) @@ -99,7 +96,6 @@ local level_2_wet_floor = function(area, data, ai, vi, bi, param2_data) local drip_rand = subterrane:vertically_consistent_random(vi, area) if drip_rand < 0.05 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.05 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) @@ -120,7 +116,6 @@ local level_2_dry_ceiling = function(area, data, ai, vi, bi, param2_data) end local drip_rand = subterrane:vertically_consistent_random(vi, area) if drip_rand < 0.075 then - --subterrane:stalactite(ai, area, data, 6, 20, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.075 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, -height, false) @@ -144,7 +139,6 @@ local level_2_fungiwood_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) @@ -169,7 +163,6 @@ local level_2_tunnel_tube_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) @@ -194,7 +187,6 @@ local level_2_spore_tree_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) @@ -219,7 +211,6 @@ local level_2_goblin_cap_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) diff --git a/biomes/level3.lua b/biomes/level3.lua index 9a701d4..8be9337 100644 --- a/biomes/level3.lua +++ b/biomes/level3.lua @@ -148,7 +148,6 @@ local level_3_nether_cap_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.01 and data[bi] ~= c_ice then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) data[vi] = c_air @@ -175,7 +174,6 @@ local level_3_tunnel_tube_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) @@ -200,7 +198,6 @@ local level_3_spore_tree_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true) @@ -225,7 +222,6 @@ local level_3_goblin_cap_floor = function(area, data, ai, vi, bi, param2_data) if math.random() < 0.1 then dfcaverns.place_shrub(data, vi, param2_data) elseif drip_rand < 0.1 then - --subterrane:stalagmite(bi, area, data, 6, 15, c_stone, c_stone, c_stone) local param2 = drip_rand*1000000 - math.floor(drip_rand*1000000/4)*4 local height = math.floor(drip_rand/0.1 * 5) subterrane:stalagmite(vi, area, data, param2_data, param2, height, true)