Add `gadget:ResourceExcess(excessTable) -> bool`
Passes a table: { [teamID] = {metal, energy, ...} }
The resources are the amount over the storage max,
accumulated over the frame. Called at the end of
every frame, contains data for every team.
Return true to take over engine handling; otherwise
the native behaviour of buffering it until the next
slowupdate will take place. S
sprunk committed
3f7e6497b04dd82b145d8a103fb198e4e2b7ab89
Parent: 8ee4aa0