Advertisement
FoxWorn3365

FoxLab

Nov 1st, 2021
1,046
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2. term.setCursorPos(1, 1)
  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: 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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement