golden apple; stained clay
|
@ -0,0 +1,2 @@
|
|||
default
|
||||
farming_plus
|
|
@ -0,0 +1,22 @@
|
|||
minetest.register_node("golden_apple:golden_apple", {
|
||||
description = "Golden Apple",
|
||||
drawtype = "plantlike",
|
||||
visual_scale = 1.0,
|
||||
tiles = {"apple_golden.png"},
|
||||
inventory_image = "apple_golden.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {fleshy=3,dig_immediate=3,flammable=2},
|
||||
on_use = minetest.item_eat(20),
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "golden_apple:golden_apple",
|
||||
recipe = {
|
||||
{ "default:gold_ingot","default:gold_ingot","default:gold_ingot"},
|
||||
{ "default:gold_ingot","default:apple", "default:gold_ingot"},
|
||||
{ "default:gold_ingot","default:gold_ingot","default:gold_ingot"},
|
||||
}
|
||||
})
|
||||
|
After Width: | Height: | Size: 293 B |
|
@ -0,0 +1,36 @@
|
|||
local colors = {
|
||||
"White", "Black", "Light Blue", "Green", "Red",
|
||||
"Light Gray", "Purple", "Lime", "Magenta", "Orange",
|
||||
"Brown", "Blue", "Yellow", "Pink", "Cyan", "Gray"
|
||||
}
|
||||
|
||||
minetest.register_node("hardenedclay:hardened_clay", {
|
||||
description = "Hardened Clay",
|
||||
tiles = {"hardened_clay.png"},
|
||||
groups = {cracky=3},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "hardenedclay:hardened_clay",
|
||||
recipe = "default:clay",
|
||||
})
|
||||
|
||||
for _, color in pairs(colors) do
|
||||
local nodecolor = color:lower():gsub(" ", "_")
|
||||
minetest.register_node("hardenedclay:hardened_clay_"..nodecolor, {
|
||||
description = color.." Stained Clay",
|
||||
tiles = {"hardened_clay_stained_"..nodecolor..".png"},
|
||||
groups = {cracky=3},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = 'hardenedclay:hardened_clay_'..nodecolor,
|
||||
recipe = {
|
||||
'dye:'..nodecolor, 'hardenedclay:hardened_clay',
|
||||
}
|
||||
})
|
||||
minetest.register_alias("hardenedclay:"..nodecolor.."_hardened_clay",
|
||||
"hardenedclay:hardened_clay_"..nodecolor)
|
||||
end
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |
After Width: | Height: | Size: 6.8 KiB |