Add missing ActorReferences to yaml dictionaries.
This commit is contained in:
@@ -89,6 +89,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
|||||||
"Unload, Infiltrate, Demolish, Move.")]
|
"Unload, Infiltrate, Demolish, Move.")]
|
||||||
public readonly RevealDisguiseType RevealDisguiseOn = RevealDisguiseType.Attack;
|
public readonly RevealDisguiseType RevealDisguiseOn = RevealDisguiseType.Attack;
|
||||||
|
|
||||||
|
[ActorReference(dictionaryReference: LintDictionaryReference.Keys)]
|
||||||
[Desc("Conditions to grant when disguised as specified actor.",
|
[Desc("Conditions to grant when disguised as specified actor.",
|
||||||
"A dictionary of [actor id]: [condition].")]
|
"A dictionary of [actor id]: [condition].")]
|
||||||
public readonly Dictionary<string, string> DisguisedAsConditions = new Dictionary<string, string>();
|
public readonly Dictionary<string, string> DisguisedAsConditions = new Dictionary<string, string>();
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
"Condition can stack with multiple passengers.")]
|
"Condition can stack with multiple passengers.")]
|
||||||
public readonly string LoadedCondition = null;
|
public readonly string LoadedCondition = null;
|
||||||
|
|
||||||
|
[ActorReference(dictionaryReference: LintDictionaryReference.Keys)]
|
||||||
[Desc("Conditions to grant when specified actors are loaded inside the transport.",
|
[Desc("Conditions to grant when specified actors are loaded inside the transport.",
|
||||||
"A dictionary of [actor id]: [condition].")]
|
"A dictionary of [actor id]: [condition].")]
|
||||||
public readonly Dictionary<string, string> PassengerConditions = new Dictionary<string, string>();
|
public readonly Dictionary<string, string> PassengerConditions = new Dictionary<string, string>();
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("The condition to grant to when this actor is loaded inside any transport.")]
|
[Desc("The condition to grant to when this actor is loaded inside any transport.")]
|
||||||
public readonly string CargoCondition = null;
|
public readonly string CargoCondition = null;
|
||||||
|
|
||||||
|
[ActorReference(dictionaryReference: LintDictionaryReference.Keys)]
|
||||||
[Desc("Conditions to grant when this actor is loaded inside specified transport.",
|
[Desc("Conditions to grant when this actor is loaded inside specified transport.",
|
||||||
"A dictionary of [actor id]: [condition].")]
|
"A dictionary of [actor id]: [condition].")]
|
||||||
public readonly Dictionary<string, string> CargoConditions = new Dictionary<string, string>();
|
public readonly Dictionary<string, string> CargoConditions = new Dictionary<string, string>();
|
||||||
|
|||||||
Reference in New Issue
Block a user