View difference between Paste ID: 696L80PH and pLhGFbQx
SHOW: | | - or go back to the newest paste.
1-
mon = peripheral.wrap("front")
1+
mon = peripheral.wrap("top")
2
cel = peripheral.wrap("left")
3
4-
rsStrength = rs.getAnalogInput("left")
4+
5-
  if rs.getAnalogInput("left") < 14 then
5+
mon.setTextScale(2)
6-
    rs.setOutput("bottom", true)
6+
energy = cel.getEnergyStored("left")
7-
    mon.setBackgroundColor(colors.green)
7+
  if cel.getEnergyStored("left") < 10000000 then
8-
    mon.write("BigReactor Active!")
8+
    rs.setOutput("back", true)
9
    mon.setTextColor(colors.red)
10-
    mon.write("RS Strength:" ..rsStrength)
10+
    mon.write("LOW ENERGY")
11-
    sleep(10)
11+
12
    mon.write("RF:" ..energy)
13-
    rs.setOutput("bottom", false)
13+
    mon.setCursorPos(1,4)
14-
    mon.setBackgroundColor(colors.red)
14+
    mon.setTextColor(colors.yellow)
15-
    mon.write("BigReactor Disabled!")
15+
    mon.write("SPAWNING WITHER")
16
    sleep(5)
17-
    mon.write("RS Strengtgh:" ..rsStrength)
17+
18-
    sleep(10)
18+
    rs.setOutput("back", false)
19
    mon.setTextColor(colors.green)
20
    mon.write("ENERGY OK")
21
    mon.setCursorPos(1,2)
22
    mon.write("RF:" ..energy)
23
    sleep(5)
24
  end
25
mon.clear()
26
mon.setCursorPos(1,1)
27
end