I'm trying to figure out how to add an attribute to a key, so far I've only seen:
ITEM_ATTRIBUTE_ATTACK
ITEM_ATTRIBUTE_TEXT
The code that I have so far is to get a wooden key into my backpack -
but I don't want the key to have text I want it to be key 1500.
Is there a list of 'setAttribute' code that I can look through to help me figure this out?
ITEM_ATTRIBUTE_ATTACK
ITEM_ATTRIBUTE_TEXT
The code that I have so far is to get a wooden key into my backpack -
Code:
backpack:addItem(2087, 1):setAttribute(ITEM_ATTRIBUTE_TEXT, 'Here lies the text.')
but I don't want the key to have text I want it to be key 1500.
Is there a list of 'setAttribute' code that I can look through to help me figure this out?