mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 07:07:50 +02:00
dcd2f33f7c
* Update api-documentor and api-extractor. #1566 follow-up.
I have verified that the HTML/markdown table generation bug in
[#4878](https://github.com/microsoft/rushstack/issues/4878) in rushstack
for api-documentor has been fixed as per rushstack#5256. The testcase
[repro](https://github.com/catloversg/api-documenter-bug-pr-4578) now
produces the correct expected output.
I have confirmed that the generated output in bitburner from
`npm run doc` now generated HTML tables, and correctly inserts
a blank line between the </table> and the follow line (e.g. Returns).
Stylisticly it could use some whitespace, but it is correctly rendered.
This commit is only the updated packages, not the updated generated
documentation. I assume that is automatically generated by the GitHub
workflow.
* Follow up to 5f732a6f35, include `npm run doc` changed docs.
* Add missing license info
* Fix React warning
---------
Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
287 lines
2.5 KiB
Markdown
287 lines
2.5 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Material](./bitburner.material.md)
|
|
|
|
## Material interface
|
|
|
|
Material in a warehouse
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
interface Material
|
|
```
|
|
|
|
## Properties
|
|
|
|
<table><thead><tr><th>
|
|
|
|
Property
|
|
|
|
|
|
</th><th>
|
|
|
|
Modifiers
|
|
|
|
|
|
</th><th>
|
|
|
|
Type
|
|
|
|
|
|
</th><th>
|
|
|
|
Description
|
|
|
|
|
|
</th></tr></thead>
|
|
<tbody><tr><td>
|
|
|
|
[actualSellAmount](./bitburner.material.actualsellamount.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Amount of material sold last cycle
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[buyAmount](./bitburner.material.buyamount.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Amount of material purchased from the market last cycle
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[competition](./bitburner.material.competition.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number \| undefined
|
|
|
|
|
|
</td><td>
|
|
|
|
Competition for the material, only present if "Market Research - Competition" unlocked
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[demand](./bitburner.material.demand.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number \| undefined
|
|
|
|
|
|
</td><td>
|
|
|
|
Demand for the material, only present if "Market Research - Demand" unlocked
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[desiredSellAmount](./bitburner.material.desiredsellamount.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
string \| number
|
|
|
|
|
|
</td><td>
|
|
|
|
Sell amount, can be "PROD/2"
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[desiredSellPrice](./bitburner.material.desiredsellprice.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
string \| number
|
|
|
|
|
|
</td><td>
|
|
|
|
Sell cost, can be "MP+5"
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[exports](./bitburner.material.exports.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
[Export](./bitburner.export.md)<!-- -->\[\]
|
|
|
|
|
|
</td><td>
|
|
|
|
Export orders
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[importAmount](./bitburner.material.importamount.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Amount of material imported from other divisions last cycle
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[marketPrice](./bitburner.material.marketprice.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Cost to buy material
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[name](./bitburner.material.name.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
[CorpMaterialName](./bitburner.corpmaterialname.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
Name of the material
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[productionAmount](./bitburner.material.productionamount.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Amount of material produced last cycle
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[quality](./bitburner.material.quality.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Quality of the material
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[stored](./bitburner.material.stored.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Amount of material
|
|
|
|
|
|
</td></tr>
|
|
</tbody></table>
|
|
|