mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-28 07:30:17 +01:00
Snow biomes near deserts. Desert sand no longer melts snow.
Half generating biomes is messy. Sand is not always hot.
This commit is contained in:
parent
4acb073e8c
commit
88ec5b2b24
2
init.lua
2
init.lua
@ -303,7 +303,7 @@ minetest.register_craft({
|
||||
--3: one water_flowing
|
||||
minetest.register_abm({
|
||||
nodenames = {"group:melts"},
|
||||
neighbors = {"default:desert_sand", "group:igniter","default:torch","default:furnace_active","group:hot"},
|
||||
neighbors = {"group:igniter","default:torch","default:furnace_active","group:hot"},
|
||||
interval = 2,
|
||||
chance = 2,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
|
@ -221,12 +221,6 @@ if maxp.y >= -10 then
|
||||
end
|
||||
end
|
||||
end
|
||||
elseif ground_y and node.name == "default:desert_sand" then
|
||||
--Abort genaration.
|
||||
if debug then
|
||||
print(biomeToString(biome)..": desert found ABORTED!")
|
||||
end
|
||||
return
|
||||
elseif ground_y and node.name == "snow:snow" and node.name ~= "snow:ice" then
|
||||
--Abort genaration.
|
||||
local name = env:get_node({x=x,y=ground_y-1,z=z}).name
|
||||
|
Loading…
Reference in New Issue
Block a user