Compare commits

5 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
fc371df620 Use mod.conf for name/dependencies (#8)
Deletes deprecated 'depends.txt'.
2020-06-04 20:37:39 +02:00
4 changed files with 10 additions and 11 deletions

View File

@ -1,3 +0,0 @@
default
moreblocks
unifieddyes

View File

@ -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
View File

@ -0,0 +1,2 @@
name = stained_glass
depends = default, moreblocks, unifieddyes

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B