mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2025-01-01 09:00:18 +01:00
commit
96086a048f
@ -106,7 +106,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||||||
local plain = biome == 2 -- spawns not much
|
local plain = biome == 2 -- spawns not much
|
||||||
local alpine = biome == 3 -- rocky terrain
|
local alpine = biome == 3 -- rocky terrain
|
||||||
-- Water biomes
|
-- Water biomes
|
||||||
biome2 = pr:next(1, 5)
|
local biome2 = pr:next(1, 5)
|
||||||
local cool = biome == 1 -- only spawns ice on edge of water
|
local cool = biome == 1 -- only spawns ice on edge of water
|
||||||
local icebergs = biome == 2
|
local icebergs = biome == 2
|
||||||
local icesheet = biome == 3
|
local icesheet = biome == 3
|
||||||
|
@ -66,7 +66,7 @@ end
|
|||||||
|
|
||||||
--Christmas easter egg
|
--Christmas easter egg
|
||||||
minetest.register_on_mapgen_init( function()
|
minetest.register_on_mapgen_init( function()
|
||||||
if skins then
|
if rawget(_G, "skins") then
|
||||||
skins.add("character_snow_man")
|
skins.add("character_snow_man")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -68,7 +68,7 @@ local sled = {
|
|||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
mesh = "sled.x",
|
mesh = "sled.x",
|
||||||
textures = {"sled.png"},
|
textures = {"sled.png"},
|
||||||
HUD,
|
nil,
|
||||||
|
|
||||||
driver = nil,
|
driver = nil,
|
||||||
sliding = false,
|
sliding = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user