Minor Update
This commit is contained in:
parent
74f9b9a583
commit
5b77758b35
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [Jun 15th 2024] Minor Update: Add Aliases for Building Blocks
|
||||
|
||||
- Added Aliases in the Format BLOCK_TYPE ex. dirt_slab
|
||||
|
||||
## [Jun 15th 2024] Major Update: Survival Update Pt. 2
|
||||
|
||||
- Added Mining Mechanics
|
||||
|
@ -40,7 +40,6 @@ PyuTestCore.node_boxes = {
|
||||
}
|
||||
PyuTestCore.building_blocks = {}
|
||||
|
||||
|
||||
PyuTestCore.make_building_blocks = function (color, dcolor, tex, colortint, cgroups, extra_conf)
|
||||
local groups = cgroups or {
|
||||
block = PyuTestCore.BLOCK_BREAKABLE_NORMAL
|
||||
@ -59,6 +58,7 @@ PyuTestCore.make_building_blocks = function (color, dcolor, tex, colortint, cgro
|
||||
sounds = PyuTestCore.make_node_sounds(),
|
||||
}, econf))
|
||||
table.insert(PyuTestCore.building_blocks, id_block)
|
||||
minetest.register_alias(color.."_block", id_block)
|
||||
|
||||
minetest.register_node(id_carpet, PyuTestCore.util.tableconcat({
|
||||
description = Translate(dcolor .. " Carpet"),
|
||||
@ -72,6 +72,7 @@ PyuTestCore.make_building_blocks = function (color, dcolor, tex, colortint, cgro
|
||||
sounds = PyuTestCore.make_node_sounds(),
|
||||
}, econf))
|
||||
table.insert(PyuTestCore.building_blocks, id_carpet)
|
||||
minetest.register_alias(color.."_carpet", id_carpet)
|
||||
|
||||
minetest.register_node(id_slab, PyuTestCore.util.tableconcat({
|
||||
description = Translate(dcolor.." Slab"),
|
||||
@ -85,6 +86,7 @@ PyuTestCore.make_building_blocks = function (color, dcolor, tex, colortint, cgro
|
||||
sounds = PyuTestCore.make_node_sounds(),
|
||||
}, econf))
|
||||
table.insert(PyuTestCore.building_blocks, id_slab)
|
||||
minetest.register_alias(color.."_slab", id_slab)
|
||||
|
||||
minetest.register_node(id_pillar, PyuTestCore.util.tableconcat({
|
||||
description = Translate(dcolor.." Pillar"),
|
||||
@ -98,6 +100,7 @@ PyuTestCore.make_building_blocks = function (color, dcolor, tex, colortint, cgro
|
||||
sounds = PyuTestCore.make_node_sounds(),
|
||||
}, econf))
|
||||
table.insert(PyuTestCore.building_blocks, id_pillar)
|
||||
minetest.register_alias(color.."_pillar", id_pillar)
|
||||
|
||||
minetest.register_craft({
|
||||
output = id_carpet .. " 2",
|
||||
|
Loading…
x
Reference in New Issue
Block a user