Repair Hubs [Forked]
< ======= Disclaimer ======= >
I am not the original author of this mod. I have forked and updated it for RimWorld 1.6. If the original author requests its removal, I will respectfully comply.
< ======= Credits ======= >
Special ThanksPlease check out and thank these creators for their work and inspiration:
< Official Source Code >Link[gitgud.io]
< ======= Questions ======= >
Q: What did you change in the original?
✨ Update Overview ▼
- Bug Fix: Fixed an issue where a weapon’s current HP could exceed its maximum (e.g., 102, 103, 104…/100).
- Code Updates: Improved compatibility with other mods and updated code for RimWorld 1.4.
• Adjustments made in both XML and C#.
• Functionality remains unchanged from the original mod.- Mod Settings: Added new options that allow Repair Hubs to repair gear (suggested by Lyrdian), and introduced customizable stats for all items and buildings added by this mod (suggested by HamperedLeek).
- Translations: Added support for Russian, ChineseTraditional, and ChineseSimplified.
<= Original Mod Description =>
Adds a variety of structures that repair nearby walls and a couple of items that slowly repair equipment, all unlocked by a new research:
- Small repair hub: restores 10 HP to structures in a radius of 6 tiles once every 5 seconds.
- Large repair hub: restores 10 HP to structures in a radius of 32 tiles once every 10 seconds.
- Archotech repair hub: restores 10 HP to structures in a radius of 4 tiles once every second. Doesn’t require power but can’t be crafted.
- Repair hub belt: restores 1 HP to each equipment item twice per day, modified by quality, e.g. once per day for awful and 4 times per day for legendary.
- Implanted repair hub: restores 1 HP to each equipment item twice per day
With Anomaly:
- Fleshweaver Obelisk: grants up to 5 HP/day regeneration in a radius of 4 with a chance to mutate pawns on average once every 45 days
- Fleshweaver Implant: grants up to 2 HP/day regeneration with a chance to mutate the pawn on average once every 120 days
Big thanks to everyone on the rimworld discord for the help with coding and to Oskar, who’s work these items are inspired by.