add HEALCRATE and inherit from ^Crate

This commit is contained in:
Matthias Mailänder
2014-10-21 21:47:59 +02:00
committed by abcdefg30
parent f188894a53
commit 444b5f92c3
2 changed files with 34 additions and 32 deletions

View File

@@ -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:

View File

@@ -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: