forked from mtcontrib/food
More Stuff
This commit is contained in:
parent
23b2a9a747
commit
e488cf549c
29
README.md
29
README.md
@ -1,29 +0,0 @@
|
||||
Rubenwardy's Food Mod.
|
||||
======================
|
||||
|
||||
This mod adds food for minetest and is an ideal companion for the Farming (by PilzAdam) and the Animal (by Sapier) Mods.
|
||||
|
||||
License
|
||||
=======
|
||||
Copyright (c) 2012, Andrew "Rubenwardy" Ward
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
3. This source code/software modified/unmodified must not be used for commercial use .
|
||||
4. The copyright owner has the right to change these conditions at anytime with/without notice.
|
||||
5. The copyright owner can issue an exception to these conditions by giving specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
39
baking.lua
39
baking.lua
@ -8,8 +8,47 @@
|
||||
-- [regis-food] Bread
|
||||
-- =====================================
|
||||
|
||||
print "RubenFood [Master] - Loading Crumbles"
|
||||
--Crumbles
|
||||
minetest.register_craftitem("food:crumble_rhubarb", {
|
||||
description = "Rhubarb Crumble",
|
||||
inventory_image = "food_crumble_rhubarb.png",
|
||||
on_use = minetest.item_eat(30),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:crumble_rhubarb_raw", {
|
||||
description = "Raw Rhubarb Crumble",
|
||||
inventory_image = "food_crumble_rhubarb_raw.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:crumble_rhubarb_raw" 1',
|
||||
recipe = {
|
||||
{'"food:flour"','"food:rhubarb"','"food:butter"'}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "food:crumble_rhubarb",
|
||||
recipe = "food:crumble_rhubarb_raw",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:bread_slice" 10',
|
||||
recipe = {
|
||||
{'"food:bread"'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:bread_slice", {
|
||||
description = "Bread Slice",
|
||||
inventory_image = "food_bread_slice.png",
|
||||
on_use = minetest.item_eat(2),
|
||||
})
|
||||
|
||||
|
||||
print "RubenFood [Master] - Loading Dough"
|
||||
-- doughs
|
||||
if not minetest.get_modpath("farming") then
|
||||
|
||||
|
1
init.lua
1
init.lua
@ -15,6 +15,7 @@ print ("food: Loading mainframe: [Master]")
|
||||
----------------------Load Files-----------------------------
|
||||
dofile(minetest.get_modpath("food").."/support.lua")
|
||||
dofile(minetest.get_modpath("food").."/dairy.lua")
|
||||
dofile(minetest.get_modpath("food").."/sandwich.lua")
|
||||
|
||||
dofile(minetest.get_modpath("food").."/baking.lua")
|
||||
dofile(minetest.get_modpath("food").."/cakes.lua")
|
||||
|
29
sandwich.lua
Normal file
29
sandwich.lua
Normal file
@ -0,0 +1,29 @@
|
||||
-- RUBENFOOD MOD
|
||||
-- A mod written by rubenwardy that adds
|
||||
-- food to the minetest game
|
||||
-- ======================================
|
||||
-- >> rubenfood/sandwich.lua
|
||||
-- adds sandwich
|
||||
-- ======================================
|
||||
-- [regis-food] Cheese
|
||||
-- [craft] Cheese
|
||||
-- [regis-item] Butter
|
||||
-- [craft] Butter
|
||||
-- ======================================
|
||||
|
||||
print "RubenFood [Master] - Loading Sandwiches"
|
||||
|
||||
minetest.register_craftitem("food:sw_meat", {
|
||||
description = "Venison Sandwich",
|
||||
inventory_image = "food_sw_meat.png",
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:sw_meat" 1',
|
||||
recipe = {
|
||||
{"",'"food:bread_slice"',""},
|
||||
{"food:butter","",'"food:butter"'},
|
||||
{"",'"food:bread_slice"',""},
|
||||
}
|
||||
})
|
BIN
textures/food_crumble_rhubarb.png
Normal file
BIN
textures/food_crumble_rhubarb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 523 B |
BIN
textures/food_crumble_rhubarb_raw.png
Normal file
BIN
textures/food_crumble_rhubarb_raw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 500 B |
Loading…
Reference in New Issue
Block a user