mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-22 16:10:18 +01:00
white, colorable octagon glass
This commit is contained in:
parent
9177b875d9
commit
5102ad7a39
@ -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",
|
||||
|
22
nodes.lua
22
nodes.lua
@ -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,
|
||||
|
BIN
textures/scifi_nodes_octwht.png
Normal file
BIN
textures/scifi_nodes_octwht.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 B |
Loading…
Reference in New Issue
Block a user