From 92ba61b14959b9dd5c04a6e0c570f15a4c81de0b Mon Sep 17 00:00:00 2001 From: Taryn Hill Date: Tue, 28 Apr 2015 08:54:38 -0500 Subject: [PATCH] Add descriptions to CargoInfo members. --- OpenRA.Mods.Common/Traits/Cargo.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/OpenRA.Mods.Common/Traits/Cargo.cs b/OpenRA.Mods.Common/Traits/Cargo.cs index 389d21162f..dfd84c5f38 100644 --- a/OpenRA.Mods.Common/Traits/Cargo.cs +++ b/OpenRA.Mods.Common/Traits/Cargo.cs @@ -21,10 +21,19 @@ namespace OpenRA.Mods.Common.Traits [Desc("This actor can transport Passenger actors.")] public class CargoInfo : ITraitInfo, Requires { + [Desc("The maximum sum of Passenger.Weight that this actor can support.")] public readonly int MaxWeight = 0; + + [Desc("Number of pips to display when this actor is selected.")] public readonly int PipCount = 0; + + [Desc("`Passenger.CargoType`s that can be loaded into this actor.")] public readonly string[] Types = { }; + + [Desc("A list of actor types that are initially spawned into this actor.")] public readonly string[] InitialUnits = { }; + + [Desc("When this actor is sold should all of its passengers be unloaded?")] public readonly bool EjectOnSell = true; [Desc("Which direction the passenger will face (relative to the transport) when unloading.")]