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

AnimalLootItem

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

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:2225

Maximum authored unit count.


food: boolean

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

The item is food.


fraction: number

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

Authored quantity fraction, not a drop probability.


harvester: boolean

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

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:2220

Item class GUID.


variation: number

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

Uniform variation around the quantity fraction.