Make crates collectable; make cnc walls targetable.

This commit is contained in:
Paul Chote
2010-07-31 01:30:16 +12:00
parent 9b051a6624
commit dd7008d7ee
2 changed files with 4 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ namespace OpenRA.Mods.RA
this.self = init.self;
this.Location = init.location;
this.Info = info;
self.World.WorldActor.traits.Get<UnitInfluence>().Add(self, this);
}
public void OnCrush(Actor crusher)

View File

@@ -153,6 +153,8 @@
DamagedSound: xplos.aud
DestroyedSound: xplobig4.aud
Adjacent: 7
Targetable:
TargetTypes: Ground
Wall:
CrushClasses: wall
LineBuild: