Crate result
Random crate outcomes referenced by crate-control settings.
- Engine enum
CrateType- Input form
- Named token
The list is closed. [Powerups] is read by looking up each of these tokens in turn, so an entry written under any other name is never fetched and a mod cannot add a twentieth result. Crates covers how a result is drawn, what each one does, and the numbers [Powerups] supplies alongside the share.
Values
19 of 19
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
Money | Award money. | CRATE_MONEY | 0 |
Unit | Create a unit. | CRATE_UNIT | 1 |
HealBase | Restore every object of the collector's house to maximum strength. | CRATE_HEAL_BASE | 2 |
Cloak | Grant cloaking. | CRATE_CLOAK | 3 |
Explosion | Detonate an explosion. | CRATE_EXPLOSION | 4 |
Napalm | Create a napalm blast. | CRATE_NAPALM | 5 |
Squad | Rewritten to Money before the result is applied. | CRATE_SQUAD | 6 |
Darkness | Hide explored terrain. | CRATE_DARKNESS | 7 |
Reveal | Reveal terrain, or reshroud it for a house that already sees everything. | CRATE_REVEAL | 8 |
Armor | Improve armor. | CRATE_ARMOR | 9 |
Speed | Improve movement speed. | CRATE_SPEED | 10 |
Firepower | Improve firepower. | CRATE_FIREPOWER | 11 |
ICBM | Grant the missile result. | CRATE_ICBM | 12 |
Invulnerability | No result handler; the crate is consumed and its animation plays. | CRATE_INVULN | 13 |
Veteran | Promote nearby objects. | CRATE_VETERAN | 14 |
IonStorm | No result handler; the crate is consumed and its animation plays. | CRATE_ION_STORM | 15 |
Gas | Release gas. | CRATE_GAS | 16 |
Tiberium | Create Tiberium. | CRATE_TIBERIUM | 17 |
Pod | No result handler; the crate is consumed and its animation plays. | CRATE_POD | 18 |
No enum values match this filter.
Used by
SilverCrateINI keyWoodCrateINI key
Source files
Linked at revision 59fae722af8c.