added PassengerTypes to rules
This commit is contained in:
@@ -57,6 +57,7 @@ namespace OpenRa.Game.GameRules
|
||||
public readonly int[] SelectionSize = null;
|
||||
public readonly int Passengers = 0;
|
||||
public readonly int UnloadFacing = 0;
|
||||
public readonly UnitMovementType[] PassengerTypes = null;
|
||||
|
||||
public UnitInfo(string name) { Name = name; }
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ using OpenRa.Game.Graphics;
|
||||
|
||||
namespace OpenRa.Game
|
||||
{
|
||||
enum UnitMovementType : byte
|
||||
public enum UnitMovementType : byte
|
||||
{
|
||||
Foot = 0,
|
||||
Track = 1,
|
||||
|
||||
@@ -62,6 +62,7 @@ MuzzleFlash=yes
|
||||
Voice=VehicleVoice
|
||||
LongDesc=Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
|
||||
UnloadFacing=220
|
||||
PassengerTypes=Foot
|
||||
|
||||
;; non-combat vehicles
|
||||
[MRJ]
|
||||
@@ -141,6 +142,7 @@ Description=Transport
|
||||
WaterBound=yes
|
||||
Traits=Unit, Mobile, RenderUnit, Cargo
|
||||
LongDesc=General-purpose naval transport.\nCan carry infantry and tanks.\n Unarmed
|
||||
PassengerTypes=Foot,Wheel,Track
|
||||
[PT]
|
||||
Description=Gunboat
|
||||
WaterBound=yes
|
||||
@@ -183,6 +185,7 @@ BuiltAt=hpad
|
||||
Traits=Unit, Helicopter, RenderUnitRotor, WithShadow, Cargo
|
||||
InitialFacing=20
|
||||
LongDesc=Fast Infantry Transport Helicopter.\n Unarmed
|
||||
PassengerTypes=Foot
|
||||
[HELI]
|
||||
Description=Longbow
|
||||
BuiltAt=hpad
|
||||
|
||||
Reference in New Issue
Block a user