Vultures get stuck
TikhonJelvis opened this issue · 1 comments
If two vultures try to suck up the same corpse, one of them gets stuck.
Steps to reproduce:
- kill some robots
- summon two vultures to the same area
- wait for one to get stuck
I think it's a problem with the loop that decides whether a vulture is currently salvaging anything. Perhaps we could just fix this by making the vultures' pathfinding more intelligent at avoiding other vultures? This would make using multiple vultures simultaneously much easier.
Interesting, I was watching somebody else play the game and this bug came up repeatedly—but the player didn't notice until I pointed it out!
Anyhow, I figure fixing this is a good step towards polishing the game up a bit post-LD.
I think it might be good to also take a look at the other bot classes re: digging and resource collection. I haven't noticed them freezing like the vultures, but it does make me think that often they move so quickly, are we sure that bots working on the same resource aren't somehow doubling the resource collected by both filling up with the amount being removed? I haven't taken a look at the logic they use so I could be entirely off base.