Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/local/bin/io
- Lobby stockpile := Number clone
- Lobby stockpile = -50
- Producer := Object clone
- Consumer := Object clone
- Producer crankEmOut := method (amount, delay, trigger,
- loop (while (Lobby stockpile < trigger, Lobby stockpile = Lobby stockpile + amount println; Lobby stockpile println, wait(delay))))
- Consumer buyEmUp := method (
Add Comment
Please, Sign In to add comment