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

[Suggestion] RF or EU #41

Open
Nex4rius opened this issue Apr 18, 2017 · 4 comments
Open

[Suggestion] RF or EU #41

Nex4rius opened this issue Apr 18, 2017 · 4 comments

Comments

@Nex4rius
Copy link

Please add a method in the OC / CC intergration to check if the power units connected to the stargate are EU or RF.
With that it would be possible to automatically switch the control programs to display energy in EU or RF without requiring user input.

@gcewing
Copy link
Owner

gcewing commented Apr 18, 2017 via email

@Nex4rius
Copy link
Author

Why would that be complicated?
Something like this

=sg.energySource()
{RF = false, EU = true, Naquadah = false}

The exact combination that is used doesn't have to be reported back.

@StargateMC
Copy link

StargateMC commented May 4, 2017

The ciAvailableEnergy() method shows power in SG - which is SGCraft's own power unit.

1 SG is 20 EU
1 SG is 80 RF

I'd suggest you provide an interface that displays it in SG, or something like:

Power Available: 1 SG (20 EU / 80 RF)

The reason you should cater for both (my opinion here) is because you can have a combination of different power sources under the gate at any time, so using this request to display one power unit in your computer app is a bit pointless.

@gcewing
Copy link
Owner

gcewing commented May 4, 2017

Displaying in alternative units is something that can easily be handled by a program, so it doesn't belong in the interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants