Skip to content

New Prices page; Crafting, Loadouts and Farming share one set of prices - #38

Merged
xBusterguy merged 1 commit into
mainfrom
prices-page
Nov 17, 2026
Merged

xBusterguy merged 1 commit into
mainfrom
prices-page

Conversation

@xBusterguy

Copy link
Copy Markdown
Owner

Implements option A from the prices page ideas canvas, with Farming using the same prices.

Prices page (prices.html)

  • Left rail: groups (Ores & metals, Timber & fuel, Hunt & hides, Herbs & mushrooms, Farm & food, Fish, Rare finds, Parts you can craft) and filters (Prices I set, Missing a price, Needed for my order).
  • Table: your price, market price, what the calculators use (yours / market / worked out / missing) and how many pieces use it. Enter moves to the next box.
  • Market switch, price sets (save, use, delete) and share (copy, bring in), all with undo. Links like prices.html?show=missing and ?group=farm.

Other pages

  • Crafting and Loadouts: the price panels are replaced by one line (yours / market / missing, Edit prices). They refresh live when prices change in another tab, and no longer write kcd-p themselves.
  • Farming: worth per load = your price, else market, else the old typical value. Values typed on Farming before are moved into kcd-p once, then kcd-farm-w is removed. Typing on Farming still works and updates the shared price.
  • Shared logic in assets/pricing.js; hemp fibre added (market 5) so Farming's hemp can be priced.
  • Nav: Prices link on every page. On phones the Tour button moves into Settings so five links fit at 320 px.
  • Tour steps for Prices, home tool card, README and CONTRIBUTING, changelog, screenshots, cache v9.

Note: Farming rankings shift slightly because crops now use market averages by default (for example hops 5 instead of 3).


Generated by Claude Code

…d Farming read from it

- prices.html (option A): group rail, filters (mine / missing / my order), your price vs market vs what the calculators use, used-in counts, price sets, share, clear with undo
- assets/pricing.js: shared price logic (groups, market fallback, worked-out parts, stats)
- Crafting and Loadouts: price panels replaced by a one-line summary linking to Prices; live refresh when prices change in another tab
- Farming: worth per load = your price, else market, else typical; old worth values moved into prices once
- Nav gets Prices; on phones Tour moves into Settings so the bar fits
- Tour, home tool card, README, CONTRIBUTING, changelog, screenshots, cache v9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018s4eMKspdgofFvWn8PTeob
@xBusterguy
xBusterguy merged commit 00d7457 into main Nov 17, 2026
1 check passed
@xBusterguy
xBusterguy deleted the prices-page branch November 17, 2026 10:24
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.

2 participants