
π³Recipes
Config.Recipes = {
['Example Bar'] = {--this key name must be the same as the bar it relates to for the crafting event and cctv menu and the barName must match above if in doubt keep everything named the same (bahama, vanilla, tequila etc)!
['Example Category 1'] = { -- this is the category name and this contains the list of craftable items
['exampleitem1'] = { -- this is the item name
recipe = { -- this is a table of items required to make the item name above
{ name = 'pintglass', label = 'Pint Glass', amount = 1, },
},
progress = {
duration = 5000, -- this is multiplied by the amount the player chooses to process
label = 'Pouring lager..', -- label for progressCircle
},
skillCheck = { -- skillCheck settings once progressCircle is complete to determine if the player was successful pouring the drink
--{'easy', 'easy', {areaSize = 60, speedMultiplier = 2}, 'hard'}, {'w', 'a', 's', 'd'}, -- this is abit more difficult than the default one if you wish to use this instead
{'easy', 'easy', 'easy'}, {'e'},
},
anim = {
dict = 'amb@prop_human_parking_meter@female@base', -- name of anim dict used
anim = 'idle', -- name of anim used
flag = 41, -- flag number
props = { -- prop settings
{
model = nil, -- name of prop model used
bone = nil, -- bone index used
pos = nil, -- vec3 value for prop position
rot = nil, -- vec3 value for prop rotation
},
},
},
},
},
['Example Category 2'] = {-- these are spirits available to make at the spirit bottles
['exampleitem2'] = { -- this is the item name
recipe = { -- this is a table of items required to make the item name above
{ name = 'tumblerglass', label = 'Tumbler Glass', amount = 1, },
{ name = 'bottle_vodka', label = 'Bottle of Vodka', amount = 1, },
},
progress = {
duration = 5000, -- this is multiplied by the amount the player chooses to process
label = 'Pouring vodka..', -- label for progressCircle
},
skillCheck = { -- skillCheck settings once progressCircle is complete to determine if the player was successful pouring the drink
--{'easy', 'easy', {areaSize = 60, speedMultiplier = 2}, 'hard'}, {'w', 'a', 's', 'd'}, -- this is abit more difficult than the default one if you wish to use this instead
{'easy', 'easy', 'easy'}, {'e'},
},
anim = {
dict = 'amb@prop_human_parking_meter@female@base', -- name of anim dict used
anim = 'idle', -- name of anim used
flag = 41, -- flag number
props = { -- prop settings
{
model = nil, -- name of prop model used
bone = nil, -- bone index used
pos = nil, -- vec3 value for prop position
rot = nil, -- vec3 value for prop rotation
},
},
},
},
},
['Example Category 3'] = {
['exampleitem3'] = { -- this is the item name
recipe = { -- this is a table of items required to make the item name above
{ name = 'tumblerglass', label = 'Tumbler Glass', amount = 1, },
{ name = 'bottle_gin', label = 'Bottle of Gin', amount = 1, },
{ name = 'tonicwater', label = 'Tonic Water', amount = 1, },
},
progress = {
duration = 5000, -- this is multiplied by the amount the player chooses to process
label = 'Pouring Gin & Tonic', -- label for progressCircle
},
skillCheck = { -- skillCheck settings once progressCircle is complete to determine if the player was successful pouring the drink
--{'easy', 'easy', {areaSize = 60, speedMultiplier = 2}, 'hard'}, {'w', 'a', 's', 'd'}, -- this is abit more difficult than the default one if you wish to use this instead
{'easy', 'easy', 'easy'}, {'e'},
},
anim = {
dict = 'amb@prop_human_parking_meter@female@base', -- name of anim dict used
anim = 'idle', -- name of anim used
flag = 41, -- flag number
props = { -- prop settings
{
model = nil, -- name of prop model used
bone = nil, -- bone index used
pos = nil, -- vec3 value for prop position
rot = nil, -- vec3 value for prop rotation
},
},
},
},
},
},
}Last updated