Merge branch 'nuke'
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using OpenRA.Effects;
|
||||
|
||||
namespace OpenRA.Traits
|
||||
{
|
||||
@@ -56,8 +57,8 @@ namespace OpenRA.Traits
|
||||
if (Owner != Owner.World.LocalPlayer)
|
||||
Sound.Play("alaunch1.aud");
|
||||
|
||||
// TODO: FIRE ZE MISSILES
|
||||
//w.Add(new NukeLaunch(silo));
|
||||
//FIRE ZE MISSILES
|
||||
w.Add(new NukeLaunch(silo, Info.MissileWeapon, order.TargetLocation));
|
||||
});
|
||||
|
||||
Game.controller.CancelInputMode();
|
||||
|
||||
@@ -33,6 +33,7 @@ namespace OpenRA.Traits
|
||||
public readonly string[] Prerequisites = { };
|
||||
public readonly int TechLevel = -1;
|
||||
public readonly bool GivenAuto = true;
|
||||
public readonly string MissileWeapon = "";
|
||||
|
||||
public abstract object Create(Actor self);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user