Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# SpoilToTriggerResult - Runtime Docs

## SpoilToTriggerResult :: table

#### Table fields

trigger | :: array[TriggerItem] | The trigger items that are run.
The trigger items that are run.
items_per_trigger | :: uint32 | The trigger runs (count-in-stack / items_per_trigger) times; rounded up.
The trigger runs (count-in-stack / items_per_trigger) times; rounded up.

Concept used in

- LuaItemPrototype::spoil_to_trigger_result