Home

LootItem

The items generated when an EntityWithHealthPrototype is killed.

Type

struct

Properties

item

The item to spawn.

probability

0 is 0% and 1 is 100%. Must be > 0.

count_min

count_max

Must be > 0.