forked from mtcontrib/minetest-mod-snow
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			d3ba0dd21c
			...
			afe80c0dc3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| afe80c0dc3 | |||
| f51bcd00df | 
@@ -59,11 +59,12 @@ minetest.register_biome({
 | 
			
		||||
 | 
			
		||||
minetest.register_biome({
 | 
			
		||||
	name           = "snow_biome_alpine",
 | 
			
		||||
 | 
			
		||||
	node_dust = "default:snow",
 | 
			
		||||
	node_top       = "default:dirt_with_snow",
 | 
			
		||||
	depth_top      = 1,
 | 
			
		||||
	node_filler    = "default:stone",
 | 
			
		||||
 | 
			
		||||
	node_riverbed = "default:gravel",
 | 
			
		||||
	depth_riverbed = 2,
 | 
			
		||||
	y_min     = 60,
 | 
			
		||||
	y_max     = 31000,
 | 
			
		||||
	heat_point     = 10.0,
 | 
			
		||||
@@ -88,7 +89,7 @@ minetest.register_biome({
 | 
			
		||||
--Pine tree.
 | 
			
		||||
minetest.register_decoration({
 | 
			
		||||
	deco_type = "schematic",
 | 
			
		||||
	place_on = {"default:dirt_with_snow", "default:dirt_with_grass"},
 | 
			
		||||
	place_on = {"default:dirt_with_snow", "default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
 | 
			
		||||
	sidelen = 16,
 | 
			
		||||
	noise_params = {
 | 
			
		||||
		offset = -0.004,
 | 
			
		||||
@@ -118,6 +119,7 @@ minetest.register_decoration({
 | 
			
		||||
		octaves = 3,
 | 
			
		||||
		persist = 0.66
 | 
			
		||||
	},
 | 
			
		||||
--	fill_ratio = 0.0005,
 | 
			
		||||
	y_max = 31000,
 | 
			
		||||
	y_min = 4,
 | 
			
		||||
	biomes = {"snow_biome_forest", "pine_forest"},
 | 
			
		||||
@@ -212,24 +214,24 @@ register_flower(1133,    "viola")
 | 
			
		||||
register_flower(73133,   "dandelion_white")
 | 
			
		||||
 | 
			
		||||
--Snow.
 | 
			
		||||
minetest.register_decoration({
 | 
			
		||||
	deco_type = "simple",
 | 
			
		||||
	place_on = "default:dirt_with_snow",
 | 
			
		||||
	sidelen = 16,
 | 
			
		||||
	fill_ratio = 10,
 | 
			
		||||
	y_max = 31000,
 | 
			
		||||
	y_min = 1,
 | 
			
		||||
	biomes = {"snow_biome_forest", "snow_biome_lush"},
 | 
			
		||||
	decoration = "default:snow",
 | 
			
		||||
})
 | 
			
		||||
--minetest.register_decoration({
 | 
			
		||||
--	deco_type = "simple",
 | 
			
		||||
--	place_on = "default:dirt_with_snow",
 | 
			
		||||
--	sidelen = 16,
 | 
			
		||||
--	fill_ratio = 10,
 | 
			
		||||
--	y_max = 31000,
 | 
			
		||||
--	y_min = 1,
 | 
			
		||||
--	biomes = {"snow_biome_forest", "snow_biome_lush"},
 | 
			
		||||
--	decoration = "default:snow",
 | 
			
		||||
--})
 | 
			
		||||
 | 
			
		||||
minetest.register_decoration({
 | 
			
		||||
	deco_type = "simple",
 | 
			
		||||
	place_on = "default:stone",
 | 
			
		||||
	sidelen = 16,
 | 
			
		||||
	fill_ratio = 10,
 | 
			
		||||
	y_max = 31000,
 | 
			
		||||
	y_min = 1,
 | 
			
		||||
	biomes = {"snow_biome_alpine"},
 | 
			
		||||
	decoration = "default:snow",
 | 
			
		||||
})
 | 
			
		||||
--minetest.register_decoration({
 | 
			
		||||
--	deco_type = "simple",
 | 
			
		||||
--	place_on = "default:stone",
 | 
			
		||||
--	sidelen = 16,
 | 
			
		||||
--	fill_ratio = 10,
 | 
			
		||||
--	y_max = 31000,
 | 
			
		||||
--	y_min = 1,
 | 
			
		||||
--	biomes = {"snow_biome_alpine"},
 | 
			
		||||
--	decoration = "default:snow",
 | 
			
		||||
--})
 | 
			
		||||
 
 | 
			
		||||
@@ -62,8 +62,6 @@ minetest.register_lbm({
 | 
			
		||||
-- Pine Needles
 | 
			
		||||
local nodedef = table.copy(minetest.registered_nodes["default:pine_needles"])
 | 
			
		||||
nodedef.description = "Snow Pine Needles"
 | 
			
		||||
nodedef.tiles = {"snow_needles.png"}
 | 
			
		||||
nodedef.visual_scale = 1.3
 | 
			
		||||
nodedef.drop = {
 | 
			
		||||
	max_items = 1,
 | 
			
		||||
	items = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user