Make crates not suck

* allow for crates without any associated CrateActions
* allow for crates to not auto-remove
This commit is contained in:
Oliver Brakmann
2014-10-25 13:54:24 +02:00
parent f891b626f3
commit 7b1ab34392
3 changed files with 37 additions and 25 deletions

View File

@@ -1,9 +1,11 @@
CRATE.plain:
Inherits: ^Crate
ScriptTriggers:
CRATE:
Tooltip:
Name: Crate
Inherits: ^Crate
Crate:
Lifetime: 240
TerrainTypes: Clear, Rough, Road, Tiberium, BlueTiberium, Beach
GiveCashCrateAction:
Amount: 1000
SelectionShares: 20
@@ -27,14 +29,6 @@ CRATE:
SelectionShares: 0
NoBaseSelectionShares: 120
Units: mcv
RenderSprites:
Palette: effect
WithCrateBody:
XmasImages: xcratea, xcrateb, xcratec, xcrated
Selectable:
Selectable: false
Bounds: 15,15,-1,-1
BodyOrientation:
mpspawn:
Immobile: