A common part inventory mod for Kerbal Space Program
@severedsolo, originally by
So you may have heard that @magico13 is giving up modding KSP. I've got the honour of taking over support for ScrapYard, because it makes sense as I have my own mod that depends on it (Oh Scrap!). I want to take this opportunity to thank magico13 for all his hard work and contributions to the community over the years, as I know that my own KSP experience would be much poorer without his mods. Anyway, enough from me.
ScrapYard is a mod that provides a part inventory that can be shared between multiple mods. Parts are added to the inventory when you recover a vessel and are removed from the inventory when you build a new vessel. If you have ever played with Kerbal Construction Time, it's a significantly improved version of the part inventory that KCT had, that is also able to be used by other mods.
If you are using Kerbal Construction Time, all balance is assumed you have this mod. It will substantially reduce build times for both vessels that use parts from the inventory and new vessels that use frequently used parts due to the part tracker. As of writing, no other mods are using this framework, but when they do this mod may be required. And this mod can be used by itself with the override funds option to play with a very different play style.
There are numerous reasons you might want to integrate with ScrapYard (with a hard dependency or a soft dependency, both options are offered), here are just a few that I can think of off the top of my head:
- ScrapYard provides a way to uniquely track a part during its entire life cycle, from the moment it is placed in the editor until the time it is removed from the game. That includes surviving through multiple recoveries and launches. I imagine part failure mods might get the most use out of this, but surprise me!
- By using a developed, common system you don’t need to worry about implementing your own part inventory and automatically gain support with other mods. Spend more time writing new features instead of rewriting something that exists.
- Fine control over the modules that are stored with a part. Once Module Manager support for module templates is added, you can create a new module and a module manager patch to automatically store your module and its data with a part through its entire lifecycle. Module templates use MagiCore’s MathParser to allow for logic processing within the config file (currently limited to just numbers, strings will likely be added soon). Until Module Manager is supported, you can just edit the ModuleTemplates.cfg file directly.
- Get information about how often parts are used on a total used and number of builds basis. This is referred to as either the Part Tracker or the "Like" Part Tracker since it just tracks parts that are like each other (same name).
- Many more that I can’t think of off the top of my head
- Feature Complete
- Future Plans: lol.
- Except compatibility patches, keep it working with future KSP updates.
- Am open to adding more features, great project for someone!
- Have a request? Glad to have them, kindly submit through GitHub.
- I have not personally tested the patches
- [x] English - in progress
- [ ]
HELP WANTED - See the README in the Localization folder for instructions for adding or improving translations for languages other than English. GitHub push is the best way to contribute. Additions and corrections solicited and welcome!
SiriusSamfor the original idea of creating a separate part inventory way back in 2014 and for the name
enneractfor discussion and design help.
eightiesboifor ideas, support and testing! 🧧
[^1]: may work on other versions (YMMV) [^2]: Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date! [^3]: this isn't a mod. ;P
Released on 2022-03-27
*t-minus...the final countdown*
eightiesboi] for ideas, support and testing! 🧧
Released on 2021-09-17
DO A CLEAN INSTALL: DELETE EXISTING THEN RE-INSTALL</color>
usual spring cleaning and automation
Kerbal Space Program 1.12.1
.NET Framework 4.7.2
Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date
Released on 2021-07-19
Kerbal Space Program 1.9.1
.NET Framework 4.8
Released on 2020-03-16
Kerbal Space Program 1.9.1
.NET Framework 4.8
Released on 2019-12-07
Released on 2019-06-16
No changelog provided
Released on 2019-04-14
Released on 2018-10-20
Released on 2018-09-30
Released on 2018-03-19
Some additional bug fixes and changes noticed while updating Kerbal Construction Time to 1.4.1 and verifying that it works correctly with ScrapYard.
Released on 2018-03-17
Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.