Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlling machines with ComputerCraft #806

Open
Burkino opened this issue Jan 22, 2024 · 1 comment
Open

Controlling machines with ComputerCraft #806

Burkino opened this issue Jan 22, 2024 · 1 comment
Labels
type: feature New feature or request

Comments

@Burkino
Copy link

Burkino commented Jan 22, 2024

Cross-mod Integration

CC: Tweaked

Feature Description

I would like for there to be a way to control Greg machines through ComputerCraft. Specifically, I want to control the programmed circuit; however more control (working, overclock, etc) would be nice. Being able to read the same data as an advanced activity detector cover and energy detector cover would make for some cool monitor displays.

getProgrammedCircuit() -> nil|0-32
setProgrammedCircuit(nil|0-32)
getWorking() -> true|false
setWorking(true|false)

@Burkino Burkino added the type: feature New feature or request label Jan 22, 2024
@richie3366
Copy link
Contributor

richie3366 commented Apr 30, 2024

While waiting for an official integration, you can use the KubeJS + CC: Tweaked mod that just got released (full disclosure: I contributed to porting it into 1.20.1).

There are GTCEu script examples in the main README. The methods you asked for are among them (except they will return -1 instead of nil when there is no circuit).

I'd be happy to read your feedback if you happen to use it! Even better if you develop some others of your own.
(CC: @kryj)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants