Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Pheggas

Reactor Logic Adapter

Question

Hello. So i set up Fusion Reactor from Mekanism. According to this site, i used some functions. After then i realised names of functions are different.

List of functions i've got:

canIgnite
getCapacity
getCaseHeat
getEnergy
getEnergyStored
getFuel
getIgnitionTemp
getInjectionRate
getMaxCaseHeat
getMaxEnergy
getMaxEnergyStored
getMaxPlasmaHeat
getOfferedEnergy
getOutput
getPlasmaHeat
getProducing
getSinkTier
getSteam
getStored
getWater
hasFuel
isEnergyProvider
isEnergyReceiver
isIgnited
setInjectionRate

I wanted to get Deuterium and Tritium from the functions but there's no function like that.
Can somebody help how to get Deuterium and Tritium values?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Well, you have the function getFuel, which according to the site you've linked should return the amount of Deuterium and Tritium fuel, but I can't tell you in which form. It says something about D-T-fuel which comes from mixing both in a chemical infuser, but I haven't used mechanism in a while so can't help you out there.

Also, have you tried calling getDeuterium() or getTritium()?

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, CptMercury said:

Well, you have the function getFuel, which according to the site you've linked should return the amount of Deuterium and Tritium fuel, but I can't tell you in which form. It says something about D-T-fuel which comes from mixing both in a chemical infuser, but I haven't used mechanism in a while so can't help you out there.

Also, have you tried calling getDeuterium() or getTritium()?

Of course. That's why i listed all the functions i have avalible. Because i can't call that two functions because simply they're not there.

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, CptMercury said:

Alright. What does getFuel() return?

0.0 because I'm feeding reactor with deuterium and tritium and not mixed D-T fuel. That getFuel() is function for getting mixed D-T fuel. What I want is deuterium and tritium separated.

Share this post


Link to post
Share on other sites
  • 0

This commit (2017-03-30) added getDeuterium and getTritium: https://github.com/mekanism/Mekanism/commit/3eba40c8700a5165f3ce52088643f141c8d0ab57

Here's the PR: https://github.com/mekanism/Mekanism/pull/4282

Since you don't have these methods, you're probably using some really outdated version of Mekanism. You could update the mod or patch it yourself.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.