View difference between Paste ID: FiBUCWbJ and vL4zeCtx
SHOW: | | - or go back to the newest paste.
1-
os.loadAPI("button")
1+
local drum = peripheral.wrap("drum_0")
2-
local m = peripheral.wrap("right")
2+
local m = peripheral.wrap("monitor_0")
3-
local rsOut = {}
3+
4-
local c = peripheral.wrap("container_chest_0")
4+
m.setTextColor(colors.green)
5-
local a = peripheral.wrap("tt_magnet_0")
5+
m.setTextScale(1.6)
6-
local s = peripheral.wrap("tile_mfr_machine_autospawner_name_0")
6+
7
while true do
8-
local mobArray = {}
8+
9-
local buttonColors = {}
9+
m.setCursorPos(1,1)
10-
local attractorStatus = ""
10+
tableInfo = drum.getTankInfo("west")
11-
local page = 1
11+
currentAmount = tableInfo[1].amount
12-
local pages = 0
12+
m.write("Current Essence Stored")
13-
local currMob = ""
13+
m.setCursorPos(5,3)
14-
   
14+
m.write(currentAmount.." ML")
15-
function fillMainTable()
15+
sleep(0.3)
16-
   getCurrMob()
16+
end