Skip to content

Add SpawnLocker (code provided by BitMagnet)#354

Merged
ManlyMarco merged 9 commits intomasterfrom
SpawnLocker
Jan 23, 2026
Merged

Add SpawnLocker (code provided by BitMagnet)#354
ManlyMarco merged 9 commits intomasterfrom
SpawnLocker

Conversation

@ManlyMarco
Copy link
Contributor

@ManlyMarco ManlyMarco commented Jul 30, 2025

Includes original code that was refactored to fit the style used in this repo.
Needs regression testing with the original plugin. All good.

acezen3d

This comment was marked as off-topic.

@ManlyMarco ManlyMarco marked this pull request as draft September 17, 2025 10:07
@ManlyMarco
Copy link
Contributor Author

ManlyMarco commented Sep 17, 2025

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.

@ManlyMarco ManlyMarco marked this pull request as ready for review January 23, 2026 20:20
Copilot AI review requested due to automatic review settings January 23, 2026 20:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@ManlyMarco ManlyMarco merged commit 3f6b8dd into master Jan 23, 2026
1 check passed
@ManlyMarco ManlyMarco deleted the SpawnLocker branch January 23, 2026 22:04
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.

3 participants