Skip to content

Nightclub warehouse: goods per technician, full-in times, value and best technician setup - #36

Merged
ToothyDev merged 4 commits into
mainfrom
claude/7-nightclub-warehouse
Oct 14, 2026
Merged

ToothyDev merged 4 commits into
mainfrom
claude/7-nightclub-warehouse

Conversation

@ToothyDev

@ToothyDev ToothyDev commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

What this does

Tracks the nightclub warehouse. The Nightclub joins the property catalog with Equipment, warehouse floors (1 to 5) and five technician assignments. The Hangar and Special Cargo Warehouse are added as owned/not owned only: they unlock Cargo and Shipments and get no card on the Businesses tab. Each assigned goods type fills on play time up to its capacity.

  • Card: two lines per goods type: name, crates and value, then the bar with its time to full under one "Full in" header ("Full", or "Idle" when no technician makes it). The type that fills first gets an accent edge, and the total value follows. "Edit" resyncs crates per type, with Sold and Full buttons.
  • Best setup: goods are ranked by value per hour (value per crate ÷ time per crate, the wiki's own column). The card suggests moving the available technicians to the best unlocked goods that aren't full. It never hires, shows the gain per hour and applies the moves with one button. A full type says "X is full. Sell it, or move technician N to Y", or only "Sell it" when there's nothing better to move to.
  • Data from gta.wiki, Nightclubs/Warehouse Management: value per crate, crates per floor, and minutes per crate with and without equipment. Every floor holds the same; 2 to 4 floors confirmed in game (Data: nightclub warehouse capacity with 2 to 4 floors #35).
  • Only ownership unlocks goods. The wiki says technicians need no supplies, so the linked business's supplies and stock don't matter. Goods whose business isn't owned show "Locked", and two technicians on one type count once.
  • Saved in crates (state version 6, migration tested). New crates unit for EditableValue. Settings show upgrade labels and selects in two even columns.
  • Design choices are in decision 015.

Follow-up: #38 (mark a business as shut down, which also locks its nightclub goods).

Closes #7

How to check it

  1. Settings → mark the Nightclub and a few businesses as owned, for example Cash, Weed and Cocaine. In the Nightclub settings, assign technicians, including one to Organic Produce.
  2. Businesses tab: a "More per hour" tip suggests a better assignment, and "Move" applies it.
  3. Use Edit to set a type to Full: the card says it's full and offers to sell it or move its technician.
  4. Press Start: crates rise and the times count down.
  5. Owning a Hangar alone adds no card but unlocks Cargo.

Checklist

  • npm run verify passes
  • Game data added or changed here has a source (see docs/decisions/004-game-data.md)
  • README / CLAUDE.md updated if usage or workflow changed

🤖 Generated with Claude Code

Adds the Nightclub (Equipment, warehouse floors, five technicians), the Hangar and the
Special Cargo Warehouse to the catalog, sourced goods data from gta.wiki, production on
play time saved in crates (state version 6), and a card section with a row per goods
type, total value, the next one to fill highlighted and crate resync. Capacity for 2 to 4
floors is a marked estimate (decision 015).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Deploying lsos with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3622c0f
Status: ✅  Deploy successful!
Preview URL: https://bb39768b.lsos-2qs.pages.dev
Branch Preview URL: https://claude-7-nightclub-warehouse.lsos-2qs.pages.dev

View logs

- Suggest the technician setup with the most value per hour for the goods the user owns,
  with the gain and a Move button; a full type says "sell it, or move technician N".
- Two-line goods rows with one "Full in" column; technicians left out of the summary.
- Hangar and Special Cargo Warehouse get no Businesses card (`card: false`).
- Capacity per floor confirmed in game for 2 to 4 floors (#35): no longer an estimate.
- Settings: upgrade labels and selects in two even columns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ToothyDev ToothyDev changed the title Nightclub warehouse: goods per technician, full-in times and total value Nightclub warehouse: goods per technician, full-in times, value and best technician setup Oct 14, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ToothyDev
ToothyDev merged commit 2e087b7 into main Oct 14, 2026
4 checks passed
@ToothyDev
ToothyDev deleted the claude/7-nightclub-warehouse branch October 14, 2026 20:22
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.

Tracker: Nightclub warehouse goods and "full at" times

2 participants