Rename HealUnitsCrateAction to HealActorsCrateAction

This commit is contained in:
abcdefg30
2020-04-08 15:37:22 +02:00
committed by reaperrr
parent 86f61298e6
commit 15a2341a91
4 changed files with 8 additions and 8 deletions

View File

@@ -15,14 +15,14 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits namespace OpenRA.Mods.Common.Traits
{ {
[Desc("Heals all actors that belong to the owner of the collector.")] [Desc("Heals all actors that belong to the owner of the collector.")]
class HealUnitsCrateActionInfo : CrateActionInfo class HealActorsCrateActionInfo : CrateActionInfo
{ {
public override object Create(ActorInitializer init) { return new HealUnitsCrateAction(init.Self, this); } public override object Create(ActorInitializer init) { return new HealActorsCrateAction(init.Self, this); }
} }
class HealUnitsCrateAction : CrateAction class HealActorsCrateAction : CrateAction
{ {
public HealUnitsCrateAction(Actor self, HealUnitsCrateActionInfo info) public HealActorsCrateAction(Actor self, HealActorsCrateActionInfo info)
: base(self, info) { } : base(self, info) { }
public override void Activate(Actor collector) public override void Activate(Actor collector)

View File

@@ -67,7 +67,7 @@ FORTCRATE:
SelectionShares: 30 SelectionShares: 30
Proxy: powerproxy.parabombs Proxy: powerproxy.parabombs
Sequence: parabombs Sequence: parabombs
HealUnitsCrateAction: HealActorsCrateAction:
SelectionShares: 30 SelectionShares: 30
Sound: heal2.aud Sound: heal2.aud
Sequence: heal Sequence: heal

View File

@@ -32,7 +32,7 @@ CRATE:
HideMapCrateAction: HideMapCrateAction:
SelectionShares: 5 SelectionShares: 5
Sequence: hide-map Sequence: hide-map
HealUnitsCrateAction: HealActorsCrateAction:
Sound: heal2.aud Sound: heal2.aud
SelectionShares: 2 SelectionShares: 2
Sequence: heal Sequence: heal
@@ -124,7 +124,7 @@ HEALCRATE:
Inherits: ^Crate Inherits: ^Crate
Tooltip: Tooltip:
Name: Heal Crate Name: Heal Crate
HealUnitsCrateAction: HealActorsCrateAction:
Sound: heal2.aud Sound: heal2.aud
SelectionShares: 1 SelectionShares: 1
Sequence: heal Sequence: heal

View File

@@ -77,7 +77,7 @@ CRATE:
HideMapCrateAction: HideMapCrateAction:
SelectionShares: 5 SelectionShares: 5
Sequence: hide-map Sequence: hide-map
HealUnitsCrateAction: HealActorsCrateAction:
SelectionShares: 2 SelectionShares: 2
Sequence: heal Sequence: heal
RevealMapCrateAction: RevealMapCrateAction: