Unhardcode VeteranProductionIconOverlay.

This commit is contained in:
Mustafa Alperen Seki
2022-01-31 15:13:07 +03:00
committed by Gustas
parent d438508994
commit 54340591e3
9 changed files with 199 additions and 22 deletions

View File

@@ -15,8 +15,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[Desc("Actors possessing this trait should define the GainsExperience trait. When the prerequisites are fulfilled, ",
"this trait grants a level-up to newly spawned actors. If additionally the actor's owning player defines the ProductionIconOverlay ",
"trait, the production queue icon renders with an overlay defined in that trait.")]
"this trait grants a level-up to newly spawned actors.")]
public class ProducibleWithLevelInfo : TraitInfo, Requires<GainsExperienceInfo>
{
public readonly string[] Prerequisites = Array.Empty<string>();