pink_panther
Excellent OT User
I was wondering if anyone can explain or provide more information about how the custom attributes work in TFS?
I found the PR here
I can see it seems to add some support for custom item attributes, but couldn't see how or anywhere it's used?
Thanks.
I found the PR here
Item custom attributes by Mkalo · Pull Request #1997 · otland/forgottenserver
Introducing 3 new methods to Item class to Lua API: item:setCustomAttribute(key, value) item:getCustomAttribute(key) item:removeCustomAttribute(key) Key types: string or number Value types: string,...
github.com
I can see it seems to add some support for custom item attributes, but couldn't see how or anywhere it's used?
Thanks.