From 6db5b51adeca48a9f431ea93d4edd8bad64d6ee9 Mon Sep 17 00:00:00 2001 From: maciek Date: Sat, 19 Apr 2025 20:49:57 +0200 Subject: [PATCH] feat: apply EatableComp to anything with surfaceType Eat --- Patches/{Tables.xml => SurfaceTypeEat.xml} | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) rename Patches/{Tables.xml => SurfaceTypeEat.xml} (64%) diff --git a/Patches/Tables.xml b/Patches/SurfaceTypeEat.xml similarity index 64% rename from Patches/Tables.xml rename to Patches/SurfaceTypeEat.xml index 96c538b..e0e0abd 100644 --- a/Patches/Tables.xml +++ b/Patches/SurfaceTypeEat.xml @@ -14,21 +14,24 @@ You should have received a copy of the GNU General Public License along with "Ta
  • - Defs/ThingDef[@Name="TableBase"]/comps + Defs/ThingDef[surfaceType="Eat"]/comps - Defs/ThingDef[@Name="TableBase"] + Defs/ThingDef[surfaceType="Eat"]
  • -
  • - Defs/ThingDef[@Name="TableBase"]/comps - -
  • - TableToggle.EatableComp -
  • - +
  • + Defs/ThingDef[surfaceType="Eat"]/comps/li[compClass="TableToggle.EatableComp"] + + Defs/ThingDef[surfaceType="Eat"]/comps + +
  • + TableToggle.EatableComp +
  • + +