add mese radiation to the glow_mese

This commit is contained in:
FaceDeer 2018-06-03 01:22:06 -06:00
parent f2801ef9ba
commit 602df71908
2 changed files with 7 additions and 1 deletions

View File

@ -9,3 +9,4 @@ magma_conduits?
intllib? intllib?
doc? doc?
simplecrafting_lib? simplecrafting_lib?
radiant_damage?

View File

@ -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", { minetest.register_node("dfcaverns:glow_ruby_ore", {
description = S("Crystal Vein"), description = S("Crystal Vein"),
_doc_items_longdesc = dfcaverns.doc.glow_ruby_ore_desc, _doc_items_longdesc = dfcaverns.doc.glow_ruby_ore_desc,