Category: Player
Since engine version: 1.0 OC
DoBaseProduction
Description
Changes resupply speed of buyable objects at the home base.
Syntax
bool DoBaseProduction(int player, id type, int change);
Parameters
- player:
- Number of the player whose home base resupply list you want to change.
- type:
- id of the object type you want to adjust.
- change:
- Change of the resupply value (positive or negative).
Example
DoBaseProduction(0, Firestone, -GetBaseProduction(0, Firestone));
No more flintstones are resupplied for the first player.
See also: Buy, DoBaseMaterial, GetBaseMaterial, GetBaseProduction, Sell, SetBaseMaterial, SetBaseProduction