Skip to main content

Integration

Stoch can integrate with nearly any item system. The only requirement is that your items, or a reference to them, can be placed inside of a data table.

Items Defined In Data Table

This is the simplest case. Simply create a Loot Table Template pointing at your items' data table.

Items Defined in Data Assets

As of v1.2.0, Loot Table Templates can now reference Data Assets directly. When creating your loot table, set the "Source Data Mode" to "Data Asset" and select the class of data asset you want to reference:

Other

So long as your items can be referenced by data in a struct, Stoch should work with it as well.

For example, suppose your items are defined as UDataAssets. Create a struct containing the item type:

Create a data table using this struct and add all of the items you want to loot. Then you can use a Loot Table Template.