mirror of
https://github.com/minetest-mods/stained_glass.git
synced 2025-07-15 13:20:22 +02:00
Compare commits
5 Commits
d1b0278c68
...
master
Author | SHA1 | Date | |
---|---|---|---|
e7988d5867 | |||
aa9e57ebc3 | |||
aee34845cb | |||
a68dfa502c | |||
fc371df620 |
@ -1,3 +0,0 @@
|
|||||||
default
|
|
||||||
moreblocks
|
|
||||||
unifieddyes
|
|
16
init.lua
16
init.lua
@ -46,15 +46,15 @@ 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 = false,
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
@ -72,15 +72,15 @@ 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 = false,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
||||||
sounds = default.node_sound_glass_defaults(),
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
2
mod.conf
Normal file
2
mod.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
name = stained_glass
|
||||||
|
depends = default, moreblocks, unifieddyes
|
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