#2 - Multi functionality
Some things have multi functionality, as in they can be different things.
Here's an example based off the previous page.
local ITEM = Inventory:CreateItemV2()
ITEM:SetDescription("A simple printer!")
ITEM:SetDescription(function(tbl, ent)
return "This can also be a function! Good for things where you might need to dynamically make the description".
end)
ITEM:SetDescription(function(tbl, ent)
return {
"You can also return a table",
"This is for multiline support",
{ color = Color(255, 0, 0), str = "You can color text by making it a table" },
{ color = Color(0, 255, 0), str = "Different font and space under line!", font = "MyFont", space = 5 },
{ color = Color(0, 0, 255, str = "I'm further apart from the above text!" }
}
end)