Add SpawnLocker (code provided by BitMagnet)#354
Merged
ManlyMarco merged 9 commits intomasterfrom Jan 23, 2026
Merged
Conversation
Contributor
Author
|
Waiting before merging this in case the original author makes any updates, will merge once it's stable / the author moved on. In the meantime releases are posted on the KK discord server. |
There was a problem hiding this comment.
Pull request overview
This PR adds the SpawnLocker plugin to the repository, originally developed by BitMagnet and refactored to match repository conventions. The plugin allows players to lock certain characters so they always appear during free roam, even when there are more characters than can be loaded simultaneously.
Changes:
- Added SpawnLocker plugin with support for both Koikatsu (KK) and Koikatsu Sunshine (KKS)
- Implemented character locking functionality through middle-click on character portraits
- Updated README with SpawnLocker documentation
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| src/SpawnLocker.Core/SpawnLockerMain.cs | Core plugin logic including lock state management and spawn filtering |
| src/SpawnLocker.Core/SpawnLockData.cs | Data serialization for persisting lock states |
| src/SpawnLocker.Core/Hooks.cs | Harmony patches for integrating with game systems |
| src/SpawnLocker.Core/AssemblyInfo.cs | Assembly metadata configuration |
| src/SpawnLocker.Core/SpawnLocker.Core.projitems | Shared project items configuration |
| src/SpawnLocker.Core/Core.SpawnLocker.shproj | Shared project definition |
| src/SpawnLocker.KK/KK.SpawnLocker.csproj | Koikatsu-specific project configuration |
| src/SpawnLocker.KK/ClickObserver.cs | UI integration for KK using desk border highlighting |
| src/SpawnLocker.KKS/KKS.SpawnLocker.csproj | Koikatsu Sunshine-specific project configuration |
| src/SpawnLocker.KKS/ClickObserver.cs | UI integration for KKS using text label |
| KK_Plugins.sln | Solution file updated with new projects |
| README.md | Added plugin documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Includes original code that was refactored to fit the style used in this repo.
Needs regression testing with the original plugin.All good.