mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-24 18:37:38 +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.
286 B
286 B
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:
while true do
os.pullEvent("redstone")
print("A redstone input has changed!")
end