1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2024-12-28 23:40: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:
Splizard 2012-07-26 16:19:33 +12:00
parent 4acb073e8c
commit 88ec5b2b24
2 changed files with 1 additions and 7 deletions

View File

@ -303,7 +303,7 @@ minetest.register_craft({
--3: one water_flowing --3: one water_flowing
minetest.register_abm({ minetest.register_abm({
nodenames = {"group:melts"}, 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, interval = 2,
chance = 2, chance = 2,
action = function(pos, node, active_object_count, active_object_count_wider) action = function(pos, node, active_object_count, active_object_count_wider)

View File

@ -221,12 +221,6 @@ if maxp.y >= -10 then
end end
end 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 elseif ground_y and node.name == "snow:snow" and node.name ~= "snow:ice" then
--Abort genaration. --Abort genaration.
local name = env:get_node({x=x,y=ground_y-1,z=z}).name local name = env:get_node({x=x,y=ground_y-1,z=z}).name