Skip to content

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)
rules.ini
[MYTANK] ; a UnitType registered in [VehicleTypes]
MaxDebris=6
DebrisTypes=MYSCRAP,MYTIRE ; VoxelAnimTypes registered in [VoxelAnims]
DebrisMaximums=4,2 ; at most four MYSCRAP, then at most two MYTIRE

Each figure caps the debris type in the same position of DebrisTypes: the first figure caps the first type, the second caps the second, and so on. The figure is a maximum, and the count thrown is drawn at random; MaxDebris describes the draw. A figure of 0 never throws a piece of its type and leaves the whole remaining budget to the next entry.

The list does nothing on a type that names no DebrisTypes.