I'm trying to make a mod that adds two new coins in the game. Silver and Copper coins. And I want them to work just like the default gold coins. Where when you pick them up they go into your inventory and add to your total income.
I know how to get the coins in game but, when ever I pick them up they just go straight into my inventory as a sellable item, rather then add to my total income. I found a way around this, but this time it, has the opposite problem.
If I make the new coins act like coin purses, that way when you pick up, lets say a silver coin it will give you 50 gold001 coins (the default gold coin is now copper) but now the problem is that the new coins don't show up in my inventory since they are just being replaces with gold001. So when ever you pick up a silver coin it is replaced with 50 copper coins. But I want my new coins to act the same way as the default coin, where as when you pick it up, it adds to your total income while also going into your inventory.
Does anyone know how the vanilla coins work and if it's even possible to make multiple new coins that work just like em?