Vallarr / Game

0 stars 0 forks source link

Collecting dropped resource #3

Closed Vallarr closed 7 years ago

Vallarr commented 8 years ago

Now all creeps on range will try to collect dropped resources. Limit this to just 1 creep per dropped resource.

Vallarr commented 7 years ago

Commit f2843b226b0a888b3f189ea6c95e77e590077f8c fixed such that each dropped resource is only targeted by 1 creep. The targeted resource is also always the closest one by range.

Should still be improved! The creep must go to whichever is closest: the resource or the target container.

Vallarr commented 7 years ago

Fixed resource collection for transporter creeps 0db1419fa9c185b727d15bf684e4a501734e7cfe