Jump to content

How can I get a item vnum via python?


Recommended Posts

3 minutes ago, PACI said:

player.GetItemIndex(slotPos)

However, the uiToolTip.ItemToolTip.AddItemData() already receives an item vnum, so you must only print it.

I already tried vnum = player.GetItemIndex(slotPos)

self.AppendTextLine(vnum, self.POSITIVE_COLOR)

but it don't work for some reason.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.