Jackson_Pike

Blahhhh

Feb 4th, 2026
2,865
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 1 0
  1. -- burnRateMbT: fuel burn rate in mB per tick
  2. -- seconds: how long the reactor runs
  3. -- returns: ingots consumed
  4. function ingotsUsed(burnRateMbT, seconds)
  5.     local ticks = seconds * 20
  6.     local milliBuckets = burnRateMbT * ticks
  7.     local ingots = milliBuckets / 1000
  8.     return ingots
  9. end
  10.  
  11. local burnRate = 0.1 -- mB/t
  12.  
  13. print("Per minute:", ingotsUsed(burnRate, 60))
  14. print("Per hour:", ingotsUsed(burnRate, 3600))
Advertisement