summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2017-02-06 01:21:12 -0600
committercheapie <no-email-for-you@example.com>2017-02-06 01:22:41 -0600
commite7a64c51ef4786982f4918aecc0799cd7f4f827f (patch)
tree32e32c11ef7f0a800ecfc550bc25f78a7108a264 /init.lua
downloadsolidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar
solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar.gz
solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar.bz2
solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.tar.xz
solidcolor-e7a64c51ef4786982f4918aecc0799cd7f4f827f.zip
Add content
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..0334340
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,18 @@
+minetest.register_node("solidcolor:block", {
+ description = "Solid Color Block",
+ tiles = {"solidcolor_white.png"},
+ is_ground_content = false,
+ groups = {dig_immediate=2,ud_param2_colorable=1},
+ sounds = (default and default.node_sound_stone_defaults()),
+ paramtype2 = "color",
+ palette = "unifieddyes_palette.png",
+ after_dig_node = unifieddyes.after_dig_node,
+})
+
+minetest.register_craft( {
+ output = "solidcolor:block",
+ recipe = {
+ { "dye:white", "dye:white"},
+ { "dye:white", "dye:white"},
+ },
+})