Skip to content

MC businesses and Bunker: stock, supplies, value and countdowns on play time - #29

Merged
ToothyDev merged 6 commits into
mainfrom
claude/6-business-production
Oct 14, 2026
Merged

ToothyDev merged 6 commits into
mainfrom
claude/6-business-production

Conversation

@ToothyDev

@ToothyDev ToothyDev commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

What this does

Adds the five MC businesses and the Bunker to the property catalog, with Equipment and Staff upgrades. Production data comes from gta.wiki in src/data/production.ts. Stock rises on play time while supplies last, and supplies drain as they're used (decision 012).

Each owned business gets a compact card on the Businesses tab, collapsed by default:

  • stock meter (units and %) and supply meter,
  • value: the far sale first, with the nearby sale smaller after it,
  • one play-time countdown, whichever comes first: "Full in" or "Supplies out in" ("Out" in red),
  • a supply delivery on its way.

"Edit" in the footer opens the resync controls. Their actions (Full, Supplies bought, Sold, Raided, Undo) now sit in one row.

Estimates (decision 013, amends 004): gta.wiki lacks MC supply use without both upgrades, and the staff-only rates. LSOS estimates them by stated rules taken from the Bunker's sourced data:

  • With equipment, supply use is the same as with both upgrades.
  • Without equipment, supplies last half as long.
  • Staff only works like equipment only.

Every number that depends on an estimate is labelled "(est.)", and the card explains the rule. A combination with neither data nor a rule shows "Not tracked".

Closes #6

How to check it

  • Settings → Properties: own the Bunker with both upgrades and press Start. On the Businesses tab, click Edit, set stock 40% and supplies 80%, then click Done. The card should show 40 / 100 units, $420,000 far · $280,000 nearby, and "Supplies out in" about 1:52, with no "(est.)" labels.
  • Own a Cocaine Lockup with Equipment only at stock 30% and supplies 60%. Labels should read "(est.)", "Supplies out in (est.)" should be about 1:36, and an Estimate note should explain the rule.
  • Set a business's supplies to 0. "Supplies out in" should show a red "Out".

Checklist

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

🤖 Generated with Claude Code

…ue on play time

Adds sourced production data (gta.wiki) for the five MC businesses and the Bunker, saved
bars per business (state version 4 with migration), production on play time while supplies
last, and a card per owned business with stock, value and "full in" / "supplies out in"
countdowns. Upgrade combinations without sourced data do not run on their own.

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: cc2bfa3
Status: ✅  Deploy successful!
Preview URL: https://bb217684.lsos-2qs.pages.dev
Branch Preview URL: https://claude-6-business-production.lsos-2qs.pages.dev

View logs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MC combinations without sourced supply use (and staff only) now run on estimates derived
from the Bunker's sourced rates, labelled "(est.)" wherever shown with a note on the rule
(decision 013). Combinations with neither data nor a rule show "Not tracked".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ToothyDev
ToothyDev merged commit 6fece3f into main Oct 14, 2026
4 checks passed
@ToothyDev
ToothyDev deleted the claude/6-business-production branch October 14, 2026 17:02
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: MC businesses and Bunker supplies and stock

2 participants