Discussion post: https://steamcommunity.com/app/286160/discussions/3/3763355214779357007/
TL;DR is that I have some chips, that have custom names and descriptions.
- Calling the .name attribute returns the custom name correctly. (custom name)
- Doing the same when done on a stack of custom chips also works correctly. (ChipStack)
-Calling the .name attribute on a stack of custom chips within a bag, does not work correctly (returns the custom_name)
It seems there is no real way of getting that ChipStack value once the custom stack is in a bag. Normal chip stacks in a bag return "ChipStack" as well, so I know this is how I'm supposed to get that name.
Not 100% sure if this is a bug or intentional, but it would seem that the following finding occurs: item type, .name attr , .getName() non-bagged, "Chip_1000", Err: attempt to call a nil value bagged, "Chip 1000", nothing/nil, Err: attempt to call a nil value I understand the nil answers, but it seems that theres two different name for the chip ...