WarriorsLib.StoreGood

WarriorsLib.StoreGood(buildingID, goodtype, enable, player)

Specifies what goods a storagearea store.

enable

If TRUE the building will start to store goods of the specified type. If FALSE it will stop storing them.

return value

  • Since Version 1.5.0: success [0, 1]

  • Before: none

Buildings.AddBuilding(118, 58, 3, Buildings.STORAGEAREA)
WarriorsLib.StoreGood (Buildings.GetFirstBuilding(3, Buildings.STORAGEAREA), Goods.GOLDBAR, 1, 3, 1)

Last updated