Since the strategy resouces are stackable in the GS, I wonder if there are some Lua function to change the amount of strategy resouce a player have.
By looking into the TopPanel_Expansion2.lua file, I find these new function:
But all of these are "Get" function, not some thing that can change data in game. Anyone knows if there is any function that can change strategy resouces amount?
By looking into the TopPanel_Expansion2.lua file, I find these new function:
Code:
GetResourceAmount(resource.ResourceType);
GetResourceStockpileCap(resource.ResourceType);
GetReservedResourceAmount(resource.ResourceType);
GetResourceAccumulationPerTurn(resource.ResourceType);
GetResourceImportPerTurn(resource.ResourceType);
GetBonusResourcePerTurn(resource.ResourceType);
GetUnitResourceDemandPerTurn(resource.ResourceType);
GetPowerResourceDemandPerTurn(resource.ResourceType);