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>();
|
||||
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();
|
||||
|
||||
@@ -143,7 +143,10 @@ DOME:
|
||||
|
||||
CRATE:
|
||||
Crate:
|
||||
Lifetime: 5
|
||||
SpeedUpgradeCrateAction:
|
||||
Multiplier: 1.7
|
||||
SelectionShares: 10
|
||||
Unit:
|
||||
HP: 1
|
||||
RenderUnit:
|
||||
|
||||
@@ -432,7 +432,10 @@ DOME:
|
||||
|
||||
CRATE:
|
||||
Crate:
|
||||
Lifetime: 5
|
||||
SpeedUpgradeCrateAction:
|
||||
Multiplier: 1.7
|
||||
SelectionShares: 10
|
||||
Unit:
|
||||
HP: 1
|
||||
RenderUnit:
|
||||
|
||||
Reference in New Issue
Block a user