From 444b5f92c32987dcef9ac7cf1f4f58289c9aea82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 21 Oct 2014 21:47:59 +0200 Subject: [PATCH] add HEALCRATE and inherit from ^Crate --- mods/ra/rules/defaults.yaml | 23 ++++++++++++++++++++ mods/ra/rules/misc.yaml | 43 ++++++++++--------------------------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 51c9356b1d..7f792b260e 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -640,3 +640,26 @@ RenderBuilding: Palette: terrain +^Crate: + Tooltip: + Name: Crate + GenericName: Crate + Crate: + Lifetime: 180 + TerrainTypes: Clear, Rough, Road, Ore, Beach + RenderSprites: + Palette: effect + WithCrateBody: + Images: scrate + XmasImages: xcratea, xcrateb, xcratec, xcrated + Selectable: + Selectable: false + Bounds: 15,15,-1,-1 + ProximityCaptor: + Types: Crate + BodyOrientation: + Parachutable: + KilledOnImpassableTerrain: false + ParachuteSequence: parach + Passenger: + diff --git a/mods/ra/rules/misc.yaml b/mods/ra/rules/misc.yaml index db63c0f944..cedf8220c1 100644 --- a/mods/ra/rules/misc.yaml +++ b/mods/ra/rules/misc.yaml @@ -57,14 +57,7 @@ MINV: OccupiesSpace: true CRATE: - Tooltip: - Name: Crate - Crate: - Lifetime: 120 - TerrainTypes: Clear, Rough, Road, Water, Ore, Beach - Parachutable: - KilledOnImpassableTerrain: false - ParachuteSequence: parach + Inherits: ^Crate GiveCashCrateAction: Amount: 1000 SelectionShares: 50 @@ -155,40 +148,26 @@ CRATE: Notification: ironcur9.aud Upgrades: invulnerability Duration: 600 - RenderSprites: - Palette: effect - WithCrateBody: - Images: scrate - XmasImages: xcratea, xcrateb, xcratec, xcrated - Selectable: - Selectable: false - Bounds: 15,15,-1,-1 - ProximityCaptor: - Types: Crate - Passenger: - BodyOrientation: MONEYCRATE: + Inherits: ^Crate Tooltip: Name: Money Crate - Crate: - Lifetime: 180 - TerrainTypes: Clear, Rough, Road, Ore, Beach GiveCashCrateAction: Amount: 500 SelectionShares: 1 UseCashTick: true - RenderSprites: - Palette: effect WithCrateBody: Images: wcrate - XmasImages: xcratea, xcrateb, xcratec, xcrated - Selectable: - Selectable: false - Bounds: 15,15,-1,-1 - ProximityCaptor: - Types: Crate - BodyOrientation: + +HEALCRATE: + Inherits: ^Crate + Tooltip: + Name: Heal Crate + HealUnitsCrateAction: + Notification: heal2.aud + SelectionShares: 1 + Effect: heal CAMERA: Immobile: