beyond-all-reason / beyond-all-reason/RecoilEngine

Add AI and Lua event for when buildoptions change

Open
#1,275 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
C++
Stars
683
Forks
293
Avg merge
3d 2h
Merged PRs (30d)
40

Description

5bb1f00af323860446671381bee85b2b0ec6d023 added dynamic buildoptions, but AI and Lua are not informed when this happens. Add events like `BuildOptionAdded(unitID, buildeeDefID)` and `BuildOptionRemoved`.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting commit 5bb1f00af323860446671381bee85b2b0ec6d023 and the dynamic buildoptions implementation. Trace how build options change and how AI and Lua events are exposed. Done means AI and Lua receive corresponding added and removed events whenever a build option changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
api, game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.