mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-10-31 20:45:22 +01:00 
			
		
		
		
	Merge branch 'watershed' : add watershed mod
This commit is contained in:
		| @@ -199,7 +199,8 @@ plantslib:register_generate_plant({ | ||||
| 		"default:dirt_with_grass", | ||||
| 		"stoneage:grass_with_silex", | ||||
| 		"sumpf:peat", | ||||
| 		"sumpf:sumpf" | ||||
| 		"sumpf:sumpf", | ||||
| 		"watershed:drygrass" | ||||
| 	}, | ||||
|     max_count = 15,  --10,15 | ||||
|     rarity = 101 - 4,  --3,4 | ||||
| @@ -244,7 +245,8 @@ plantslib:register_generate_plant({ | ||||
| 		"default:dirt_with_grass", | ||||
| 		"stoneage:grass_with_silex", | ||||
| 		"sumpf:peat", | ||||
| 		"sumpf:sumpf" | ||||
| 		"sumpf:sumpf", | ||||
| 		"watershed:drygrass" | ||||
| 	}, | ||||
|     max_count = 55,  --10,15 | ||||
|     rarity = 101 - 4,  --3,4 | ||||
|   | ||||
| @@ -105,6 +105,19 @@ plantslib:register_generate_plant({ | ||||
|   abstract_molehills.place_molehill | ||||
| ) | ||||
|  | ||||
| plantslib:register_generate_plant({ | ||||
|     surface = {"watershed:drygrass"}, | ||||
|     max_count = Molehills_Max_Count, | ||||
|     rarity = 97, | ||||
|     min_elevation = 1, | ||||
| 	max_elevation = 40, | ||||
| 	avoid_nodes = {"group:tree","group:liquid","group:stone","group:falling_node"--[[,"air"]]}, | ||||
| 	avoid_radius = 4, | ||||
|     plantlife_limit = -0.3, | ||||
|   }, | ||||
|   abstract_molehills.place_molehill | ||||
| ) | ||||
|  | ||||
| ----------------------------------------------------------------------------------------------- | ||||
| minetest.log("action", "[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...") | ||||
| ----------------------------------------------------------------------------------------------- | ||||
|   | ||||
| @@ -56,12 +56,12 @@ local perlin_scale = 100 | ||||
| local temperature_seeddiff = 112 | ||||
| local temperature_octaves = 3 | ||||
| local temperature_persistence = 0.5 | ||||
| local temperature_scale = 150 | ||||
| local temperature_scale = 256 | ||||
|  | ||||
| local humidity_seeddiff = 9130 | ||||
| local humidity_octaves = 3 | ||||
| local humidity_persistence = 0.5 | ||||
| local humidity_scale = 250 | ||||
| local humidity_seeddiff = 72384 | ||||
| local humidity_octaves = 4 | ||||
| local humidity_persistence = 0.66 | ||||
| local humidity_scale = 256 | ||||
|  | ||||
| local time_scale = 1 | ||||
| local time_speed = tonumber(minetest.setting_get("time_speed")) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user