Posted 12 November 2013 - 01:17 PM
could it be possible to add a comparitor function to the redstone api. I imagine it could work like so:
int = redstone.comparitor( primaryside , secondaryside )
Where primaryside / secondaryside (behaving as the back and side of a comparitor respectively) could be either integers to replicate analog redstone levels or be strings that are sides. Using it you could access information that a comparitor could, such as how full a chest is or even utilise any mods custom comparitor implementation. The function would return an integer that is the output of the comparitor.