From a747e05e2e140cc54678e66198bb67159ef7724a Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 22 Dec 2015 19:42:29 -0500 Subject: [PATCH] add caverealms glow crystal/emerald/mese to moreblocks table saw if it exists. --- depends.txt | 1 + init.lua | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/depends.txt b/depends.txt index f1a61b6..23fe580 100644 --- a/depends.txt +++ b/depends.txt @@ -7,3 +7,4 @@ building_blocks? intllib? wool? xdecor? +caverealms? diff --git a/init.lua b/init.lua index 7fd0214..e806118 100644 --- a/init.lua +++ b/init.lua @@ -348,6 +348,41 @@ if minetest.get_modpath("moreblocks") then }) end + if minetest.get_modpath("caverealms") then + stairsplus:register_all("caverealms", "glow_crystal", "caverealms:glow_crystal", { + description = "Glow Crystal", + tiles = {"caverealms_glow_crystal.png"}, + groups = {cracky=3, not_in_creative_inventory=1}, + sounds = default.node_sound_glass_defaults(), + light_source = 12, + use_texture_alpha = true, + paramtype="light", + sunlight_propagates = true, + }) + + stairsplus:register_all("caverealms", "glow_emerald", "caverealms:glow_emerald", { + description = "Glow Emerald", + tiles = {"caverealms_glow_emerald.png"}, + groups = {cracky=3, not_in_creative_inventory=1}, + sounds = default.node_sound_glass_defaults(), + light_source = 12, + use_texture_alpha = true, + paramtype="light", + sunlight_propagates = true, + }) + + stairsplus:register_all("caverealms", "glow_mese", "caverealms:glow_mese", { + description = "Glow Mese", + tiles = {"caverealms_glow_mese.png"}, + groups = {cracky=3, not_in_creative_inventory=1}, + sounds = default.node_sound_glass_defaults(), + light_source = 12, + use_texture_alpha = true, + paramtype="light", + sunlight_propagates = true, + }) + end + -- ABMs for mossy objects if minetest.setting_getbool("gloopblocks_mossy_conversion") ~= false then