Minor Update: Fence Update
This commit is contained in:
parent
b0c6797e56
commit
acf57bf55e
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## [Jun 10th 2024] Minor Update: Fence Update
|
||||
|
||||
- Added Fences
|
||||
- Humans no longer spawn below sea-level
|
||||
|
||||
## [Jun 10th 2024] Update: Cave Update
|
||||
|
||||
- Added andesite and granite
|
||||
|
@ -62,6 +62,7 @@ PyuTestCore.make_building_blocks = function (name, desc, tex, colortint, cgroups
|
||||
local id_slab = name.."_slab"
|
||||
local id_pillar = name.."_pillar"
|
||||
local id_stairs = name.."_stairs"
|
||||
local id_fence = name.."_fence"
|
||||
|
||||
table.insert(PyuTestCore.building_blocks, {
|
||||
name = name,
|
||||
@ -122,6 +123,19 @@ PyuTestCore.make_building_blocks = function (name, desc, tex, colortint, cgroups
|
||||
sounds = PyuTestCore.make_node_sounds(),
|
||||
}, econf))
|
||||
|
||||
minetest.register_node(id_fence, PyuTestCore.util.tableconcat({
|
||||
description = Translate(desc.." Fence"),
|
||||
tiles = tex,
|
||||
groups = groups,
|
||||
drawtype = "fencelike",
|
||||
paramtype = "light",
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-0.25, -0.5, -0.25, 0.25, 0.5, 0.25}
|
||||
},
|
||||
sounds = PyuTestCore.make_node_sounds(),
|
||||
}, econf))
|
||||
|
||||
minetest.register_craft({
|
||||
output = id_carpet .. " 2",
|
||||
recipe = {
|
||||
@ -153,6 +167,14 @@ PyuTestCore.make_building_blocks = function (name, desc, tex, colortint, cgroups
|
||||
{id_block, id_block, id_block}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = id_fence .. " 4",
|
||||
recipe = {
|
||||
{id_block, "pyutest_core:stick", id_block},
|
||||
{id_block, "pyutest_core:stick", id_block}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
PyuTestCore.make_building_blocks("pyutest_core:grass", "Grass", {"grass.png"}, nil, {
|
||||
|
@ -116,7 +116,7 @@ if mapgen ~= "flat" and mapgen ~= "singlenode" then
|
||||
nodes = {"group:ground"},
|
||||
interval = 2,
|
||||
chance = 2,
|
||||
active_object_count = 6,
|
||||
active_object_count = 3,
|
||||
min_light = 0,
|
||||
max_light = 9,
|
||||
})
|
||||
@ -126,9 +126,10 @@ if mapgen ~= "flat" and mapgen ~= "singlenode" then
|
||||
nodes = {"group:ground"},
|
||||
interval = 3,
|
||||
chance = 4,
|
||||
active_object_count = 5,
|
||||
active_object_count = 3,
|
||||
min_light = 9,
|
||||
max_light = 15,
|
||||
min_height = PyuTestCore_SurfaceBottom,
|
||||
day_toggle = true,
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user