From fa0d6b3e7217eeb4b2f8a4323d8fceaa9bfa14fc Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 19 Jul 2010 19:43:37 +1200 Subject: [PATCH] move LimitedAmmo to RA dll; reduce pips for YAK --- OpenRA.Game/OpenRA.Game.csproj | 1 - {OpenRA.Game/Traits => OpenRA.Mods.RA}/LimitedAmmo.cs | 3 ++- OpenRA.Mods.RA/OpenRA.Mods.RA.csproj | 1 + mods/ra/vehicles.yaml | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) rename {OpenRA.Game/Traits => OpenRA.Mods.RA}/LimitedAmmo.cs (92%) diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index a597bc610e..f8324cf0f0 100755 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -171,7 +171,6 @@ - diff --git a/OpenRA.Game/Traits/LimitedAmmo.cs b/OpenRA.Mods.RA/LimitedAmmo.cs similarity index 92% rename from OpenRA.Game/Traits/LimitedAmmo.cs rename to OpenRA.Mods.RA/LimitedAmmo.cs index 56011bf347..97451975c1 100644 --- a/OpenRA.Game/Traits/LimitedAmmo.cs +++ b/OpenRA.Mods.RA/LimitedAmmo.cs @@ -9,8 +9,9 @@ #endregion using System.Collections.Generic; +using OpenRA.Traits; -namespace OpenRA.Traits +namespace OpenRA.Mods.RA { class LimitedAmmoInfo : ITraitInfo { diff --git a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj index b4b6af2f26..c3dfc3127a 100644 --- a/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj +++ b/OpenRA.Mods.RA/OpenRA.Mods.RA.csproj @@ -82,6 +82,7 @@ + diff --git a/mods/ra/vehicles.yaml b/mods/ra/vehicles.yaml index 708991ab93..f7c023ed7d 100644 --- a/mods/ra/vehicles.yaml +++ b/mods/ra/vehicles.yaml @@ -588,7 +588,8 @@ YAK: RenderUnit: WithShadow: LimitedAmmo: - Ammo: 15 + Ammo: 16 + PipCount: 8 IronCurtainable: ReturnOnIdle: