Fix documentation about GeneratesShroud to CreatesShroud rename.
This commit is contained in:
committed by
Paul Chote
parent
92b6401360
commit
52a4b5acd7
@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("Radius of the reveal around this actor.")]
|
[Desc("Radius of the reveal around this actor.")]
|
||||||
public readonly WDist Radius = new WDist(1536);
|
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 readonly bool RevealGeneratedShroud = true;
|
||||||
|
|
||||||
[Desc("DeathTypes for which shroud will be revealed.",
|
[Desc("DeathTypes for which shroud will be revealed.",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("Radius of the reveal around this actor.")]
|
[Desc("Radius of the reveal around this actor.")]
|
||||||
public readonly WDist Radius = new WDist(1536);
|
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 readonly bool RevealGeneratedShroud = true;
|
||||||
|
|
||||||
public override object Create(ActorInitializer init) { return new RevealOnFire(init.Self, this); }
|
public override object Create(ActorInitializer init) { return new RevealOnFire(init.Self, this); }
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("Relationships the watching player needs to see the shroud removed.")]
|
[Desc("Relationships the watching player needs to see the shroud removed.")]
|
||||||
public readonly PlayerRelationship ValidRelationships = PlayerRelationship.Ally;
|
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 readonly bool RevealGeneratedShroud = true;
|
||||||
|
|
||||||
public override object Create(ActorInitializer init) { return new RevealsMap(this); }
|
public override object Create(ActorInitializer init) { return new RevealsMap(this); }
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("Relationships the watching player needs to see the shroud removed.")]
|
[Desc("Relationships the watching player needs to see the shroud removed.")]
|
||||||
public readonly PlayerRelationship ValidRelationships = PlayerRelationship.Ally;
|
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 readonly bool RevealGeneratedShroud = true;
|
||||||
|
|
||||||
public override object Create(ActorInitializer init) { return new RevealsShroud(init.Self, this); }
|
public override object Create(ActorInitializer init) { return new RevealsShroud(init.Self, this); }
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("Range of cells the camera should reveal around target cell.")]
|
[Desc("Range of cells the camera should reveal around target cell.")]
|
||||||
public readonly WDist CameraRange = WDist.Zero;
|
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;
|
public readonly bool RevealGeneratedShroud = true;
|
||||||
|
|
||||||
[Desc("Reveal cells to players with these relationships only.")]
|
[Desc("Reveal cells to players with these relationships only.")]
|
||||||
|
|||||||
Reference in New Issue
Block a user