View difference between Paste ID: xqUpfH9T and e7RQ5X4H
SHOW: | | - or go back to the newest paste.
1-
x = peripheral.wrap("back")
1+
while true do
2
3-
t1 = x.getTanks()[1].amount
3+
	x = peripheral.wrap("back")
4-
t2 = x.getTanks()[2].amount
4+
	y = peripheral.wrap("buildcraftengergy:engine_iron_2")
5-
t3 = x.getTanks()[3].amount
5+
	b3 = peripheral.wrap("buildcraftengergy:engine_iron_3")
6
	
7
8
9-
print("risdue", t3)
9+
	t1 = x.getTanks()[1].amount
10
	term.setCursorPos(1,2)
11
	t2 = x.getTanks()[2].amount
12
	term.setCursorPos(1,3)
13
	t3 = x.getTanks()[3].amount
14
15
16
term.setCursorPos(5,1)
17
print("ENG 1")
18
term.setCursorPos(5,2)
19
term.clearLine()
20
print("Gas",t1)
21
term.clearLine()
22
term.setCursorPos(5,3)
23
term.clearLine()
24
print("water",t2)
25
term.setCursorPos(5,4)
26
term.clearLine()
27
print("risdue", t3)
28
29
print('  ..   ')
30
31
21 = x.getTanks()[1].amount
32
	term.setCursorPos(1,2)
33
	22 = x.getTanks()[2].amount
34
	term.setCursorPos(1,3)
35
	23 = x.getTanks()[3].amount
36
37
38
term.setCursorPos(2,6)
39
print("ENG 2  ")
40
term.setCursorPos(2,7)
41
term.clearLine()
42
print("Gas",21)
43
term.clearLine()
44
term.setCursorPos(2,8)
45
term.clearLine()
46
print("water",22)
47
term.setCursorPos(2,9)
48
term.clearLine()
49
print("risdue", 23)
50
51
52
term.setCursorPos(1,11)
53
print("    3       ..")
54
41 = x.getTanks()[1].amount
55
	term.setCursorPos(1,2)
56
	42 = x.getTanks()[2].amount
57
	term.setCursorPos(1,3)
58
	43 = x.getTanks()[3].amount
59
60
term.setCursorPos(3 12)
61
print("-----------------------")
62
term.setCursorPos(1,12)
63
print("  ENG 3  ")
64
term.setCursorPos(1,13)
65
term.clearLine()
66
print("Gas",41)
67
term.clearLine()
68
term.setCursorPos(1,14)
69
term.clearLine()
70
print("water",42)
71
term.setCursorPos(1,15)
72
term.clearLine()
73
print("risdue", 43)
74
75
end