This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
skyblocker444's profile picture

How to detect for potion effects?

Started by skyblocker444, 12 March 2015 - 09:25 PM
skyblocker444 #1
Posted 12 March 2015 - 10:25 PM
Hey, I've been thinking of a Radiation Detector for BigDig, I'm new to OpenSensors/OpenPeripherals, and both of these mods are installed

Does anyone know how to do this?
KingofGamesYami #2
Posted 13 March 2015 - 02:37 AM
I very much doubt you can detect potion effects.

However, if you do have a peripheral that allows this, you can easily test for methods:


local toTest = "right"
textutils.pagedTabulate( peripheral.getMethods( toTest ) )

This code prints the methods of a peripheral attached to the right side of a computer.