Mekanism

Mekanism

111M Downloads

[Suggestion] Solar Evaporation Plant Computer port/lua support

MJRLegends opened this issue ยท 6 comments

commented

I think it would be cool to have a computer port for the Solar Evaporation Plant so you can monitor the towers,

Added these methods:
getInputFluidName() - To get the name of the fluid being piped in, so Water or Brine
getOutputFluidName() - To get the name of the fluid being piped in, so Lithium or Brine
getInputFluidAmount() - To get amount of liquid stored in the input tank (mb)
getOutputFluidAmount() - To get amount of liquid stored in the output tank (mb)
getHeight() - To get the tower height
isFormed() - Check its formed (maybe this one wouldnt work because the tower would have to be formed to use the port in the first place?)
getMultiplier() - Check the multiplier for the biome its in
getPowerStored() - To see how much power is stored in it

Extra possible features:
setActive(boolean) - To turn the tower on and off, maybe it could be added to the GUI and LUA support?

commented

Duplicate of #3116

commented

This is not a duplicate of my other issue post as this one is do with something else compared to that one

commented

Oh, I'm sorry. I read the other one as a generalized request to extend the lua support of mekanism blocks and machines.

commented

New method list:

  • "getTemperature"
  • "getHeight"
  • "isFormed"
  • "getInput" (fluid amount)
  • "getOutput" (fluid amount)

Hope that helps :)

commented

Sweet thanks

commented

@aidancbrady any chance we could get a get getMaxInput and getMaxOutput and getEnergyStored and getProductionTick too?