beyond-all-reason / beyond-all-reason/RecoilEngine
Add `gadget:TeamResourceExcess(teamID, metal, energy) -> bool handled`
Open
- Dominant language
- C++
- Stars
- 679
- Forks
- 290
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 40
Description
Add a Lua event that lets a game handle resource excess. This would be anytime it goes to `resDelayedShare` in the current implementation. If a game doesn't handle it, direct it to `resDelayedShare` same as current.
Contributor guide
Research direction
Locate the current implementation's resDelayedShare path and trace when resource excess is detected. Review the Lua event API around that entry point, then verify that TeamResourceExcess(teamID, metal, energy) can handle the case and that unhandled cases still follow the existing resDelayedShare behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, lua
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100