Guest User

Untitled

a guest
Oct 18th, 2014
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.26 KB | None | 0 0
  1. while (ingredients["EON"] >= 4 and ingredients["WOB"] >= 2)
  2.     ingredients["AF"] += 3
  3.     ingredients["TOW"] += 4
  4.     ingredients["EON"] -= 4
  5.     ingredients["WOB"] -= 2
  6.     # ==/== DEBUG ==/==
  7.     puts "4 EON and 2 WOB convereted into +3 AF and +4 TOW"
  8. end
Advertisement
Add Comment
Please, Sign In to add comment