RimWorld
179 évaluations
Repair hubs
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Mod, 1.4, 1.5
Taille du fichier
Publié le
Mis à jour le
680.060 KB
25 aout 2023 à 0h33
28 juil. à 23h40
13 notes de changement ( voir )

S'abonner pour télécharger
Repair hubs

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 1HP to held weapon and each apparel 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 1HP to held weapon and each apparel item twice per day

With Anomaly:
-Fleshweaver Obelisk: grants up to 5hp/day regeneration in a radius of 4 with a chance to mutate pawns on average once every 45 days
-Fleshweaver Implant: grants up to 2hp/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.
81 commentaires
LTS  [créateur] Il y a 7 heures 
Good to know
GeckoBoyer 6 sept. à 2h29 
Hi @LTS!

Unsure if this is helpful, but that previous error with RPG Inventory regarding the constantly rising item HP: they pushed a fix today that sounds related to it?

4.1.revamp.6.3
- minor fix for cases when "health background" is used and for some reason apparel hp is higher than max hp;
LTS  [créateur] 28 juil. à 23h40 
Looks like an error in the load file was making the 1.5 version load for 1.4. A fix will be uploaded momentarily.
Nex Nova 28 juil. à 19h23 
downgraded my version to 1.4 and was going to use this mod, works fine, except for when I try to open the dev menus, menu fails to open and I get this error:

Exception filling window for Verse.ImmediateWindow: System.TypeLoadException: Could not load type of field 'LTS_Repair.RH_Building_FleshweaverObelisk:noiseSourceComp' (2) due to: Could not resolve type with token 0100001d (from typeref, class/assembly RimWorld.CompNoiseSource, Assembly-CSharp, Version=1.5.8909.13066, Culture=neutral, PublicKeyToken=null) assembly:Assembly-CSharp, Version=1.5.8909.13066, Culture=neutral, PublicKeyToken=null type:RimWorld.CompNoiseSource member:(null) signature:<none>

(i should mention that I don't have any of the dlc's)
SeasonedSoulsBorne 28 juil. à 2h10 
@ LTS
Yeah rpg and repair hub, from what i see the hp for the weapon goes over 100 and keeps going higher, even covering your pawn
LTS  [créateur] 28 juil. à 0h25 
@ SeasonedSoulsBorne
There’s a strange interaction with rpg inventory that does that.
SeasonedSoulsBorne 27 juil. à 19h27 
Huh, i keep seeing the bar of a weapon get higher and higher if someone has a belt/implant in their inventory, and their weapon being 100%
Tirith Amar 11 juil. à 22h12 
May i suggest introducing a new repair hub for items that allows repairing items more quickly at the cost of electricity and 2x2 building size, and nothing else?
Azazelim 1 juil. à 16h40 
I see, may I suggest turning off the feature for equiped weapons? or have the ability to turn it off on the mod options, weapons don't get damaged on combat anyways so that would be a work around
LTS  [créateur] 1 juil. à 2h31 
@Azazelim
I've not yet figured out why, but the rpg inventory mod seems to remove the maximum health limit, and even subvert my manual maximum health checks.

Also, I'm planning to change the code so that it heals 'equipment', rather than apparel and the held weapon specifically. So hopefully that should target side arms.