Merge pull request #9076 from Mailaender/resource-sequences
Added missing check yaml references
This commit is contained in:
@@ -15,9 +15,9 @@ namespace OpenRA.Traits
|
||||
{
|
||||
public class ResourceTypeInfo : ITraitInfo
|
||||
{
|
||||
public readonly string[] Variants = { };
|
||||
public readonly string Palette = "terrain";
|
||||
public readonly string Sequence = "resources";
|
||||
[SequenceReference("Sequence")] public readonly string[] Variants = { };
|
||||
public readonly string Palette = "terrain";
|
||||
public readonly int ResourceType = 1;
|
||||
|
||||
public readonly int ValuePerUnit = 0;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
public readonly string Effect = "ionsfx";
|
||||
public readonly string EffectPalette = "effect";
|
||||
|
||||
[Desc("Which weapon to fire")]
|
||||
[Desc("Which weapon to fire"), WeaponReference]
|
||||
public readonly string Weapon = "IonCannon";
|
||||
|
||||
[Desc("Apply the weapon impact this many ticks into the effect")]
|
||||
|
||||
Reference in New Issue
Block a user