Fixed inside textures, added banana cake
This commit is contained in:
parent
0ee6a25384
commit
e1b4980a40
@ -15,3 +15,4 @@ Released under WTFPL
|
|||||||
|
|
||||||
0.1 - Initial release
|
0.1 - Initial release
|
||||||
0.2 - Added meat pie
|
0.2 - Added meat pie
|
||||||
|
0.3 - Fix cake inside - Added banana cake
|
||||||
|
25
init.lua
25
init.lua
@ -67,10 +67,10 @@ minetest.register_node("pie:"..pie.."_0", {
|
|||||||
minetest.register_node("pie:"..pie.."_1", {
|
minetest.register_node("pie:"..pie.."_1", {
|
||||||
description = "3/4"..desc,
|
description = "3/4"..desc,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = false,
|
sunlight_propagates = true,
|
||||||
tiles = {
|
tiles = {
|
||||||
pie.."_top.png", pie.."_bottom.png", pie.."_side.png",
|
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},
|
groups = {not_in_creative_inventory = 1},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
@ -86,10 +86,10 @@ minetest.register_node("pie:"..pie.."_1", {
|
|||||||
minetest.register_node("pie:"..pie.."_2", {
|
minetest.register_node("pie:"..pie.."_2", {
|
||||||
description = "Half "..desc,
|
description = "Half "..desc,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = false,
|
sunlight_propagates = true,
|
||||||
tiles = {
|
tiles = {
|
||||||
pie.."_top.png", pie.."_bottom.png", pie.."_side.png",
|
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},
|
groups = {not_in_creative_inventory = 1},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
@ -105,10 +105,10 @@ minetest.register_node("pie:"..pie.."_2", {
|
|||||||
minetest.register_node("pie:"..pie.."_3", {
|
minetest.register_node("pie:"..pie.."_3", {
|
||||||
description = "Piece of "..desc,
|
description = "Piece of "..desc,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = false,
|
sunlight_propagates = true,
|
||||||
tiles = {
|
tiles = {
|
||||||
pie.."_top.png", pie.."_bottom.png", pie.."_side.png",
|
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},
|
groups = {not_in_creative_inventory = 1},
|
||||||
drawtype = "nodebox",
|
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
BIN
textures/bana_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 123 B |
BIN
textures/bana_inside.png
Normal file
BIN
textures/bana_inside.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 175 B |
BIN
textures/bana_inv.png
Normal file
BIN
textures/bana_inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 213 B |
BIN
textures/bana_side.png
Normal file
BIN
textures/bana_side.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 163 B |
BIN
textures/bana_top.png
Normal file
BIN
textures/bana_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 150 B |
Loading…
x
Reference in New Issue
Block a user