Add stained glass

This commit is contained in:
IamPyu 2024-10-12 18:37:24 -06:00
parent f27c906911
commit d9237a9686
3 changed files with 20 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## [Oct 12th - **STILL UNDER DEVELOPMENT** 2024] Update: Building Update
- Added Stained Glass
## [Oct 6th - Oct 12th 2024] Update: Texture Update
This update contains breaking changes due to the grass revamp

View File

@ -37,7 +37,7 @@ PyuTest.make_node("pyutest_blocks:torch", "Torch", {
})
PyuTest.make_node("pyutest_blocks:glass", "Glass", {
cracky = PyuTest.BLOCK_NORMAL
cracky = PyuTest.BLOCK_FAST
}, { "pyutest-glass.png" }, {
drawtype = "glasslike_framed",
paramtype = "light",

View File

@ -77,6 +77,21 @@ for k, v in pairs(PyuTest.COLORS) do
PyuTest.make_colored_blocks("pyutest_wool:"..k, v[1], v[2])
end
for k, v in pairs(PyuTest.COLORS) do
if v[2] ~= nil then
PyuTest.make_node("pyutest_wool:"..k.."_stained_glass", v[1] .. " Stained Glass", {
cracky = PyuTest.BLOCK_FAST,
glass = 1,
colored = 1
}, {"pyutest-glass.png"}, {
drawtype = "glasslike_framed",
color = v[2],
paramtype = "light",
sunlight_propagates = true
})
end
end
PyuTest.make_dye_mixing_recipe = function(c1, c2, out)
minetest.register_craft({
type = "shapeless",