CORPORATION: Prevent purchasing product-only research for material industries (#2283)

This commit is contained in:
catloversg
2025-08-06 18:07:04 +07:00
committed by GitHub
parent 82e3b3f9ae
commit f0ca10e1b1
6 changed files with 13 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ export async function main(ns) {
| Method | Description |
| --- | --- |
| [alert(msg)](./bitburner.ns.alert.md) | Open up a message box. |
| [alert(args)](./bitburner.ns.alert.md) | Open up a message box. |
| [asleep(millis)](./bitburner.ns.asleep.md) | Suspends the script for n milliseconds. Doesn't block with concurrent calls. |
| [atExit(f, id)](./bitburner.ns.atexit.md) | Add a callback to be executed when the script dies. |
| [brutessh(host)](./bitburner.ns.brutessh.md) | Runs BruteSSH.exe on a server. |

View File

@@ -29,7 +29,7 @@ Requires the Office API upgrade from your corporation.
| [hasResearched(divisionName, researchName)](./bitburner.officeapi.hasresearched.md) | Check if you unlocked a research. |
| [hireAdVert(divisionName)](./bitburner.officeapi.hireadvert.md) | Hire AdVert. |
| [hireEmployee(divisionName, city, employeePosition)](./bitburner.officeapi.hireemployee.md) | Hire an employee. |
| [research(divisionName, researchName)](./bitburner.officeapi.research.md) | Purchase a research. |
| [research(divisionName, researchName)](./bitburner.officeapi.research.md) | <p>Purchase a research.</p><p>Some research is only available for product industries. This function does not do anything if you purchase that research for a material industry.</p> |
| [setJobAssignment(divisionName, city, job, amount)](./bitburner.officeapi.setjobassignment.md) | Set the job assignment for a job. |
| [throwParty(divisionName, city, costPerEmployee)](./bitburner.officeapi.throwparty.md) | Throw a party for your employees. |
| [upgradeOfficeSize(divisionName, city, size)](./bitburner.officeapi.upgradeofficesize.md) | Upgrade office size. |

View File

@@ -6,6 +6,8 @@
Purchase a research.
Some research is only available for product industries. This function does not do anything if you purchase that research for a material industry.
**Signature:**
```typescript