Create/wiki/Lua-Stressometer.md
caelwarner fac1ebcd3f
Added documentation for most peripherals
- 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
2023-03-11 16:12:58 -08:00

578 B

Method Description
getStress() Gets the current stress level
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