ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   BAG_HOUSE_BANK name (https://www.esoui.com/forums/showthread.php?t=10652)

AlphaGammaBeta 08/07/23 01:07 PM

BAG_HOUSE_BANK name
 
hi!
i change chest bank name in game



can i get this "new name" with lua?

Masteroshi430 08/07/23 01:37 PM

Quote:

Originally Posted by AlphaGammaBeta (Post 48245)
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

AlphaGammaBeta 08/07/23 02:00 PM

Quote:

Originally Posted by Masteroshi430 (Post 48247)
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?

this is INT constant from 7 for _ONE to 16 for _TEN

Masteroshi430 08/07/23 02:07 PM

Quote:

Originally Posted by AlphaGammaBeta (Post 48249)
this is INT constant from 7 for _ONE to 16 for _TEN

These are the bagIds, not their names, read my edited post.

AlphaGammaBeta 08/08/23 12:22 AM

Quote:

Originally Posted by Masteroshi430 (Post 48247)
ok, first there are 8 of them:

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


it's.... interest.. i'l try it

Baertram 08/08/23 01:52 AM

Hint:
There exist up to 10 house bank bagIds, not only 8

Code:

* BAG_HOUSE_BANK_ONE = 7
* BAG_HOUSE_BANK_TWO = 8
* BAG_HOUSE_BANK_THREE = 9
* BAG_HOUSE_BANK_FOUR = 10
* BAG_HOUSE_BANK_FIVE = 11
* BAG_HOUSE_BANK_SIX = 12
* BAG_HOUSE_BANK_SEVEN = 13
* BAG_HOUSE_BANK_EIGHT = 14
* BAG_HOUSE_BANK_NINE = 15
* BAG_HOUSE_BANK_TEN = 16

Edit:
Just noticed AlphaGammaBeta already found out ;-)

Masteroshi430 08/08/23 05:17 AM

Quote:

Originally Posted by Baertram (Post 48254)
Hint:
There exist up to 10 house bank bagIds, not only 8

Code:

* BAG_HOUSE_BANK_ONE = 7
* BAG_HOUSE_BANK_TWO = 8
* BAG_HOUSE_BANK_THREE = 9
* BAG_HOUSE_BANK_FOUR = 10
* BAG_HOUSE_BANK_FIVE = 11
* BAG_HOUSE_BANK_SIX = 12
* BAG_HOUSE_BANK_SEVEN = 13
* BAG_HOUSE_BANK_EIGHT = 14
* BAG_HOUSE_BANK_NINE = 15
* BAG_HOUSE_BANK_TEN = 16

Edit:
Just noticed AlphaGammaBeta already found out ;-)


There are 10 BAG_HOUSE_BANK but you can only have 8 in your house right?
4 Storage Chests and 4 Storage Coffers, what are the who others? Probably unused and for later...

Baertram 08/08/23 06:56 AM

Oh, good to know, thank you for that info. I did never try how many are allowed in a house.
I thought it would be 10 as there are 10 bagIds for them.


All times are GMT -6. The time now is 12:32 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI