The item to add to the stock.
Determines the amount of that item in stock upon being added to the buildings.
The item will grow in stock count up to the value of stockMax. The rate at which the item grows in stock is determined by its stock replenish interval, which can be modified in the object editor.
Some issues with default Blizzard initialization and that function were met. See http://www.hiveworkshop.com/forums/l-715/a-251815/ for details.
Adding an item which already is in stock for a building will replace it and refresh the interval and stock count.
Generated using TypeDoc
Adds an item of the type itemId with current stock of currentStock and max stock of stockMax to all shops in game.