RimWorld

RimWorld

Wall Vitals Monitor
Suggestion: Additional Mod Support for Vanilla Expanded Medical and Android Tiers
Hey there.
First things first: Thank you for the Mod. Nice little feature :)

While playing around I noticed, that the wall monitors do not apply do furniture added by vannilla furniture expanded and Android Tiers.
So i looked around a bit and added the dependencies (see below) myself.

@everyone
Note that I am NOT a modder. I never modded rimworld myself and have no experience with that. I just looked a bit at the XML and thought: well that might work :P So I guarantee for nothing and therefore make this suggestion to add the support for this items to the official mod :)

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Furniture Expanded - Medical Module</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Bed_OperatingTable"]/comps/li/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
</operations>
</match>
</Operation>

<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Furniture Expanded - Medical Module</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Bed_CryptoBed"]/comps/li/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
</operations>
</match>
</Operation>


<Operation Class="PatchOperationFindMod">
<mods>
<li>Android tiers</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AndroidOperationBed"]/comps/li[@Class = "CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="ATTP_AndroidPodBase"]/comps/li[@Class = "CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
</operations>
</match>
</Operation>
< >
Showing 1-1 of 1 comments
Scorpio May 29, 2021 @ 6:39am 
thanks for this but needs a little fix

copy this file and use this website to fix because steam community ♥♥♥♥♥ the formatting

https://www.freeformatter.com/xml-formatter.html

create a txt file in notepad and save on patches folder of this mod usually located at :

C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\1334289344

And save it has .XML file

text to copy :

<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Furniture Expanded - Medical Module</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Bed_OperatingTable"]/comps/li/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
</operations>
</match>
</Operation>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Vanilla Furniture Expanded - Medical Module</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "Bed_CryptoBed"]/comps/li/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
</operations>
</match>
</Operation>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Android tiers</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="AndroidOperationBed"]/comps/li[@Class = "CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="ATTP_AndroidPodBase"]/comps/li[@Class = "CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
<value>
<li>Wall_M_VitalsMonitor</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>
Last edited by Scorpio; May 29, 2021 @ 7:14am
< >
Showing 1-1 of 1 comments
Per page: 1530 50