mirror of
https://github.com/HybridDog/nether-pack.git
synced 2025-06-28 22:26:45 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5d1fba092b | |||
7bf9c368c6 | |||
9d7734cce7 | |||
b1fbfdfc14 |
@ -3,6 +3,7 @@ creative?
|
||||
glow
|
||||
riesenpilz
|
||||
stairs
|
||||
moreblocks?
|
||||
vector_extras
|
||||
fence_registration?
|
||||
function_delayer?
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user