Skip to content

Add trading - #75

Open
expanderbult wants to merge 1 commit into
gurotopia:masterfrom
expanderbult:trading
Open

expanderbult wants to merge 1 commit into
gurotopia:masterfrom
expanderbult:trading

Conversation

@expanderbult

Copy link
Copy Markdown
Contributor

Wrench a player > Trade, or /trade {player}, opens the real trade window. Both players add items, accept, and get a confirm dialog listing what they give and receive (with a scam warning when getting nothing back) before the items swap.

  • Items are checked again right before the swap, so nothing can be duplicated or lost if an item disappears mid-trade.
  • Untradeable items can't be offered, and a full backpack blocks the trade.
  • Leaving the world or the game cancels the trade for both players.

Wrench a player > Trade, or /trade {player}, opens the real trade window. Both players add items, accept, and get a confirm dialog listing what they give and receive (with a scam warning when getting nothing back) before the items swap.

- Items are checked again right before the swap, so nothing can be duplicated or lost if an item disappears mid-trade.
- Untradeable items can't be offered, and a full backpack blocks the trade.
- Leaving the world or the game cancels the trade for both players.
@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 8 medium

Alerts:
⚠ 8 issues (≤ 0 issues of at least minor severity)

Results:
8 new issues

Category Results
Complexity 8 medium

View in Codacy

🟢 Metrics 179 complexity · 1 duplication

Metric Results
Complexity 179
Duplication 1

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant