Elementium Sign in
Contents

Logic · Step

Player purchase: set increase trade uses

Changes the player purchase's increase trade uses before the server goes on with it. Paper: the trade will count as a use. Only before any Wait.

Basic plan m.on.player_purchase.set_increase_trade_uses

In a flow

“When a player buys from a villager → Player purchase: set increase trade uses → Done”

When a player buys from a villager → Player purchase: set increase trade uses → Done

What it does

Changes the player purchase's increase trade uses before the server goes on with it. Paper: the trade will count as a use. Only before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: changes the player purchase's increase trade uses before the server goes on with it. Paper: the trade will count as a use. Only before any Wait.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Increase trade uses Yes / no

The player purchase's new increase trade uses.

What goes there: Type it in the side panel, or wire in true or false. e.g. true

If it's empty: Optional. Left alone, it's off.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Often next

Related in Logic

Wires and sockets · Data values · Plans