From 5170143956481ebb00d6554949af4944cdc786d8 Mon Sep 17 00:00:00 2001 From: krmst Date: Thu, 31 Aug 2023 17:18:53 +0000 Subject: [PATCH] Upload files to "colornode" --- colornode/init.lua | 47 ++++++++++++++++++++++++++++++++++++++++++++++ colornode/mod.conf | 2 ++ 2 files changed, 49 insertions(+) create mode 100644 colornode/init.lua create mode 100644 colornode/mod.conf 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