Improve Replaceable logic:

- Remove BuildingInfluence checks
- Support multiple Replaceable/Replacement traits on the same actors
- Fix description typos
This commit is contained in:
Paul Chote
2020-10-08 22:37:12 +01:00
committed by abcdefg30
parent 8aeec24c9b
commit daa8c74c37
4 changed files with 54 additions and 25 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenRA.Mods.Common.Traits
public class ReplacementInfo : TraitInfo<Replacement>
{
[FieldLoader.Require]
[Desc("Replacement type (matched against Conditions in Replaceable).")]
[Desc("Replacement type (matched against Types in Replaceable).")]
public readonly HashSet<string> ReplaceableTypes = new HashSet<string>();
}