mirror of
https://github.com/HybridDog/nether-pack.git
synced 2025-06-29 14:41:05 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5d1fba092b | |||
7bf9c368c6 | |||
9d7734cce7 | |||
b1fbfdfc14 |
@ -3,6 +3,7 @@ creative?
|
|||||||
glow
|
glow
|
||||||
riesenpilz
|
riesenpilz
|
||||||
stairs
|
stairs
|
||||||
|
moreblocks?
|
||||||
vector_extras
|
vector_extras
|
||||||
fence_registration?
|
fence_registration?
|
||||||
function_delayer?
|
function_delayer?
|
||||||
|
@ -1042,5 +1042,5 @@ local msg = ("[nether] loaded after ca. %g seconds."):format(time)
|
|||||||
if time > 0.01 then
|
if time > 0.01 then
|
||||||
print(msg)
|
print(msg)
|
||||||
else
|
else
|
||||||
minetest.log("info", msg)
|
minetest.log("action", msg)
|
||||||
end
|
end
|
||||||
|
@ -11,13 +11,25 @@ local function add_more_nodes(name)
|
|||||||
name = "nether_"..name
|
name = "nether_"..name
|
||||||
end
|
end
|
||||||
local data = minetest.registered_nodes[nd]
|
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.groups,
|
||||||
data.tiles,
|
data.tiles,
|
||||||
data.description.." Stair",
|
data.description.." Stair",
|
||||||
data.description.." Slab",
|
data.description.." Slab",
|
||||||
data.sounds
|
data.sounds
|
||||||
)
|
)
|
||||||
|
end
|
||||||
if add_fence then
|
if add_fence then
|
||||||
add_fence({fence_of = nd})
|
add_fence({fence_of = nd})
|
||||||
end
|
end
|
||||||
|
@ -108,7 +108,7 @@ local function player_to_nether(player, pos)
|
|||||||
minetest.chat_send_player(pname, "For any reason you arrived here. " ..
|
minetest.chat_send_player(pname, "For any reason you arrived here. " ..
|
||||||
"Type /nether_help to find out things like craft recipes.")
|
"Type /nether_help to find out things like craft recipes.")
|
||||||
player:set_hp(0)
|
player:set_hp(0)
|
||||||
if not nether_prisons then
|
if nether_prisons then
|
||||||
player:set_pos(get_player_died_target(player))
|
player:set_pos(get_player_died_target(player))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user