let supply trucks spawn money crates upon destruction

This commit is contained in:
Matthias Mailänder
2014-08-03 16:18:49 +02:00
parent aa8ce199c2
commit 57463f249c
3 changed files with 29 additions and 0 deletions

View File

@@ -160,6 +160,28 @@ CRATE:
Passenger:
BodyOrientation:
MONEYCRATE:
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:
CAMERA:
Immobile:
OccupiesSpace: false

View File

@@ -480,6 +480,8 @@ TRUK:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
LeavesHusk:
HuskActor: moneycrate
MGG:
Inherits: ^Vehicle

View File

@@ -268,6 +268,11 @@ scrate:
Tick: 500
ZOffset: -511
wcrate:
idle:
Start: 0
ZOffset: -511
xcratea:
idle:
Start: 0