SetBaseProduction

Category: Player
Since engine version: 1.0 OC

Description

Sets resupply speed of buyable objects at the home base.

Syntax

bool SetBaseProduction(int player, id type, int cnt);

Parameters

player:
Number of the player whose home base resupply list you want to set.
type:
id of the object type you want to adjust.
cnt:
Set the resupply value (positive).

Example

SetBaseProduction(0, Firestone, 0);
No more flintstones are resupplied for the first player.
See also: Buy, DoBaseMaterial, DoBaseProduction, GetBaseMaterial, GetBaseProduction, Sell, SetBaseMaterial
Maikel, 2014-04