mirror of
				https://github.com/FaceDeer/dfcaverns.git
				synced 2025-10-31 16:25:22 +01:00 
			
		
		
		
	make webs slightly more prevalent
This commit is contained in:
		| @@ -6,7 +6,7 @@ local maxy = tonumber(minetest.settings:get("chasms_maxy")) or -50 | ||||
| local miny = tonumber(minetest.settings:get("chasms_miny")) or -2500 | ||||
| local falloff = tonumber(minetest.settings:get("chasms_falloff")) or 100 | ||||
|  | ||||
| local web_probability = 0.1 -- the chance that a given mapblock will have webbing criss-crossing the chasm | ||||
| local web_probability = 0.15 -- the chance that a given mapblock will have webbing criss-crossing the chasm | ||||
|  | ||||
| local chasms_threshold = tonumber(minetest.settings:get("chasms_threshold")) or 0.9 | ||||
| local np_chasms_default = { | ||||
|   | ||||
| @@ -367,7 +367,7 @@ local decorate_level_3 = function(minp, maxp, seed, vm, node_arrays, area, data) | ||||
| 			else | ||||
| 				df_caverns.tunnel_ceiling(minp, maxp, area, vi, nvals_cracks, data, data_param2, false) | ||||
| 			end | ||||
| 			if c_webs_egg and biome_name == "barren" and nvals_cracks[index2d] > 0.5 and math.random() < 0.1 then | ||||
| 			if c_webs_egg and (biome_name == "barren" or biome_name == "blackcap") and nvals_cracks[index2d] > 0.5 and math.random() < 0.1 then | ||||
| 				local index = vi-ystride | ||||
| 				if data[index] == c_air then | ||||
| 					data[index] = c_webs_egg | ||||
|   | ||||
		Reference in New Issue
	
	Block a user