mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-08 14:50:51 -04:00
Created Component/Sign (markdown)
parent
c155926942
commit
20d3f9a033
8
Component-Sign.md
Normal file
8
Component-Sign.md
Normal file
@ -0,0 +1,8 @@
|
||||
This is the component provided by the [[Sign Upgrade|Items#sign-upgrade]].
|
||||
|
||||
Component name: `sign`.
|
||||
Callbacks:
|
||||
- `getValue(): string or nil, string`
|
||||
Gets the text currently displayed on the sign in front of the robot, or `nil` and an error message if there is no sign in front of the robot.
|
||||
- `setValue(value: string): string or nil, string`
|
||||
Sets the text of the sign in front of the robot. Returns the new text on the sign (which may be a truncated version of the passed argument) or `nil` and an error message if there is no sign in front of the robot.
|
Loading…
x
Reference in New Issue
Block a user