RimWorld
182 оценки
Repair hubs
   
Награда
Добавяне към любими
В любими
Премахване от любими
Mod, 1.4, 1.5
Размер на файла
Публикуван на
Обновен на
680.060 KB
25 авг. 2023 в 0:33
28 юли в 23:40
13 бележки за промени ( преглед )

Абониране, за да се свали
Repair hubs

Описание
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 коментара
LTS  [автор] 7 септ. в 5:47 
Good to know
GeckoBoyer 6 септ. в 2:29 
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  [автор] 28 юли в 23:40 
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 юли в 19:23 
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 юли в 2:10 
@ 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  [автор] 28 юли в 0:25 
@ SeasonedSoulsBorne
There’s a strange interaction with rpg inventory that does that.
SeasonedSoulsBorne 27 юли в 19:27 
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 юли в 22:12 
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 юли в 16:40 
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  [автор] 1 юли в 2:31 
@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.