RimWorld

RimWorld

49 ratings
Farhan's Warcasket Tweaks (Vacuum and Temperature)
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
1.081 MB
24 Jul @ 5:28am
6 Sep @ 12:37am
6 Change Notes ( view )

Subscribe to download
Farhan's Warcasket Tweaks (Vacuum and Temperature)

Description
<---------- SUMMARY ---------->

A small patch to make all warcaskets from VFE - Pirates to have appropriate vacuum resistance and insulation, divided into levels.

<---------- EXPLANATION ---------->

1) Levels
Level 1: All non-spacer warcaskets except Hazard and Shock.
Level 2: All spacer warcaskets and Shock
Level 3: Hazard warcasket.

2) Vacuum Resistance
Instead of the helmet having most of the resistance, I changed it so all 3 parts share the same values, to make mix 'n matching easier.

- Level 1 parts have 32%, totaling 96%. (Just like normal quality marine armor)
- Level 2 parts have 35%, totaling >100%. (You can get 100% with two level 2 parts and one level 1 part)
- Level 3 parts have 40%, totaling >100%. (You can get 100% with one level 3 part and two level 1 parts)

3) Cold Insulation
I also give equal values to each part to make mix 'n matching easier.

- Level 1 parts give -25°C, totaling -56°C for baseliners (-75°C + 16°C). (Just like normal quality marine armor)
- Level 2 parts give -34°C, totaling -86°C for baseliners (-102°C + 16°C). (You can get <= -75°C with two level 2 parts and one level 1 part)
- Level 3 parts give -50°C, totaling -134°C for baseliners (-150°C + 16°C). (You can get <= -75°C with one level 3 parts and two level 1 parts)

3) Hot Insulation
I also give equal values to each part to make mix 'n matching easier.

- Level 1 parts give 5°C, totaling 37°C for baseliners (15°C + 26°C). (Just like normal quality marine armor)
- Level 2 parts give 15°C, totaling 71°C for baseliners (45°C + 26°C). (Heat insulation doesn't matter that much in my opinion, I just gave a random value)
- Level 3 parts give 333°C, totaling 1025°C for baseliners (999°C + 26°C). (You should be able to survive a burning room with the Hazard warcasket)

<---------- COMPATIBILITY ---------->
1) Included mods
- Mechlord Warcasket by Kierannkkt - It is a level 2 warcasket
- VFE Pirates unofficial add-on: Workercasket (Re-recontinued) By Brent Kerman - All workercaskets are level 1
- WarCasket Expanded by AOBA - They are all level 1 warcaskets
- Alpha Mechs by Sarg Bjornson - The Mech Master Warcasket is level 2
- The Empire of Straeax: Combined Arms - The Netherion Warcasket is a level 3 warcasket.
- Eventide Warcasket - It is a Level 2 Warcasket.

Note: This is my first time using xml, all values are harcoded one-by-one, I don't know how to use variables, inheritance, and what not. If defNames are changed or new warcaskets are added, I need to update this mod manually.
If you want me to include other warcasket mods, feel free to tell me in the comments.

2) Possible conflicts
- Warcaskets temperature patch by Kimo' - this mod also changes the insulation temperatures (with my values of course).
- If my mod doesn't work with a warcasket mod that I included, try loading my mod below that mod.

<---------- (POSSIBLE) FURTHER PLANS ---------->
- I want to make the Controller warcasket to be for mechanitors. I give up. Just use the Mechlord Warcasket mod.
- Toxic Resistance is not tweaked. The helmet has the most I think. Should I change it?
25 Comments
Necirays 10 Sep @ 8:10pm 
There are indeed 2 stats to the Guardian shoulders, one with +10% vacuum resistance and the other +35%. A quick tweak with the help of RiMMSQol was enough to solve the problem
Hazard Maks 10 Sep @ 1:50pm 
Thank you for this mod! I was surprised warcaskets were not vacuum resistant... smh
pillbug2 6 Sep @ 9:32am 
Thanks!!
QiamOnline  [author] 6 Sep @ 12:41am 
Added support for the Eventide Warcasket (both temperature and vacuum resistance)
pillbug2 5 Sep @ 10:04pm 
Hello, thank you for the mod!

Could temperature support for the Eventide Warcasket be added?

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3536153812
QiamOnline  [author] 4 Sep @ 7:03am 
Compatibility for The Empire of Straeax: Combined Arms have been added. Enforced load order for Alpha mechs also added. Thank you for the feedback.
Luckspeare 1 Sep @ 11:22am 
Mod load order issue. Following error if FWCT is put before Alpha Mechs.

[Farhan's Warcasket Tweaks (Vacuum and Temperature)] Patch operation Verse.PatchOperationFindMod(Alpha Mechs) failed
file: C:\Games\Indiv\Rimworld\Mods\3533261706\Patches\Alpha_Mech_Warcasket.xml

Common sense, but easy to overlook. Could benefit from enforced load order.
Goedel 29 Aug @ 8:57am 
Regarding the issue with two instances of the vacuum resistance on the spacer warcasket shoulder pieces:

after some quick XML-editing:
i tried changing the patch operation class to "PatchOperationReplace" (from "..Add" ) which threw an error - the game for some reason doesn't register the original mods vacuum resistance stat on the shoulders as the same stat being added/replaced - couldn't figure out why tho.

What ended up working was first removing the old value and then adding the new one. So something like this for each item:

<Operation Class="PatchOperationRemove">
<xpath> Defs/.../VacuumResistance </xpath>
</Operation>

<Operation Class="PatchOperationAdd">
<xpath> Defs/... </xpath>
<value> ... </value>
</Operation>
Kenny 26 Aug @ 8:25pm 
Same here, full spacer war casket only gives 80% vac resistance. Tried re subbing and checking load order, cant seem to fix it like like thedoktorj did
Alan 25 Aug @ 6:55am 
Yeah, all and only spacer warcasket shoulders have 2 vacuum resistance lines and only the 1st one being 10% counts, no clue what could possibly be causing this.