Merge pull request #6152 from Mailaender/money-crate

Added money crates to be spawned by destroyed supply trucks
This commit is contained in:
Chris Forbes
2014-08-04 10:39:29 +12:00
8 changed files with 45 additions and 34 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