1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- -- Foods --
- --MLT--
- local ing = mtfoods.ingredients
- minetest.register_craftitem( "mtfoods:mlt_burger", {
- description = "MLT (Mutton, Lettuce, Tomato)",
- inventory_image = "mtfoods_mlt.png",
- wield_image = "mtfoods_mlt.png",
- on_use = minetest.item_eat(6.5),
- })
- minetest.register_craft({
- output = "mtfoods:mlt_burger",
- recipe = {
- {ing.bread, ing.meat, ''},
- {'', 'default:junglegrass', ''},
- {'', ing.tomato, ing.bread},
- }
- })
- --Potato uses--
- minetest.register_craftitem( "mtfoods:potato_slices", {
- description = "Sliced Potato",
- inventory_image = "mtfoods_potato_slices.png",
- wield_image = "mtfoods_potato_slices.png",
- on_use = minetest.item_eat(2),
- })
- minetest.register_craft({
- output = "mtfoods:potato_slices",
- recipe = {
- {ing.potato},
- }
- })
- minetest.register_craftitem( "mtfoods:potato_chips", {
- description = "Potato Chips",
- inventory_image = "mtfoods_potato_chips.png",
- wield_image = "mtfoods_potato_chips.png",
- on_use = minetest.item_eat(3),
- })
- minetest.register_craft({
- type = "cooking",
- output = "mtfoods:potato_chips",
- recipe = "mtfoods:potato_slices",
- })
- -- Medicine --
- minetest.register_craftitem( "mtfoods:medicine", {
- description = "Medicine",
- inventory_image = "mtfoods_medicine.png",
- wield_image = "mtfoods_medicine.png",
- on_use = minetest.item_eat(8),
- })
- minetest.register_craft({
- output = "mtfoods:medicine",
- recipe = {
- {'', ing.wheat, ''},
- {'mtfoods:dandelion_milk', 'default:junglegrass', 'mtfoods:chocolate'},
- {'', 'vessels:glass_bottle', ''},
- }
- })
- minetest.register_node( "mtfoods:casserole",{
- drawtype = "nodebox",
- description = "Casserole",
- paramtype = "light",
- on_use = minetest.item_eat(5),
- groups = {cracky=1,choppy=1,crumbly=1,oddly_breakable_by_hand=1},
- tiles = {"mtfoods_casserole.png","mtfoods_cake_bottom.png","mtfoods_cake_bottom.png","mtfoods_cake_bottom.png","mtfoods_cake_bottom.png","mtfoods_cake_bottom.png"},
- node_box = {
- type = "fixed",
- fixed = {
- {-0.375000,-0.500000,-0.375000,0.375000,-0.187500,0.375000},
- {-0.312500,-0.500000,-0.312500,0.312500,-0.062500,0.312500},
- }
- }
- })
- minetest.register_craft({
- output = "mtfoods:casserole",
- recipe = {
- {ing.carrot, ing.potato, ing.tomato},
- {'', ing.bread, ''},
- }
- })
|