Tweak capturing traits

This commit is contained in:
Paul Chote
2011-04-10 12:34:54 +12:00
parent a31ef3d8e2
commit 362170ee67
7 changed files with 109 additions and 76 deletions

View File

@@ -16,7 +16,10 @@ namespace OpenRA.Mods.RA
{
public class CapturableInfo : TraitInfo<Capturable>
{
public readonly string[] CaptureClasses = {"Building"};
public readonly string Type = "building";
public readonly bool AllowAllies = false;
public readonly bool AllowNeutral = false;
public readonly bool AllowEnemies = true;
}
public class Capturable {}