Guest User

Vanilla.xml

a guest
Jan 16th, 2023
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 17.90 KB | None | 0 0
  1. <Patch>
  2.  
  3.     <Operation Class="PatchOperationFindMod">
  4.         <mods>
  5.             <li>GloomyFurniture</li>
  6.         </mods>
  7.         <match Class="PatchOperationSequence">
  8.             <success>Always</success>
  9.             <operations>
  10.                 <li Class="PatchOperationAdd">
  11.                     <xpath>Defs/ThingDef[@Name="BasicBedBase"]/comps/li[@Class="CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
  12.                     <value>
  13.                         <li>WardrobeA</li>
  14.                         <li>GL_Teddy</li>
  15.                     </value>
  16.                 </li>
  17.  
  18.                 <li Class="PatchOperationReplace">
  19.                     <xpath>Defs/ThingDef[defName="Bed"]/graphicData</xpath>
  20.                     <value>
  21.                         <graphicData>
  22.                             <texPath>Things/Building/Furniture/RGK_bedSingle</texPath>
  23.                             <graphicClass>Graphic_Multi</graphicClass>
  24.                             <shaderType>CutoutComplex</shaderType>
  25.                             <drawSize>(3,4)</drawSize>
  26.                             <damageData>
  27.                                 <rect>(0,0.05,1,1.95)</rect>
  28.                             </damageData>
  29.                         </graphicData>
  30.                     </value>
  31.                 </li>
  32.  
  33.                 <li Class="PatchOperationReplace">
  34.                     <xpath>Defs/ThingDef[defName="DoubleBed"]/graphicData</xpath>
  35.                     <value>
  36.                         <graphicData>
  37.                             <texPath>Things/Building/Furniture/RGK_bedDouble</texPath>
  38.                             <graphicClass>Graphic_Multi</graphicClass>
  39.                             <shaderType>CutoutComplex</shaderType>
  40.                             <drawSize>(4.05,4.05)</drawSize>
  41.                             <damageData>
  42.                                 <rect>(0,0.05,2,1.95)</rect>
  43.                             </damageData>
  44.                         </graphicData>
  45.                     </value>
  46.                 </li>
  47.  
  48.                 <li Class="PatchOperationReplace">
  49.                     <xpath>Defs/ThingDef[defName="RoyalBed"]/graphicData</xpath>
  50.                     <value>
  51.                         <graphicData>
  52.                             <texPath>Things/Building/Furniture/GL_ClassyDoubleBed</texPath>
  53.                             <graphicClass>Graphic_Multi</graphicClass>
  54.                             <shaderType>CutoutComplex</shaderType>
  55.                             <drawSize>(4,4)</drawSize>
  56.                             <damageData>
  57.                                 <rect>(0,0.05,2,1.95)</rect>
  58.                             </damageData>
  59.                         </graphicData>
  60.                     </value>
  61.                 </li>
  62.  
  63.                 <li Class="PatchOperationReplace">
  64.                     <xpath>Defs/ThingDef[defName="EndTable"]/graphicData/texPath</xpath>
  65.                     <value>
  66.                         <texPath>Things/Building/Furniture/RGK_EndTable</texPath>
  67.                     </value>
  68.                 </li>
  69.  
  70.                 <li Class="PatchOperationReplace">
  71.                     <xpath>Defs/ThingDef[defName="Dresser"]/graphicData</xpath>
  72.                     <value>
  73.                         <graphicData>
  74.                             <texPath>Things/Building/Furniture/RGK_Dresser</texPath>
  75.                             <graphicClass>Graphic_Multi</graphicClass>
  76.                             <drawSize>(4,4)</drawSize>
  77.                             <damageData>
  78.                                 <cornerTL>Damage/Corner</cornerTL>
  79.                                 <cornerTR>Damage/Corner</cornerTR>
  80.                                 <cornerBL>Damage/Corner</cornerBL>
  81.                                 <cornerBR>Damage/Corner</cornerBR>
  82.                             </damageData>
  83.                         </graphicData>
  84.                     </value>
  85.                 </li>
  86.  
  87.                 <li Class="PatchOperationReplace">
  88.                     <xpath>Defs/ThingDef[defName="Stool"]/graphicData</xpath>
  89.                     <value>
  90.                         <graphicData>
  91.                             <texPath>Things/Building/Furniture/RGK_Chair2</texPath>
  92.                             <graphicClass>Graphic_Multi</graphicClass>
  93.                             <damageData>
  94.                                 <rectN>(0.125,0.296875,0.734375,0.421875)</rectN>
  95.                                 <rectS>(0.125,0.296875,0.734375,0.421875)</rectS>
  96.                                 <rectE>(0.234375,0.296875,0.5,0.546875)</rectE>
  97.                                 <rectW>(0.234375,0.296875,0.5,0.546875)</rectW>
  98.                                 <cornerTL>Damage/Corner</cornerTL>
  99.                                 <cornerTR>Damage/Corner</cornerTR>
  100.                                 <cornerBL>Damage/Corner</cornerBL>
  101.                                 <cornerBR>Damage/Corner</cornerBR>
  102.                             </damageData>
  103.                             <drawSize>(3,3)</drawSize>
  104.                             <shadowData>
  105.                                 <volume>(0.18, 0.23, 0.18)</volume>
  106.                             </shadowData>
  107.                         </graphicData>
  108.                     </value>
  109.                 </li>
  110.  
  111.                 <li Class="PatchOperationReplace">
  112.                     <xpath>Defs/ThingDef[defName="DiningChair"]/graphicData</xpath>
  113.                     <value>
  114.                         <graphicData>
  115.                             <texPath>Things/Building/Furniture/RGK_Chair</texPath>
  116.                             <graphicClass>Graphic_Multi</graphicClass>
  117.                             <drawSize>(3,3)</drawSize>
  118.                             <damageData>
  119.                                 <rectN>(0.25,0.234375,0.5,0.28125)</rectN>
  120.                                 <rectS>(0.25,0.234375,0.5,0.28125)</rectS>
  121.                                 <rectE>(0.28125,0.25,0.453125,0.25)</rectE>
  122.                                 <rectW>(0.28125,0.25,0.453125,0.25)</rectW>
  123.                             </damageData>
  124.                             <shadowData>
  125.                                 <volume>(0.23, 0.26, 0.23)</volume>
  126.                             </shadowData>
  127.                         </graphicData>
  128.                     </value>
  129.                 </li>
  130.  
  131.                 <!-- Toolcabinet -->
  132.  
  133.                 <li Class="PatchOperationReplace">
  134.                     <xpath>Defs/ThingDef[defName="ToolCabinet"]/graphicData</xpath>
  135.                     <value>
  136.                         <graphicData>
  137.                             <texPath>Things/Linkables/ToolCabinet</texPath>
  138.                             <graphicClass>Graphic_Multi</graphicClass>
  139.                             <drawSize>(4,4)</drawSize>
  140.                             <damageData>
  141.                                 <cornerTL>Damage/Corner</cornerTL>
  142.                                 <cornerTR>Damage/Corner</cornerTR>
  143.                                 <cornerBL>Damage/Corner</cornerBL>
  144.                                 <cornerBR>Damage/Corner</cornerBR>
  145.                             </damageData>
  146.                         </graphicData>
  147.                     </value>
  148.                 </li>
  149.                 <li Class="PatchOperationReplace">
  150.                     <xpath>Defs/ThingDef[defName="ToolCabinet"]/size</xpath>
  151.                     <value>
  152.                         <size>(2,1)</size>
  153.                     </value>
  154.                 </li>
  155.                 <li Class="PatchOperationConditional">
  156.                     <xpath>Defs/ThingDef[defName="ToolCabinet"]/stuffCategories</xpath>
  157.                     <nomatch Class="PatchOperationSequence">
  158.                         <operations>
  159.                             <li Class="PatchOperationAdd">
  160.                                 <xpath>Defs/ThingDef[defName="ToolCabinet"]</xpath>
  161.                                 <value>
  162.                                     <costStuffCount>10</costStuffCount>
  163.                                 </value>
  164.                             </li>
  165.                             <li Class="PatchOperationAdd">
  166.                                 <xpath>Defs/ThingDef[defName="ToolCabinet"]</xpath>
  167.                                 <value>
  168.                                     <stuffCategories>
  169.                                         <li>Metallic</li>
  170.                                         <li>Woody</li>
  171.                                         <li>Stony</li>
  172.                                     </stuffCategories>
  173.                                 </value>
  174.                             </li>
  175.                             <li Class="PatchOperationReplace">
  176.                                 <xpath>Defs/ThingDef[defName="ToolCabinet"]/costList</xpath>
  177.                                 <value>
  178.                                     <costList>
  179.                                         <Steel>200</Steel>
  180.                                     </costList>
  181.                                 </value>
  182.                             </li>
  183.                         </operations>
  184.                     </nomatch>
  185.                 </li>
  186.  
  187.                 <!-- Other vanilla stuff -->
  188.  
  189.                 <li Class="PatchOperationReplace">
  190.                     <xpath>Defs/ThingDef[defName="TorchLamp"]/graphicData</xpath>
  191.                     <value>
  192.                         <graphicData>
  193.                             <texPath>Things/Building/Furniture/TorchLamp</texPath>
  194.                             <graphicClass>Graphic_Single</graphicClass>
  195.                             <drawSize>(1,1)</drawSize>
  196.                             <damageData>
  197.                                 <cornerTL>Damage/Corner</cornerTL>
  198.                                 <cornerTR>Damage/Corner</cornerTR>
  199.                                 <cornerBL>Damage/Corner</cornerBL>
  200.                                 <cornerBR>Damage/Corner</cornerBR>
  201.                             </damageData>
  202.                         </graphicData>
  203.                     </value>
  204.                 </li>
  205.  
  206.                 <!-- Joy -->
  207.  
  208.                 <li Class="PatchOperationReplace">
  209.                     <xpath>Defs/ThingDef[defName="Telescope"]/graphicData</xpath>
  210.                     <value>
  211.                         <graphicData>
  212.                             <texPath>Things/Joy/Telescope</texPath>
  213.                             <graphicClass>Graphic_Single</graphicClass>
  214.                             <drawSize>(1,1)</drawSize>
  215.                             <shadowData>
  216.                                 <volume>(0.5, 0.3, 0.4)</volume>
  217.                             </shadowData>
  218.                         </graphicData>
  219.                     </value>
  220.                 </li>
  221.  
  222.                 <li Class="PatchOperationReplace">
  223.                     <xpath>Defs/ThingDef[defName="HoopstoneRing"]/graphicData</xpath>
  224.                     <value>
  225.                         <graphicData>
  226.                             <texPath>Things/Joy/HoopstoneRing</texPath>
  227.                             <graphicClass>Graphic_Multi</graphicClass>
  228.                             <shaderType>CutoutComplex</shaderType>
  229.                             <shadowData>
  230.                                 <volume>(0.08, 0.2, 0.08)</volume>
  231.                                 <offset>(0, 0, -0.47)</offset>
  232.                             </shadowData>
  233.                             <damageData>
  234.                                 <rect>(0.3,0.3,0.4,0.4)</rect>
  235.                             </damageData>
  236.                         </graphicData>
  237.                     </value>
  238.                 </li>
  239.  
  240.                 <li Class="PatchOperationReplace">
  241.                     <xpath>Defs/ThingDef[defName="HoopstoneRing"]/rotatable</xpath>
  242.                     <value>
  243.                         <rotatable>true</rotatable>
  244.                     </value>
  245.                 </li>
  246.  
  247.                 <li Class="PatchOperationReplace">
  248.                     <xpath>Defs/ThingDef[defName="GameOfUrBoard"]/graphicData</xpath>
  249.                     <value>
  250.                         <graphicData>
  251.                             <texPath>Things/Joy/GameOfUr</texPath>
  252.                             <graphicClass>Graphic_multi</graphicClass>
  253.                             <shaderType>CutoutComplex</shaderType>
  254.                             <drawSize>(2,2)</drawSize>
  255.                         </graphicData>
  256.                     </value>
  257.                 </li>
  258.  
  259.                 <li Class="PatchOperationReplace">
  260.                     <xpath>Defs/ThingDef[defName="HorseshoesPin"]/graphicData</xpath>
  261.                     <value>
  262.                         <graphicData>
  263.                             <texPath>Things/Joy/HorseshoesPin</texPath>
  264.                             <graphicClass>Graphic_multi</graphicClass>
  265.                             <drawSize>(1,1)</drawSize>
  266.                             <shadowData>
  267.                                 <volume>(0.08, 0.2, 0.08)</volume>
  268.                                 <offset>(0, 0, -0.1)</offset>
  269.                             </shadowData>
  270.                             <damageData>
  271.                                 <rect>(0.3,0.3,0.4,0.4)</rect>
  272.                             </damageData>
  273.                         </graphicData>
  274.                     </value>
  275.                 </li>
  276.  
  277.                 <li Class="PatchOperationReplace">
  278.                     <xpath>Defs/ThingDef[defName="HorseshoesPin"]/rotatable</xpath>
  279.                     <value>
  280.                         <rotatable>true</rotatable>
  281.                     </value>
  282.                 </li>
  283.  
  284.                 <li Class="PatchOperationReplace">
  285.                     <xpath>Defs/ThingDef[defName="TubeTelevision"]/graphicData</xpath>
  286.                     <value>
  287.                         <graphicData>
  288.                             <texPath>Things/Joy/TubeTelevision</texPath>
  289.                             <graphicClass>Graphic_Multi</graphicClass>
  290.                             <drawSize>(1,1)</drawSize>
  291.                             <shadowData>
  292.                                 <volume>(0.5, 0.3, 0.4)</volume>
  293.                             </shadowData>
  294.                         </graphicData>
  295.                     </value>
  296.                 </li>
  297.  
  298.                 <li Class="PatchOperationReplace">
  299.                     <xpath>Defs/ThingDef[defName="ChessTable"]/graphicData</xpath>
  300.                     <value>
  301.                         <graphicData>
  302.                             <texPath>Things/Joy/Gloomy_ChessTable</texPath>
  303.                             <graphicClass>Graphic_Multi</graphicClass>
  304.                             <drawSize>(2,2)</drawSize>
  305.                             <shadowData>
  306.                                 <volume>(0.65, 0.25, 0.6)</volume>
  307.                                 <offset>(0, 0, -0.15)</offset>
  308.                             </shadowData>
  309.                             <damageData>
  310.                                 <rect>(0.09375,0.296875,0.796875,0.703125)</rect>
  311.                                 <cornerTL>Damage/Corner</cornerTL>
  312.                                 <cornerTR>Damage/Corner</cornerTR>
  313.                                 <cornerBL>Damage/Corner</cornerBL>
  314.                                 <cornerBR>Damage/Corner</cornerBR>
  315.                             </damageData>
  316.                         </graphicData>
  317.                     </value>
  318.                 </li>
  319.  
  320.                 <li Class="PatchOperationReplace">
  321.                     <xpath>Defs/ThingDef[defName="PokerTable"]/graphicData</xpath>
  322.                     <value>
  323.                         <graphicData>
  324.                             <texPath>Things/Joy/Gloomy_PokerTable2x2</texPath>
  325.                             <graphicClass>Graphic_Multi</graphicClass>
  326.                             <shaderType>CutoutComplex</shaderType>
  327.                             <drawSize>(4,4)</drawSize>
  328.                             <shadowData>
  329.                                 <volume>(1.6, 0.3, 1.6)</volume>
  330.                                 <offset>(0, 0, -0.15)</offset>
  331.                             </shadowData>
  332.                         </graphicData>
  333.                     </value>
  334.                 </li>
  335.  
  336.                 <li Class="PatchOperationReplace">
  337.                     <xpath>Defs/ThingDef[defName="BilliardsTable"]/graphicData</xpath>
  338.                     <value>
  339.                         <graphicData>
  340.                             <texPath>Things/Joy/BilliardsTable</texPath>
  341.                             <graphicClass>Graphic_Multi</graphicClass>
  342.                             <shaderType>CutoutComplex</shaderType>
  343.                             <drawSize>(4,4)</drawSize>
  344.                             <damageData>
  345.                                 <cornerTL>Damage/Corner</cornerTL>
  346.                                 <cornerTR>Damage/Corner</cornerTR>
  347.                                 <cornerBL>Damage/Corner</cornerBL>
  348.                                 <cornerBR>Damage/Corner</cornerBR>
  349.                             </damageData>
  350.                         </graphicData>
  351.                     </value>
  352.                 </li>
  353.  
  354.                 <!-- Tables -->
  355.  
  356.                 <li Class="PatchOperationReplace">
  357.                     <xpath>Defs/ThingDef[defName="Table1x2c"]/graphicData</xpath>
  358.                     <value>
  359.                         <graphicData>
  360.                             <texPath>Things/Building/Table/RGK_Table2x1</texPath>
  361.                             <graphicClass>Graphic_Multi</graphicClass>
  362.                             <drawSize>(4,4)</drawSize>
  363.                             <damageData>
  364.                                 <cornerTL>Damage/Corner</cornerTL>
  365.                                 <cornerTR>Damage/Corner</cornerTR>
  366.                                 <cornerBL>Damage/Corner</cornerBL>
  367.                                 <cornerBR>Damage/Corner</cornerBR>
  368.                             </damageData>
  369.                         </graphicData>
  370.                     </value>
  371.                 </li>
  372.  
  373.                 <li Class="PatchOperationReplace">
  374.                     <xpath>Defs/ThingDef[defName="Table1x2c"]/size</xpath>
  375.                     <value>
  376.                         <size>(2,1)</size>
  377.                     </value>
  378.                 </li>
  379.  
  380.                 <li Class="PatchOperationReplace">
  381.                     <xpath>Defs/ThingDef[defName="Table2x2c"]/graphicData</xpath>
  382.                     <value>
  383.                         <graphicData>
  384.                             <texPath>Things/Building/Furniture/RGK_TableC2x2</texPath>
  385.                             <graphicClass>Graphic_Multi</graphicClass>
  386.                             <drawSize>(4,4)</drawSize>
  387.                             <damageData>
  388.                                 <cornerTL>Damage/Corner</cornerTL>
  389.                                 <cornerTR>Damage/Corner</cornerTR>
  390.                                 <cornerBL>Damage/Corner</cornerBL>
  391.                                 <cornerBR>Damage/Corner</cornerBR>
  392.                             </damageData>
  393.                         </graphicData>
  394.                     </value>
  395.                 </li>
  396.  
  397.                 <li Class="PatchOperationReplace">
  398.                     <xpath>Defs/ThingDef[defName="Table2x4c"]/graphicData</xpath>
  399.                     <value>
  400.                         <graphicData>
  401.                             <texPath>Things/Building/Table/RGK_Tableb3x2</texPath>
  402.                             <graphicClass>Graphic_Multi</graphicClass>
  403.                             <drawSize>(4,4)</drawSize>
  404.                             <damageData>
  405.                                 <cornerTL>Damage/Corner</cornerTL>
  406.                                 <cornerTR>Damage/Corner</cornerTR>
  407.                                 <cornerBL>Damage/Corner</cornerBL>
  408.                                 <cornerBR>Damage/Corner</cornerBR>
  409.                             </damageData>
  410.                         </graphicData>
  411.                     </value>
  412.                 </li>
  413.  
  414.                 <li Class="PatchOperationReplace">
  415.                     <xpath>Defs/ThingDef[defName="Table2x4c"]/size</xpath>
  416.                     <value>
  417.                         <size>(3,2)</size>
  418.                     </value>
  419.                 </li>
  420.  
  421.                 <li Class="PatchOperationReplace">
  422.                     <xpath>Defs/ThingDef[defName="Table3x3c"]/graphicData</xpath>
  423.                     <value>
  424.                         <graphicData>
  425.                             <texPath>Things/Building/Table/RGK_Table3x3</texPath>
  426.                             <graphicClass>Graphic_Single</graphicClass>
  427.                             <drawSize>(4,4)</drawSize>
  428.                             <damageData>
  429.                                 <cornerTL>Damage/Corner</cornerTL>
  430.                                 <cornerTR>Damage/Corner</cornerTR>
  431.                                 <cornerBL>Damage/Corner</cornerBL>
  432.                                 <cornerBR>Damage/Corner</cornerBR>
  433.                             </damageData>
  434.                         </graphicData>
  435.                     </value>
  436.                 </li>
  437.  
  438.                 <!-- Benches -->
  439.  
  440.                 <li Class="PatchOperationReplace">
  441.                     <xpath>Defs/ThingDef[defName="HandTailoringBench"]/graphicData</xpath>
  442.                     <value>
  443.                         <graphicData>
  444.                             <texPath>Things/Building/Production/GL_HandTailoringBench</texPath>
  445.                             <graphicClass>Graphic_Multi</graphicClass>
  446.                             <drawSize>3.7</drawSize>
  447.                             <shaderType>CutoutComplex</shaderType>
  448.                             <damageData>
  449.                                 <cornerTL>Damage/Corner</cornerTL>
  450.                                 <cornerTR>Damage/Corner</cornerTR>
  451.                                 <cornerBL>Damage/Corner</cornerBL>
  452.                                 <cornerBR>Damage/Corner</cornerBR>
  453.                             </damageData>
  454.                         </graphicData>
  455.                     </value>
  456.                 </li>
  457.  
  458.                 <li Class="PatchOperationReplace">
  459.                     <xpath>Defs/ThingDef[defName="ElectricTailoringBench"]/graphicData</xpath>
  460.                     <value>
  461.                         <graphicData>
  462.                             <texPath>Things/Building/Production/GL_TailoringBench</texPath>
  463.                             <graphicClass>Graphic_Multi</graphicClass>
  464.                             <drawSize>3.7</drawSize>
  465.                             <shaderType>CutoutComplex</shaderType>
  466.                             <damageData>
  467.                                 <cornerTL>Damage/Corner</cornerTL>
  468.                                 <cornerTR>Damage/Corner</cornerTR>
  469.                                 <cornerBL>Damage/Corner</cornerBL>
  470.                                 <cornerBR>Damage/Corner</cornerBR>
  471.                             </damageData>
  472.                         </graphicData>
  473.                     </value>
  474.                 </li>
  475.  
  476.                 <li Class="PatchOperationReplace">
  477.                     <xpath>Defs/ThingDef[defName="FueledSmithy"]/graphicData</xpath>
  478.                     <value>
  479.                         <graphicData>
  480.                             <texPath>Things/Building/Production/GL_Smithy</texPath>
  481.                             <graphicClass>Graphic_Multi</graphicClass>
  482.                             <shaderType>CutoutComplex</shaderType>
  483.                             <drawSize>3.7</drawSize>
  484.                             <shadowData>
  485.                                 <volume>(2.8, 0.35, 0.59)</volume>
  486.                                 <offset>(0, 0, 0.08)</offset>
  487.                             </shadowData>
  488.                             <damageData>
  489.                                 <cornerTL>Damage/Corner</cornerTL>
  490.                                 <cornerTR>Damage/Corner</cornerTR>
  491.                                 <cornerBL>Damage/Corner</cornerBL>
  492.                                 <cornerBR>Damage/Corner</cornerBR>
  493.                             </damageData>
  494.                         </graphicData>
  495.                     </value>
  496.                 </li>
  497.  
  498.                 <li Class="PatchOperationReplace">
  499.                     <xpath>Defs/ThingDef[defName="FueledStove"]/graphicData</xpath>
  500.                     <value>
  501.                         <graphicData>
  502.                             <texPath>Things/Building/Production/RGK_Countertop</texPath>
  503.                             <graphicClass>Graphic_Multi</graphicClass>
  504.                             <drawSize>(4,4)</drawSize>
  505.                             <shaderType>CutoutComplex</shaderType>
  506.                             <damageData>
  507.                                 <cornerTL>Damage/Corner</cornerTL>
  508.                                 <cornerTR>Damage/Corner</cornerTR>
  509.                                 <cornerBL>Damage/Corner</cornerBL>
  510.                                 <cornerBR>Damage/Corner</cornerBR>
  511.                             </damageData>
  512.                         </graphicData>
  513.                     </value>
  514.                 </li>
  515.  
  516.                 <li Class="PatchOperationReplace">
  517.                     <xpath>Defs/ThingDef[defName="Shelf"]/graphicData</xpath>
  518.                     <value>
  519.                         <graphicData>
  520.                             <texPath>Things/Building/Furniture/GL_Shelf</texPath>
  521.                             <graphicClass>Graphic_Multi</graphicClass>
  522.                             <drawSize>(3,2)</drawSize>
  523.                         </graphicData>
  524.                     </value>
  525.                 </li>
  526.  
  527.                 <li Class="PatchOperationReplace">
  528.                     <xpath>Defs/ThingDef[defName="SimpleResearchBench"]/graphicData</xpath>
  529.                     <value>
  530.                         <graphicData>
  531.                             <texPath>Things/Building/Production/RGK_reserch</texPath>
  532.                             <graphicClass>Graphic_Multi</graphicClass>
  533.                             <shaderType>CutoutComplex</shaderType>
  534.                             <drawSize>4</drawSize>
  535.                             <damageData>
  536.                                 <cornerTL>Damage/Corner</cornerTL>
  537.                                 <cornerTR>Damage/Corner</cornerTR>
  538.                                 <cornerBL>Damage/Corner</cornerBL>
  539.                                 <cornerBR>Damage/Corner</cornerBR>
  540.                             </damageData>
  541.                         </graphicData>
  542.                     </value>
  543.                 </li>
  544.  
  545.                 <li Class="PatchOperationReplace">
  546.                     <xpath>Defs/ThingDef[defName="SimpleResearchBench"]/size</xpath>
  547.                     <value>
  548.                         <size>(3,1)</size>
  549.                     </value>
  550.                 </li>
  551.  
  552.                 <li Class="PatchOperationAdd">
  553.                     <success>Always</success>
  554.                     <xpath>Defs/ThingDef[defName="SimpleResearchBench"][not(comps)]</xpath>
  555.                     <value>
  556.                         <comps />
  557.                     </value>
  558.                 </li>
  559.                 <li Class="PatchOperationAdd">
  560.                     <success>Always</success>
  561.                     <xpath>Defs/ThingDef[defName="SimpleResearchBench"]/comps[not(li/@Class="CompProperties_AffectedByFacilities")]</xpath>
  562.                     <value>
  563.                         <li Class="CompProperties_AffectedByFacilities">
  564.                             <linkableFacilities />
  565.                         </li>
  566.                     </value>
  567.                 </li>
  568.                 <li Class="PatchOperationAdd">
  569.                     <success>Always</success>
  570.                     <xpath>Defs/ThingDef[defName="SimpleResearchBench"]/comps/li[@Class="CompProperties_AffectedByFacilities"]/linkableFacilities</xpath>
  571.                     <value>
  572.                         <li>GL_Bookshelf</li>
  573.                     </value>
  574.                 </li>
  575.             </operations>
  576.         </match>
  577.     </Operation>
  578.  
  579. </Patch>   
Add Comment
Please, Sign In to add comment