(Changed layout of this topic, dunno why though

)
Current Code:Engine download below, NOTE IT'S ALPHA 0.1 VERSION and only the basics is in the code!
And second note: The pririties aren't fully done and it may lag, you will know where to change though(if you don't it is cairuns!)!
Current problem:My AI can't attack properly and the priority levels are some bugged, but playable
Requests:Try download and find bugs for me!!!
.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Past Problems:There is no error message poppin' up anymore, which seems good, but I get a problem... The priority ain't changing...
Fixed, YEY!
attempt to index field '?' (a nil value)
at line 189. FIXED!
Another problem is:
invalid arguments to method call
at line 123. FIXED!
Another problem, not that big, but gets big over time:
Why are the roids recognized as "having treespace remaining" while it doesn't?
Picture info:
200 Means it is supposed to be scouted, but only if the neighbours have a higher priority(number).
100 Means need trees, now why won't this code work?
GetAsteroid(asteroids):AvailableStructureSpace()
and yes, I know it is a boolean

FIXED and it works for people that will use this
DOWNLOAD:Recomended number of roids is under or 50 roids!!!!!