边缘世界 RimWorld

边缘世界 RimWorld

Wall Vitals Monitor
Orangentroll 2020 年 3 月 9 日 上午 8:22
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>
< >
正在显示第 1 - 1 条,共 1 条留言
Scorpio 2021 年 5 月 29 日 上午 6:39 
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>
最后由 Scorpio 编辑于; 2021 年 5 月 29 日 上午 7:14
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50