verifyRecipe
local recipe = {
bread = 2,
water = 1
}
if ps.verifyRecipe(source, recipe) then
print("Player can craft the recipe.")
else
print("Missing ingredients.")
endLast updated
local recipe = {
bread = 2,
water = 1
}
if ps.verifyRecipe(source, recipe) then
print("Player can craft the recipe.")
else
print("Missing ingredients.")
endLast updated