Comment 14 for bug 1535115

Revision history for this message
TiborB (tiborb95) wrote :

That timer would need to be discussed and approved by SirVer and GunChleoc.

BTW you are not right with this:
> a timer on the flag that would activate only when the 8th ware is deposited on the flag, and would reset anytime a ware is removed. Since it is rare that flags get an 8th ware, it should not generate too much calculus.
The engine would need to calculate this every time a ware is received (to find out if it is eight ware) and when a ware is leaving to find out if timer* has to be reseted.

* Well - the "timer" is to be a gametime when an eight ware was delivered, this is static number - no special calculation here when this is "on".

Generally it means adding one uint32_t to each flag and two small tests when ware is delivered and is leaving the flag