bitburner-src/markdown/bitburner.warehouseapi.getmaterial.md

825 B

Home > bitburner > WarehouseAPI > getMaterial

WarehouseAPI.getMaterial() method

Get material data.

Signature:

getMaterial(divisionName: string, city: CityName | `${CityName}`, materialName: string): Material;

Parameters

Parameter Type Description
divisionName string Name of the division
city CityName | `${CityName}` Name of the city
materialName string Name of the material

Returns:

Material

Material data

Remarks

RAM cost: 10 GB