Paradrop Production

This commit is contained in:
Bynnar18
2016-01-04 03:01:09 -06:00
committed by Oliver Brakmann
parent 728bad9565
commit a9ffe0a779
9 changed files with 187 additions and 9 deletions

View File

@@ -22,8 +22,8 @@ namespace OpenRA.Mods.Cnc.Traits
public class ProductionAirdropInfo : ProductionInfo
{
public readonly string ReadyAudio = "Reinforce";
[Desc("Cargo aircraft used.")]
[ActorReference] public readonly string ActorType = "c17";
[Desc("Cargo aircraft used for delivery. Must have the `Aircraft` trait.")]
[ActorReference(typeof(AircraftInfo))] public readonly string ActorType = "c17";
public override object Create(ActorInitializer init) { return new ProductionAirdrop(init, this); }
}