Repository navigation
Mark a business as shut down, apart from owned - #53
Merged
Merged
Conversation
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>
Deploying lsos with
|
| 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 |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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
shutDownper property entry, next toownedand 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
Checklist
npm run verifypasses🤖 Generated with Claude Code