Jump to content
  • 0

Attach variable to a specific Item


Kavaline

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  18
  • Reputation:   1
  • Joined:  02/15/20
  • Last Seen:  

Hi, have any way to attach variables to a specific item (not all Apples, but only a specific Apple)? I tried search how to get the GID of an item, but didn't found a way, and saw no one method for an item hold a variable or attach a variable for a specific item. Only way that I found is the card slots, but I can't use with crafted items that already use the slots, like Alchemist potions, and another scripts that use this, like Sign/Bound NPC.

Someone know how I can do it?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  927
  • Reputation:   169
  • Joined:  04/05/13
  • Last Seen:  

Item UID is only on equipable items (maybe).

Look at inventory table

image.png.ee103e1d90862a02b9d65994ebe1ad81.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.01
  • Content Count:  18
  • Reputation:   1
  • Joined:  02/15/20
  • Last Seen:  

19 minutes ago, Start_ said:

Item UID is only on equipable items (maybe).

Look at inventory table

image.png.ee103e1d90862a02b9d65994ebe1ad81.png

This is useful, thanks. I need know if have any debug message that shows their GID, like in an error, or something like this, for non-equipable items. When an Apple is generated, for example, the game had to know exactly what the Apple was generated, I think. Or if have any other way to attach a variable to an unique Item.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...