I am currently scripting a game that has a ton of cards in it around 4.5k (includes all the game's expansions).
As you play the game certain cards add to your combat power and then display your total onto a counter. I have the global script reading the cards and a script inside the cards that looks like this
--Card Name
cp = #
After I went through and named all the cards and add the line of code to each card that needed it I started playing with friends only to find out that some decks had randomly deleted or copied over the scripts that I had put in there.
Example: I would play monster A who has a cp of 3 but the counter would show 5. I'd look into the script and see it had monster B's code in it and then I'd fine monster B's code in almost all the cards in that deck.
This bug has happened twice now.
Someone mentioned to me about making a spread sheet and using that to organize all the cards' cps. But I have no idea how to do that.
If you have an idea on how to handle lots of small scripts please let me know and send a link to some examples or tutorials.