local CHORES = {
["Dishes"] = {
Available = true,
Exclusive = false,
},
["Laundry"] = {
Available = true,
Exclusive = false,
},
["Dusting & Cleaning"] = {
Available = true,
Exclusive = false,
},
["Lawn mowing"] = {
Available = true,
Exclusive = false,
},
["TP Cleaning"] = {
Available = false,
Exclusive = true,
Season = "Halloween",
}
}
function GetAvailability(DICTIONARY)
for item, metadata in pairs(DICTIONARY) do
return metadata.Available
end
end
for i, v in pairs(CHORES) do
if GetAvailability(CHORES) then
print(tostring(v) .. " is available")
else
print(tostring(v) .. " is not available")
end
end
To embed this project on your website, copy the following code and paste it into your website's HTML: