beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.77k stars 294 forks source link

make con turrets that do not get any resources due to stalling "idle" so they can auto-repair #3362

Open matthiaskrgr opened 3 months ago

matthiaskrgr commented 3 months ago

Description

repro: 1) have aroud 3 mexes, 2 solars, 4 winds , a t1 bot or veh lab and 4 con turrets in range of bot lab 2) use botlab to constructors or centurions on repeat for example

=> all con turrets in range of the lab will auto-assist the lab => two of the con turrets will actually pump BP into the lab, the remaining ones won't as the former two will already fully exhaust the metal income, but all are still assigned to the lab.

3) send a damaged unit in range of the con turrets

It would be nice if the two con turrets that are metal-stalling would be "Idle" instead of trying to assist the lab (with resources that the player does not have) so that the could heal incoming units automatically.

Why?

requires less micro

What area of the game does this feature request pertain?

Gameplay

Other (optional)

im not sure if this will create conflicts when there are several things constructed at once and we have to decide which con turrets will be idle and which aren't? :thinking:

WatchTheFort commented 3 months ago

Provisionally approved by the GDT, given that repair can be made visually distinct from building. This is so that the construction turrets do not give the impression they are spending resources elsewhere when stalling.

SethDGamre commented 2 weeks ago

i believe this can piggyback off the builderpriortiy widget that already has most of the conditions in place to inject this behavior.