Ah ok, thanks for clearing that up. It get it now.
Also, I have some more ideas. Besides not just being able to set maximum amounts of each item that each person can buy, can there also be a set maximum total number of items bought from one store?
I want this because for the store case, I want to have one where I basically have a mercenary guild or something, where people can be hired. However, I want to limit the amount of total mercenaries each person can hire, and then limit the amount for each, so that each individual "item"/person can only be hired once.
Also, this is going to be kinda weird, and I guess probably more trouble than it's worth, but I want to sell or at least rent some real estate
There can be another special shop created to sell different sort of title deeds and licenses. There can be such that after you create a private forum, you can create a title deed and set it to the permission so that whoever owns it becomes the mod of a particular hidden, private forum. Then another type will just be a license or something, so that if it is bought, it can be used to gain entrance into that forum. However, licenses would become availible only after the title deed for that forum has been bought. A potential home owner should be sure though that he has enough money to buy the licenses too, or he might have some unwanted guests. Then when the barter/trade system is in play, he can give out those licenses to friends or something.