From 063a5b970b02fba8afbae2cf20f1a48b910c292f Mon Sep 17 00:00:00 2001 From: okradonkey Date: Sun, 1 Mar 2020 09:41:17 -0600 Subject: [PATCH] Update for RimWorld 1.1 (with 1.0 compatibility) Update About.xml to comply with the new format. Move old xml patch to 1.0 folder to maintain compatibility. Add new patch for 1.1 using XML PatchOperations to handle xml changes in a way that is faster and more compatible with other mods. --- ...hingDefs_Plants_Plants_Cultivated_Farm.xml | 0 ...hingDefs_Plants_Plants_Cultivated_Farm.xml | 39 +++++++++++++++++++ Single Plant Textures Patch/About/About.xml | 8 +++- 3 files changed, 45 insertions(+), 2 deletions(-) rename Single Plant Textures Patch/{ => 1.0}/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml (100%) create mode 100644 Single Plant Textures Patch/1.1/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml diff --git a/Single Plant Textures Patch/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml b/Single Plant Textures Patch/1.0/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml similarity index 100% rename from Single Plant Textures Patch/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml rename to Single Plant Textures Patch/1.0/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml diff --git a/Single Plant Textures Patch/1.1/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml b/Single Plant Textures Patch/1.1/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml new file mode 100644 index 0000000..7fb4f45 --- /dev/null +++ b/Single Plant Textures Patch/1.1/Patches/ThingDefs_Plants_Plants_Cultivated_Farm.xml @@ -0,0 +1,39 @@ + + + + + + + Always + + +
  • + /Defs/ThingDef[defName="Plant_Rice"]/plant/maxMeshCount + + 1 + +
  • +
  • + /Defs/ThingDef[defName="Plant_Rice"]/plant/visualSizeRange + + 0.2~0.9 + +
  • + +
  • + /Defs/ThingDef[defName="Plant_Haygrass"]/plant/maxMeshCount + + 1 + +
  • +
  • + /Defs/ThingDef[defName="Plant_Haygrass"]/plant/visualSizeRange + + 0.2~0.8 + +
  • + +
    +
    + +
    diff --git a/Single Plant Textures Patch/About/About.xml b/Single Plant Textures Patch/About/About.xml index bcc3971..13ed2aa 100644 --- a/Single Plant Textures Patch/About/About.xml +++ b/Single Plant Textures Patch/About/About.xml @@ -2,8 +2,12 @@ Single Plant Texture Patch Lanilor - https://github.com/Lanilor/Simple-Mod-Collection - 1.0.0 + https://github.com/Lanilor/Simple-Mods-Collection + Lanilor.SinglePlantTexturePatch + +
  • 1.0
  • +
  • 1.1
  • +
    <size=20>Single Plant Texture Patch</size>