2 Commits

Author SHA1 Message Date
9e3d5bf997 Corrige crash au démarrage si moreblocks chargé 2020-05-08 20:15:12 +02:00
c5ef9136ec Modifie la profondeur du Nether à -25000 2020-03-06 12:04:32 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ nether.path = minetest.get_modpath(nether.modname)
nether.get_translator = S
-- Settings
nether.DEPTH = -5000 -- The y location of the Nether
nether.DEPTH = -25000 -- The y location of the Nether
nether.FASTTRAVEL_FACTOR = 8 -- 10 could be better value for Minetest, since there's no sprint, but ex-Minecraft players will be mathing for 8
nether.PORTAL_BOOK_LOOT_WEIGHTING = 0.9 -- Likelyhood of finding the Book of Portals (guide) in dungeon chests. Set to 0 to disable.
nether.NETHER_REALM_ENABLED = true -- Setting to false disables the Nether and Nether portal
@ -161,4 +161,4 @@ The expedition parties have found no diamonds or gold, and after an experienced
end
})
end
end

View File

@ -75,7 +75,7 @@ local c_sand = minetest.get_content_id("default:sand")
local c_cobble = minetest.get_content_id("default:cobble")
local c_mossycobble = minetest.get_content_id("default:mossycobble")
local c_stair_cobble = minetest.get_content_id("stairs:stair_cobble")
local c_stair_cobble = minetest.registered_nodes["moreblocks:stair_cobble"] and minetest.get_content_id("moreblocks:stair_cobble") or minetest.get_content_id("stairs:stair_cobble")
local c_lava_source = minetest.get_content_id("default:lava_source")
local c_lava_flowing = minetest.get_content_id("default:lava_flowing")
@ -222,4 +222,4 @@ function nether.find_nether_ground_y(target_x, target_z, start_y)
end
return start_y -- Fallback
end
end