-- LUALOCALS < --------------------------------------------------------- local include, nodecore = include, nodecore -- LUALOCALS > --------------------------------------------------------- local modname = minetest.get_current_modname() minetest.register_node(":corruptioncrystal", { description = "Corruption Crystal", mapcolor = { r = 255, g = 0, b = 255 }, -- todo: refine mapcolor if desired groups = { snappy = 1, -- todo: choose mining tool? falling_node = 1, -- todo: decide if you want this (and falling_repose) falling_repose = 1, optic_opaque = 1, stack_as_node = 1, -- todo: decide if you want this }, tiles = {"kc_corruption_source.png"}, sounds = nodecore.sounds("nc_optics_glassy"), -- todo custom sounds })