The door ID's are "feedmeDoor_1" and "feedmeDoor_2".
The alter ID is "altar_accept_flesh".
The script_entity is this:
Code: Select all
function feedme()
-- iterate through all contained items on alcove, checking for a matching name
for i in alter_accept_flesh:containedItems() do
if i.name == "snail_slice" then
feedmeDoor_1:open
else
feedmeDoor_1:close
end
end
end
Any help appreciated. Almost done with the dungeon!