You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some blocks that interact with CC or OC have absolutely no documentation(that i can find) for some of their methods.
Such as the Environmental scanner's getAtmosphere() method which just returns 2 booleans and an int, of which i managed to figure out that the second one reports air(?) presence.
Or the Biometric scanner's getScanResults() which returns a boolean, a nil and the name of the player, true indicating whether the scan was successful or not, but what is the nil value supposed to indicate?
And a fair bit more but those are from the top of my head.
I suggest these blocks should have their methods and the documentation of said methods on either the wiki or the ingame book.
The text was updated successfully, but these errors were encountered:
Environmental sensor comes with a preloaded script that gives the returned values names, should be fairly explicit. There's a pinned message on the official discord with the details.
Must've missed the script being preloaded since it doesnt start on startup like others, my bad, still some extensive documentation would be great in the future.
Alternatively implementing the getDocs() method as some other peripherals from other mods have, would also work wonders.
We've tried the an help or getDocs in the past but it doesn't work when we've so many methods available. A proper IDE would make more sense or maybe a dumped help file in a shared folder
Some blocks that interact with CC or OC have absolutely no documentation(that i can find) for some of their methods.
![image](https://user-images.githubusercontent.com/81186976/126680191-9c67be2d-5148-4595-a323-aaa99447cd89.png)
![image](https://user-images.githubusercontent.com/81186976/126682066-31bde02a-b3b4-4a93-9e88-27d9c9bcf900.png)
Such as the Environmental scanner's getAtmosphere() method which just returns 2 booleans and an int, of which i managed to figure out that the second one reports air(?) presence.
Or the Biometric scanner's getScanResults() which returns a boolean, a nil and the name of the player, true indicating whether the scan was successful or not, but what is the nil value supposed to indicate?
And a fair bit more but those are from the top of my head.
I suggest these blocks should have their methods and the documentation of said methods on either the wiki or the ingame book.
The text was updated successfully, but these errors were encountered: