Added Banana Splits

Popcorn next...
This commit is contained in:
Rubenwardy 2012-10-02 17:58:50 +01:00
parent b4feb52c49
commit 8170889df8
7 changed files with 54 additions and 2 deletions

View File

@ -1,2 +1 @@
default default
bucket

View File

@ -24,6 +24,7 @@ dofile(minetest.get_modpath("food").."/food/baking.lua")
dofile(minetest.get_modpath("food").."/snacks/crumbles.lua") dofile(minetest.get_modpath("food").."/snacks/crumbles.lua")
dofile(minetest.get_modpath("food").."/snacks/cakes.lua") dofile(minetest.get_modpath("food").."/snacks/cakes.lua")
dofile(minetest.get_modpath("food").."/snacks/tarts.lua") dofile(minetest.get_modpath("food").."/snacks/tarts.lua")
dofile(minetest.get_modpath("food").."/snacks/misc.lua")
dofile(minetest.get_modpath("food").."/drinks/juice.lua") dofile(minetest.get_modpath("food").."/drinks/juice.lua")
dofile(minetest.get_modpath("food").."/drinks/hot.lua") dofile(minetest.get_modpath("food").."/drinks/hot.lua")

36
snacks/misc.lua Normal file
View File

@ -0,0 +1,36 @@
-- RUBENFOOD MOD
-- A mod written by rubenwardy that adds
-- food to the minetest game
-- =====================================
-- >> rubenfood/snacks/crumbles.lua
-- adds crumbles
-- =====================================
-- [regis-food] Rhubarb Crumble
-- =====================================
print "Food [Master] - Loading Splits"
-- Banana Split
minetest.register_craftitem("food:banana_split_raw", {
description = "Banana Split Raw",
inventory_image = "food_banana_split_raw.png",
})
minetest.register_craftitem("food:banana_split", {
description = "Banana Split",
inventory_image = "food_banana_split.png",
groups={food=1},
on_use = minetest.item_eat(3),
})
minetest.register_craft({
output = "food:banana_split_raw",
recipe = {{"food:chocolate_milk"},{"food:banana"}},
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}},
})
minetest.register_craft({
type = "cooking",
output = "food:banana_split",
recipe = "food:banana_split_raw",
})

View File

@ -102,6 +102,22 @@ minetest.register_craftitem("food:cocoa", {
}) })
end) end)
node_implement("farming_plus","farming_plus:banana","food:banana",function()
mminetest.register_node("food:banana", {
description = "Banana",
tiles = {"farming_banana.png"},
inventory_image = "farming_banana.png",
wield_image = "farming_banana.png",
drawtype = "torchlike",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
groups = {fleshy=3,dig_immediate=3,flammable=2},
sounds = default.node_sound_defaults(),
on_use = minetest.item_eat(6),
})
end)

BIN
textures/farming_banana.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B