From 9c27651475ac72fb7c146f30f307b09a29b2f544 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 28 Jan 2010 22:05:07 +1300 Subject: [PATCH] specify some things in rules; defaults work but are not discoverable --- OpenRa.Game/Traits/ParatroopersPower.cs | 2 +- mods/ra/merge-rules.yaml | 3 +++ mods/ra/rules.yaml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenRa.Game/Traits/ParatroopersPower.cs b/OpenRa.Game/Traits/ParatroopersPower.cs index 1221fa59f0..9592626e3a 100644 --- a/OpenRa.Game/Traits/ParatroopersPower.cs +++ b/OpenRa.Game/Traits/ParatroopersPower.cs @@ -57,7 +57,7 @@ namespace OpenRa.Traits var cargo = a.traits.Get(); foreach (var p in self.Info.Traits.Get().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(); diff --git a/mods/ra/merge-rules.yaml b/mods/ra/merge-rules.yaml index abfc1dff4a..839ce8d8bd 100644 --- a/mods/ra/merge-rules.yaml +++ b/mods/ra/merge-rules.yaml @@ -143,7 +143,10 @@ DOME: CRATE: Crate: + Lifetime: 5 SpeedUpgradeCrateAction: + Multiplier: 1.7 + SelectionShares: 10 Unit: HP: 1 RenderUnit: diff --git a/mods/ra/rules.yaml b/mods/ra/rules.yaml index 5fa4f44e7d..03e7482096 100644 --- a/mods/ra/rules.yaml +++ b/mods/ra/rules.yaml @@ -432,7 +432,10 @@ DOME: CRATE: Crate: + Lifetime: 5 SpeedUpgradeCrateAction: + Multiplier: 1.7 + SelectionShares: 10 Unit: HP: 1 RenderUnit: