add bot action extinguishFire, add extinguish_fire.bt, use them #2957
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Make one alien bot devolve to advanced granger, and extinguish burnings alien buildables (if possible). The bot will only put out the fire on burning buildables, not fire on the map geometry. This is similar to the human bots being able to repair damaged buildables, but maybe more useful in practice.
Extinguishing fire is only reasonable near the overmind, because a bot has to reach the overmind, then devolve, and then reach the burning buildables. If this procedure takes too long, the fire vanishes by itself or the buildable is destroyed. Spawning as advanced granger is not useful, as the spawn point might be far away from the burning buildables.
I hope this will contribute to the discussions about wheter the firebomb is too strong. As our current bots only build on the floor, their bases are vulnerable to fire.