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

Reactor Computer Port missing documentation #23

Open
fatboychummy opened this issue Aug 2, 2021 · 7 comments
Open

Reactor Computer Port missing documentation #23

fatboychummy opened this issue Aug 2, 2021 · 7 comments
Labels
1.16 1.18 1.19 Documentation Improvements or additions to documentation Priority: Medium This should be worked on soon.

Comments

@fatboychummy
Copy link

As the title states.

I help a lot in a discord server for computercraft and etc, and a common thing I've noticed is people rolling in stating that bigger reactors has changed the functions that are used, but that there is no docs for it.

Basic documentation would be nice to have, or if some already exists could you point me to it?

@gizmocodes
Copy link
Member

Yeah, currently our documentation is lacking because none of us have taken the time to really work on the wiki. Currently, until documentation is written for it, the best way to see what functions there are is literally by looking at the source (which isn't ideal, but it works for now).

Inside of the the source files, each function that can be called will have an @LuaFunction above it. These are the three peripherals defined for CC usage: Reactor, Turbine, Heat Exchanger. As an example, (this is from memory) you should be able to do connected() as a function for the Reactor Computer Port, and it should return true or false depending on whether the reactor is properly assembled. Rogue can correct me if needed, since he was the one who wrote the peripherals (as well as most of the mod).

We hope to have the wiki properly updated with an easily navigable page at some point in the future, but it just hasn't happened yet. If you would like, me and Rogue can provide more support in the Discord for more usage on the various functions. I'mma leave this issue up though because it is something we need to do for the wiki.

@gizmocodes gizmocodes added the Documentation Improvements or additions to documentation label Aug 2, 2021
@Wolf1596Games
Copy link

Is there any way I can get a link to that Discord? I'm trying to modify a program that was written a few years ago for BigReactor control but there are some functions that don't exist/aren't working properly and I'd like some help.

@RogueLogix
Copy link
Member

its on curseforge

@fatboychummy
Copy link
Author

Is there any way I can get a link to that Discord? I'm trying to modify a program that was written a few years ago for BigReactor control but there are some functions that don't exist/aren't working properly and I'd like some help.

We're the Minecraft Computer Mods discord server.

@RogueLogix RogueLogix added the Priority: Medium This should be worked on soon. label Dec 25, 2022
@Rising-Galaxy
Copy link

How to use them?
e.g.
local reactor = peripheral.find("BiggerReactors_Reactor")
local fuel = reactor.fuel()
if I wanna use the fuel() function, it is right?
but it tell me: attempt to call field 'fuel'

@Rising-Galaxy
Copy link

Thank you. This has been very helpful to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.16 1.18 1.19 Documentation Improvements or additions to documentation Priority: Medium This should be worked on soon.
Projects
None yet
Development

No branches or pull requests

6 participants