Modified pies to work with MMS

master
Tre 2017-07-28 09:22:12 -05:00
parent a896639e9e
commit deded059cd
16 changed files with 79 additions and 37 deletions

116
init.lua
View File

@ -168,8 +168,8 @@ register_pie("pie", "Cake")
minetest.register_craft({ minetest.register_craft({
output = "pie:pie_0", output = "pie:pie_0",
recipe = { recipe = {
{"farming:sugar", "mobs:bucket_milk", "farming:sugar"}, {"food:sugar", "mobs:bucket_milk", "food:sugar"},
{"farming:sugar", "mobs:egg", "farming:sugar"}, {"food:sugar", "mobs:egg", "food:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"}, {"farming:wheat", "farming:flour", "farming:wheat"},
}, },
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}} replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
@ -181,38 +181,38 @@ register_pie("choc", "Chocolate Cake")
minetest.register_craft({ minetest.register_craft({
output = "pie:choc_0", output = "pie:choc_0",
recipe = { recipe = {
{"farming:cocoa_beans", "mobs:bucket_milk", "farming:cocoa_beans"}, {"food:chocolate_powder", "mobs:bucket_milk", "food:chocolate_powder"},
{"farming:sugar", "mobs:egg", "farming:sugar"}, {"food:sugar", "mobs:egg", "food:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"}, {"farming:wheat", "farming:flour", "farming:wheat"},
}, },
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}} replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
}) })
-- strawberry cheesecake -- strawberry cheesecake
register_pie("scsk", "Strawberry Cheesecake") --register_pie("scsk", "Strawberry Cheesecake")
--
minetest.register_craft({ --minetest.register_craft({
output = "pie:scsk_0", -- output = "pie:scsk_0",
recipe = { -- recipe = {
{"ethereal:strawberry", "mobs:bucket_milk", "ethereal:strawberry"}, -- {"ethereal:strawberry", "mobs:bucket_milk", "ethereal:strawberry"},
{"farming:sugar", "mobs:egg", "farming:sugar"}, -- {"farming:sugar", "mobs:egg", "farming:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"}, -- {"farming:wheat", "farming:flour", "farming:wheat"},
}, -- },
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}} -- replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
}) --})
--cant make it on MMS
-- coffee cake -- coffee cake
register_pie("coff", "Coffee Cake") --register_pie("coff", "Coffee Cake")
--
minetest.register_craft({ --minetest.register_craft({
output = "pie:coff_0", -- output = "pie:coff_0",
recipe = { -- recipe = {
{"farming:coffee_beans", "mobs:bucket_milk", "farming:coffee_beans"}, -- {"farming:coffee_beans", "mobs:bucket_milk", "farming:coffee_beans"},
{"farming:sugar", "mobs:egg", "farming:sugar"}, -- {"farming:sugar", "mobs:egg", "farming:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"}, -- {"farming:wheat", "farming:flour", "farming:wheat"},
}, -- },
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}} -- replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
}) --})
-- red velvet cake -- red velvet cake
register_pie("rvel", "Red Velvet Cake") register_pie("rvel", "Red Velvet Cake")
@ -220,8 +220,8 @@ register_pie("rvel", "Red Velvet Cake")
minetest.register_craft({ minetest.register_craft({
output = "pie:rvel_0", output = "pie:rvel_0",
recipe = { recipe = {
{"farming:cocoa_beans", "mobs:bucket_milk", "dye:red"}, {"food:chocolate_powder", "mobs:bucket_milk", "dye:red"},
{"farming:sugar", "mobs:egg", "farming:sugar"}, {"food:sugar", "mobs:egg", "food:sugar"},
{"farming:flour", "mobs:cheese", "farming:flour"}, {"farming:flour", "mobs:cheese", "farming:flour"},
}, },
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}} replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
@ -238,31 +238,73 @@ minetest.register_craft({
{"", "", ""} {"", "", ""}
}, },
}) })
--cant make it on MMS
-- banana cake -- banana cake
register_pie("bana", "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"}}
--})
--My pies for MMS
--orange pie
register_pie("orange","Orange Pie")
minetest.register_craft({ minetest.register_craft({
output = "pie:bana_0", output = "pie:orange_0",
recipe = { recipe = {
{"ethereal:banana", "mobs:bucket_milk", "ethereal:banana"}, {"food:orange", "mobs:bucket_milk", "food:orange"},
{"farming:sugar", "mobs:egg", "farming:sugar"}, {"food:sugar", "mobs:egg", "food:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"}, {"farming:wheat", "farming:flour", "farming:wheat"},
}, },
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}} replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
}) })
--apple pie
register_pie("apple","Apple Pie")
minetest.register_craft({
output = "pie:apple_0",
recipe = {
{"default:apple", "mobs:bucket_milk", "default:apple"},
{"food:sugar", "mobs:egg", "food:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"},
},
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
})
--bread pudding
register_pie("brpd","Bread Pudding")
minetest.register_craft({
output = "pie:brpd_0",
recipe = {
{"farming:bread", "mobs:bucket_milk", "farming:bread"},
{"food:sugar", "mobs:egg", "food:sugar"},
{"farming:wheat", "farming:flour", "farming:wheat"},
},
replacements = {{ "mobs:bucket_milk", "bucket:bucket_empty"}}
})
-- add lucky blocks -- add lucky blocks
if minetest.get_modpath("lucky_block") then if minetest.get_modpath("lucky_block") then
lucky_block:add_blocks({ lucky_block:add_blocks({
{"nod", "pie:pie_0", 0}, {"nod", "pie:pie_0", 0},
{"nod", "pie:choc_0", 0}, {"nod", "pie:choc_0", 0},
{"nod", "pie:coff_0", 0}, {"nod", "pie:orange_0", 0},
{"tro", "pie:pie_0"}, {"tro", "pie:pie_0"},
{"nod", "pie:rvel_0", 0}, {"nod", "pie:rvel_0", 0},
{"nod", "pie:scsk_0", 0}, {"nod", "pie:orange_0", 0},
{"nod", "pie:bana_0", 0}, {"nod", "pie:brpd_0", 0},
{"nod", "pie:meat_0", 0}, {"nod", "pie:meat_0", 0},
{"lig"}, {"lig"},
}) })

BIN
textures/apple_bottom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

BIN
textures/apple_inside.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

BIN
textures/apple_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 B

BIN
textures/apple_side.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

BIN
textures/apple_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 657 B

BIN
textures/brpd_bottom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

BIN
textures/brpd_inside.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
textures/brpd_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

BIN
textures/brpd_side.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

BIN
textures/brpd_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

BIN
textures/orange_bottom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

BIN
textures/orange_inside.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

BIN
textures/orange_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

BIN
textures/orange_side.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

BIN
textures/orange_top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B