1
0
forked from MTSR/BBQ
BBQ/crafts.lua
2018-01-21 16:34:10 -06:00

728 lines
19 KiB
Lua

-- Kettle Grill
minetest.register_node("bbq:kettle_grill", {
description = ("Propane"),
inventory_image = "bbq_kettle_grill.png",
wield_image = "bbq_kettle_grill.png",
drawtype = "plantlike",
tiles = {"bbq_kettle_grill.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_metal_defaults(),
})
-- Sawdust
minetest.register_node("bbq:sawdust", {
description = ("Saw Dust"),
inventory_image = "bbq_sawdust.png",
wield_image = "bbq_sawdust.png",
drawtype = "plantlike",
tiles = {
"bbq_sawdust.png",
},
groups = {choppy=3, oddly_breakable_by_hand=2, flammable=3},
sounds = default.node_sound_leaves_defaults(),
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
},
},
})
-- Foil
minetest.register_craftitem("bbq:foil", {
description = ("Foil"),
inventory_image = "bbq_foil.png",
wield_image = "bbq_foil.png",
})
-- Charocal Briquette
minetest.register_craftitem("bbq:charcoal_briquette", {
description = ("Charcoal Briquette"),
inventory_image = "bbq_charcoal_briquette.png",
wield_image = "bbq_charcoal_briquette.png",
})
minetest.register_craft({
type = "fuel",
recipe = "bbq:charcoal_briquette",
burntime = 10,
})
-- Charocal Lump
minetest.register_craftitem("bbq:charcoal_lump", {
description = ("Charcoal Lump"),
inventory_image = "bbq_charcoal_lump.png",
wield_image = "bbq_charcoal_lump.png",
})
minetest.register_craft({
type = "fuel",
recipe = "bbq:charcoal_lump",
burntime = 25,
})
-- Charcoal Bag
minetest.register_node("bbq:charcoal_bag", {
description = ("Bag o' Charcoal"),
inventory_image = "bbq_charcoal_bag.png",
wield_image = "bbq_charcoal_bag.png",
drawtype = "plantlike",
tiles = {
"bbq_charcoal_bag_top.png", "bbq_charcoal_bag_top.png",
"bbq_charcoal_bag_side.png", "bbq_charcoal_bag_side.png",
"bbq_charcoal_bag_back.png", "bbq_charcoal_bag.png",
},
groups = {dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_leaves_defaults(),
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.21, -0.5, -0.1, 0.21, 0.22, 0.1},
{-0.235, 0.22, -0.025, 0.235, 0.25, 0.025},
},
},
})
minetest.register_craft({
type = "fuel",
recipe = "bbq:charcoal_bag",
burntime = 150,
})
-- Propane
minetest.register_node("bbq:propane", {
description = ("Propane"),
inventory_image = "bbq_propane.png",
wield_image = "bbq_propane.png",
drawtype = "plantlike",
tiles = {"bbq_propane.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_metal_defaults(),
})
minetest.register_craft({
type = "fuel",
recipe = "bbq:propane",
burntime = 500,
})
-- Beer
minetest.register_node("bbq:beer", {
description = ("Beer"),
inventory_image = "bbq_beer.png",
wield_image = "bbq_beer.png",
drawtype = "plantlike",
tiles = {
"bbq_beer_top.png", "bbq_beer_top.png^[transformFy",
"bbq_beer.png", "bbq_beer.png",
"bbq_beer.png", "bbq_beer.png^[transformFx",
},
groups = {dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.18, -0.5, -0.18, 0.18, 0.3, 0.18},
{-0.3, -0.25, -0.06, -0.18, 0.18, 0.06},
},
},
on_use = minetest.item_eat(6),
})
-- Vinegar
minetest.register_node("bbq:vinegar", {
description = ("Vinegar"),
inventory_image = "bbq_vinegar.png",
wield_image = "bbq_vinegar.png",
drawtype = "plantlike",
tiles = {"bbq_vinegar.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Vinegar Mother
minetest.register_node("bbq:vinegar_mother", {
description = ("Vinegar Mother"),
inventory_image = "bbq_vinegar_mother.png",
wield_image = "bbq_vinegar_mother.png",
drawtype = "plantlike",
tiles = {"bbq_vinegar_mother.png"},
groups = {mother=1, vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Veggie Kebab
minetest.register_craftitem("bbq:veggie_kebab", {
description = ("Veggie Kebab"),
inventory_image = "bbq_veggie_kebab.png",
on_use = minetest.item_eat(8),
})
-- Veggie Kebab Raw
minetest.register_craftitem("bbq:veggie_kebab_raw", {
description = ("Veggie Kebab Raw"),
inventory_image = "bbq_veggie_kebab_raw.png",
on_use = minetest.item_eat(4),
})
-- Veggie Packet
minetest.register_craftitem("bbq:veggie_packet", {
description = ("Veggie Packet"),
inventory_image = "bbq_veggie_packet.png",
on_use = minetest.item_eat(5),
})
-- Veggie Packet Raw
minetest.register_craftitem("bbq:veggie_packet_raw", {
description = ("Veggie Packet Raw"),
inventory_image = "bbq_veggie_packet_raw.png",
on_use = minetest.item_eat(4),
})
-- Stuffed Mushroom
minetest.register_craftitem("bbq:stuffed_mushroom", {
description = ("Stuffed Mushroom"),
inventory_image = "bbq_stuffed_mushroom.png",
on_use = minetest.item_eat(9),
})
-- Stuffed Mushroom Raw
minetest.register_craftitem("bbq:stuffed_mushroom_raw", {
description = ("Stuffed Mushroom Raw"),
inventory_image = "bbq_stuffed_mushroom_raw.png",
on_use = minetest.item_eat(5),
})
-- Portebello Steak_Raw
minetest.register_craftitem("bbq:portebello_steak_raw", {
description = ("Portebello Steak Raw"),
inventory_image = "bbq_portebello_steak_raw.png",
on_use = minetest.item_eat(5),
})
-- Portebello Steak
minetest.register_craftitem("bbq:portebello_steak", {
description = ("Portebello Steak"),
inventory_image = "bbq_portebello_steak.png",
on_use = minetest.item_eat(9),
})
-- Lamb Kebab
minetest.register_craftitem("bbq:lamb_kebab", {
description = ("Lamb Kebab"),
inventory_image = "bbq_lamb_kebab.png",
on_use = minetest.item_eat(4),
})
-- Lamb Kebab Raw
minetest.register_craftitem("bbq:lamb_kebab_raw", {
description = ("Lamb Kebab Raw"),
inventory_image = "bbq_lamb_kebab_raw.png",
on_use = minetest.item_eat(2),
})
-- Rack of Lamb
minetest.register_craftitem("bbq:rack_lamb", {
description = ("Rack of Lamb"),
inventory_image = "bbq_rack_lamb.png",
on_use = minetest.item_eat(10),
})
-- Rack of Lamb Raw
minetest.register_craftitem("bbq:rack_lamb_raw", {
description = ("Rack of Lamb Raw"),
inventory_image = "bbq_rack_lamb_raw.png",
on_use = minetest.item_eat(5),
})
-- Leg of Lamb
minetest.register_craftitem("bbq:leg_lamb", {
description = ("Leg of Lamb"),
inventory_image = "bbq_leg_lamb.png",
on_use = minetest.item_eat(9),
})
-- Leg of Lamb Raw
minetest.register_craftitem("bbq:leg_lamb_raw", {
description = ("Leg of Lamb Raw"),
inventory_image = "bbq_leg_lamb_raw.png",
on_use = minetest.item_eat(4),
})
-- Ham
minetest.register_craftitem("bbq:ham", {
description = ("Ham"),
inventory_image = "bbq_ham.png",
on_use = minetest.item_eat(9),
})
-- Ham Raw
minetest.register_craftitem("bbq:ham_raw", {
description = ("Ham Raw"),
inventory_image = "bbq_ham_raw.png",
on_use = minetest.item_eat(4),
})
-- BBQ Chicken
minetest.register_craftitem("bbq:bbq_chicken", {
description = ("BBQ Chicken"),
inventory_image = "bbq_bbq_chicken.png",
on_use = minetest.item_eat(8),
})
-- BBQ Chicken Raw
minetest.register_craftitem("bbq:bbq_chicken_raw", {
description = ("BBQ Chicken Raw"),
inventory_image = "bbq_bbq_chicken_raw.png",
on_use = minetest.item_eat(4),
})
-- Corned Beef Raw
minetest.register_craftitem("bbq:corned_beef_raw", {
description = ("Corned Beef Raw"),
inventory_image = "bbq_corned_beef_raw.png",
on_use = minetest.item_eat(5),
})
-- Corned Beef
minetest.register_craftitem("bbq:corned_beef", {
description = ("Corned Beef"),
inventory_image = "bbq_corned_beef.png",
on_use = minetest.item_eat(10),
})
-- BBQ Brisket
minetest.register_craftitem("bbq:brisket", {
description = ("BBQ Brisket"),
inventory_image = "bbq_brisket.png",
on_use = minetest.item_eat(9),
})
-- BBQ Brisket Raw
minetest.register_craftitem("bbq:brisket_raw", {
description = ("BBQ Brisket Raw"),
inventory_image = "bbq_brisket_raw.png",
on_use = minetest.item_eat(4),
})
-- BBQ Beef Ribs
minetest.register_craftitem("bbq:bbq_beef_ribs", {
description = ("BBQ Ribs"),
inventory_image = "bbq_beef_ribs.png",
on_use = minetest.item_eat(9),
})
-- BBQ Beef Ribs Raw
minetest.register_craftitem("bbq:bbq_beef_ribs_raw", {
description = ("BBQ Ribs Raw"),
inventory_image = "bbq_beef_ribs_raw.png",
on_use = minetest.item_eat(4),
})
-- Hot Wings Raw
minetest.register_craftitem("bbq:hot_wings_raw", {
description = ("Hot Wings Raw"),
inventory_image = "bbq_hot_wings_raw.png",
on_use = minetest.item_eat(3),
})
-- Hot Wings
minetest.register_craftitem("bbq:hot_wings", {
description = ("Hot Wings"),
inventory_image = "bbq_hot_wings.png",
on_use = minetest.item_eat(8),
})
-- Bacon Cheeseburger
minetest.register_craftitem("bbq:bacon_cheeseburger", {
description = ("Bacon Cheeseburger"),
inventory_image = "bbq_bacon_cheeseburger.png",
on_use = minetest.item_eat(9),
})
-- Cheese Steak
minetest.register_craftitem("bbq:cheese_steak", {
description = ("Cheese Steak"),
inventory_image = "bbq_cheese_steak.png",
on_use = minetest.item_eat(8),
})
-- Hamburger
minetest.register_craftitem("bbq:hamburger", {
description = ("Hamburger"),
inventory_image = "bbq_hamburger.png",
on_use = minetest.item_eat(9),
})
-- Hot Dog
minetest.register_craftitem("bbq:hotdog", {
description = ("Hot Dog"),
inventory_image = "bbq_hotdog.png",
on_use = minetest.item_eat(8),
})
-- Grilled Pizza Raw
minetest.register_craftitem("bbq:grilled_pizza_raw", {
description = ("Grilled Pizza Raw"),
inventory_image = "bbq_grilled_pizza_raw.png",
on_use = minetest.item_eat(5),
})
-- Grilled Pizza
minetest.register_craftitem("bbq:grilled_pizza", {
description = ("Grilled Pizza"),
inventory_image = "bbq_grilled_pizza.png",
on_use = minetest.item_eat(8),
})
-- Raw Beef Jerky
minetest.register_craftitem("bbq:beef_jerky_raw", {
description = ("Beef Jerky Raw"),
inventory_image = "bbq_beef_jerky_raw.png",
on_use = minetest.item_eat(2),
})
-- Beef Jerky
minetest.register_craftitem("bbq:beef_jerky", {
description = ("Beef Jerky"),
inventory_image = "bbq_beef_jerky.png",
on_use = minetest.item_eat(5),
})
-- Raw Pepper Steak
minetest.register_craftitem("bbq:pepper_steak_raw", {
description = ("Pepper Steak Raw"),
inventory_image = "bbq_pepper_steak_raw.png",
on_use = minetest.item_eat(4),
})
-- Pepper Steak
minetest.register_craftitem("bbq:pepper_steak", {
description = ("Pepper Steak"),
inventory_image = "bbq_pepper_steak.png",
on_use = minetest.item_eat(10),
})
-- Raw Bacon
minetest.register_craftitem("bbq:bacon_raw", {
description = ("Bacon Raw"),
inventory_image = "bbq_bacon_raw.png",
on_use = minetest.item_eat(3),
})
-- Bacon
minetest.register_craftitem("bbq:bacon", {
description = ("Bacon"),
inventory_image = "bbq_bacon.png",
on_use = minetest.item_eat(7),
})
-- Stuffed Pepper
minetest.register_craftitem("bbq:stuffed_pepper", {
description = ("Stuffed Pepper"),
inventory_image = "bbq_stuffed_pepper.png",
on_use = minetest.item_eat(9),
})
-- Stuffed Pepper Raw
minetest.register_craftitem("bbq:stuffed_pepper_raw", {
description = ("Stuffed Pepper Raw"),
inventory_image = "bbq_stuffed_pepper_raw.png",
on_use = minetest.item_eat(4),
})
--Bell Pepper
minetest.register_craftitem("bbq:pepper", {
description = ("Pepper"),
inventory_image = "bbq_pepper.png",
on_use = minetest.item_eat(7),
groups = {pepper=1},
})
--Smoked Pepper
minetest.register_craftitem("bbq:smoked_pepper", {
description = ("Smoked Pepper"),
inventory_image = "bbq_smoked_pepper.png",
on_use = minetest.item_eat(5),
})
--Tomato
minetest.register_craftitem("bbq:tomato", {
description = ("Tomato"),
inventory_image = "bbq_tomato.png",
on_use = minetest.item_eat(3),
groups = {tomato=1},
})
--Potato
minetest.register_craftitem("bbq:potato", {
description = ("Potato"),
inventory_image = "bbq_potato.png",
on_use = minetest.item_eat(1),
groups = {potato=1},
})
--Corn
minetest.register_craftitem("bbq:corn", {
description = ("Corn"),
inventory_image = "bbq_corn.png",
on_use = minetest.item_eat(2),
groups = {corn=1},
})
--Grilled Tomato
minetest.register_craftitem("bbq:grilled_tomato", {
description = ("Grilled Tomato"),
inventory_image = "bbq_grilled_tomato.png",
on_use = minetest.item_eat(5),
})
--Grilled Corn
minetest.register_craftitem("bbq:grilled_corn", {
description = ("Grilled Corn"),
inventory_image = "bbq_grilled_corn.png",
on_use = minetest.item_eat(8),
})
--Grilled Corn Raw
minetest.register_craftitem("bbq:grilled_corn_raw", {
description = ("Grilled Corn Raw"),
inventory_image = "bbq_grilled_corn_raw.png",
on_use = minetest.item_eat(5),
})
--Peppercorn
minetest.register_node("bbq:peppercorn", {
description = ("Peppercorn"),
inventory_image = "bbq_peppercorn.png",
wield_image = "bbq_peppercorn.png",
drawtype = "plantlike",
tiles = { "bbq_peppercorn.png" },
groups = { peppercorn = 1, vessel=1, snappy=3,flammable=3,flora=1,attached_node=1 },
sounds = default.node_sound_leaves_defaults(),
})
--Paprika
minetest.register_node("bbq:paprika", {
description = ("Smoked Paprika"),
inventory_image = "bbq_paprika.png",
wield_image = "bbq_paprika.png",
drawtype = "plantlike",
tiles = {"bbq_paprika.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
--Ground Pepper
minetest.register_node("bbq:pepper_ground", {
description = ("Ground Pepper"),
inventory_image = "bbq_pepper_ground.png",
wield_image = "bbq_pepper_ground.png",
drawtype = "plantlike",
tiles = {"bbq_pepper_ground.png"},
groups = {pepper_ground = 1, vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Sea Salt
minetest.register_node("bbq:sea_salt", {
description = ("Sea Salt"),
inventory_image = "bbq_sea_salt.png",
wield_image = "bbq_sea_salt.png",
drawtype = "plantlike",
tiles = {"bbq_sea_salt.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Brine
minetest.register_node("bbq:brine", {
description = ("Brine"),
inventory_image = "bbq_brine.png",
wield_image = "bbq_brine.png",
drawtype = "plantlike",
tiles = {"bbq_brine.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Pickled Peppers
minetest.register_node("bbq:pickled_peppers", {
description = ("Pickled Peppers"),
inventory_image = "bbq_pickled_peppers.png",
wield_image = "bbq_pickled_peppers.png",
drawtype = "plantlike",
tiles = {"bbq_pickled_peppers.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
on_use = minetest.item_eat(5),
})
-- Steak Sauce
minetest.register_node("bbq:steak_sauce", {
description = ("Steak Sauce"),
inventory_image = "bbq_steak_sauce.png",
wield_image = "bbq_steak_sauce.png",
drawtype = "plantlike",
tiles = {"bbq_steak_sauce.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Liquid Smoke
minetest.register_node("bbq:liquid_smoke", {
description = ("Liquid Smoke"),
inventory_image = "bbq_liquid_smoke.png",
wield_image = "bbq_liquid_smoke.png",
drawtype = "plantlike",
tiles = {"bbq_liquid_smoke.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Sugar
minetest.register_node("bbq:sugar", {
description = ("Sugar"),
inventory_image = "bbq_sugar.png",
wield_image = "bbq_sugar.png",
drawtype = "plantlike",
tiles = {"bbq_sugar.png"},
groups = {vessel = 1, sugar=1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
on_use = minetest.item_eat(2),
})
-- Molasses
minetest.register_node("bbq:molasses", {
description = ("Molasses"),
inventory_image = "bbq_molasses.png",
wield_image = "bbq_molasses.png",
drawtype = "plantlike",
tiles = {"bbq_molasses.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Hot Sauce
minetest.register_node("bbq:hot_sauce", {
description = ("Hot Sauce"),
inventory_image = "bbq_hot_sauce.png",
wield_image = "bbq_hot_sauce.png",
drawtype = "plantlike",
tiles = {"bbq_hot_sauce.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-- BBQ Sauce
minetest.register_node("bbq:bbq_sauce", {
description = ("BBQ Sauce"),
inventory_image = "bbq_bbq_sauce.png",
wield_image = "bbq_bbq_sauce.png",
drawtype = "plantlike",
tiles = {"bbq_bbq_sauce.png"},
groups = {vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
minetest.register_node("bbq:beef_map", {
description = "Beef Map",
inventory_image = "bbq_cow_map.png",
tiles = {
"default_junglewood.png", "default_junglewood.png",
"default_junglewood.png", "default_junglewood.png",
"default_junglewood.png", "bbq_cow_map.png",
},
paramtype2 = "facedir",
paramtype = "light",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, 0.4, 0.5, 0.5, 0.5},
},
},
groups = {choppy=3, oddly_breakable_by_hand=2, flammable=3},
sounds = default.node_sound_wood_defaults(),
})
minetest.register_node("bbq:smoker_blueprint", {
description = "Smoker Blueprint",
inventory_image = "bbq_smoker_blueprint.png",
tiles = {
"default_pine_wood.png", "default_pine_wood.png",
"default_pine_wood.png", "default_pine_wood.png",
"default_pine_wood.png", "bbq_smoker_blueprint.png",
},
paramtype2 = "facedir",
paramtype = "light",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, 0.4, 0.5, 0.5, 0.5},
},
},
groups = {choppy=3, oddly_breakable_by_hand=2, flammable=3},
sounds = default.node_sound_wood_defaults(),
})
-- Yeast
minetest.register_node("bbq:yeast", {
description = ("Yeast"),
inventory_image = "bbq_yeast.png",
wield_image = "bbq_yeast.png",
drawtype = "plantlike",
tiles = {"bbq_yeast.png"},
groups = {mother=1, vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
})
-------------------
--Animal Drop Meats
-------------------
-- Raw Mutton
minetest.register_craftitem("bbq:mutton_raw", {
description = ("Raw Mutton"),
inventory_image = "bbq_mutton_raw.png",
on_use = minetest.item_eat(3),
})
-- Cooked Mutton
minetest.register_craftitem("bbq:mutton", {
description = ("Mutton"),
inventory_image = "bbq_mutton_cooked.png",
on_use = minetest.item_eat(8),
})
-- Raw Beef
minetest.register_craftitem("bbq:beef_raw", {
description = ("Raw Beef"),
inventory_image = "bbq_beef_raw.png",
on_use = minetest.item_eat(3),
})
-- Cooked Beef
minetest.register_craftitem("bbq:beef", {
description = ("Beef"),
inventory_image = "bbq_beef_cooked.png",
on_use = minetest.item_eat(8),
})