Move ValidRelations from Capturable to Captures#20261
Merged
Merged
Conversation
PunkPun
force-pushed
the
move-relations
branch
3 times, most recently
from
September 6, 2022 17:38
1c8d62e to
1944e6a
Compare
Member
|
I think if we want a real improvement (in flexibility) we should have both. Otherwise this is simply moving stuff around for no actual gain (well yes, consistency). |
Member
Author
|
we gain the ability to treat capturing as a weapon, if we keep on the capturee we'll lose that again |
Member
|
Okay, how do you denote that "this is a special structure that can be captured by an/any friendly capturing unit (engineer)"? |
Member
Author
|
See TD engineer in this PR. For me this is a necessary step towards |
PunkPun
force-pushed
the
move-relations
branch
from
October 11, 2022 15:45
1944e6a to
7470e32
Compare
PunkPun
force-pushed
the
move-relations
branch
from
November 16, 2022 19:34
7470e32 to
df22f1e
Compare
PunkPun
force-pushed
the
move-relations
branch
3 times, most recently
from
December 16, 2022 08:51
6daad0a to
1179053
Compare
PunkPun
force-pushed
the
move-relations
branch
2 times, most recently
from
June 3, 2023 07:28
c481a99 to
690484a
Compare
PunkPun
force-pushed
the
move-relations
branch
3 times, most recently
from
August 8, 2023 13:02
34a737f to
8f0fae9
Compare
PunkPun
force-pushed
the
move-relations
branch
from
August 20, 2023 20:24
8f0fae9 to
01417a7
Compare
RoosterDragon
approved these changes
Aug 22, 2023
RoosterDragon
left a comment
Member
There was a problem hiding this comment.
Motivations seem reasonable enough to me.
Member
PunkPun
force-pushed
the
move-relations
branch
from
September 5, 2023 14:57
01417a7 to
4a79766
Compare
Member
Author
|
Fixed |
To better match weapon definitions
PunkPun
force-pushed
the
move-relations
branch
from
September 5, 2023 15:07
4a79766 to
6bea79b
Compare
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

When working on adding auto-target for
CapturesI noticed that valid player relationships is defined onCapturableinstead ofCaptures. This is the complete opposite of how we define weapons, we put ValidRelations on warheads and projectiles. Not on the targets.