From bc0296ad13f7ac88dc8bb31cdc5cc316117f3f13 Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Thu, 21 Feb 2019 16:01:24 +0300 Subject: [PATCH] Add descriptions to the fields in Sellable, which lack them. --- OpenRA.Mods.Common/Traits/Sellable.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/OpenRA.Mods.Common/Traits/Sellable.cs b/OpenRA.Mods.Common/Traits/Sellable.cs index cb68fd1191..682e6ca1d1 100644 --- a/OpenRA.Mods.Common/Traits/Sellable.cs +++ b/OpenRA.Mods.Common/Traits/Sellable.cs @@ -20,8 +20,13 @@ namespace OpenRA.Mods.Common.Traits [Desc("Actor can be sold")] public class SellableInfo : ConditionalTraitInfo { + [Desc("Percentage of units value to give back after selling.")] public readonly int RefundPercent = 50; + + [Desc("List of audio clips to play when the actor is being sold.")] public readonly string[] SellSounds = { }; + + [Desc("Whether to show the cash tick indicators rising from the actor.")] public readonly bool ShowTicks = true; [Desc("Skip playing (reversed) make animation.")]