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

Add "are allyteams allied" functions, esp. to skirmish AI

Open
#3,099 0 comments 0 reactions 0 assignees View on GitHub
area: Lua API
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

Similar to Lua `Spring.AreTeamsAllied` except you would pass allyteamID instead of teamID.

Skirmish AI doesn't even have an AreTeamsAllied equivalent, so this is the more pressing part of the task. Add both.

- [ ] `spAreAllyTeamsAllied` added to Lua
- [ ] "are allyteams allied" added to Skirmish AI
- [ ] "are teams allied" added to Skirmish AI

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing Lua Spring.AreTeamsAllied entry point and the Skirmish AI team-alliance APIs. Trace how the Lua function receives team IDs, then identify the corresponding allyteam and team checks. Done means Lua exposes spAreAllyTeamsAllied and Skirmish AI provides both allyteam-allied and team-allied functions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.