View Single Post
08/07/23, 01:37 PM   #2
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Originally Posted by AlphaGammaBeta View Post
hi!
i change chest bank name in game



can i get this "new name" with lua?

ok, first there are 8 of them:

* BAG_HOUSE_BANK_EIGHT
* BAG_HOUSE_BANK_FIVE
* BAG_HOUSE_BANK_FOUR
* BAG_HOUSE_BANK_NINE
* BAG_HOUSE_BANK_ONE
* BAG_HOUSE_BANK_SEVEN
* BAG_HOUSE_BANK_SIX
* BAG_HOUSE_BANK_TEN
* BAG_HOUSE_BANK_THREE
* BAG_HOUSE_BANK_TWO

For the name I don't know but I'm interested to know, does it keep it's name while in use?

EDIT: it looks like these items have a "nickname" attribute so GetCollectibleNickname(*integer* _collectibleId_) should work.

collectible IDs are :
4673 Storage Coffer, Fortified
4675 Storage Coffer, Oaken
4676 Storage Coffer, Secure
4677 Storage Coffer, Sturdy

4674 Storage Chest, Fortified
4678 Storage Chest, Oaken
4679 Storage Chest, Secure
4680 Storage Chest, Sturdy

Last edited by Masteroshi430 : 08/07/23 at 01:58 PM.
  Reply With Quote