New Premium Module: Tyrants of the Moonsea! Read More
How to count all resrefs in a numbered list
So say I have a list of random treasure using resrefs with:
Up until Poor_Item250
And I keep adding to that list day by day. The problem is that I also a script of random treasure from 001 to the last of the poor item I create, which means I need to be constantly updating the number in the random treasure script that gives you a random item between 1 to the last number; is there a way to count all the resrefs with "Poor_Item" so I won't have to change that last number manually every time?
I hope my problem is understood