Crate result
Random crate outcomes referenced by crate-control settings.
- Engine enum
CrateType- Input form
- Named token
These names are the keys of the [Powerups] section, which Crate powerups covers. The list is fixed, and a mod cannot add a result. Crates covers how a result is drawn and what each one does.
Values
19 of 19
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
Money | Award money. | CRATE_MONEY | 0 |
Unit | Create a vehicle. | CRATE_UNIT | 1 |
HealBase | Restore every object of the collector's house to maximum strength. | CRATE_HEAL_BASE | 2 |
Cloak | Let nearby objects cloak. | CRATE_CLOAK | 3 |
Explosion | Damage the collector and scatter explosions around the crate. | CRATE_EXPLOSION | 4 |
Napalm | Create a napalm blast. | CRATE_NAPALM | 5 |
Squad | Always becomes the Money result. | CRATE_SQUAD | 6 |
Darkness | Shroud the whole map again for the player of the collector's house. No effect for a computer house. | CRATE_DARKNESS | 7 |
Reveal | Reveal the whole map to the player of the collector's house. No effect for a computer house. | CRATE_REVEAL | 8 |
Armor | Improve the armor of nearby objects. | CRATE_ARMOR | 9 |
Speed | Improve the speed of nearby objects. | CRATE_SPEED | 10 |
Firepower | Improve the firepower of nearby objects. | CRATE_FIREPOWER | 11 |
ICBM | Grant the collector's house a one-time superweapon, unless it already holds that weapon. | CRATE_ICBM | 12 |
Invulnerability | No effect beyond using up the crate and playing its animation. | CRATE_INVULN | 13 |
Veteran | Promote nearby objects. | CRATE_VETERAN | 14 |
IonStorm | No effect beyond using up the crate and playing its animation. | CRATE_ION_STORM | 15 |
Gas | Damage the crate's cell and its neighbors with gas. | CRATE_GAS | 16 |
Tiberium | Scatter Tiberium around the crate. | CRATE_TIBERIUM | 17 |
Pod | No effect beyond using up the crate and playing its animation. | CRATE_POD | 18 |
No enum values match this filter.
Used by
SilverCrateINI keyWoodCrateINI key
Source files
Linked at revision 51b52aa38392.