1
0
mirror of https://github.com/HybridDog/nether-pack.git synced 2025-06-28 22:26:45 +02:00

4 Commits

4 changed files with 22 additions and 9 deletions

View File

@ -3,6 +3,7 @@ creative?
glow
riesenpilz
stairs
moreblocks?
vector_extras
fence_registration?
function_delayer?

View File

@ -1042,5 +1042,5 @@ local msg = ("[nether] loaded after ca. %g seconds."):format(time)
if time > 0.01 then
print(msg)
else
minetest.log("info", msg)
minetest.log("action", msg)
end

View File

@ -11,13 +11,25 @@ local function add_more_nodes(name)
name = "nether_"..name
end
local data = minetest.registered_nodes[nd]
stairs.register_stair_and_slab(name, nd,
data.groups,
data.tiles,
data.description.." Stair",
data.description.." Slab",
data.sounds
)
if stairsplus then
stairsplus:register_all(
"nether",
name,
nd,
data
)
minetest.register_alias("stairs:stair_"..name, "nether"..":stair_"..name)
minetest.register_alias("stairs:slab_"..name, "nether"..":slab_"..name)
else
stairs.register_stair_and_slab(
name, nd,
data.groups,
data.tiles,
data.description.." Stair",
data.description.." Slab",
data.sounds
)
end
if add_fence then
add_fence({fence_of = nd})
end

View File

@ -108,7 +108,7 @@ local function player_to_nether(player, pos)
minetest.chat_send_player(pname, "For any reason you arrived here. " ..
"Type /nether_help to find out things like craft recipes.")
player:set_hp(0)
if not nether_prisons then
if nether_prisons then
player:set_pos(get_player_died_target(player))
end
end