Soooo I’m kinda remaking the code of how I make the cards as they were coded very messily…but I was ALREADY making a huge post explaining it so hopefully i can get that done soon!!
If you want information on how I made the map look at my topic for it: Random Map Event Generation
(like Slay the Spire)
Essentially, I am going to be changing how i store cards, from a single number to an array, as with an array I can store more distinct data for each card
The array is helpful as I can use the sequence as a sort of code that will correspond to triple nested arrays for the card image and the card properties like what type it is and how much energy it consumes. Storing all information about a card in nested arrays is helpful as it makes the system very flexible, rather than adding on infinite if statements and code I can just add on to the array.
Nope, I only used it for retrieving the data for enemies (which were already stored as nested arrays) I do plan to use block objects in the new card system though

