Imported from git

master
OldCoder 2021-12-26 06:13:06 -08:00
commit c2bab4e7b0
4 changed files with 33 additions and 0 deletions

32
init.lua Normal file
View File

@ -0,0 +1,32 @@
minetest.register_craftitem("cupcakes:white_cupcake", {
description = "White Cupcake",
inventory_image = "white_cupcake_texture.png",
on_use = minetest.item_eat(8),
})
minetest.register_craftitem("cupcakes:pink_cupcake", {
description = "Pink Cupcake",
inventory_image = "pink_cupcake_texture.png",
on_use = minetest.item_eat(8),
})
minetest.register_craft({
output = "cupcakes:white_cupcake",
recipe = {
{"dye:white"},
{"farming:bread"},
{"default:paper"}
}
})
minetest.register_craft({
output = "cupcakes:pink_cupcake",
recipe = {
{"dye:pink"},
{"farming:bread"},
{"default:paper"}
}
})

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = cupcakes

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B