mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-16 14:13:42 +01:00
fac1ebcd3f
- 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
|