View difference between Paste ID: kivaGD5B and UtJ7vHMT
SHOW: | | - or go back to the newest paste.
1
while true do
2
term.setCursorPos(1, 1)
3-
set = peripheral.wrap("back")
3+
set = peripheral.wrap("bottom")
4
term.setBackgroundColor(colors.white)
5
term.clear()
6
term.setBackgroundColor(colors.white)
7
term.setTextColor(colors.black)
8-
print("Tecnico di laboratorio: elchurro244")
8+
print("Tecnico di laboratorio: FireLeoYT")
9
print("Produzione: Titanium Ingot")
10
print("\nBrevettato: SI (FoxInvest Holding - N 001)")
11
print("Paga per lingotto: 0.65IC")
12
for k, v in pairs(set.listAll()) do
13
  if v["displayName"] == "Titanium Ingot" then
14
     print("\n\n\nLingotti totali: "..v['amount'].."\nPaga totale: "..(v['amount'] * 0.65).."IC")
15
  end
16
end
17
sleep(0.2)
18
end   
19