Merge pull request #7324 from reaperrr/limitedammo2

Refactored LimitedAmmo to AmmoPool
This commit is contained in:
Pavel Penev
2015-03-26 15:59:56 -07:00
24 changed files with 392 additions and 255 deletions

View File

@@ -681,7 +681,7 @@ Rules:
Plane:
ROT: 5
Speed: 280
LimitedAmmo:
AmmoPool:
Ammo: 30
RenderUnit:
Image: mig

View File

@@ -2273,7 +2273,7 @@ Rules:
MIG:
Buildable:
Prerequisites: ~afld
LimitedAmmo:
AmmoPool:
Ammo: 2
HELI:
Buildable:

View File

@@ -51,7 +51,7 @@ BADR.Bomber:
Speed: 149
Repulsable: False
MaximumPitch: 56
LimitedAmmo:
AmmoPool:
Ammo: 7
RenderUnit:
Image: badr
@@ -113,7 +113,7 @@ MIG:
EnableStances: false
RenderUnit:
CameraPitch: 99
LimitedAmmo:
AmmoPool:
Ammo: 8
ReturnOnIdle:
Selectable:
@@ -171,7 +171,7 @@ YAK:
EnableStances: false
RenderUnit:
CameraPitch: 99
LimitedAmmo:
AmmoPool:
Ammo: 18
PipCount: 6
ReloadTicks: 11
@@ -264,7 +264,7 @@ HELI:
RenderUnit:
WithRotor:
Offset: 0,0,85
LimitedAmmo:
AmmoPool:
Ammo: 8
Selectable:
Bounds: 36,28,0,0
@@ -312,7 +312,7 @@ HIND:
InitialStance: HoldFire
RenderUnit:
WithRotor:
LimitedAmmo:
AmmoPool:
Ammo: 24
PipCount: 6
ReloadTicks: 8

View File

@@ -419,8 +419,9 @@ MNLY.AP:
Minelayer:
Mine: MINP
MineImmune:
LimitedAmmo:
AmmoPool:
Ammo: 5
RearmSound: minelay1.aud
DetectCloaked:
Range: 5
CloakTypes: Mine
@@ -453,8 +454,9 @@ MNLY.AT:
Minelayer:
Mine: MINV
MineImmune:
LimitedAmmo:
AmmoPool:
Ammo: 5
RearmSound: minelay1.aud
DetectCloaked:
Range: 5
CloakTypes: Mine