You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
790 B
23 lines
790 B
6 months ago
|
-- 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
|
||
|
})
|