diff --git a/colornode/init.lua b/colornode/init.lua new file mode 100644 index 0000000..a946b79 --- /dev/null +++ b/colornode/init.lua @@ -0,0 +1,47 @@ +minetest.register_node("colornode:red", { + description = "red", + tiles = { + "red.png" + }, +groups = {oddly_breakable_by_hand = 3} +}) + +minetest.register_node("colornode:orange", { + description = "orange", + tiles = { + "orange.png" + }, +groups = {oddly_breakable_by_hand = 3} +}) + +minetest.register_node("colornode:yellow", { + description = "yellow", + tiles = { + "yellow.png" + }, +groups = {oddly_breakable_by_hand = 3} +}) + +minetest.register_node("colornode:green", { + description = "green", + tiles = { + "green.png" + }, +groups = {oddly_breakable_by_hand = 3} +}) + +minetest.register_node("colornode:blue", { + description = "blue", + tiles = { + "blue.png" + }, +groups = {oddly_breakable_by_hand = 3} +}) + +minetest.register_node("colornode:purple", { + description = "purple", + tiles = { + "purple.png" + }, +groups = {oddly_breakable_by_hand = 3} +}) \ No newline at end of file diff --git a/colornode/mod.conf b/colornode/mod.conf new file mode 100644 index 0000000..6521b87 --- /dev/null +++ b/colornode/mod.conf @@ -0,0 +1,2 @@ +name = colornode +descriptions = 'my test minetest mod with color nodes' \ No newline at end of file