Open qoala opened 4 years ago
To avoid needing to reserve arbitrarily many more timesteps for all guards, could reserve the ending point for all guards at t=999
or similar. Then check that both the requested t
and that t=999
final-reservation for tiles when t > 12
.
Split from https://github.com/qoala/InvisibleInc-CommunityBugFixes/issues/6#issuecomment-666862660
OMNI Protectors only reserve 11 timesteps in the pather. They calculate additional pathing during the guard turn if they still have more AP and haven't reached their destination.
They may end up moving beyond the end of observed/TAGged paths if they have enough firewalls. (because 11 timesteps counts diagonals as 1, the threshold for this is context dependent)
Presumably the fix would involve modifying the pather to predict their paths through their entire AP, not just truncate their movement to the observed path.