DoHomebaseProduction

Category: Player
Since engine version: 5.1 OC

Description

Changes resupply speed of buyable objects at the home base.

Syntax

bool DoHomebaseProduction(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

DoHomebaseProduction(0, Firestone, -GetHomebaseProduction(0, Firestone));
No more flintstones are resupplied for the first player.
See also: Buy, DoHomebaseMaterial, GetHomebaseMaterial, GetHomebaseProduction, Sell
Clonk-Karl, 2008-03