Fix documentation about GeneratesShroud to CreatesShroud rename.

This commit is contained in:
Matthias Mailänder
2021-05-07 23:17:14 +02:00
committed by Paul Chote
parent 92b6401360
commit 52a4b5acd7
5 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Radius of the reveal around this actor.")]
public readonly WDist Radius = new WDist(1536);
[Desc("Can this actor be revealed through shroud generated by the GeneratesShroud trait?")]
[Desc("Can this actor be revealed through shroud generated by the CreatesShroud trait?")]
public readonly bool RevealGeneratedShroud = true;
[Desc("DeathTypes for which shroud will be revealed.",

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Radius of the reveal around this actor.")]
public readonly WDist Radius = new WDist(1536);
[Desc("Can this actor be revealed through shroud generated by the GeneratesShroud trait?")]
[Desc("Can this actor be revealed through shroud generated by the CreatesShroud trait?")]
public readonly bool RevealGeneratedShroud = true;
public override object Create(ActorInitializer init) { return new RevealOnFire(init.Self, this); }

View File

@@ -19,7 +19,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Relationships the watching player needs to see the shroud removed.")]
public readonly PlayerRelationship ValidRelationships = PlayerRelationship.Ally;
[Desc("Can this actor reveal shroud generated by the `GeneratesShroud` trait?")]
[Desc("Can this actor reveal shroud generated by the `CreatesShroud` trait?")]
public readonly bool RevealGeneratedShroud = true;
public override object Create(ActorInitializer init) { return new RevealsMap(this); }

View File

@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Relationships the watching player needs to see the shroud removed.")]
public readonly PlayerRelationship ValidRelationships = PlayerRelationship.Ally;
[Desc("Can this actor reveal shroud generated by the GeneratesShroud trait?")]
[Desc("Can this actor reveal shroud generated by the CreatesShroud trait?")]
public readonly bool RevealGeneratedShroud = true;
public override object Create(ActorInitializer init) { return new RevealsShroud(init.Self, this); }

View File

@@ -91,7 +91,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Range of cells the camera should reveal around target cell.")]
public readonly WDist CameraRange = WDist.Zero;
[Desc("Can the camera reveal shroud generated by the GeneratesShroud trait?")]
[Desc("Can the camera reveal shroud generated by the CreatesShroud trait?")]
public readonly bool RevealGeneratedShroud = true;
[Desc("Reveal cells to players with these relationships only.")]