Remove default building capture type.
This commit is contained in:
@@ -17,8 +17,9 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("This actor can be captured by a unit with Captures: trait.")]
|
[Desc("This actor can be captured by a unit with Captures: trait.")]
|
||||||
public class CapturableInfo : ConditionalTraitInfo, Requires<CaptureManagerInfo>
|
public class CapturableInfo : ConditionalTraitInfo, Requires<CaptureManagerInfo>
|
||||||
{
|
{
|
||||||
|
[FieldLoader.Require]
|
||||||
[Desc("CaptureTypes (from the Captures trait) that are able to capture this.")]
|
[Desc("CaptureTypes (from the Captures trait) that are able to capture this.")]
|
||||||
public readonly BitSet<CaptureType> Types = new BitSet<CaptureType>("building");
|
public readonly BitSet<CaptureType> Types = default(BitSet<CaptureType>);
|
||||||
|
|
||||||
[Desc("What diplomatic stances can be captured by this actor.")]
|
[Desc("What diplomatic stances can be captured by this actor.")]
|
||||||
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
|
public readonly Stance ValidStances = Stance.Neutral | Stance.Enemy;
|
||||||
|
|||||||
@@ -22,8 +22,9 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("This actor can capture other actors which have the Capturable: trait.")]
|
[Desc("This actor can capture other actors which have the Capturable: trait.")]
|
||||||
public class CapturesInfo : ConditionalTraitInfo, Requires<CaptureManagerInfo>
|
public class CapturesInfo : ConditionalTraitInfo, Requires<CaptureManagerInfo>
|
||||||
{
|
{
|
||||||
|
[FieldLoader.Require]
|
||||||
[Desc("Types of actors that it can capture, as long as the type also exists in the Capturable Type: trait.")]
|
[Desc("Types of actors that it can capture, as long as the type also exists in the Capturable Type: trait.")]
|
||||||
public readonly BitSet<CaptureType> CaptureTypes = new BitSet<CaptureType>("building");
|
public readonly BitSet<CaptureType> CaptureTypes = default(BitSet<CaptureType>);
|
||||||
|
|
||||||
[Desc("Targets with health above this percentage will be sabotaged instead of captured.",
|
[Desc("Targets with health above this percentage will be sabotaged instead of captured.",
|
||||||
"Set to 0 to disable sabotaging.")]
|
"Set to 0 to disable sabotaging.")]
|
||||||
|
|||||||
Reference in New Issue
Block a user