Repository navigation
Feature Item Values
Claude edited this page Sep 30, 2026
·
1 revision
Home > Features > Community Item Trade Values
The community suggests what items trade for with villagers at brennan.games/dungeontrain/items, and approved values ship in the next build of the mod.
Since: v0.1055.0 (PR #1696); the page lives in the relay (dp-relay PR #618).
- Browse. The page lists every item in the game (3374 at launch) with its inventory icon, its trade value in emeralds, and what a villager actually pays for it, for example "villager: 22 → 1 emerald".
- Suggest. Log in with Discord (Dungeon Train server members only) and press Suggest on any item. Type either the value in emeralds or the trade you want ("Villagers pay [N] item → [M] emeralds"); the other side fills in as you type. A reason is required. One open suggestion per person per item; suggesting again replaces it.
- Vote. On someone else's suggestion, press Support or Reject and say why. One vote per person per suggestion. The tally and everyone's reasons are public, and suggestions sort best-supported first. You can't vote on your own suggestion, and changing or withdrawing a suggestion clears its votes.
-
Approve. Approvers (Discord ids in the relay's
ITEM_VALUE_APPROVER_IDS) approve or reject each suggestion from the same page, or set and reset a value directly. Approving one suggestion closes the others on that item. - Ship. Approved values reach players when a developer pulls them into the mod and builds it. See Development: community item trade values.


- Units. Values are Trade Everything's integer sixteenths of an emerald (16 = one emerald).
-
The villager line. Trade Everything pays 75% of value (
result_multiplier0.75, shown as "33.3% extra"), rounds down to whole emeralds, batches cheap items and pays dear ones in emerald blocks. The page shows the with-rounding figure next to the exact margin.public/dungeontrain/items/trade-quote.jsports TE'sTradePricer; a relay test requires it to match the game's own quote for every item in the catalog. -
In the mod.
compat/TradeValueTablereads the bundleddata/dungeontrain/trade_values.jsonand is registered as Trade Everything's first value provider, so an approved value beats DT's hand-tuned constants (TradeEverythingBridge) and TE's defaults. -
Relay API (cap-less,
/api/dp-relay/items/):values,export,me,auth/*,suggest,withdraw,vote, and approver-onlyapprove,reject,set,clear. See the dp-relay README section "Item trade values". -
Login. Same Discord application as the whitelist page, on its own cookie mount with redirect
https://brennan.games/api/dp-relay/items/auth/callback.