Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeServer APIGenerated

AnimalLootItem

Defined in: server/api.d.ts:2143

One candidate from the game’s animal loot preset; probability and inventory population belong to the gamemode.

amount: number

Defined in: server/api.d.ts:2152

Maximum authored unit count.


food: boolean

Defined in: server/api.d.ts:2167

The item is food.


fraction: number

Defined in: server/api.d.ts:2157

Authored quantity fraction, not a drop probability.


harvester: boolean

Defined in: server/api.d.ts:2172

Tagged as a special Harvester part in the game data. This is metadata; the gamemode decides eligibility.


item: string

Defined in: server/api.d.ts:2147

Item class GUID.


variation: number

Defined in: server/api.d.ts:2162

Uniform variation around the quantity fraction.