Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bri cassa 2021-07-16 23:50:56 +02:00
commit dc21f026f6
5 changed files with 21 additions and 3 deletions

View File

@ -74,4 +74,7 @@ SOFTWARE.
* `nether_rack`* (files starting with "nether_rack"): Zeg9
* `nether_tool_`* (files starting with "nether_tool_"): color adjusted versions from "[default](https://github.com/minetest/minetest_game/tree/master/mods/default)" mod, originals by BlockMen
All other media: Copyright © 2013 PilzAdam, licensed under CC BY-SA 3.0 by PilzAdam.
### [Unlicensed but permission for inclusion by kovaszos_uborka](https://www.planetminecraft.com/member/kovaszos_uborka/)
* `nether_brick_deep.png` (edited by TenPlus1)
All other media: Copyright © 2013 PilzAdam, licensed under CC BY-SA 3.0 by PilzAdam.

View File

@ -44,6 +44,14 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "nether:brick_deep 4",
recipe = {
{"nether:rack_deep", "nether:rack_deep"},
{"nether:rack_deep", "nether:rack_deep"}
}
})
minetest.register_craft({
output = "nether:basalt_hewn",
type = "shapeless",
@ -61,4 +69,4 @@ minetest.register_craft({
}
})
-- See tools.lua for tools related crafting
-- See tools.lua for tools related crafting

View File

@ -161,6 +161,13 @@ minetest.register_node("nether:fence_nether_brick", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("nether:brick_deep", {
description = S("Deep Nether Brick"),
tiles = {"nether_brick_deep.png"},
is_ground_content = false,
groups = {cracky = 2, level = 2},
sounds = default.node_sound_stone_defaults()
})
-- Register stair and slab

View File

@ -2216,7 +2216,7 @@ function nether.volume_is_natural_and_unprotected(minp, maxp, player_name)
if id ~= c_air and id ~= c_ignore and id ~= nil then -- checked for common natural or not emerged
local name = minetest.get_name_from_content_id(id)
local nodedef = minetest.registered_nodes[name]
if not nodedef.is_ground_content then
if nodedef and not nodedef.is_ground_content then
-- trees are natural but not "ground content"
local node_groups = nodedef.groups
if node_groups == nil or (node_groups.tree == nil and node_groups.leaves == nil and node_groups.leafdecay == nil) then

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B