-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP New features For Nether #71
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ loot? | |
mesecons? | ||
moreblocks? | ||
climate_api? | ||
xpanes? | ||
xpanes? | ||
farming? |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name = nether | ||
description = Adds a deep underground realm with different mapgen that you can reach with obsidian portals. | ||
depends = stairs, default | ||
optional_depends = moreblocks, mesecons, loot, dungeon_loot, doc_basics, fire, climate_api, ethereal, xpanes, walls | ||
optional_depends = moreblocks, mesecons, loot, dungeon_loot, doc_basics, fire, climate_api, ethereal, xpanes, walls, farming |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -269,6 +269,89 @@ minetest.register_node("nether:glowstone", { | |
can_dig = transmogrified_can_dig, -- to ensure glowstone temporarily created by the lightstaff can't be kept | ||
}) | ||
|
||
-- Murexium, like iron, but faster | ||
|
||
minetest.register_node("nether:rack_with_murexium", { | ||
description = S("Murexium Ore"), | ||
tiles = {"nether_rack.png^nether_mineral_murexium.png"}, | ||
groups = {cracky = 2}, | ||
drop = "nether:murexium_lump", | ||
sounds = default.node_sound_stone_defaults(), | ||
}) | ||
|
||
minetest.register_node("nether:murexium_block", { | ||
description = S("Murexium Block"), | ||
tiles = {"nether_murexium_block.png"}, | ||
is_ground_content = false, | ||
groups = {cracky = 1, level = 2}, | ||
sounds = default.node_sound_metal_defaults(), | ||
}) | ||
|
||
-- Hades Hinge, the only source of wood down here | ||
|
||
minetest.register_node("nether:hinge", { | ||
description = S("Hades Hinge"), | ||
tiles = {"nether_hinge_top.png", "nether_hinge_top.png", "nether_hinge.png"}, | ||
paramtype2 = "facedir", | ||
place_param2 = 0, | ||
is_ground_content = false, | ||
groups = {choppy = 3, oddly_breakable_by_hand = 1}, | ||
sounds = default.node_sound_wood_defaults(), | ||
}) | ||
|
||
minetest.register_node("nether:hinge_growing", { | ||
description = S("Growing Hades Hinge Tip"), | ||
drop = "nether:hinge_spawn", | ||
drawtype = "plantlike", | ||
tiles = {"nether_hinge_growing.png"}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I am still working on it. There also is no glowing texture either. Any suggstions? |
||
inventory_image = "nether_hinge_growing.png", | ||
wield_image = "nether_hinge_growing.png", | ||
sunlight_propagates = true, | ||
is_ground_content = false, | ||
groups = {dig_immediate = 2, oddly_breakable_by_hand = 3, attached_node = 1}, | ||
sounds = default.node_sound_wood_defaults(), | ||
}) | ||
|
||
minetest.register_node("nether:hinge_spawn", { | ||
description = S("Hades Hinge Spawn"), | ||
drawtype = "plantlike", | ||
tiles = {"nether_hinge_spawn.png"}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see a nether_hinge_spawn.png in the textures There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am still thinking what it should look like. |
||
inventory_image = "nether_hinge_spawn.png", | ||
wield_image = "nether_hinge_spawn.png", | ||
sunlight_propagates = true, | ||
is_ground_content = false, | ||
on_timer = grow_sapling, | ||
groups = {dig_immediate = 2, oddly_breakable_by_hand = 3, attached_node = 1, sapling = 1}, | ||
sounds = default.node_sound_wood_defaults(), | ||
|
||
on_construct = function(pos) | ||
minetest.get_node_timer(pos):start(math.random(300, 1500)) | ||
end, | ||
|
||
on_place = function(itemstack, placer, pointed_thing) | ||
itemstack = default.sapling_on_place(itemstack, placer, pointed_thing, | ||
"nether:hinge_spawn", | ||
-- minp, maxp to be checked, relative to sapling pos | ||
-- minp_relative.y = 1 because sapling pos has been checked | ||
{x = -3, y = 1, z = -3}, | ||
{x = 3, y = 6, z = 3}, | ||
-- maximum interval of interior volume check | ||
4) | ||
|
||
return itemstack | ||
end, | ||
}) | ||
|
||
minetest.register_node("nether:hinge_glowing", { | ||
description = S("Glowing Hades Hinge"), | ||
tiles = {"nether_hinge_glowing.png"}, | ||
is_ground_content = false, | ||
paramtype = "light", | ||
light_source = 10, | ||
groups = {choppy = 3, oddly_breakable_by_hand = 3}, | ||
sounds = default.node_sound_wood_defaults(), | ||
}) | ||
|
||
-- Deep glowstone, found in the mantle / central magma layers | ||
minetest.register_node("nether:glowstone_deep", { | ||
description = S("Deep Glowstone"), | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've used H1, H2, H3, but only defined M1, M2, M3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I am stupid. H was for Hinge, M was for mushroom. I was in a much earlier stage of development when I made the initial registration.