From ee8323373bfe7dbd4985b424558149ad30d06255 Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Mon, 11 Jan 2016 20:46:09 +0100 Subject: [PATCH] Add trait documentation to InfiltrateForCash --- OpenRA.Mods.RA/Traits/Infiltration/InfiltrateForCash.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OpenRA.Mods.RA/Traits/Infiltration/InfiltrateForCash.cs b/OpenRA.Mods.RA/Traits/Infiltration/InfiltrateForCash.cs index 65237782b2..71d8906417 100644 --- a/OpenRA.Mods.RA/Traits/Infiltration/InfiltrateForCash.cs +++ b/OpenRA.Mods.RA/Traits/Infiltration/InfiltrateForCash.cs @@ -18,8 +18,14 @@ namespace OpenRA.Mods.RA.Traits [Desc("This structure can be infiltrated causing funds to be stolen.")] class InfiltrateForCashInfo : ITraitInfo { + [Desc("Percentage of the victim's resources that will be stolen.")] public readonly int Percentage = 50; + + [Desc("Amount of guaranteed funds to claim when the victim does not have enough resources.", + "When negative, the production price of the infiltrating actor will be used instead.")] public readonly int Minimum = 500; + + [Desc("Sound the victim will hear when they get robbed.")] public readonly string SoundToVictim = "credit1.aud"; public object Create(ActorInitializer init) { return new InfiltrateForCash(this); }