Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <Patch>
- <!-- Erin's Decorations -->
- <Operation Class="PatchOperationSequence">
- <operations>
- <li Class="PatchOperationConditional">
- <!-- Add uiIconOffset to all the decorations if it does not exist. -->
- <xpath>/Defs/ThingDef[defName="ED_Doormat" or defName="ED_Bin" or defName="ED_SmallPhotos" or defName="ED_Candles" or defName="ED_PetBowl" or defName="ED_Plushie" or defName="ED_Vase" or defName="ED_Laptop" or defName="ED_SmallPlant" or defName="ED_Paper" or defName="ED_Papers" or defName="ED_Book" or defName="ED_PileofBooks" or defName="ED_CatTower" or defName="ED_DogHouse" or defName="ED_Pillow" or defName="ED_Trophy" or defName="ED_Clock"]/uiIconOffset</xpath>
- <nomatch Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName="ED_Doormat" or defName="ED_Bin" or defName="ED_SmallPhotos" or defName="ED_Candles" or defName="ED_PetBowl" or defName="ED_Plushie" or defName="ED_Vase" or defName="ED_Laptop" or defName="ED_SmallPlant" or defName="ED_Paper" or defName="ED_Papers" or defName="ED_Book" or defName="ED_PileofBooks" or defName="ED_CatTower" or defName="ED_DogHouse" or defName="ED_Pillow" or defName="ED_Trophy" or defName="ED_Clock"]</xpath>
- <value>
- <uiIconOffset />
- </value>
- </nomatch>
- </li>
- <li Class="PatchOperationConditional">
- <!-- Add uiIconScale to all the decorations if it does not exist. -->
- <xpath>/Defs/ThingDef[defName="ED_Doormat" or defName="ED_Bin" or defName="ED_SmallPhotos" or defName="ED_Candles" or defName="ED_PetBowl" or defName="ED_Plushie" or defName="ED_Vase" or defName="ED_Laptop" or defName="ED_SmallPlant" or defName="ED_Paper" or defName="ED_Papers" or defName="ED_Book" or defName="ED_PileofBooks" or defName="ED_CatTower" or defName="ED_DogHouse" or defName="ED_Pillow" or defName="ED_Trophy" or defName="ED_Clock"]/uiIconScale</xpath>
- <nomatch Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName="ED_Doormat" or defName="ED_Bin" or defName="ED_SmallPhotos" or defName="ED_Candles" or defName="ED_PetBowl" or defName="ED_Plushie" or defName="ED_Vase" or defName="ED_Laptop" or defName="ED_SmallPlant" or defName="ED_Paper" or defName="ED_Papers" or defName="ED_Book" or defName="ED_PileofBooks" or defName="ED_CatTower" or defName="ED_DogHouse" or defName="ED_Pillow" or defName="ED_Trophy" or defName="ED_Clock"]</xpath>
- <value>
- <uiIconScale />
- </value>
- </nomatch>
- </li>
- <!-- Doormat -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Doormat"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0.20, 0.00</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Doormat"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.00</uiIconScale>
- </value>
- </li>
- <!-- Small plant pot -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_SmallPlant"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.02, 0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_SmallPlant"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.10</uiIconScale>
- </value>
- </li>
- <!-- Pillow -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Pillow"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0, 0.25</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Pillow"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.50</uiIconScale>
- </value>
- </li>
- <!-- Bedside clock -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Clock"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.02, 0.08</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Clock"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.70</uiIconScale>
- </value>
- </li>
- <!-- Small photos -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_SmallPhotos"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0, 0.00</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_SmallPhotos"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.90</uiIconScale>
- </value>
- </li>
- <!-- Candles -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Candles"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0, 0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Candles"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.00</uiIconScale>
- </value>
- </li>
- <!-- Pet bowl -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_PetBowl"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.02, -0.05</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_PetBowl"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.20</uiIconScale>
- </value>
- </li>
- <!-- Vase -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Vase"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0, 0.05</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Vase"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.10</uiIconScale>
- </value>
- </li>
- <!-- Trophy -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Trophy"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0.05, 0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Trophy"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.10</uiIconScale>
- </value>
- </li>
- <!-- Plushie -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Plushie"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0.03, 0.05</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Plushie"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.10</uiIconScale>
- </value>
- </li>
- <!-- Laptop -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Laptop"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.03, 0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Laptop"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.85</uiIconScale>
- </value>
- </li>
- <!-- Paper -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Paper"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.02, 0.07</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Paper"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.60</uiIconScale>
- </value>
- </li>
- <!-- Papers -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Papers"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.05, 0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Papers"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.60</uiIconScale>
- </value>
- </li>
- <!-- Book -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Book"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0, 0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Book"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.10</uiIconScale>
- </value>
- </li>
- <!-- Pile of books -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_PileofBooks"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.02, 0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_PileofBooks"]/uiIconScale</xpath>
- <value>
- <uiIconScale>2.00</uiIconScale>
- </value>
- </li>
- <!-- Cat tower -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_CatTower"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.03, -0.10</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_CatTower"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.15</uiIconScale>
- </value>
- </li>
- <!-- Dog house -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_DogHouse"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>0.00, 0.00</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_DogHouse"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.00</uiIconScale>
- </value>
- </li>
- <!-- Bin -->
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI offset so it is centred. -->
- <xpath>/Defs/ThingDef[defName="ED_Bin"]/uiIconOffset</xpath>
- <value>
- <uiIconOffset>-0.05, -0.17</uiIconOffset>
- </value>
- </li>
- <li Class="PatchOperationReplace">
- <!-- Adjust the UI scale so it is larger and more visible. -->
- <xpath>/Defs/ThingDef[defName="ED_Bin"]/uiIconScale</xpath>
- <value>
- <uiIconScale>1.50</uiIconScale>
- </value>
- </li>
- </operations>
- </Operation>
- </Patch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement