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.
Properties
Section titled “Properties”amount
Section titled “amount”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
Section titled “fraction”fraction:
number
Defined in: server/api.d.ts:2230
Authored quantity fraction, not a drop probability.
harvester
Section titled “harvester”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
Section titled “variation”variation:
number
Defined in: server/api.d.ts:2235
Uniform variation around the quantity fraction.