Loot refers to the items you collect, which can come from enemy drops or from a chest. In this lesson, we’ll learn about all the features related to Loot.

Enemy Loot Drop
To make enemy events drop items when defeated, first open your enemy in the Database and assign some items in the Drop Items section.
To proceed, open the plugin parameters for Hendrix Action Engine and make sure the option Enemy Drop Items is set to Enabled.
Choose one style in Drop Item Style. It includes three options:
Icon Drop: The plugin will automatically generate the item you set in the database onto the map. You don’t need to do anything else.
Event from Template Map: The plugin will spawn Prefab Events with the same names as the items in the Database (Item section). This method takes more of your time, but the advantage is that you can customize each item in detail.
Both: A combination of the two methods above. The plugin will auto‑generate the item, but it will also use the commands inside a Prefab Event named “Item Template.” You can create this Prefab Event and add customizations to it, and all generated items will share the features of this Prefab Event.
RNG (Random Number Generator)
Using the plugin command Gain Item Randomly, you can create a list of items and assign weights to them. Items with higher weights will have a greater chance of being obtained by the player. If all items have the same weight, then the selection will be completely random (100%).
Percentage refers to the overall chance of receiving an item. If it’s set to 100%, you are guaranteed to get one item after the weight calculations are completed.