# SpinDrive

 "Following on from Dr. Grace's discovery, we've built an IR emitter set to the wavelength of CO2, which attracts the astrophage to this revolver face. The drive then rotates outwards, yeah? We increase the IR, the astrophage get excited, thrust the ship forward, and so on and so on." — Dr. Narender Sood, *Project Hail Mary (2026)*

A Kerbal Space Program parts mod inspired by Andy Weir's *[Project Hail Mary](https://en.wikipedia.org/wiki/Project_Hail_Mary)*.
Adds astrophage-powered propulsion and related parts to the game.

![The SpinDrive on a KSP model of the movie's Hail Mary.](Media/screenshot81.png)

(This is an unofficial fan-made mod and is not affiliated with Andy Weir or any Project Hail Mary production.)

## Parts

- **TC-96 "Komarov" Spin Drive**
- **TC-96-950 "DuBois" Spin Drive Cluster**
- **Astrophage-Electricity Generator**
- *...and more to come!*

## Dependencies

These mods are **required** for SpinDrive to run! There is no CKAN support yet; you'll need to install each one (and their own dependencies) before installing SpinDrive in order for the mod to work.

- [Far Future Technologies](https://github.com/post-kerbin-mining-corporation/FarFutureTechnologies)
  - Needed for the spinning animation in the engines.
- [B9 Part Switch](https://github.com/blowfishpro/B9PartSwitch)
  - Fuel switches work through B9 Modules.

## Compatibilities
These mods are **not required** for the SpinDrive mod to run, but are currently supported through patches.

- [Near Future Launch Vehicles](https://github.com/post-kerbin-mining-corporation/NearFutureLaunchVehicles), [CryoTanks](https://github.com/post-kerbin-mining-corporation/CryoTanks/releases), and [ReStock Plus](https://github.com/PorktoberRevolution/ReStocked)
  - Allows more sizes of astrophage fuel tanks to be used in your craft.
- [Waterfall](https://github.com/KSPModStewards/Waterfall)
  - Astrophage engines have custom Waterfall plumes.
- [Community Tech Tree](https://github.com/post-kerbin-mining-corporation/CommunityTechTree)
  - Astrophage technology can be properly unlocked in a science or career mode save.

## Installation

Download the ZIP file from this repository and extract it. The extracted folder should be named `SpinDrive`, and it should be placed inside your KSP installation's `GameData` folder (along with any other mods you have).

When done correctly, the path should look like this:
```
KerbalSpaceProgram/
└── GameData/
    ├── SpinDrive/
    │   ├── SpinDrive.cfg
    │   ├── SpinDriveCluster.cfg
    │   └── ...
    ├── Squad/
    ├── YourOtherMods/
    └── ...
```

## Known Issues

<!-- **Astrophage tank model path**: The standalone astrophage tank part references a model path from an unrelated mod (`KODS/Parts/Astra/...`). Without that mod installed, the part renders as a placeholder mesh.-->
- *Issues will  be listed here as they are found.*

## Credits

- **[NoLifeJordan](https://github.com/nolifejordan)**, original mod author
- **[NatoKerbal](https://github.com/NatoKerbal)**, repository owner and mod maintainer
- **[QuantumsHevy](https://github.com/QuantumsHevy)**, contributor and gallery craft creator
- ***Project Hail Mary (2026)*** by Andy Weir, main inspiration

![A rear view of a KSP model of the movie's Hail Mary.](Media/screenshot78.png)

## License

[The MIT License](./LICENSE) (MIT)
Copyright © 2026

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
