1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-11-13 05:40:28 +01:00

white, colorable octagon glass

This commit is contained in:
BuckarooBanzay 2023-10-26 18:02:06 +02:00
parent 9177b875d9
commit 5102ad7a39
3 changed files with 31 additions and 0 deletions

View File

@ -945,6 +945,15 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "scifi_nodes:octwht 4",
recipe = {
{"dye:white", "scifi_nodes:glass", ""},
{"scifi_nodes:glass", "scifi_nodes:lightbar", "scifi_nodes:glass"},
{"", "scifi_nodes:glass", "dye:white"}
}
})
-- 1 purple node from 1 plastic, 1 blue dye and 1 red dye
minetest.register_craft({
output = "scifi_nodes:purple",

View File

@ -402,6 +402,28 @@ minetest.register_node("scifi_nodes:octppl", {
sounds = scifi_nodes.node_sound_glass_defaults(),
})
minetest.register_node("scifi_nodes:octwht", {
description = "Octagon Glass",
sunlight_propagates = false,
drawtype = "glasslike",
tiles = {
"scifi_nodes_octwht.png",
},
palette = "unifieddyes_palette_extended.png",
paramtype = "light",
paramtype2 = "color",
use_texture_alpha = "blend",
light_source = 10,
groups = {
cracky = 2,
dig_generic = 3,
ud_param2_colorable = 1
},
sounds = scifi_nodes.node_sound_glass_defaults(),
on_construct = unifieddyes.on_construct,
on_dig = unifieddyes.on_dig
})
minetest.register_node("scifi_nodes:tower", {
description = "Wind tower",
sunlight_propagates = false,

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 B