mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-27 04:14:40 +01:00

- Lua documentation has been added for all peripherals except the train station (not looking forward to writing that one) - This documentation will be added to the GitHub wiki pages
18 lines
578 B
Markdown
18 lines
578 B
Markdown
| Method | Description |
|
|
|---------------------------------------------|--------------------------------|
|
|
| [`getStress()`](#getStress) | Gets the current stress level |
|
|
| [`getStressCapacity()`](#getStressCapacity) | Gets the total stress capacity |
|
|
|
|
---
|
|
### `getStress()`
|
|
Gets the connected network's current stress level
|
|
|
|
**Returns**
|
|
- `number` The current stress level
|
|
|
|
---
|
|
### `getStressCapacity()`
|
|
Gets the connected network's total stress capacity
|
|
|
|
**Returns**
|
|
- `number` The total stress capacity
|