Adds an item quantity to finite warehouse stock.
Internal type name or wsType.
Quantity to add.
Nothing.
Adds liquid stock.
Value from LiquidType.
Quantity to add.
Nothing.
Looks up a warehouse by the name of its associated airbase, FARP, carrier, or warehouse-capable object.
Some DCS builds return undefined for an airbase name even though retrieving
the same warehouse from Airbase.getByName(name)?.getWarehouse() succeeds.
Prefer the Airbase instance path when the owner is known to be an airbase.
Exact warehouse-owning object name.
Matching warehouse, or undefined when no warehouse is available.
Returns the warehouse embedded in a cargo static object.
Cargo static.
Embedded warehouse, or undefined when the cargo has none.
Returns the warehouse's current liquid, aircraft, and weapon inventory. A category configured as unlimited is represented by an empty table rather than an infinite numeric count.
Snapshot of the current inventory.
Returns current stock for one item.
Internal type name or wsType.
Available count.
Returns the current amount of a liquid.
Value from LiquidType.
Available quantity.
Returns the airbase, carrier, FARP, or cargo object owning the warehouse.
Owning object.
Returns DCS's resource-name mapping used by warehouse APIs.
Resource metadata keyed by internal name.
Removes an item quantity from finite stock.
Internal type name or wsType.
Quantity to remove.
Nothing.
Removes liquid stock.
Value from LiquidType.
Quantity to remove.
Nothing.
Sets an item's finite stock directly.
Internal type name or wsType.
New quantity.
Nothing.
Sets a liquid quantity directly.
Value from LiquidType.
New quantity.
Nothing.
Version
2.9.29.27468