OpenRA / OpenRA/OpenRA

Passengers' ProvidesPrerequisite is ignored.

Open
#12,433 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.