Hello all, I am new to modding/lua and am looking to create a mod that will export game state information to a file after an action is taken. I am currently thinking json. An couple examples would be:
Hand is played, score is calculated, [STATE EXPORTED], gameplay continues
Shop is opened, [STATE EXPORTED], reroll, [STATE EXPORTED], joker bought, [STATE EXPORTED], ....
The long term goal is to have a python script that reads the game state and sends back an action to take.
Any thoughts/advice on this would be appreciated!