forked from mtcontrib/scifi_nodes
octagon glass slope variants
This commit is contained in:
89
nodes.lua
89
nodes.lua
@ -369,95 +369,6 @@ minetest.register_node("scifi_nodes:grnpipe2", {
|
||||
on_place = minetest.rotate_node
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:octrng", {
|
||||
description = "Orange Octagon Glass",
|
||||
sunlight_propagates = true,
|
||||
drawtype = "glasslike",
|
||||
tiles = {
|
||||
"scifi_nodes_octrng.png",
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
is_ground_content = false,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:octgrn", {
|
||||
description = "Green Octagon Glass",
|
||||
sunlight_propagates = true,
|
||||
drawtype = "glasslike",
|
||||
tiles = {
|
||||
"scifi_nodes_octgrn.png",
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
is_ground_content = false,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:octbl", {
|
||||
description = "Blue Octagon Glass",
|
||||
sunlight_propagates = true,
|
||||
drawtype = "glasslike",
|
||||
tiles = {
|
||||
"scifi_nodes_octbl.png",
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
is_ground_content = false,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("scifi_nodes:octppl", {
|
||||
description = "Purple Octagon Glass",
|
||||
sunlight_propagates = true,
|
||||
drawtype = "glasslike",
|
||||
tiles = {
|
||||
"scifi_nodes_octppl.png",
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
use_texture_alpha = "blend",
|
||||
light_source = 10,
|
||||
groups = {cracky=2, dig_generic = 3},
|
||||
is_ground_content = false,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
if has_unifieddyes_mod then
|
||||
minetest.register_node("scifi_nodes:octwht", {
|
||||
description = "Octagon Glass",
|
||||
sunlight_propagates = true,
|
||||
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
|
||||
},
|
||||
is_ground_content = false,
|
||||
sounds = scifi_nodes.node_sound_glass_defaults(),
|
||||
on_construct = unifieddyes.on_construct,
|
||||
on_dig = unifieddyes.on_dig
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_node("scifi_nodes:tower", {
|
||||
description = "Wind tower",
|
||||
sunlight_propagates = false,
|
||||
|
Reference in New Issue
Block a user