Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- joblist = df.world.job_list.next
- count = 0
- while joblist
- job = joblist.item
- joblist = joblist.next
- if job.job_type == :ConstructBuilding
- if (job.flags.suspend)
- item = job.items[0].item
- job.flags.suspend = false
- count += 1
- end
- end
- end
- puts "Unsuspended #{count} job(s)."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement