ECONOMY

Modify currency

Adds, removes or sets a catalog currency on the resolved owner.

Use cases

Shop purchases, quest rewards, entrance fees, selling items, salary systems.

Parameters

Parameter Type Required Description
Mode — No Add, Remove or Set.
Currency — No Which currency to modify.
Amount — No How much — flat number or percentage.
Target — No Defaults to player. $event.target modifies that player, or the owner wallet for an owned item.

→ In-game result

{
  "action": "ModifyCurrency",
  "mode": "...",
  "currency": "...",
  "amount": "...",
  "target": "..."
}
In-game result

Writes to the player's wallet. Values are never removed below zero.

→ Related actions

Used in tutorials