Since engine version: 1.0 OC
Sets the availability of buyable objects at the home base.
bool SetBaseMaterial(int player, id definition, int cnt);
- Number of the player whose home base material you want to set.
- id of the buyable object type you want to adjust.
- Set the available amount (positive).
SetBaseMaterial(0, Firestone, 10);
The first player can now buy ten flints.