So im working on a text based rpg engine because I wanted to see how it would all work and learn. So I have items you can take, but ive come to the problem these items are stored as txt files and so are the areas. So the area might say it has a Gold Coin in it. And I can take that. But I can just keep taking it how ever many times I want. I could erase Gold Coin from the area but that would directly edit the text file. And if That happend youd have to go in and reset it. Any ideas on how I could tell just for that game that its gone?