forked from minetest-mods/stained_glass
Compare commits
3 Commits
fc371df620
...
aa9e57ebc3
Author | SHA1 | Date | |
---|---|---|---|
aa9e57ebc3 | |||
aee34845cb | |||
a68dfa502c |
12
init.lua
12
init.lua
@ -46,13 +46,13 @@ local myglow = LIGHT_MAX-3
|
|||||||
|
|
||||||
minetest.register_node("stained_glass:stained_glass", {
|
minetest.register_node("stained_glass:stained_glass", {
|
||||||
description = "Stained Glass",
|
description = "Stained Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike_framed_optional",
|
||||||
tiles = { "stained_glass.png" },
|
tiles = { "stained_glass.png", "stained_glass_detail.png" },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "unifieddyes_palette_extended.png",
|
palette = "unifieddyes_palette_extended.png",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = "blend",
|
||||||
light_source = myglow,
|
light_source = myglow,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
walkable = true,
|
walkable = true,
|
||||||
@ -72,13 +72,13 @@ minetest.override_item("moreblocks:super_glow_glass", {
|
|||||||
|
|
||||||
minetest.register_node("stained_glass:stained_trap_glass", {
|
minetest.register_node("stained_glass:stained_trap_glass", {
|
||||||
description = "Stained Trap-glass",
|
description = "Stained Trap-glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike_framed_optional",
|
||||||
tiles = { "stained_glass.png" },
|
tiles = { "stained_glass.png", "stained_glass_detail.png" },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
palette = "unifieddyes_palette_extended.png",
|
palette = "unifieddyes_palette_extended.png",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
use_texture_alpha = true,
|
use_texture_alpha = "blend",
|
||||||
light_source = myglow,
|
light_source = myglow,
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
BIN
textures/stained_glass_detail.png
Normal file
BIN
textures/stained_glass_detail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 402 B |
Reference in New Issue
Block a user