Fixed inside textures, added banana cake

master
TenPlus1 2016-01-31 15:38:59 +00:00
parent 0ee6a25384
commit e1b4980a40
7 changed files with 21 additions and 7 deletions

View File

@ -14,4 +14,5 @@ https://forum.minetest.net/viewtopic.php?f=9&t=13285
Released under WTFPL
0.1 - Initial release
0.2 - Added meat pie
0.2 - Added meat pie
0.3 - Fix cake inside - Added banana cake

View File

@ -67,10 +67,10 @@ minetest.register_node("pie:"..pie.."_0", {
minetest.register_node("pie:"..pie.."_1", {
description = "3/4"..desc,
paramtype = "light",
sunlight_propagates = false,
sunlight_propagates = true,
tiles = {
pie.."_top.png", pie.."_bottom.png", pie.."_side.png",
pie.."_side.png", pie.."_side.png", pie.."_side.png"
pie.."_side.png", pie.."_side.png", pie.."_inside.png"
},
groups = {not_in_creative_inventory = 1},
drawtype = "nodebox",
@ -86,10 +86,10 @@ minetest.register_node("pie:"..pie.."_1", {
minetest.register_node("pie:"..pie.."_2", {
description = "Half "..desc,
paramtype = "light",
sunlight_propagates = false,
sunlight_propagates = true,
tiles = {
pie.."_top.png", pie.."_bottom.png", pie.."_side.png",
pie.."_side.png", pie.."_side.png", pie.."_side.png"
pie.."_side.png", pie.."_side.png", pie.."_inside.png"
},
groups = {not_in_creative_inventory = 1},
drawtype = "nodebox",
@ -105,10 +105,10 @@ minetest.register_node("pie:"..pie.."_2", {
minetest.register_node("pie:"..pie.."_3", {
description = "Piece of "..desc,
paramtype = "light",
sunlight_propagates = false,
sunlight_propagates = true,
tiles = {
pie.."_top.png", pie.."_bottom.png", pie.."_side.png",
pie.."_side.png", pie.."_side.png", pie.."_side.png"
pie.."_side.png", pie.."_side.png", pie.."_inside.png"
},
groups = {not_in_creative_inventory = 1},
drawtype = "nodebox",
@ -199,3 +199,16 @@ minetest.register_craft({
{"", "", ""}
},
})
-- Banana Cake
register_pie("bana", "Banana Cake")
minetest.register_craft({
output = "pie:bana_0",
recipe = {
{"ethereal:banana", "mobs:bucket_milk", "ethereal:banana"},
{"farming:sugar", "mobs:egg", "farming:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"},
},
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
})

BIN
textures/bana_bottom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

BIN
textures/bana_inside.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

BIN
textures/bana_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

BIN
textures/bana_side.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

BIN
textures/bana_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B