Create/wiki/Lua-Stressometer.md

19 lines
594 B
Markdown
Raw Normal View History

| Method | Description |
|---------------------------------------------|--------------------------------|
| [`getStress()`](#getStress) | Gets the current stress level |
| [`getStressCapacity()`](#getStressCapacity) | Gets the total stress capacity |
---
### `getStress()`
2023-04-13 00:55:20 +02:00
Gets the connected network's current stress level.
**Returns**
2023-04-13 00:55:20 +02:00
- `number` The current stress level in SU.
---
### `getStressCapacity()`
2023-04-13 00:55:20 +02:00
Gets the connected network's total stress capacity.
**Returns**
2023-04-13 00:55:20 +02:00
- `number` The total stress capacity in SU.