DebrisMaximums
The largest number of pieces each debris type may contribute, one figure per entry.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- list of integers
- When omitted
(empty)
[MYTANK] ; a UnitType registered in [VehicleTypes]MaxDebris=6DebrisTypes=MYSCRAP,MYTIRE ; VoxelAnimTypes registered in [VoxelAnims]DebrisMaximums=4,2 ; at most four MYSCRAP, then at most two MYTIREThe list is positional against DebrisTypes: the first figure caps the first debris type, the second caps the second, and so on. Each figure is an upper bound on a random draw, not a fixed count — the entry contributes anywhere from zero pieces up to that many — and the draw is trimmed again by whatever remains of the MaxDebris budget. A figure of 0 therefore never produces a piece from its debris type and hands the whole remaining budget to the next entry.
The list is read only while debris types are being walked, so it does nothing on a type that declares no DebrisTypes.