Passengers' ProvidesPrerequisite is ignored.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 17.4k
- Forks
- 3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 14
Description
So I have a neutral mercenary faction with a hero. I had this idea that by capturing the mercenary tech building, the player can either
- build the merc barracks and train the hero normally
- call in a paradrop of an APC-akin with the hero inside.
I put a ProvidesPrerequisite on the hero which prevents the APC call-in when he's around, however when he's sitting in the APC, the paradrop is still available. Note that I consider the APC disposable, so it's not the APC which should prevent that paradrop, but only the hero.
Semi-related to #5872.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the neutral mercenary setup described in the issue: a hero with ProvidesPrerequisite inside a disposable APC, alongside the APC paradrop call-in. Read the prerequisite and paradrop handling referenced by the behavior and compare the related discussion in #5872; done means the hero prevents the call-in whether he is trained normally or inside the APC, while the APC alone does not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100