mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-03 15:13:07 +00:00
Hopefully this will make tracking changes and merging future CC: Tweaked development easier! A lot of this is making whitespace and method ordering even with Tweaked to bring down the diffs, but it also fast forwards us to CC:T 1.99.0 features.
15 lines
286 B
Markdown
15 lines
286 B
Markdown
---
|
|
module: [kind=event] redstone
|
|
---
|
|
|
|
The @{event!redstone} event is fired whenever any redstone inputs on the computer change.
|
|
|
|
## Example
|
|
Prints a message when a redstone input changes:
|
|
```lua
|
|
while true do
|
|
os.pullEvent("redstone")
|
|
print("A redstone input has changed!")
|
|
end
|
|
```
|