From 602df719086a635d76c745a01325c1f37bbacc43 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 3 Jun 2018 01:22:06 -0600 Subject: [PATCH] add mese radiation to the glow_mese --- depends.txt | 3 ++- features/glow_crystals.lua | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index c333993..e03b9dd 100644 --- a/depends.txt +++ b/depends.txt @@ -8,4 +8,5 @@ wool? magma_conduits? intllib? doc? -simplecrafting_lib? \ No newline at end of file +simplecrafting_lib? +radiant_damage? \ No newline at end of file diff --git a/features/glow_crystals.lua b/features/glow_crystals.lua index 7ad9475..f45b31f 100644 --- a/features/glow_crystals.lua +++ b/features/glow_crystals.lua @@ -25,6 +25,11 @@ minetest.register_craft({ } }) +if minetest.get_modpath("radiant_damage") and radiant_damage.override_radiant_damage and radiant_damage.config.enable_mese_damage then + radiant_damage.override_radiant_damage("mese", {emitted_by={["dfcaverns:glow_mese"] = radiant_damage.config.mese_damage*12}}) +end + + minetest.register_node("dfcaverns:glow_ruby_ore", { description = S("Crystal Vein"), _doc_items_longdesc = dfcaverns.doc.glow_ruby_ore_desc,