edit: it doesn't actually work, even with a seperate button. Mysterious!
Code: Select all
function istheitemsthere()
if place:getItemCount() == 3 then
for i in place:containedItems() do
if i.name == "item1" then
for i in place:containedItems() do
if i.name == "item2" then
for i in place:containedItems() do
if i.name == "item3" then
--you made it! the three things are here, do what happens!
end
end
end
end
end
end
end
end