Added a bunch of TraitLocationAttributes

Also moved a few traits to their proper subfolders.
This commit is contained in:
penev92
2021-10-12 23:40:07 +03:00
committed by Matthias Mailänder
parent 67598dd151
commit f056cbba13
31 changed files with 31 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ namespace OpenRA.Mods.Common.Traits
{
[Desc("Sets a custom terrain type for cells that are obscured by back-facing cliffs.",
"This trait replicates the default CliffBackImpassability=2 behaviour from the TS/RA2 rules.ini.")]
[TraitLocation(SystemActors.World | SystemActors.EditorWorld)]
class CliffBackImpassabilityLayerInfo : TraitInfo
{
public readonly string TerrainType = "Impassable";