lint check player palette reference
and tell which actor is affected when a problem is found
This commit is contained in:
@@ -58,8 +58,9 @@ namespace OpenRA.Mods.Common.Effects
|
||||
[Desc("Delay in ticks until trail animaion is spawned.")]
|
||||
public readonly int TrailDelay = 1;
|
||||
|
||||
public readonly string TrailPalette = "effect";
|
||||
[PaletteReference("TrailUsePlayerPalette")] public readonly string TrailPalette = "effect";
|
||||
public readonly bool TrailUsePlayerPalette = false;
|
||||
|
||||
public readonly int ContrailLength = 0;
|
||||
public readonly Color ContrailColor = Color.White;
|
||||
public readonly bool ContrailUsePlayerColor = false;
|
||||
|
||||
@@ -59,10 +59,9 @@ namespace OpenRA.Mods.Common.Effects
|
||||
[Desc("Interval in ticks between each spawned Trail animation.")]
|
||||
public readonly int TrailInterval = 2;
|
||||
|
||||
// TODO: Re-add PaletteReference as soon as it handles player palettes
|
||||
public readonly string TrailPalette = "effect";
|
||||
|
||||
[PaletteReference("TrailUsePlayerPalette")] public readonly string TrailPalette = "effect";
|
||||
public readonly bool TrailUsePlayerPalette = false;
|
||||
|
||||
public readonly int ContrailLength = 0;
|
||||
public readonly Color ContrailColor = Color.White;
|
||||
public readonly bool ContrailUsePlayerColor = false;
|
||||
|
||||
Reference in New Issue
Block a user