big-oil
Version:
Fusion engine picker for PAYDAY 2's Big Oil heist
35 lines (24 loc) • 829 B
Markdown
Fusion engine picker for PAYDAY 2's Big Oil heist.
``` javascript
const bigOil = require('big-oil');
bigOil('nitrogen', 1, false);
// => [1]
```
``` bash
$ npm install big-oil
```
``` javascript
const bigOil = require('big-oil');
```
Returns an _Array_ of possibly correct fusion engines based on the information
that you managed to find in the lab. Each parameter is optional, but the more
you pass the smaller the returned _Array_ will be. _String_ `element` is the
element that is written down on the spiral notebook. _Number_ `tubes` is written
down on the clipboard. Finally, _Boolean_ `psiGreaterThan5800` should be `true`
if the psi recorded on the computer is greater than ~5800, otherwise it should be
`false`.