ECONOMY

Give random item

Gives a random item from a list. Build loot tables with weighted drop chances and rarity colors.

Use cases

Gacha mechanics, mystery crates, enemy drops, treasure chests with random rewards.

Parameters

Parameter Type Required Description
Loot table — No List of items with drop chances and optional rarity colors.

→ In-game result

{
  "action": "AddRandomItem",
  "loot_table": "..."
}
In-game result

The engine rolls against weighted chances. A reward popup reveals the result with a rarity glow, then the item goes to inventory.

→ Related actions

Used in tutorials