specify some things in rules; defaults work but are not discoverable
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRa.Traits
|
|||||||
|
|
||||||
var cargo = a.traits.Get<Cargo>();
|
var cargo = a.traits.Get<Cargo>();
|
||||||
foreach (var p in self.Info.Traits.Get<ParatroopersPowerInfo>().DropItems)
|
foreach (var p in self.Info.Traits.Get<ParatroopersPowerInfo>().DropItems)
|
||||||
cargo.Load(a, new Actor(self.World, p.ToLowerInvariant(), a.Location, a.Owner));
|
cargo.Load(a, new Actor(self.World, p.ToLowerInvariant(), new int2(int.MaxValue, int.MaxValue), a.Owner));
|
||||||
});
|
});
|
||||||
|
|
||||||
FinishActivate();
|
FinishActivate();
|
||||||
|
|||||||
@@ -143,7 +143,10 @@ DOME:
|
|||||||
|
|
||||||
CRATE:
|
CRATE:
|
||||||
Crate:
|
Crate:
|
||||||
|
Lifetime: 5
|
||||||
SpeedUpgradeCrateAction:
|
SpeedUpgradeCrateAction:
|
||||||
|
Multiplier: 1.7
|
||||||
|
SelectionShares: 10
|
||||||
Unit:
|
Unit:
|
||||||
HP: 1
|
HP: 1
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
|
|||||||
@@ -432,7 +432,10 @@ DOME:
|
|||||||
|
|
||||||
CRATE:
|
CRATE:
|
||||||
Crate:
|
Crate:
|
||||||
|
Lifetime: 5
|
||||||
SpeedUpgradeCrateAction:
|
SpeedUpgradeCrateAction:
|
||||||
|
Multiplier: 1.7
|
||||||
|
SelectionShares: 10
|
||||||
Unit:
|
Unit:
|
||||||
HP: 1
|
HP: 1
|
||||||
RenderUnit:
|
RenderUnit:
|
||||||
|
|||||||
Reference in New Issue
Block a user