From 61816c8eb2414f653c8888d03b5494ddb48810fc Mon Sep 17 00:00:00 2001 From: Sn1p3rr3c0n Date: Mon, 22 Jul 2024 18:05:34 +0200 Subject: [PATCH 1/2] #784 moved Fridge Patches into a seperate Folder Updated XML Patches for 1.5 --- Patches/{ => Fridge}/RimFridge.xml | 568 +++++++++++++------------- Patches/{ => Fridge}/SimpleFridge.xml | 0 2 files changed, 283 insertions(+), 285 deletions(-) rename Patches/{ => Fridge}/RimFridge.xml (96%) rename Patches/{ => Fridge}/SimpleFridge.xml (100%) diff --git a/Patches/RimFridge.xml b/Patches/Fridge/RimFridge.xml similarity index 96% rename from Patches/RimFridge.xml rename to Patches/Fridge/RimFridge.xml index 6fe8e71e..0312d229 100644 --- a/Patches/RimFridge.xml +++ b/Patches/Fridge/RimFridge.xml @@ -1,286 +1,284 @@ - - - - - - -
  • Simple Utilities: Fridge
  • -
    - - -
  • [KV] RimFridge - 1.1
  • -
  • [KV] RimFridge
  • -
  • RimFridge Updated
  • -
    - - Always - - -
  • - /Defs - - - PRF_IOPort_IFridge - - ProjectRimFactory.Storage.Building_StorageUnitIOPort - PRF_IoGroup - RealtimeOnly - 0.7 - - Storage/IO_Fridge - Graphic_Single - CutoutComplex - - Building - PassThroughOnly - Normal - 0.5 - 70 - - true - true - true - - Normal - - -
  • AnimalProductRaw
  • -
  • Corpses
  • -
  • Drugs
  • -
  • EggsFertilized
  • -
  • EggsUnfertilized
  • -
  • Foods
  • -
  • Medicine
  • -
  • PlantMatter
  • -
  • PlantFoodRaw
  • -
  • BodyParts
  • - - -
  • Wort
  • -
    - -
  • AllowRotten
  • -
    - - - - Normal - - -
  • FoodMeals
  • -
    - -
  • MealSurvivalPack
  • -
    -
    -
    - - -
  • ProjectRimFactory.Storage.UI.ITab_IOPortStorage
  • -
  • ProjectRimFactory.Storage.UI.ITab_Items
  • -
    - true - - 800 - 100 - 1900 - 1.0 - 30 - - An advanced connection port for the digital storage unit. It can be set to input/output from any DSU remotely within the map. This version interfaces with RimFridge branded coolers. - - 1 - 1 - 1 - 1 - - -
  • - CompPowerTrader - 375 -
  • -
  • -
  • - 2.5 - (89,188,255,0) -
  • -
  • - -
  • Beer
  • -
  • RC2_Ale
  • -
  • RC2_Cider
  • -
  • RC2_Grog
  • -
  • RC2_Stout
  • - - true - -
  • - ProjectRimFactory.Common.CompPRFHelp -
  • -
  • - ProjectRimFactory.Common.CompCallTickRareFromTick -
  • -
    - false - 0.3 - Item - MinifiedThing - -
  • BuildingsFurniture
  • -
    - -
  • PRF_StorageIO
  • -
  • AirConditioning
  • -
    - -
  • - (144, 222, 255, 255) - (215, 169, 72, 255) -
  • -
    - - - - -
  • - /Defs - - - PRFCoolDSU - - PRF_IoGroup - 0.9 - ProjectRimFactory.Storage.Building_MassStorageUnitPowered - - Storage/CoolDSU - (3,3) - - Damage/Corner - Damage/Corner - - - - 15 - 450 - 5000 - 10900 - 0.05 - 0.5 - - - - Normal - - -
  • AnimalProductRaw
  • -
  • Corpses
  • -
  • Drugs
  • -
  • EggsFertilized
  • -
  • EggsUnfertilized
  • -
  • Foods
  • -
  • Medicine
  • -
  • PlantMatter
  • -
  • PlantFoodRaw
  • -
  • BodyParts
  • - - -
  • Wort
  • -
    - -
  • AllowRotten
  • -
    - - - - A RimFridge branded, refrigerated version of the digital storage unit that stores up to 512 stacks of food. Consumes 10 W of power per stack of items. In the event of a power outage, items already inside will be safe, but the DSU will not be able to store more. - (3,3) - 150 - - 300 - 50 - 20 - 20 - 100 - 100 - 15 - 1 - 1 - - Normal - -
  • PRF_StorageIO
  • -
    - -
  • - 6 - (115,198,206,0) -
  • -
  • - CompPowerTrader - 500 -
  • -
  • - -
  • Beer
  • -
  • RC2_Ale
  • -
  • RC2_Cider
  • -
  • RC2_Grog
  • -
  • RC2_Stout
  • - - true - -
  • -
  • - ProjectRimFactory.Common.CompCallTickRareFromTick -
  • -
    - 10 - -
  • -
  • - 512 - true - true - false - true -
  • -
    - - - - -
  • - /Defs/ThingDef[defName="PRF_GenericAnimalHarvester"]/comps - -
  • - -
  • Beer
  • -
  • RC2_Ale
  • -
  • RC2_Cider
  • -
  • RC2_Grog
  • -
  • RC2_Stout
  • - - false - - - -
  • - /Defs/ThingDef[defName="PRF_GenericAnimalHarvester_II"]/comps - -
  • - -
  • Beer
  • -
  • RC2_Ale
  • -
  • RC2_Cider
  • -
  • RC2_Grog
  • -
  • RC2_Stout
  • - - false - - - -
    -
    -
    -
    + + + + + + +
  • Simple Utilities: Fridge
  • +
    + + +
  • RimFridge: Now with Shelves!
  • +
    + + Always + + +
  • + /Defs + + + PRF_IOPort_IFridge + + ProjectRimFactory.Storage.Building_StorageUnitIOPort + PRF_IoGroup + RealtimeOnly + 0.7 + + Storage/IO_Fridge + Graphic_Single + CutoutComplex + + Building + PassThroughOnly + Normal + 0.5 + 70 + + true + true + true + + Normal + + +
  • AnimalProductRaw
  • +
  • Corpses
  • +
  • Drugs
  • +
  • EggsFertilized
  • +
  • EggsUnfertilized
  • +
  • Foods
  • +
  • Medicine
  • +
  • PlantMatter
  • +
  • PlantFoodRaw
  • +
  • BodyParts
  • + + +
  • Wort
  • +
    + +
  • AllowRotten
  • +
    + + + + Normal + + +
  • FoodMeals
  • +
    + +
  • MealSurvivalPack
  • +
    +
    +
    + + +
  • ProjectRimFactory.Storage.UI.ITab_IOPortStorage
  • +
  • ProjectRimFactory.Storage.UI.ITab_Items
  • +
    + true + + 800 + 100 + 1900 + 1.0 + 30 + + An advanced connection port for the digital storage unit. It can be set to input/output from any DSU remotely within the map. This version interfaces with RimFridge branded coolers. + + 1 + 1 + 1 + 1 + + +
  • + CompPowerTrader + 375 +
  • +
  • +
  • + 2.5 + (89,188,255,0) +
  • +
  • + +
  • Beer
  • +
  • RC2_Ale
  • +
  • RC2_Cider
  • +
  • RC2_Grog
  • +
  • RC2_Stout
  • + + true + +
  • + ProjectRimFactory.Common.CompPRFHelp +
  • +
  • + ProjectRimFactory.Common.CompCallTickRareFromTick +
  • +
    + false + 0.3 + Item + MinifiedThing + +
  • BuildingsFurniture
  • +
    + +
  • PRF_StorageIO
  • +
  • AirConditioning
  • +
    + +
  • + (144, 222, 255, 255) + (215, 169, 72, 255) +
  • +
    + + + + +
  • + /Defs + + + PRFCoolDSU + + PRF_IoGroup + 0.9 + ProjectRimFactory.Storage.Building_MassStorageUnitPowered + + Storage/CoolDSU + (3,3) + + Damage/Corner + Damage/Corner + + + + 15 + 450 + 5000 + 10900 + 0.05 + 0.5 + + + + Normal + + +
  • AnimalProductRaw
  • +
  • Corpses
  • +
  • Drugs
  • +
  • EggsFertilized
  • +
  • EggsUnfertilized
  • +
  • Foods
  • +
  • Medicine
  • +
  • PlantMatter
  • +
  • PlantFoodRaw
  • +
  • BodyParts
  • + + +
  • Wort
  • +
    + +
  • AllowRotten
  • +
    + + + + A RimFridge branded, refrigerated version of the digital storage unit that stores up to 512 stacks of food. Consumes 10 W of power per stack of items. In the event of a power outage, items already inside will be safe, but the DSU will not be able to store more. + (3,3) + 150 + + 300 + 50 + 20 + 20 + 100 + 100 + 15 + 1 + 1 + + Normal + +
  • PRF_StorageIO
  • +
    + +
  • + 6 + (115,198,206,0) +
  • +
  • + CompPowerTrader + 500 +
  • +
  • + +
  • Beer
  • +
  • RC2_Ale
  • +
  • RC2_Cider
  • +
  • RC2_Grog
  • +
  • RC2_Stout
  • + + true + +
  • +
  • + ProjectRimFactory.Common.CompCallTickRareFromTick +
  • +
    + 10 + +
  • +
  • + 512 + true + true + false + true +
  • +
    + + + + +
  • + /Defs/ThingDef[defName="PRF_GenericAnimalHarvester"]/comps + +
  • + +
  • Beer
  • +
  • RC2_Ale
  • +
  • RC2_Cider
  • +
  • RC2_Grog
  • +
  • RC2_Stout
  • + + false + + + +
  • + /Defs/ThingDef[defName="PRF_GenericAnimalHarvester_II"]/comps + +
  • + +
  • Beer
  • +
  • RC2_Ale
  • +
  • RC2_Cider
  • +
  • RC2_Grog
  • +
  • RC2_Stout
  • + + false + + + +
    +
    +
    +
    \ No newline at end of file diff --git a/Patches/SimpleFridge.xml b/Patches/Fridge/SimpleFridge.xml similarity index 100% rename from Patches/SimpleFridge.xml rename to Patches/Fridge/SimpleFridge.xml From 093f554d84529c6c1b1fa537810cb857ba5aaa2f Mon Sep 17 00:00:00 2001 From: Sn1p3rr3c0n Date: Mon, 22 Jul 2024 19:22:07 +0200 Subject: [PATCH 2/2] #784 switsch to the 1.5 Mod Version --- .../ProjectRimFactory/Common/ProjectRimFactory_ModComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ProjectRimFactory/Common/ProjectRimFactory_ModComponent.cs b/Source/ProjectRimFactory/Common/ProjectRimFactory_ModComponent.cs index 56c36992..5210f923 100644 --- a/Source/ProjectRimFactory/Common/ProjectRimFactory_ModComponent.cs +++ b/Source/ProjectRimFactory/Common/ProjectRimFactory_ModComponent.cs @@ -60,7 +60,7 @@ public ProjectRimFactory_ModComponent(ModContentPack content) : base(content) private void LoadModSupport() { - if (ModLister.HasActiveModWithName("RimFridge Updated")) + if (ModLister.HasActiveModWithName("RimFridge: Now with Shelves!")) { ModSupport_RrimFridge_GetFridgeCache = AccessTools.Method("RimFridge.FridgeCache:GetFridgeCache"); ModSupport_RrimFridge_HasFridgeAt = AccessTools.Method("RimFridge.FridgeCache:HasFridgeAt");