I am trying to add a victory that checks for the total gold of the player, along with the total number of luxury resources owned compared to the number that spawned on the map.
I can see no RequirementTypes that seem to allow this, and I am uncertain if it is possible to add new RequirementTypes so I can implement the function myself.
Has anyone discovered how to access simple player data using the Requirements table? If I need to resort to lua to implement this functionality would anyone know which game files would need to be updated to allow me to perform a check at the end of each turn for the victory conditions being met.
I can see no RequirementTypes that seem to allow this, and I am uncertain if it is possible to add new RequirementTypes so I can implement the function myself.
Has anyone discovered how to access simple player data using the Requirements table? If I need to resort to lua to implement this functionality would anyone know which game files would need to be updated to allow me to perform a check at the end of each turn for the victory conditions being met.