Posted 30 June 2014 - 04:35 PM
Hello,
I'm searching for a while now how to get the pressure from Pneumaticcraft.
On the website of the mod there is are some commands listed:
-getPressure(), getPressure(<side>) – Will get the pressure in the block. The side parameter is an optional parameter, and is currently only useful when getting the pressure from a Vacuum Pump, as it contains two different pressures.
-getDangerPressure() – This is a constant, it’ll be 5 bar for tier one machines, and 20 for tier two.
-getCriticalPressure() – This is a constant, it’ll be 7 bar for tier two machines, and 25 for tier two."
If I run the getPressure() thing i get the "attempt to call nil" error.
[SCREENSHOT]
Thanks in advance,
TIm
I'm searching for a while now how to get the pressure from Pneumaticcraft.
On the website of the mod there is are some commands listed:
-getPressure(), getPressure(<side>) – Will get the pressure in the block. The side parameter is an optional parameter, and is currently only useful when getting the pressure from a Vacuum Pump, as it contains two different pressures.
-getDangerPressure() – This is a constant, it’ll be 5 bar for tier one machines, and 20 for tier two.
-getCriticalPressure() – This is a constant, it’ll be 7 bar for tier two machines, and 25 for tier two."
If I run the getPressure() thing i get the "attempt to call nil" error.
[SCREENSHOT]
Spoiler
Thanks in advance,
TIm