daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Feb 23rd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. joblist = df.world.job_list.next
  2. count = 0
  3.  
  4. while joblist
  5.     job = joblist.item
  6.     joblist = joblist.next
  7.    
  8.     if job.job_type == :ConstructBuilding
  9.         if (job.flags.suspend)
  10.             item = job.items[0].item
  11.             job.flags.suspend = false
  12.             count += 1
  13.         end
  14.     end
  15. end
  16.  
  17. puts "Unsuspended #{count} job(s)."
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top