Compare commits

4 Commits

Author SHA1 Message Date
e7988d5867 is ground content revision (#12) 2024-03-01 15:15:43 +01:00
aa9e57ebc3 Merge pull request #10 from sys4-fr/master
Fix deprecated use of use_texture_alpha
2021-03-22 09:26:20 -05:00
aee34845cb Fix deprecated use of use_texture_alpha 2021-03-20 16:23:39 +01:00
a68dfa502c Add connected glass textures 2020-08-26 10:29:50 +02:00
2 changed files with 8 additions and 8 deletions

View File

@ -46,15 +46,15 @@ local myglow = LIGHT_MAX-3
minetest.register_node("stained_glass:stained_glass", {
description = "Stained Glass",
drawtype = "glasslike",
tiles = { "stained_glass.png" },
drawtype = "glasslike_framed_optional",
tiles = { "stained_glass.png", "stained_glass_detail.png" },
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
sunlight_propagates = true,
use_texture_alpha = true,
use_texture_alpha = "blend",
light_source = myglow,
is_ground_content = true,
is_ground_content = false,
walkable = true,
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(),
@ -72,15 +72,15 @@ minetest.override_item("moreblocks:super_glow_glass", {
minetest.register_node("stained_glass:stained_trap_glass", {
description = "Stained Trap-glass",
drawtype = "glasslike",
tiles = { "stained_glass.png" },
drawtype = "glasslike_framed_optional",
tiles = { "stained_glass.png", "stained_glass_detail.png" },
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
sunlight_propagates = true,
use_texture_alpha = true,
use_texture_alpha = "blend",
light_source = myglow,
is_ground_content = true,
is_ground_content = false,
walkable = false,
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(),

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B