Add files via upload
This commit is contained in:
parent
2d9a3aa1cf
commit
6d9cdc0a25
69
README.md
69
README.md
@ -1,11 +1,46 @@
|
||||
BBQ v1.1 by Grizzly Adam
|
||||
BBQ v1.11 by Grizzly Adam
|
||||
|
||||
https://forum.minetest.net/viewtopic.php?f=9&t=19324
|
||||
|
||||
https://github.com/Grizzly-Adam/BBQ
|
||||
|
||||
Goals
|
||||
-----
|
||||
-Expanding the cooking & food options in Minetest
|
||||
-Add working smoker and grill to Minetest
|
||||
-Utilize under-used items, such as vessels, vessel shelf, and mushrooms
|
||||
-Be compatible with and expand on Mobs-Redo and it's Animals pack
|
||||
-Be compatible with Food Rubenwardy's Food Mod
|
||||
-Be compatible with Auke Kok's Crops Mod
|
||||
-Be compatible with Farming-Redo Mod
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
For more information about what is in this pack, check the file: description.txt
|
||||
|
||||
Credits
|
||||
---------
|
||||
|
||||
Created by Grizzly Adam
|
||||
|
||||
Feel free to resue parts or all of my work.
|
||||
|
||||
Exceptions:
|
||||
|
||||
* Potato image, Tomato image and original corn image taken from Auke Kok's Crops Mod
|
||||
* Beef designs taken from Daniel_Smith, some were further modified
|
||||
* All other textures created by Grizzly Adam
|
||||
|
||||
Have I forgotten to credit your work? Please tell me.
|
||||
|
||||
New In This Version
|
||||
-------------------
|
||||
Adjusted Kettle Grill fire animation
|
||||
Fixed Kettle Grill crafting recipe.
|
||||
|
||||
New In Version 1.1
|
||||
-------------------
|
||||
New Items:
|
||||
Kettle Gril
|
||||
Lump Charcoal (fuel)
|
||||
@ -62,35 +97,3 @@ Updated Textures:
|
||||
Brine
|
||||
Hotdog
|
||||
Hamburger
|
||||
|
||||
|
||||
|
||||
Goals
|
||||
-----
|
||||
-Expanding the cooking & food options in Minetest
|
||||
-Add working smoker and grill to Minetest
|
||||
-Utilize under-used items, such as vessels, vessel shelf, and mushrooms
|
||||
-Be compatible with and expand on Mobs-Redo and it's Animals pack
|
||||
-Be compatible with Food Rubenwardy's Food Mod
|
||||
-Be compatible with Auke Kok's Crops Mod
|
||||
-Be compatible with Farming-Redo Mod
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
For more information about what is in this pack, check the description.txt pack
|
||||
|
||||
Credits
|
||||
---------
|
||||
|
||||
Created by Grizzly Adam
|
||||
|
||||
Feel free to resue parts or all of my work.
|
||||
|
||||
Exceptions:
|
||||
|
||||
* Potato image, Tomato image and original corn image taken from Auke Kok's Crops Mod
|
||||
* Beef designs taken from Daniel_Smith, some were further modified
|
||||
* All other textures created by Grizzly Adam
|
||||
|
||||
Have I missed out credit? Please tell me.
|
||||
|
105
barley.lua
Normal file
105
barley.lua
Normal file
@ -0,0 +1,105 @@
|
||||
--Barley
|
||||
|
||||
minetest.register_node("bbq:barley_1", {
|
||||
description = "Barley",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
tiles = {"bbq_barley_1.png"},
|
||||
-- Use texture of a taller barley stage in inventory
|
||||
inventory_image = "bbq_barley_3.png",
|
||||
wield_image = "bbq_barley_3.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1, barley = 1, flammable = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, -5 / 16, 6 / 16},
|
||||
},
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
-- place a random barley node
|
||||
local stack = ItemStack("bbq:barley_" .. math.random(1,5))
|
||||
local ret = minetest.item_place(stack, placer, pointed_thing)
|
||||
return ItemStack("bbq:barley_1 " ..
|
||||
itemstack:get_count() - (1 - ret:get_count()))
|
||||
end,
|
||||
})
|
||||
|
||||
for i = 2, 5 do
|
||||
minetest.register_node("bbq:barley_" .. i, {
|
||||
description = "Barley",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
tiles = {"bbq_barley_" .. i .. ".png"},
|
||||
inventory_image = "bbq_barley_" .. i .. ".png",
|
||||
wield_image = "bbq_barley_" .. i .. ".png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
drop = "bbq:barley_1",
|
||||
groups = {snappy = 3, flora = 1, attached_node = 1,
|
||||
not_in_creative_inventory = 1, barley = 1, flammable = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, -3 / 16, 6 / 16},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
--Dry Barley
|
||||
minetest.register_node("bbq:dry_barley_1", {
|
||||
description = "Dry Barley",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
tiles = {"bbq_dry_barley_1.png"},
|
||||
inventory_image = "bbq_dry_barley_3.png",
|
||||
wield_image = "bbq_dry_barley_3.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flammable = 3, flora = 1,
|
||||
attached_node = 1, dry_barley = 1},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, -3 / 16, 6 / 16},
|
||||
},
|
||||
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
-- place a random dry barley node
|
||||
local stack = ItemStack("bbq:dry_barley_" .. math.random(1, 5))
|
||||
local ret = minetest.item_place(stack, placer, pointed_thing)
|
||||
return ItemStack("bbq:dry_barley_1 " ..
|
||||
itemstack:get_count() - (1 - ret:get_count()))
|
||||
end,
|
||||
})
|
||||
|
||||
for i = 2, 5 do
|
||||
minetest.register_node("bbq:dry_barley_" .. i, {
|
||||
description = "Dry barley",
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
tiles = {"bbq_dry_barley_" .. i .. ".png"},
|
||||
inventory_image = "bbq_dry_barley_" .. i .. ".png",
|
||||
wield_image = "bbq_dry_barley_" .. i .. ".png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
buildable_to = true,
|
||||
groups = {snappy = 3, flammable = 3, flora = 1, attached_node = 1,
|
||||
not_in_creative_inventory=1, dry_barley = 1},
|
||||
drop = "bbq:dry_barley_1",
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, -1 / 16, 6 / 16},
|
||||
},
|
||||
})
|
||||
end
|
||||
|
11
cooking.lua
11
cooking.lua
@ -82,6 +82,17 @@ minetest.register_craft( {
|
||||
replacements = {{"bucket:bucket_water","bucket:bucket_empty"}},
|
||||
})
|
||||
|
||||
|
||||
--Kettle Grill Craft Recipe
|
||||
minetest.register_craft( {
|
||||
output = "bbq:kettle_grill",
|
||||
recipe = {
|
||||
{"default:steel_ingot", "bbq:charcoal_lump", "default:steel_ingot"},
|
||||
{"default:steel_ingot", "bbq:charcoal_lump", "default:steel_ingot"},
|
||||
{"", "default:steel_ingot", ""}
|
||||
}
|
||||
})
|
||||
|
||||
--Smoker Craft Recipe
|
||||
minetest.register_craft( {
|
||||
output = "bbq:smoker",
|
||||
|
@ -400,6 +400,7 @@ minetest.register_node("bbq:kettle_grill_active", {
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, -0.25, 0.5}, -- main body
|
||||
{-0.18, -0.3, -0.0, 0.18, .4, 0.0}, -- smoke
|
||||
{-0.0, -0.3, -0.18, 0.0, .4, 0.18}, -- smoke
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user