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

A unit can only have 1 working stockpile weapon

Open
#1,817 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 1h
Merged PRs (30d)
38

Description

* one of the stockpile weapons will be assigned as "the" stockpile weapon on a unit.
* Lua interfaces apply "to the unit", i.e. to that weapon, and you can't specify a different one.
* native stockpile command will only apply to ammo for that weapon. This is probably fine if you can use Lua, but the command could have a weapon index parameter.
* the other weapons are still technically stockpile weapons so can't fire due to being stuck at 0 ammo.

Contributor guide

Open the contributing guide

Research direction

The issue names Lua interfaces and the native stockpile command; start by tracing those entry points and how a unit selects its stockpile weapon. No files or tests are identified. Done should mean that each stockpile weapon can be addressed independently and that additional stockpile weapons are not left unable to fire.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.