Repository navigation
Safes tab: Nightclub, Agency, Arcade, Garment Factory and Salvage Yard safes with nightclub popularity - #44
Merged
Merged
Conversation
…tclub popularity Each owned property with a safe gets a card on a new Safes tab: money and capacity, payout per in-game day, next payout and time until full on play time. Nightclub popularity drives its payout, falls each day and has Maxed, Promotion, DJ and Event buttons. Estimated values are marked (decision 013); open data questions are issues #40 to #43. Saved state version 7. Closes #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying lsos with
|
| Latest commit: |
aa8c299
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e9d688ea.lsos-2qs.pages.dev |
| Branch Preview URL: | https://claude-8-safes.lsos-2qs.pages.dev |
- Agency contracts and arcade floor slots are typed numbers (a new "count" upgrade kind) instead of long dropdowns. - Agency pays a $250 base plus $500 per 5 contracts (estimate). - "Full in" assumes popularity stays where it is, so it grows as it falls. - The popularity bar has five segments in the edit controls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closed
- Replace the typed "Next payout in" with a "Payout just arrived" button: restarts the day and pays the payout if LSOS had not counted it yet (syncPayout). - Nightclub "Payout cut" names the current popularity instead of implying one cut amount. - Arcade floor slots default to 0 like every other count; note says "fewer than all 35". - Garment Factory safe: random $1,500 to $2,000 a day, $100,000 cap (gta.wiki); counted at the middle, marked as an estimate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
A new Safes tab with a card for each owned property that has a safe: Nightclub, Agency, Arcade, Garment Factory and Salvage Yard, in that order (fastest to fill at the best payout first). Each card shows:
Payouts land once per in-game day (48 minutes of play time). Nightclub popularity sets the nightclub's payout and drops after every payout. Below 95% the card warns "Payout cut" with the payout at the current popularity.
Numbers that rest on estimates say "(est.)", and each such card has a small best-estimate note (decision 013). In edit mode, safe money (Collected, Full) and popularity (typed, slider or buttons) can be corrected by hand. The payout time is synced with a Payout just arrived button, pressed when the game notifies a payout: it restarts the day, and pays the payout if LSOS had not counted it yet.
Upgrade settings gain a third kind,
count: a whole number typed into aNumberField. The data and its sources are insrc/data/safes.ts, the design in decision 016. Saved data moves to version 7, with a migration test. The settings gear is now a sharedSettingsButton.Open data questions, all labelled
low-priority: #40 (Agency step and base payout), #41 (nightclub popularity loss and event boost), #42 (Arcade per-slot payout), #43 (Salvage Yard reputation decay and safe size without the Wall Safe).Closes #8
How to check it
Checklist
npm run verifypasses🤖 Generated with Claude Code