added more cupcakes

master
Xanthin 2015-08-23 06:03:00 +02:00
parent 75621de696
commit b3f215f5fa
16 changed files with 40 additions and 18 deletions

17
.gitattributes vendored
View File

@ -1,17 +0,0 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

View File

@ -1,2 +1,3 @@
farming
dye
dye
mobs

View File

@ -2,6 +2,44 @@
-- cupcake texture by TacoBella
-- sugar texture by TenPlus?
local cupcake = {}
cupcake.colours = {
{"black", "Black"},
{"blue", "Blue"},
{"brown", "Brown"},
{"cyan", "Cyan"},
{"dark_green", "Dark Green"},
{"green", "Green"},
{"magenta", "Magenta"},
{"orange", "Orange"},
{"pink", "Pink"},
{"red", "Red"},
{"violet", "Violet"},
{"white", "White"},
{"yellow", "Yellow"},
}
for _, row in ipairs(cupcake.colours) do
local name = row[1]
local desc = row[2]
minetest.register_craftitem("more_cupcakes:"..name.."_cupcake", {
description = desc.." Cupcake",
inventory_image = "morecupcakes_"..name.."_cupcake.png",
on_use = minetest.item_eat(6),
})
minetest.register_craft({
output = "more_cupcakes:"..name.."_cupcake",
recipe = {
{"", "dye:"..name, ""},
{ "farming:flour", "farming:sugar", "mobs:bucket_milk" },
{"default:paper", "default:paper","default:paper"},
}
})
end
minetest.register_craftitem("more_cupcakes:cupcake_bow", {
description = "Cupcake with a bow",
inventory_image = "morecupcakes_cupcake4.png",

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 747 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 652 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 769 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B