1
0
mirror of https://github.com/HybridDog/nether-pack.git synced 2025-06-30 07:01:13 +02:00

4 Commits

7 changed files with 57 additions and 19 deletions

View File

@ -1,2 +1,2 @@
GPLv3 (lkloel's version)
MIT for the changes
WTFPL for the changes

View File

@ -1,7 +1,26 @@
For a description of this Minetest mod, please refer to the forum topic:
https://forum.minetest.net/viewtopic.php?f=9&t=10265
[Mod] nether-pack [nether-pack]
This is a modified version of lkjoel's nether mod.
Look here if you want to see the differences:
https://github.com/HybridDog/minetest-nether/compare/lkjoel:master...master
Sadly lkjoel's one disappeared…
Thanks a lot to LeMagnesium, crabman77, Ombridride, Gael-de-Sailly, ObaniGemini and other people from server-minetestforfun for working on this mod.
**Depends:** see [depends.txt](https://raw.githubusercontent.com/HybridDog/nether-pack/master/nether/depends.txt)
**License:** see [LICENSE.txt](https://raw.githubusercontent.com/HybridDog/nether-pack/master/LICENSE.txt)
**Download:** [zip](https://github.com/HybridDog/nether-pack/archive/master.zip), [tar.gz](https://github.com/HybridDog/nether-pack/tarball/master)
a long time ago this happened
![I'm a screenshot!](http://i.imgur.com/pMZYqt9.png)
I assume other screenshots could represent this mod in more serious ways
If you got ideas or found bugs, please tell them to me.
[How to install a mod?](http://wiki.minetest.net/Installing_Mods)
TODO:
* Find a way to get the perlin noise inside [-1; 1] or use another noise
* Add some node which containing items to the simple pyramid "buildings"
— find a way to get the perlin noise inside [-1; 1] or use another noise
— add something containing items to that buildings
— update leaves visual_scale

10
nether/depends.txt Normal file
View File

@ -0,0 +1,10 @@
default
creative?
glow
riesenpilz
stairs
moreblocks?
vector_extras
fence_registration?
function_delayer?
watershed?

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
@ -528,7 +540,7 @@ minetest.register_node("nether:leaves", {
description = "Nether Leaves",
drawtype = "plantlike",
waving = 1,
visual_scale = math.sqrt(2) + 0.01,
visual_scale = math.sqrt(math.sqrt(2)),
tiles = {"nether_leaves.png"},
inventory_image = "nether_leaves.png",
wield_image = "nether_leaves.png",

View File

@ -1,3 +0,0 @@
name = nether
depends = default,glow,riesenpilz,stairs,vector_extras
optional_depends = creative,fence_registration,function_delayer,watershed

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