Upload files to "colornode"

This commit is contained in:
krmst 2023-08-31 17:18:53 +00:00
parent 1989b14514
commit 5170143956
2 changed files with 49 additions and 0 deletions

47
colornode/init.lua Normal file
View File

@ -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}
})

2
colornode/mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = colornode
descriptions = 'my test minetest mod with color nodes'