I’d like to create some dynamically created clothing, which is then grouped by name, e. g.,
“Here are two blue sweatshirds and three tight jeans.” There would also be red sweatshirts and loose jeans etc.
The player can potentially create any number of items. When I simply declare them to be isEquivalent, they are either not grouped at all (if the name of the object is created on the classes construct method) or they are all grouped under the name of the first item to be created (in the above example, it would be “Here are five blue sweatshirts”) if the name is changed by the action creating the clothing.
Any help? The only way I’ve found so far is with collectives, which would involve creating a huge number of classes…