Jump to content




How to detect for potion effects?

computer lua peripheral

1 reply to this topic

#1 skyblocker444

  • New Members
  • 1 posts

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?

#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users