Skip to content

Mark a business as shut down, apart from owned - #53

Merged
ToothyDev merged 3 commits into
mainfrom
claude/38-business-shut-down
Oct 15, 2026
Merged

ToothyDev merged 3 commits into
mainfrom
claude/38-business-shut-down

Conversation

@ToothyDev

@ToothyDev ToothyDev commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

What this does

Biker businesses and the Bunker get a "Running"/"Shut down" toggle button next to "Owned" (card gear and Settings tab), shown only while owned. A shut-down business stays owned with its upgrades and card, but:

  • Shutting down empties the stock and keeps the supplies (checked in game). Starting it again changes nothing.
  • Production (decision 012): no stock is made and no supplies are used. The card is dimmed like a disabled control: it keeps its colours, only darker, and stays readable. It keeps its bars and value, shows a neutral "Shut down" note, and hides the countdowns and the boost.
  • Nightclub (decision 015): goods whose only unlocking business is shut down count as locked, so the Locked note and the best-setup suggestion follow.
  • Money Fronts (decision 018): it adds nothing to the Car Wash safe (sharesPay). The card's "only count while running" caveat becomes "A shut-down business adds nothing."

Settings layout: Clock and Backup come first. Properties spans the full width below them, in as many columns as fit. Wrapped buttons stay right-aligned on narrow screens.

State: an optional shutDown per property entry, next to owned and the upgrades. Data version 10 has a no-op migration, so older copies of LSOS do not drop the flag. A test covers a stored version 9 sample. Decision 020 records the choices.

Open question: gta.wiki does not describe shutting a business down from its laptop (checked 2026-10-15). The nightclub and Money Fronts rules rest on the sources already in decisions 015 and 018. Whether a technician has to be reassigned after a restart is unconfirmed, so it is not modelled. The Acid Lab gets no button because no source says it can be shut down.

Closes #38

How to check it

  • Settings: own the Bunker with some stock, then press "Running" so it turns to "Shut down". On the Businesses tab the card is dimmed, the stock is 0, the supplies are unchanged, and the countdown is gone. Press it again and the countdown returns.
  • Own the Nightclub and the Counterfeit Cash Factory with a technician on Cash. Shut the factory down: Cash shows as Locked.
  • Own the Car Wash and a biker business, then shut the business down: the safe's payout drops by that business's share.

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

Biker businesses and the Bunker get a "Shut down" checkbox in their
settings. While shut down a business makes no stock and uses no supplies,
its nightclub goods count as locked, and it adds nothing to the Money
Fronts safe. Data version 10 (no-op migration: the flag is optional).
Decision 020.

Closes #38

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

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

Copy link
Copy Markdown

Deploying lsos with  Cloudflare Pages  Cloudflare Pages

Latest commit: b6d964d
Status: ✅  Deploy successful!
Preview URL: https://a67dffaf.lsos-2qs.pages.dev
Branch Preview URL: https://claude-38-business-shut-down.lsos-2qs.pages.dev

View logs

Shutting a business down empties its stock and keeps its supplies. A
shut-down card is greyed out with a grey note instead of the yellow one.
The "Shut down" checkbox becomes a Running/Shut down button next to
Owned. The Settings page puts Properties across the full width in
columns, below Clock and Backup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The card keeps its colours and gets darker, like a disabled control. The
"Shut down." label in its note is no longer in the warning colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ToothyDev
ToothyDev merged commit 534f121 into main Oct 15, 2026
4 checks passed
@ToothyDev
ToothyDev deleted the claude/38-business-shut-down branch October 15, 2026 09:55
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.

Mark a business as shut down (separate from owned)

2 participants