Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Spring Cleaning from SpaceDock #160

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Add Spring Cleaning from SpaceDock #160

merged 2 commits into from
Feb 21, 2024

Conversation

netkan-bot
Copy link
Member

This pull request was automatically generated by SpaceDock on behalf of Safarte, to add Spring Cleaning to CKAN.

Please direct questions about this pull request to Safarte.

Mod details

Key Value
Name Spring Cleaning
Authors Safarte
Abstract Allows hiding parts from the OAB.
License MIT
Size 9.11 KiB
Homepage https://github.com/Safarte/SpringCleaning
Source code https://github.com/Safarte/SpringCleaning

Description

Hide parts from the OAB parts picker. Useful for modders who want to deprecate old parts or for players that need a cleaner OAB experience.

Planned features

  • Add a "Hide Part" button to each part in the OAB Parts Picker.
  • Save user-hidden parts to the save file.
  • In-game UI accessible in the OAB to un-hide parts.

Usage

For modders

You can hide a part using Patch Manager by creating a new patch that looks like this:

@new(spring_cleaning, my_part_id_cleanup)
:json {
  PartId: my_part_id;
  Hidden: true;
  Toggleable: false;
}

With:

  • PartId: your part's Id.
  • Hidden: should the part be hidden from the OAB Parts Picker.
  • Toggleable: should the players be able to un-hide the part.

For players

TBD

This is an automated commit on behalf of Safarte
@cheese3660 cheese3660 merged commit d7f32f6 into main Feb 21, 2024
1 check passed
@cheese3660 cheese3660 deleted the add/SpringCleaning branch February 21, 2024 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants