Editing Module:Test/data

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 2,260: Line 2,260:
 
   },
 
   },
  
   ["ResearchProjectDef:PsychoidBrewing"] = {
+
   ["ThingDef:AncientConcreteBarrier"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Ancient.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychoidBrewing",
+
     defName = "AncientConcreteBarrier",
     label = "psychoid brewing",
+
     label = "ancient concrete barrier",
     description = [[Prepare psychoid leaves into a mildly euphoria-inducing and addictive tea at the campfire or cooking stove.]],
+
    thingClass = "Building",
     baseCost = 500,
+
    category = "Building",
     techLevel = "Neolithic",
+
     description = [[A traffic management solution from long ago.]],
     tags = {
+
     altitudeLayer = "Building",
       "TribalStart",
+
    pathCost = 42,
 +
    pathCostIgnoreRepeat = true,
 +
     passability = "PassThroughOnly",
 +
     fillPercent = 0.5,
 +
    statBases = {
 +
       MaxHitPoints = 500,
 +
      Beauty = -10,
 +
      Flammability = 0,
 +
      WorkToBuild = 600,
 
     },
 
     },
     researchViewX = 0.00,
+
     building = {
    researchViewY = 1.40,
+
       isInert = true,
  },
 
 
 
  ["ResearchProjectDef:TreeSowing"] = {
 
    _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_1.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "TreeSowing",
+
     costList = {
    label = "tree sowing",
+
       Steel = 15,
    description = [[Sow the local biome's natural trees in your fields.]],
 
    baseCost = 1000,
 
    techLevel = "Neolithic",
 
    researchViewX = 0.00,
 
    researchViewY = 0.00,
 
    tags = {
 
       "TribalStart",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ResearchProjectDef:Brewing"] = {
+
   ["ThingDef:AncientLamppost"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Ancient.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Brewing",
+
     defName = "AncientLamppost",
     label = "beer brewing",
+
     label = "ancient lamppost",
     description = [[Build a brewery and fermenting vats to transform hops into tasty, tasty beer.]],
+
     thingClass = "Building",
     baseCost = 400,
+
     category = "Building",
    techLevel = "Neolithic",
+
     description = [[Road lighting from long ago. No longer functional.]],
     researchViewX = 0.00,
+
     statBases = {
    researchViewY = 3.50,
+
       MaxHitPoints = 300,
  },
+
       WorkToBuild = 400,
 
 
  ["ResearchProjectDef:ComplexFurniture"] = {
 
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
       FileName = "ResearchProjects_1.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "ComplexFurniture",
+
     fillPercent = 0.25,
    label = "complex furniture",
+
     passability = "PassThroughOnly",
    description = [[Build complex furniture like beds, end tables, dining chairs, armchairs, dressers, tool cabinets, billiard tables, and poker tables, vents, sarcophagi, and more.]],
+
     pathCost = 42,
     baseCost = 300,
+
     costList = {
    techLevel = "Medieval",
+
       Steel = 15,
     researchViewX = 1.00,
 
    researchViewY = 4.25,
 
     tags = {
 
       "ClassicStart",
 
 
     },
 
     },
  },
+
     building = {
 
+
       isInert = true,
  ["ResearchProjectDef:PassiveCooler"] = {
 
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_1.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
    defName = "PassiveCooler",
 
    label = "passive cooler",
 
    description = [[Make passive coolers, to cool indoor spaces without using electricity.]],
 
    baseCost = 400,
 
    techLevel = "Neolithic",
 
    tags = {
 
      "ClassicStart",
 
      "TribalStart",
 
    },
 
    researchViewX = 0.00,
 
    researchViewY = 2.10,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Stonecutting"] = {
+
   ["ThingDef:Urn"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Ancient.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Stonecutting",
+
     defName = "Urn",
     label = "stonecutting",
+
     label = "urn",
     description = [[Cut rock chunks into stone blocks for use in construction. Build beautiful stone tile floors or ugly concrete walkways.]],
+
     description = [[An ancient-style decorative container.]],
     baseCost = 300,
+
     minifiedDef = "MinifiedThing",
    techLevel = "Medieval",
+
     thingCategories = {
     tags = {
+
       "BuildingsFurniture",
       "ClassicStart",
 
 
     },
 
     },
     researchViewX = 0.00,
+
     altitudeLayer = "Building",
     researchViewY = 4.25,
+
     passability = "PassThroughOnly",
  },
+
    fillPercent = 0.40,
 
+
    statBases = {
  ["ResearchProjectDef:ComplexClothing"] = {
+
      MaxHitPoints = 40,
    _ = {
+
       WorkToBuild = 500,
       DefCategory = "ResearchProjectDef",
+
       Mass = 5,
       FileName = "ResearchProjects_1.xml",
+
       Flammability = 1.0,
       GameVersion = "1.2.2753",
+
       Beauty = 5,
       DLC = "Core",
 
 
     },
 
     },
     defName = "ComplexClothing",
+
     pathCost = 30,
     label = "complex clothing",
+
     building = {
    description = [[Tailor complicated garments like pants, dusters, and cowboy hats.]],
+
       isInert = true,
    baseCost = 600,
 
    techLevel = "Medieval",
 
    researchViewX = 1.00,
 
    researchViewY = 2.80,
 
    tags = {
 
       "ClassicStart",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ResearchProjectDef:DrugProduction"] = {
+
   ["ThingDef:SculptureBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_1.xml",
+
      Name = "SculptureBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DrugProduction",
+
     thingClass = "Building_Art",
     label = "drug production",
+
     altitudeLayer = "Building",
     description = [[Build a drug lab for basic drug synthesis. Further research is required to make specific drugs.]],
+
     passability = "PassThroughOnly",
     baseCost = 500,
+
    pathCost = 50,
     techLevel = "Industrial",
+
    useHitPoints = true,
     researchViewX = 3.00,
+
     minifiedDef = "MinifiedThing",
    researchViewY = 0.00,
+
     thingCategories = {
  },
+
      "BuildingsArt",
 
+
     },
  ["ResearchProjectDef:Cocoa"] = {
+
    statBases = {
    _ = {
+
      Flammability = 1.0,
      DefCategory = "ResearchProjectDef",
+
      SellPriceFactor = 1.10,
      FileName = "ResearchProjects_1.xml",
+
      MeditationFocusStrength = 0.0,
      GameVersion = "1.2.2753",
+
    },
      DLC = "Core",
+
    comps = {
 +
      {
 +
        compClass = "CompQuality",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Art",
 +
        },
 +
        nameMaker = "NamerArtSculpture",
 +
        descriptionMaker = "ArtDescription_Sculpture",
 +
        canBeEnjoyedAsArt = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_MeditationFocus",
 +
        },
 +
        statDef = "MeditationFocusStrength",
 +
        focusTypes = {
 +
          "Artistic",
 +
        },
 +
        offsets = {
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_Quality",
 +
            },
 +
            curve = {
 +
              points = {
 +
                {0, 0.12},
 +
                {1, 0.16},
 +
                {2, 0.20},
 +
                {3, 0.22},
 +
                {4, 0.24},
 +
                {5, 0.26},
 +
                {6, 0.28},
 +
              },
 +
            },
 +
          },
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_BuildingDefsWithQuality",
 +
            },
 +
            defs = {
 +
              "SculptureSmall",
 +
              "SculptureLarge",
 +
              "SculptureGrand",
 +
            },
 +
            radius = 9.9,
 +
            maxBuildings = 8,
 +
            focusPerQuality = {
 +
              points = {
 +
                {0, 0.0},
 +
                {1, 0.0},
 +
                {2, 0.01},
 +
                {3, 0.01},
 +
                {4, 0.01},
 +
                {5, 0.02},
 +
                {6, 0.02},
 +
              },
 +
            },
 +
            explanationKey = "MeditationFocusPerSculpture",
 +
            explanationKeyAbstract = "MeditationFocusPerSculptureAbstract",
 +
          },
 +
        },
 +
      },
 
     },
 
     },
     defName = "Cocoa",
+
     tradeTags = {
     label = "cocoa",
+
      "Art",
    description = [[Sow cocoa trees to create your own delicious chocolate. Eating chocolate fulfills the need for recreation, and it's valuable on the market too.]],
+
     },
    baseCost = 1000,
+
    recipeMaker = {
    techLevel = "Neolithic",
+
      workSpeedStat = "GeneralLaborSpeed",
    researchViewX = 1.00,
+
      workSkill = "Artistic",
    researchViewY = 0.00,
+
      unfinishedThingDef = "UnfinishedSculpture",
    prerequisites = {
+
      effectWorking = "Sculpt",
      "TreeSowing",
+
      soundWorking = "Recipe_Sculpt",
 +
      recipeUsers = {
 +
        "TableSculpting",
 +
      },
 +
      defaultIngredientFilter = {
 +
        categories = {
 +
          "Root",
 +
        },
 +
        disallowedThingDefs = {
 +
          "Gold",
 +
          "Silver",
 +
          "Plasteel",
 +
          "Jade",
 +
          "Uranium",
 +
        },
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ResearchProjectDef:Devilstrand"] = {
+
   ["ThingDef:SculptureSmall"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "SculptureBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Devilstrand",
+
     defName = "SculptureSmall",
     label = "devilstrand",
+
     label = "small sculpture",
     description = [[Plant devilstrand, a slow-growing mushroom that yields an exceptionally tough, heat-resistant plant fiber.]],
+
     description = [[A torso-sized piece of material sculpted into an artistic form.]],
     baseCost = 800,
+
     fillPercent = 0.35,
    techLevel = "Neolithic",
+
     statBases = {
    researchViewX = 0.00,
+
       MaxHitPoints = 90,
     researchViewY = 2.80,
+
       Mass = 3,
  },
+
       Beauty = 50,
 
+
       WorkToMake = 18000,
  ["ResearchProjectDef:CarpetMaking"] = {
 
    _ = {
 
       DefCategory = "ResearchProjectDef",
 
       FileName = "ResearchProjects_1.xml",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
    defName = "CarpetMaking",
 
    label = "carpet making",
 
    description = [[Weave beautiful carpets from cloth.]],
 
    baseCost = 800,
 
    techLevel = "Medieval",
 
    researchViewX = 1.00,
 
    researchViewY = 2.10,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Pemmican"] = {
+
   ["ThingDef:SculptureLarge"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "SculptureBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Pemmican",
+
     defName = "SculptureLarge",
     label = "pemmican",
+
     label = "large sculpture",
     description = [[Make pemmican, a preserved mixture of meat and plant matter that doesn't go bad for a long time. Great for traveling.]],
+
     description = [[A person-sized piece of material sculpted into an artistic form.]],
     baseCost = 500,
+
     fillPercent = 0.5,
     techLevel = "Neolithic",
+
     statBases = {
    tags = {
+
      MaxHitPoints = 150,
       "TribalStart",
+
      Mass = 7,
 +
      Beauty = 100,
 +
       WorkToMake = 30000,
 
     },
 
     },
    researchViewX = 1.00,
 
    researchViewY = 1.40,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Smithing"] = {
+
   ["ThingDef:SculptureGrand"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "SculptureBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Smithing",
+
     defName = "SculptureGrand",
     label = "smithing",
+
     label = "grand sculpture",
     description = [[Build smithies for crafting metal weapons like knives, gladii, and maces. Work metal into clean, beautiful floor tiles.]],
+
     description = [[A huge sculpture sized to dominate a room.]],
     baseCost = 700,
+
     fillPercent = 0.5,
    techLevel = "Medieval",
+
     size = {2, 2},
    researchViewX = 1.00,
+
     statBases = {
     researchViewY = 3.50,
+
       MaxHitPoints = 300,
  },
+
       Beauty = 400,
 
+
       Mass = 28,
  ["ResearchProjectDef:RecurveBow"] = {
+
       WorkToMake = 105000,
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
       FileName = "ResearchProjects_1.xml",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
    },
 
    defName = "RecurveBow",
 
    label = "recurve bow",
 
    description = [[Build the recurve bow, an effective and inexpensive ranged weapon.]],
 
    baseCost = 400,
 
    techLevel = "Neolithic",
 
    tags = {
 
      "TribalStart",
 
 
     },
 
     },
    researchViewX = 0.00,
 
    researchViewY = 0.70,
 
 
   },
 
   },
  
   ["ResearchProjectDef:PsychiteRefining"] = {
+
   ["ThingDef:Snowman"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychiteRefining",
+
     defName = "Snowman",
     label = "psychite refining",
+
     label = "snowman",
     description = [[Refine psychoid leaves into flake and yayo, different forms of the euphoric psychite drug.]],
+
     description = [[A set of large snowballs piled and shaped to resemble a person. People make these for the fun of it.]],
     baseCost = 400,
+
     thingClass = "Building",
     techLevel = "Industrial",
+
     altitudeLayer = "Building",
     prerequisites = {
+
     passability = "PassThroughOnly",
       "DrugProduction",
+
    pathCost = 30,
 +
    pathCostIgnoreRepeat = false,
 +
    useHitPoints = true,
 +
    fillPercent = 0.35,
 +
    statBases = {
 +
       MaxHitPoints = 50,
 +
      Beauty = 4,
 +
      WorkToBuild = 1000,
 +
      MarketValue = 0,
 
     },
 
     },
     researchViewX = 4.00,
+
     comps = {
    researchViewY = 0.40,
+
      {
  },
+
        compClass = "CompMelter",
 
+
       },
  ["ResearchProjectDef:WakeUpProduction"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
       FileName = "ResearchProjects_1.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "WakeUpProduction",
+
     building = {
    label = "wake-up production",
+
      repairable = false,
    description = [[Synthesize wake-up, a work performance-enhancing drug which replaces the need for sleep.]],
+
      isInert = true,
    baseCost = 600,
+
      artificialForMeditationPurposes = false,
    techLevel = "Industrial",
 
    prerequisites = {
 
      "DrugProduction",
 
 
     },
 
     },
    researchViewX = 4.00,
 
    researchViewY = 1.10,
 
 
   },
 
   },
  
   ["ResearchProjectDef:GoJuiceProduction"] = {
+
   ["ThingDef:BuildingBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Name = "BuildingBase",
       FileName = "ResearchProjects_1.xml",
+
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Base.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GoJuiceProduction",
+
     category = "Building",
     label = "go-juice production",
+
     thingClass = "Building",
     description = [[Produce go-juice, a synthetic combat-performance-enhancing drug which improves shooting, melee, and movement ability, and dulls pain.]],
+
     terrainAffordanceNeeded = "Light",
     baseCost = 1000,
+
     leaveResourcesWhenKilled = true,
     techLevel = "Industrial",
+
     statBases = {
    prerequisites = {
+
       SellPriceFactor = 0.70,
       "DrugProduction",
 
 
     },
 
     },
    researchViewX = 4.00,
 
    researchViewY = 1.80,
 
 
   },
 
   },
  
   ["ResearchProjectDef:PenoxycylineProduction"] = {
+
   ["ThingDef:CrashedShipPartBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Abstract = true,
       FileName = "ResearchProjects_1.xml",
+
      Name = "CrashedShipPartBase",
 +
      ParentName = "BuildingBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PenoxycylineProduction",
+
     size = {6, 3},
     label = "penoxycyline production",
+
     passability = "Impassable",
     description = [[Produce penoxycyline, a disease prevention drug which blocks plague, malaria, and more before they start.]],
+
     fillPercent = 1,
     baseCost = 500,
+
     altitudeLayer = "Building",
     techLevel = "Industrial",
+
     terrainAffordanceNeeded = "Light",
     prerequisites = {
+
     leaveResourcesWhenKilled = false,
       "DrugProduction",
+
    statBases = {
 +
       MaxHitPoints = 1200,
 +
      Flammability = 0,
 +
      Beauty = -200,
 
     },
 
     },
     researchViewX = 4.00,
+
     killedLeavings = {
    researchViewY = 2.50,
+
      ChunkSlagSteel = 4,
  },
+
       Steel = 60,
 
+
       ComponentIndustrial = 1,
  ["ResearchProjectDef:LongBlades"] = {
+
       Plasteel = 10,
    _ = {
+
       ComponentSpacer = 1,
       DefCategory = "ResearchProjectDef",
 
       FileName = "ResearchProjects_1.xml",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "LongBlades",
+
     building = {
    label = "long blades",
+
       combatPower = 250,
    description = [[Craft longswords and spears.]],
 
    baseCost = 400,
 
    techLevel = "Medieval",
 
    prerequisites = {
 
       "Smithing",
 
 
     },
 
     },
     researchViewX = 2.00,
+
     comps = {
    researchViewY = 3.15,
+
      {
  },
+
        _ = {
 
+
          Class = "CompProperties_WakeUpDormant",
  ["ResearchProjectDef:PlateArmor"] = {
+
        },
    _ = {
+
       },
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_1.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
    },
 
    defName = "PlateArmor",
 
    label = "plate armor",
 
    description = [[Smith suits of plate armor from metal or wood. This heavy armor noticeably slows movement, but protects very effectively.]],
 
    baseCost = 600,
 
    techLevel = "Medieval",
 
    prerequisites = {
 
      "Smithing",
 
      "ComplexClothing",
 
 
     },
 
     },
    researchViewX = 2.00,
 
    researchViewY = 2.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Greatbow"] = {
+
   ["ThingDef:PsychicDronerShipPart"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "CrashedShipPartBase",
       FileName = "ResearchProjects_1.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Greatbow",
+
     defName = "PsychicDronerShipPart",
     label = "greatbow",
+
     label = "ship part (psychic droner)",
     description = [[Craft greatbows for killing enemies at great range.]],
+
     description = [[An ancient ship part, torn off of a craft of unknown origin. It might be thousands of years old.\n\nThis one contains a psychic disturbance device. Using incomprehensible archotechnologies, it generates a psychic signal that drives people and animals mad within a wide radius around itself.]],
     baseCost = 600,
+
     comps = {
    techLevel = "Medieval",
+
      {
    prerequisites = {
+
        _ = {
      "RecurveBow",
+
          Class = "CompProperties_CausesGameCondition_PsychicEmanation",
 +
        },
 +
        conditionDef = "PsychicDroner",
 +
        compClass = "CompCauseGameCondition_PsychicEmanation",
 +
        worldRange = 1,
 +
        droneLevelIncreaseInterval = 150000,
 +
        droneLevel = 2,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_AnimalInsanityPulser",
 +
        },
 +
      },
 
     },
 
     },
    researchViewX = 1.00,
 
    researchViewY = 0.70,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Electricity"] = {
+
   ["ThingDef:DefoliatorShipPart"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "CrashedShipPartBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Electricity",
+
     defName = "DefoliatorShipPart",
     label = "electricity",
+
     label = "ship part (defoliator)",
     description = [[Harness the power of electricity for a hundred different tasks.]],
+
     description = [[An ancient ship part, torn off of a craft of unknown origin. It might be thousands of years old.\n\nThis one contains a device which annihilates plant life near itself without directly affecting flesh creatures. These kinds of weapons are sometimes scattered across farmlands or forests to remove the enemy's food supply and hiding places without permanently ruining the territory. They're usually associated with orbital-drop mechanoid armies.]],
     baseCost = 1600,
+
     comps = {
    techLevel = "Industrial",
+
      {
    tags = {
+
        _ = {
      "ClassicStart",
+
          Class = "CompProperties_PlantHarmRadius",
 +
        },
 +
        radiusPerDayCurve = {
 +
          points = {
 +
            "0  , 5",
 +
            "1.5, 18",
 +
            "6  , 40",
 +
            "20 , 100",
 +
          },
 +
        },
 +
      },
 
     },
 
     },
    researchViewX = 5.00,
 
    researchViewY = 2.90,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Batteries"] = {
+
   ["ThingDef:ShipChunk"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Batteries",
+
     defName = "ShipChunk",
     label = "battery",
+
     label = "ship chunk",
     description = [[Build batteries for storing electricity.]],
+
     description = [[A chunk of a spacecraft. Can be deconstructed to yield useful resources.]],
     baseCost = 400,
+
     category = "Building",
     techLevel = "Industrial",
+
     altitudeLayer = "Building",
     prerequisites = {
+
     pathCost = 42,
       "Electricity",
+
    passability = "PassThroughOnly",
 +
    fillPercent = 0.50,
 +
    size = {2, 2},
 +
    statBases = {
 +
      MaxHitPoints = 300,
 +
      Flammability = 0,
 +
      Beauty = -20,
 +
      WorkToBuild = 12000,
 +
    },
 +
    leaveResourcesWhenKilled = false,
 +
    killedLeavings = {
 +
      ChunkSlagSteel = 2,
 +
      ComponentIndustrial = 1,
 +
    },
 +
    costList = {
 +
       ComponentIndustrial = 11,
 +
      Steel = 40,
 +
    },
 +
    building = {
 +
      alwaysDeconstructible = true,
 
     },
 
     },
    researchViewX = 6.00,
 
    researchViewY = 1.20,
 
 
   },
 
   },
  
   ["ResearchProjectDef:BiofuelRefining"] = {
+
   ["ThingDef:FurnitureBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Name = "FurnitureBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
      ParentName = "BuildingBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BiofuelRefining",
+
     minifiedDef = "MinifiedThing",
     label = "biofuel refining",
+
     thingCategories = {
    description = [[Build biofuel refineries to make chemfuel from biological matter like wood or foodstuffs.]],
+
       "BuildingsFurniture",
    baseCost = 700,
 
    techLevel = "Industrial",
 
    prerequisites = {
 
       "Electricity",
 
 
     },
 
     },
    researchViewX = 7.00,
 
    researchViewY = 2.60,
 
 
   },
 
   },
  
   ["ResearchProjectDef:WatermillGenerator"] = {
+
   ["ThingDef:FurnitureWithQualityBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Name = "FurnitureWithQualityBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
      ParentName = "FurnitureBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WatermillGenerator",
+
     comps = {
    label = "watermill generator",
+
      {
    description = [[Build watermill generators on rivers to generate a steady supply of power.]],
+
        compClass = "CompQuality",
    baseCost = 700,
+
       },
    techLevel = "Industrial",
 
    prerequisites = {
 
       "Electricity",
 
 
     },
 
     },
    researchViewX = 7.00,
 
    researchViewY = 1.20,
 
 
   },
 
   },
  
   ["ResearchProjectDef:NutrientPaste"] = {
+
   ["ThingDef:ArtableFurnitureBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Name = "ArtableFurnitureBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
      ParentName = "FurnitureWithQualityBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "NutrientPaste",
+
     comps = {
    label = "nutrient paste",
+
      {
    description = [[Build nutrient paste dispensers which efficiently produce edible meals from raw nutritive feedstocks, while requiring no labor at all.]],
+
        _ = {
    baseCost = 400,
+
          Class = "CompProperties_Art",
    techLevel = "Industrial",
+
        },
    prerequisites = {
+
        nameMaker = "NamerArtFurniture",
      "Electricity",
+
        descriptionMaker = "ArtDescription_Furniture",
    },
+
        minQualityForArtistic = "Excellent",
    researchViewX = 8.00,
+
      },
    researchViewY = 1.20,
 
    tags = {
 
      "ClassicStart",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ResearchProjectDef:SolarPanels"] = {
+
   ["ThingDef:ArtableFurnitureRegardlessOfQualityBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Name = "ArtableFurnitureRegardlessOfQualityBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
      ParentName = "FurnitureWithQualityBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SolarPanels",
+
     comps = {
    label = "solar panel",
+
      {
    description = [[Build solar panels for electricity generation.]],
+
        _ = {
    baseCost = 600,
+
          Class = "CompProperties_Art",
    techLevel = "Industrial",
+
        },
    prerequisites = {
+
        nameMaker = "NamerArtFurniture",
       "Electricity",
+
        descriptionMaker = "ArtDescription_Furniture",
 +
        minQualityForArtistic = "Awful",
 +
       },
 
     },
 
     },
    researchViewX = 7.00,
 
    researchViewY = 1.90,
 
 
   },
 
   },
  
   ["ResearchProjectDef:AirConditioning"] = {
+
   ["ThingDef:SleepingSpot"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AirConditioning",
+
     defName = "SleepingSpot",
     label = "air conditioning",
+
     label = "sleeping spot",
     description = [[Build coolers to make people comfortable in hot weather, or to construct freezers for storing perishable goods.]],
+
     description = [[Designates a spot on the ground where people should sleep. Not comfortable.]],
     baseCost = 500,
+
     thingClass = "Building_Bed",
     techLevel = "Industrial",
+
     altitudeLayer = "FloorEmplacement",
     prerequisites = {
+
     statBases = {
       "Electricity",
+
       WorkToBuild = 0,
 +
      Comfort = 0.4,
 +
      SurgerySuccessChanceFactor = 0.7,
 +
    },
 +
    useHitPoints = false,
 +
    size = {1, 2},
 +
    passability = "Standable",
 +
    building = {
 +
      sowTag = "SupportPlantsOnly",
 +
      artificialForMeditationPurposes = false,
 +
      buildingTags = {
 +
        "Bed",
 +
      },
 
     },
 
     },
     tags = {
+
     comps = {
       "ClassicStart",
+
       {
 +
        _ = {
 +
          Class = "CompProperties_AssignableToPawn",
 +
        },
 +
        drawAssignmentOverlay = false,
 +
        compClass = "CompAssignableToPawn_Bed",
 +
      },
 
     },
 
     },
    researchViewX = 6.00,
 
    researchViewY = 2.60,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Autodoors"] = {
+
   ["ThingDef:DoubleSleepingSpot"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
       GameVersion = "1.2.2753",
+
       FileName = "Buildings_Furniture.xml",
 +
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Autodoors",
+
     defName = "DoubleSleepingSpot",
     label = "autodoor",
+
     label = "double sleeping spot",
     description = [[Build autodoors which automatically open when someone approaches, without slowing anyone down.]],
+
     description = [[Designates a spot on the ground where two people should sleep together. Not comfortable.]],
     baseCost = 600,
+
     thingClass = "Building_Bed",
     techLevel = "Industrial",
+
     altitudeLayer = "FloorEmplacement",
     prerequisites = {
+
     statBases = {
       "Electricity",
+
       WorkToBuild = 0,
 +
      Comfort = 0.4,
 +
      SurgerySuccessChanceFactor = 0.7,
 
     },
 
     },
     researchViewX = 6.00,
+
     useHitPoints = false,
     researchViewY = 1.90,
+
     size = {2, 2},
  },
+
    passability = "Standable",
 
+
     building = {
  ["ResearchProjectDef:Hydroponics"] = {
+
       sowTag = "SupportPlantsOnly",
     _ = {
+
       artificialForMeditationPurposes = false,
       DefCategory = "ResearchProjectDef",
+
       buildingTags = {
       FileName = "ResearchProjects_2_Electricity.xml",
+
        "Bed",
       GameVersion = "1.2.2753",
+
       },
       DLC = "Core",
 
 
     },
 
     },
     defName = "Hydroponics",
+
     comps = {
    label = "hydroponics",
+
      {
    description = [[Build hydroponics basins to rapidly grow crops indoors regardless of the terrain or weather outside.]],
+
        _ = {
    baseCost = 700,
+
          Class = "CompProperties_AssignableToPawn",
    techLevel = "Industrial",
+
        },
    prerequisites = {
+
        drawAssignmentOverlay = false,
       "Electricity",
+
        compClass = "CompAssignableToPawn_Bed",
 +
       },
 
     },
 
     },
    researchViewX = 6.00,
 
    researchViewY = 0.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:TubeTelevision"] = {
+
   ["ThingDef:BedBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "FurnitureBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
      Name = "BedBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TubeTelevision",
+
     thingClass = "Building_Bed",
     label = "tube television",
+
     altitudeLayer = "Building",
     description = [[Produce tube televisions for recreational watching.]],
+
     comps = {
    baseCost = 1000,
+
      {
    techLevel = "Industrial",
+
        _ = {
    prerequisites = {
+
          Class = "CompProperties_AssignableToPawn",
      "Electricity",
+
        },
 +
        drawAssignmentOverlay = false,
 +
        compClass = "CompAssignableToPawn_Bed",
 +
      },
 
     },
 
     },
     hiddenPrerequisites = {
+
     passability = "PassThroughOnly",
       "ComplexFurniture",
+
    building = {
 +
       buildingTags = {
 +
        "Bed",
 +
      },
 
     },
 
     },
    researchViewX = 9.00,
 
    researchViewY = 0.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:PackagedSurvivalMeal"] = {
+
   ["ThingDef:BedWithQualityBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Name = "BedWithQualityBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
      ParentName = "BedBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PackagedSurvivalMeal",
+
     comps = {
    label = "packaged survival meal",
+
      {
    description = [[Produce packaged survival meals which never go bad. Great for traveling.]],
+
        compClass = "CompQuality",
    baseCost = 500,
+
       },
    techLevel = "Industrial",
 
    prerequisites = {
 
       "NutrientPaste",
 
 
     },
 
     },
    researchViewX = 9.00,
 
    researchViewY = 1.20,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Firefoam"] = {
+
   ["ThingDef:ArtableBedBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Name = "ArtableBedBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
      ParentName = "BedWithQualityBase",
 +
      Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Firefoam",
+
     comps = {
    label = "firefoam",
+
      {
    description = [[Construct firefoam poppers, automatic fire-safety devices which spread fire-retardant foam in response to encroaching flames.]],
+
        _ = {
    baseCost = 600,
+
          Class = "CompProperties_Art",
    techLevel = "Industrial",
+
        },
    prerequisites = {
+
        nameMaker = "NamerArtFurniture",
       "Electricity",
+
        descriptionMaker = "ArtDescription_Furniture",
 +
        minQualityForArtistic = "Excellent",
 +
       },
 
     },
 
     },
    researchViewX = 8.00,
 
    researchViewY = 1.90,
 
 
   },
 
   },
  
   ["ResearchProjectDef:IEDs"] = {
+
   ["ThingDef:Bed"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BedWithQualityBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "IEDs",
+
     defName = "Bed",
     label = "IEDs",
+
     label = "bed",
     description = [[Build improvised traps from any kind of mortar shell.]],
+
     description = [[A cozy mattress and sheets on a frame for resting.]],
     baseCost = 500,
+
     comps = {
    techLevel = "Industrial",
+
       {
    prerequisites = {
+
        _ = {
       "Electricity",
+
          Class = "CompProperties_AffectedByFacilities",
    },
+
        },
    hideWhen = {
+
        linkableFacilities = {
      trapsDisabled = true,
+
          "EndTable",
    },
+
          "Dresser",
    researchViewX = 7.00,
+
        },
    researchViewY = 0.50,
+
       },
  },
 
 
 
  ["ResearchProjectDef:GeothermalPower"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_2_Electricity.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "GeothermalPower",
+
     statBases = {
    label = "geothermal power",
+
      MaxHitPoints = 140,
    description = [[Build geothermal power plants on top of steam geysers, for uninterrupted power.]],
+
      Flammability = 1.0,
    baseCost = 3200,
+
      Beauty = 1,
    techLevel = "Industrial",
+
      WorkToBuild = 800,
    prerequisites = {
+
      Mass = 30,
       "Electricity",
+
      BedRestEffectiveness = 1,
 +
      Comfort = 0.75,
 +
      ImmunityGainSpeedFactor = 1.07,
 +
       SurgerySuccessChanceFactor = 1,
 
     },
 
     },
     researchViewX = 8.00,
+
     size = {1, 2},
    researchViewY = 2.60,
+
     building = {
  },
+
       bed_healPerDay = 4,
 
 
  ["ResearchProjectDef:SterileMaterials"] = {
 
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_2_Electricity.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "SterileMaterials",
+
     fillPercent = 0.4,
    label = "sterile materials",
+
     pathCost = 42,
    description = [[Construct sterile tiles to make cleanrooms for safer and more effective medical treatment, research, and cooking.]],
+
     researchPrerequisites = {
    baseCost = 600,
+
       "ComplexFurniture",
     techLevel = "Industrial",
 
     prerequisites = {
 
       "Electricity",
 
 
     },
 
     },
    researchViewX = 8.00,
 
    researchViewY = 0.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:ColoredLights"] = {
+
   ["ThingDef:DoubleBed"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "ArtableBedBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ColoredLights",
+
     defName = "DoubleBed",
     label = "colored lights",
+
     label = "double bed",
     description = [[Construct colored lights for decorative purposes. Cosmetic only.]],
+
     description = [[A simple double-wide bed that fits two people.]],
     baseCost = 300,
+
     comps = {
    techLevel = "Industrial",
+
      {
    prerequisites = {
+
        _ = {
      "Electricity",
+
          Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "EndTable",
 +
          "Dresser",
 +
        },
 +
      },
 
     },
 
     },
     researchViewX = 9.00,
+
     statBases = {
    researchViewY = 1.90,
+
      MaxHitPoints = 200,
  },
+
      Flammability = 1.0,
 
+
      WorkToBuild = 1500,
  ["ResearchProjectDef:Machining"] = {
+
      Mass = 50,
    _ = {
+
      Comfort = 0.75,
       DefCategory = "ResearchProjectDef",
+
       Beauty = 2,
       FileName = "ResearchProjects_2_Electricity.xml",
+
       BedRestEffectiveness = 1,
       GameVersion = "1.2.2753",
+
       ImmunityGainSpeedFactor = 1.07,
       DLC = "Core",
+
       SurgerySuccessChanceFactor = 1,
 
     },
 
     },
     defName = "Machining",
+
     size = {2, 2},
    label = "machining",
+
     building = {
    description = [[Build machining tables to craft guns, grenades, flak armor, and to shred dead mechanoids for resources.]],
+
       bed_healPerDay = 4,
     baseCost = 1000,
 
    techLevel = "Industrial",
 
    prerequisites = {
 
       "Electricity",
 
      "Smithing",
 
 
     },
 
     },
     researchViewX = 6.00,
+
     terrainAffordanceNeeded = "Light",
    researchViewY = 3.50,
+
     fillPercent = 0.4,
  },
+
     pathCost = 42,
 
+
     leaveResourcesWhenKilled = true,
  ["ResearchProjectDef:SmokepopBelt"] = {
+
     researchPrerequisites = {
    _ = {
+
       "ComplexFurniture",
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_2_Electricity.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "SmokepopBelt",
 
    label = "smokepop packs",
 
     description = [[Build smokepop packs which allow the wearer to deploy a defensive smokescreen.]],
 
     baseCost = 300,
 
    techLevel = "Industrial",
 
     prerequisites = {
 
      "Machining",
 
    },
 
     hiddenPrerequisites = {
 
       "ComplexClothing",
 
 
     },
 
     },
    researchViewX = 7.00,
 
    researchViewY = 4.80,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Prosthetics"] = {
+
   ["ThingDef:RoyalBed"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "ArtableBedBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Prosthetics",
+
     defName = "RoyalBed",
     label = "prosthetics",
+
     label = "royal bed",
     description = [[Build inexpensive prosthetic body parts to replace lost limbs. Requires a skilled doctor to attach.]],
+
     description = [[A luxurious gold-inlaid bed fit for the highborn. Very comfy and beautiful, it is a work of art in itself. Fits two.]],
     baseCost = 600,
+
     comps = {
    techLevel = "Industrial",
+
      {
    prerequisites = {
+
        _ = {
      "Machining",
+
          Class = "CompProperties_AffectedByFacilities",
    },
+
        },
    researchViewX = 8.00,
+
        linkableFacilities = {
    researchViewY = 4.80,
+
          "EndTable",
  },
+
          "Dresser",
 
+
        },
  ["ResearchProjectDef:Gunsmithing"] = {
+
       },
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_2_Electricity.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "Gunsmithing",
+
     statBases = {
    label = "gunsmithing",
+
      MaxHitPoints = 200,
    description = [[Craft simple manually-operated guns like revolvers, pump shotguns, bolt-action rifles, and incendiary launchers.]],
+
      Flammability = 1.0,
    baseCost = 500,
+
      WorkToBuild = 50000,
    techLevel = "Industrial",
+
      Mass = 60,
    prerequisites = {
+
      Beauty = 75,
      "Machining",
+
      BedRestEffectiveness = 1.05,
 +
      Comfort = 0.90,
 +
      ImmunityGainSpeedFactor = 1.07,
 +
      SurgerySuccessChanceFactor = 1,
 
     },
 
     },
     researchViewX = 7.00,
+
     size = {2, 2},
    researchViewY = 3.40,
+
     costList = {
  },
+
       Gold = 50,
 
 
  ["ResearchProjectDef:FlakArmor"] = {
 
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_2_Electricity.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "FlakArmor",
+
     building = {
    label = "flak armor",
+
       bed_healPerDay = 4,
    description = [[Craft clothing with metal armor sewn in to resist bullets and explosions. This weighty armor slows movement slightly.]],
 
    baseCost = 1200,
 
    techLevel = "Industrial",
 
    prerequisites = {
 
       "Machining",
 
 
     },
 
     },
     hiddenPrerequisites = {
+
     terrainAffordanceNeeded = "Light",
       "PlateArmor",
+
    fillPercent = 0.4,
 +
    pathCost = 42,
 +
    leaveResourcesWhenKilled = true,
 +
    researchPrerequisites = {
 +
       "ComplexFurniture",
 
     },
 
     },
    researchViewX = 7.00,
 
    researchViewY = 4.10,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Mortars"] = {
+
   ["ThingDef:HospitalBed"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BedWithQualityBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Mortars",
+
     defName = "HospitalBed",
     label = "mortars",
+
     label = "hospital bed",
     description = [[Build mortars which can lob shells long distances - even over walls.]],
+
     description = [[A bed specially designed for use in hospitals. Adjustable for a patient and festooned with built-in equipment, it improves medical outcomes over normal beds.]],
     baseCost = 2000,
+
     statBases = {
    techLevel = "Industrial",
+
      MaxHitPoints = 150,
    prerequisites = {
+
      WorkToBuild = 2800,
       "Gunsmithing",
+
      Mass = 35,
 +
      Flammability = 1.0,
 +
      BedRestEffectiveness = 1,
 +
      Comfort = 0.80,
 +
      ImmunityGainSpeedFactor = 1.11,
 +
      MedicalTendQualityOffset = 0.10,
 +
       SurgerySuccessChanceFactor = 1.1,
 
     },
 
     },
     hideWhen = {
+
     comps = {
       mortarsDisabled = true,
+
       {
 +
        _ = {
 +
          Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "VitalsMonitor",
 +
          "EndTable",
 +
          "Dresser",
 +
        },
 +
      },
 
     },
 
     },
     researchViewX = 8.00,
+
     size = {1, 2},
    researchViewY = 4.10,
+
     costList = {
  },
+
       Steel = 80,
 
+
       ComponentIndustrial = 5,
  ["ResearchProjectDef:BlowbackOperation"] = {
 
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_2_Electricity.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "BlowbackOperation",
+
     building = {
    label = "blowback operation",
+
      bed_healPerDay = 10,
    description = [[Craft low-power blowback-operated guns like autopistols and machine pistols.]],
+
      bed_defaultMedical = true,
    baseCost = 500,
+
      buildingSizeCategory = "Small",
    techLevel = "Industrial",
 
    prerequisites = {
 
      "Gunsmithing",
 
 
     },
 
     },
     researchViewX = 8.00,
+
     fillPercent = 0.4,
     researchViewY = 3.40,
+
     pathCost = 42,
  },
+
    leaveResourcesWhenKilled = true,
 
+
     researchPrerequisites = {
  ["ResearchProjectDef:GasOperation"] = {
+
       "HospitalBed",
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_2_Electricity.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
    defName = "GasOperation",
 
    label = "gas operation",
 
    description = [[Craft high-power guns like chain shotguns, LMGs, and heavy SMGs.]],
 
    baseCost = 1000,
 
    techLevel = "Industrial",
 
    prerequisites = {
 
      "BlowbackOperation",
 
    },
 
    researchViewX = 9.00,
 
    researchViewY = 4.10,
 
 
   },
 
   },
  
   ["ResearchProjectDef:GunTurrets"] = {
+
   ["ThingDef:Bedroll"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BedWithQualityBase",
       FileName = "ResearchProjects_2_Electricity.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GunTurrets",
+
     defName = "Bedroll",
     label = "gun turrets",
+
     label = "bedroll",
     description = [[Produce simple automated gun turrets.]],
+
     description = [[A simple bed that lays on the floor, usually made of cloth or leather, often lined with fur. It is lightweight and can be rolled up for easy transport, but it is not quite as comfortable as a typical bed. Caravans can use bedrolls while traveling for better sleep.]],
     baseCost = 500,
+
     statBases = {
     techLevel = "Industrial",
+
      MaxHitPoints = 75,
    prerequisites = {
+
      Flammability = 1.0,
      "BlowbackOperation",
+
      Mass = 2.5,
     },
+
      BedRestEffectiveness = 0.95,
     hideWhen = {
+
      ImmunityGainSpeedFactor = 1.05,
       turretsDisabled = true,
+
      Comfort = 0.68,
     },
+
      WorkToBuild = 600,
     researchViewX = 9.00,
+
    },
     researchViewY = 3.40,
+
     comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "Dresser",
 +
          "EndTable",
 +
        },
 +
      },
 +
     },
 +
     size = {1, 2},
 +
    building = {
 +
       bed_healPerDay = 4,
 +
      bed_caravansCanUse = true,
 +
     },
 +
     pathCost = 14,
 +
     passability = "Standable",
 
   },
 
   },
  
   ["ResearchProjectDef:MicroelectronicsBasics"] = {
+
   ["ThingDef:BedrollDouble"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BedWithQualityBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MicroelectronicsBasics",
+
     defName = "BedrollDouble",
     label = "microelectronics",
+
     label = "double bedroll",
     description = [[Work with complex microelectronics. This unlocks the hi-tech research bench and comms console.]],
+
     description = [[A simple double-wide bed that lays on the floor, usually made of cloth or leather, often lined with fur. It is lightweight and can be rolled up for easy transport, but it is not quite as comfortable as a typical bed. Caravans can use bedrolls while traveling for better sleep.]],
     baseCost = 3000,
+
     statBases = {
    techLevel = "Industrial",
+
      Flammability = 1.0,
    prerequisites = {
+
      Mass = 4.5,
       "Electricity",
+
      BedRestEffectiveness = 0.95,
 +
      ImmunityGainSpeedFactor = 1.05,
 +
      Comfort = 0.68,
 +
       WorkToBuild = 1100,
 
     },
 
     },
     researchViewX = 10.00,
+
     comps = {
    researchViewY = 2.90,
+
      {
  },
+
        _ = {
 
+
          Class = "CompProperties_AffectedByFacilities",
  ["ResearchProjectDef:FlatscreenTelevision"] = {
+
        },
    _ = {
+
        linkableFacilities = {
      DefCategory = "ResearchProjectDef",
+
          "Dresser",
      FileName = "ResearchProjects_3_Microelectronics.xml",
+
          "EndTable",
      GameVersion = "1.2.2753",
+
        },
       DLC = "Core",
+
       },
 
     },
 
     },
     defName = "FlatscreenTelevision",
+
     size = {2, 2},
    label = "flatscreen television",
+
     building = {
    description = [[Produce high-resolution flatscreen televisions for greater enjoyment.]],
+
       bed_healPerDay = 4,
    baseCost = 2000,
+
       bed_caravansCanUse = true,
     techLevel = "Industrial",
 
    prerequisites = {
 
       "TubeTelevision",
 
       "MicroelectronicsBasics",
 
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     pathCost = 14,
     researchViewX = 11.00,
+
     passability = "Standable",
    researchViewY = 0.80,
 
 
   },
 
   },
  
   ["ResearchProjectDef:MoisturePump"] = {
+
   ["ThingDef:AnimalSleepingSpot"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MoisturePump",
+
     defName = "AnimalSleepingSpot",
     label = "moisture pump",
+
    thingClass = "Building_Bed",
     description = [[Construct moisture pumps, which very slowly normalize the moisture in the ground around them. They can turn wet ground dry and convert soft sand into normal sand.]],
+
     label = "animal sleeping spot",
     baseCost = 1200,
+
     description = [[Designates a spot on the ground where animals should sleep.]],
     techLevel = "Industrial",
+
     size = {1, 1},
     prerequisites = {
+
    passability = "Standable",
       "MicroelectronicsBasics",
+
    useHitPoints = false,
 +
     altitudeLayer = "FloorEmplacement",
 +
     statBases = {
 +
       WorkToBuild = 0,
 +
      SurgerySuccessChanceFactor = 0.7,
 +
    },
 +
    building = {
 +
      bed_humanlike = false,
 +
      sowTag = "SupportPlantsOnly",
 +
      artificialForMeditationPurposes = false,
 
     },
 
     },
     hiddenPrerequisites = {
+
     comps = {
       "Machining",
+
       {
 +
        _ = {
 +
          Class = "CompProperties_AssignableToPawn",
 +
        },
 +
        drawAssignmentOverlay = false,
 +
        compClass = "CompAssignableToPawn_Bed",
 +
      },
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 12.00,
 
    researchViewY = 0.80,
 
 
   },
 
   },
  
   ["ResearchProjectDef:HospitalBed"] = {
+
   ["ThingDef:AnimalSleepingBox"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "FurnitureWithQualityBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HospitalBed",
+
     defName = "AnimalSleepingBox",
     label = "hospital bed",
+
    thingClass = "Building_Bed",
     description = [[Construct hospital beds which improve medical outcomes.]],
+
     label = "animal sleeping box",
     baseCost = 1200,
+
     description = [[A small box for animals to sleep in. Fits smaller animals like chickens, cats, or small dogs.]],
     techLevel = "Industrial",
+
     fillPercent = 0.15,
     prerequisites = {
+
     pathCost = 14,
       "MicroelectronicsBasics",
+
    passability = "PassThroughOnly",
 +
     building = {
 +
       bed_humanlike = false,
 +
      bed_maxBodySize = 0.55,
 +
      bed_healPerDay = 4,
 +
    },
 +
    altitudeLayer = "Building",
 +
    statBases = {
 +
      MaxHitPoints = 75,
 +
      Flammability = 1.0,
 +
      WorkToBuild = 180,
 +
      Mass = 3,
 +
      BedRestEffectiveness = 0.93,
 +
      Comfort = 0.60,
 +
      ImmunityGainSpeedFactor = 1.05,
 +
      SurgerySuccessChanceFactor = 1,
 
     },
 
     },
     hiddenPrerequisites = {
+
     comps = {
       "SterileMaterials",
+
       {
      "ComplexFurniture",
+
        _ = {
 +
          Class = "CompProperties_AssignableToPawn",
 +
        },
 +
        drawAssignmentOverlay = false,
 +
        compClass = "CompAssignableToPawn_Bed",
 +
      },
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 12.00,
 
    researchViewY = 1.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:DeepDrilling"] = {
+
   ["ThingDef:AnimalBed"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "FurnitureWithQualityBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DeepDrilling",
+
     defName = "AnimalBed",
     label = "deep drilling",
+
    thingClass = "Building_Bed",
     description = [[Build deep drills for extracting resources from underground. You'll need a ground-penetrating scanner to find the resources.]],
+
     label = "animal bed",
     baseCost = 1000,
+
     description = [[A soft bed for animals to sleep on. Fits any animal.]],
     techLevel = "Industrial",
+
     fillPercent = 0.15,
     prerequisites = {
+
    pathCost = 14,
       "MicroelectronicsBasics",
+
     passability = "PassThroughOnly",
 +
     building = {
 +
       bed_humanlike = false,
 +
      bed_healPerDay = 4,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     altitudeLayer = "Building",
     researchViewX = 12.00,
+
     statBases = {
    researchViewY = 2.20,
+
      MaxHitPoints = 140,
  },
+
      Flammability = 1.0,
 
+
      WorkToBuild = 400,
  ["ResearchProjectDef:GroundPenetratingScanner"] = {
+
      Mass = 5,
    _ = {
+
       BedRestEffectiveness = 1,
       DefCategory = "ResearchProjectDef",
+
       Comfort = 0.75,
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       ImmunityGainSpeedFactor = 1.07,
       GameVersion = "1.2.2753",
+
       SurgerySuccessChanceFactor = 1,
       DLC = "Core",
 
 
     },
 
     },
     defName = "GroundPenetratingScanner",
+
     comps = {
    label = "ground-penetrating scanner",
+
      {
    description = [[Build ground-penetrating scanners that can detect drillable resources under the surface. Requires an advanced component to construct.]],
+
        _ = {
    baseCost = 1000,
+
          Class = "CompProperties_AssignableToPawn",
    techLevel = "Industrial",
+
        },
    prerequisites = {
+
        drawAssignmentOverlay = false,
       "DeepDrilling",
+
        compClass = "CompAssignableToPawn_Bed",
 +
       },
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 13.00,
 
    researchViewY = 2.20,
 
 
   },
 
   },
  
   ["ResearchProjectDef:TransportPod"] = {
+
   ["ThingDef:Stool"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "FurnitureWithQualityBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TransportPod",
+
     defName = "Stool",
     label = "transport pod",
+
     label = "stool",
     description = [[Construct launchable transport pods that you can use to send people and supplies long distances across the planet's surface. Can be used for raiding, travel, sending gifts, and more.]],
+
     description = [[A simple platform on which to sit. Not very comfortable, but much better than nothing. Can be used at tables, work stations, and elsewhere.]],
     baseCost = 1000,
+
     altitudeLayer = "Building",
     techLevel = "Industrial",
+
     statBases = {
    prerequisites = {
+
      MaxHitPoints = 75,
       "MicroelectronicsBasics",
+
      WorkToBuild = 450,
 +
      Mass = 3,
 +
      Flammability = 1.0,
 +
      Beauty = 0,
 +
       Comfort = 0.5,
 
     },
 
     },
     hiddenPrerequisites = {
+
     pathCost = 30,
      "BiofuelRefining",
+
    fillPercent = 0.20,
       "Machining",
+
    building = {
 +
       isSittable = true,
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 11.00,
 
    researchViewY = 2.20,
 
 
   },
 
   },
  
   ["ResearchProjectDef:MedicineProduction"] = {
+
   ["ThingDef:DiningChair"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "ArtableFurnitureBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MedicineProduction",
+
     defName = "DiningChair",
     label = "medicine production",
+
     label = "dining chair",
     description = [[Produce standard industrial-tech medicine by combining herbal medicine, neutroamine, and cloth.]],
+
     description = [[A comfortable and attractive chair. Can be used at tables, work stations, and elsewhere.]],
     baseCost = 1500,
+
     altitudeLayer = "Building",
     techLevel = "Industrial",
+
     statBases = {
    prerequisites = {
+
      MaxHitPoints = 100,
       "DrugProduction",
+
      WorkToBuild = 8000,
       "MicroelectronicsBasics",
+
      Mass = 5,
 +
      Flammability = 1.0,
 +
       Beauty = 8,
 +
       Comfort = 0.70,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     pathCost = 30,
     researchViewX = 11.00,
+
     fillPercent = 0.35,
    researchViewY = 0.00,
+
     building = {
  },
+
       isSittable = true,
 
 
  ["ResearchProjectDef:LongRangeMineralScanner"] = {
 
     _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_3_Microelectronics.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "LongRangeMineralScanner",
+
     researchPrerequisites = {
    label = "long-range mineral scanner",
+
       "ComplexFurniture",
    description = [[Construct long-range mineral scanners your researchers can use to detect precious minerals across the planet. Can be tuned to find a specific mineral. Requires advanced components to construct.]],
 
    baseCost = 2000,
 
    techLevel = "Industrial",
 
    prerequisites = {
 
      "MicroelectronicsBasics",
 
    },
 
    hiddenPrerequisites = {
 
       "Machining",
 
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 12.00,
 
    researchViewY = 0.00,
 
 
   },
 
   },
  
   ["ResearchProjectDef:ShieldBelt"] = {
+
   ["ThingDef:Armchair"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "FurnitureWithQualityBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShieldBelt",
+
     defName = "Armchair",
     label = "shields",
+
     label = "armchair",
     description = [[Build wearable shield gear. Shields use momentum-repulsion technology to prevent projectiles from traversing the field boundry.]],
+
     description = [[A large, soft, comfy seat. Great for relaxation. Can be used at tables, work stations, and elsewhere.]],
     baseCost = 1000,
+
     altitudeLayer = "Building",
     techLevel = "Industrial",
+
     statBases = {
     prerequisites = {
+
      MaxHitPoints = 120,
       "MicroelectronicsBasics",
+
      WorkToBuild = 14000,
 +
      Mass = 18,
 +
      Flammability = 1.0,
 +
      Beauty = 4,
 +
      Comfort = 0.8,
 +
    },
 +
     researchPrerequisites = {
 +
       "ComplexFurniture",
 
     },
 
     },
     hiddenPrerequisites = {
+
     pathCost = 30,
       "ComplexClothing",
+
    fillPercent = 0.40,
 +
    building = {
 +
       isSittable = true,
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 11.00,
 
    researchViewY = 1.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:PrecisionRifling"] = {
+
   ["ThingDef:TableBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Abstract = true,
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
      ParentName = "FurnitureWithQualityBase",
 +
      Name = "TableBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "PrecisionRifling",
+
     description = [[People eat off tables when chairs are placed facing them.]],
    label = "precision rifling",
+
     thingClass = "Building",
     description = [[Craft precisely-machined guns like assault rifles and sniper rifles.]],
+
     altitudeLayer = "Building",
     baseCost = 1400,
+
     passability = "PassThroughOnly",
     techLevel = "Industrial",
+
     pathCost = 42,
     prerequisites = {
+
     fillPercent = 0.4,
      "GasOperation",
+
     leaveResourcesWhenKilled = true,
      "MicroelectronicsBasics",
 
     },
 
    requiredResearchBuilding = "HiTechResearchBench",
 
     researchViewX = 11.00,
 
     researchViewY = 3.90,
 
 
   },
 
   },
  
   ["ResearchProjectDef:HeavyTurrets"] = {
+
   ["ThingDef:TableGatherSpotBase"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      Abstract = true,
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
      ParentName = "TableBase",
 +
      Name = "TableGatherSpotBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HeavyTurrets",
+
     comps = {
    label = "autocannon turret",
+
       {
    description = [[Produce the heavy autocannon turret.]],
+
        compClass = "CompGatherSpot",
    baseCost = 1600,
+
       },
    techLevel = "Industrial",
 
    prerequisites = {
 
       "GunTurrets",
 
      "GasOperation",
 
       "MicroelectronicsBasics",
 
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    hideWhen = {
 
      turretsDisabled = true,
 
    },
 
    researchViewX = 11.00,
 
    researchViewY = 3.20,
 
 
   },
 
   },
  
   ["ResearchProjectDef:MultibarrelWeapons"] = {
+
   ["ThingDef:EndTable"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "TableBase",
       FileName = "ResearchProjects_3_Microelectronics.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MultibarrelWeapons",
+
     defName = "EndTable",
     label = "multibarrel weapons",
+
     label = "end table",
     description = [[Assemble miniguns.]],
+
     description = [[A small bedside table which makes nearby beds a little bit more comfortable. Must be placed directly adjacent to the head of the bed. Placing more than one end table near the same bed has no effect.]],
     baseCost = 2600,
+
     statBases = {
    techLevel = "Industrial",
+
      MaxHitPoints = 75,
    prerequisites = {
+
      WorkToBuild = 1000,
       "GasOperation",
+
      Mass = 5,
       "MicroelectronicsBasics",
+
       Flammability = 1.0,
 +
       Beauty = 3,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     pathCost = 30,
    researchViewX = 11.00,
+
     researchPrerequisites = {
     researchViewY = 4.60,
+
       "ComplexFurniture",
  },
 
 
 
  ["ResearchProjectDef:MultiAnalyzer"] = {
 
    _ = {
 
       DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_4_MultiAnalyzer.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "MultiAnalyzer",
+
     comps = {
    label = "multi-analyzer",
+
      {
    description = [[Build multi-analyzers which increase research speed and allow higher-level research projects.]],
+
        _ = {
    baseCost = 4000,
+
          Class = "CompProperties_Facility",
    techLevel = "Industrial",
+
        },
    prerequisites = {
+
        statOffsets = {
      "MicroelectronicsBasics",
+
          Comfort = 0.05,
    },
+
        },
    hiddenPrerequisites = {
+
        maxSimultaneous = 1,
       "Machining",
+
        mustBePlacedAdjacentCardinalToBedHead = true,
 +
       },
 
     },
 
     },
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 13.00,
 
    researchViewY = 2.90,
 
 
   },
 
   },
  
   ["ResearchProjectDef:VitalsMonitor"] = {
+
   ["ThingDef:Table1x2c"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "TableGatherSpotBase",
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "VitalsMonitor",
+
     defName = "Table1x2c",
     label = "vitals monitor",
+
     label = "table (1x2)",
     description = [[Build vitals monitors which improve medical outcomes when placed next to hospital beds.]],
+
     statBases = {
    baseCost = 2500,
+
      MaxHitPoints = 75,
    techLevel = "Industrial",
+
      WorkToBuild = 750,
    prerequisites = {
+
      Mass = 5,
       "MultiAnalyzer",
+
       Flammability = 1.0,
       "HospitalBed",
+
       Beauty = 0.5,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     size = {1, 2},
    requiredResearchFacilities = {
 
      "MultiAnalyzer",
 
    },
 
    researchViewX = 14.00,
 
    researchViewY = 1.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Fabrication"] = {
+
   ["ThingDef:Table2x2c"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "TableGatherSpotBase",
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Fabrication",
+
     defName = "Table2x2c",
     label = "fabrication",
+
     label = "table (2x2)",
     description = [[Build fabrication benches, capable of high-tech projects ranging from component assembly to power armor construction.]],
+
     statBases = {
    baseCost = 4000,
+
      MaxHitPoints = 100,
    techLevel = "Industrial",
+
      WorkToBuild = 1500,
    prerequisites = {
+
      Mass = 10,
       "MultiAnalyzer",
+
      Flammability = 1.0,
 +
       Beauty = 1,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     size = {2, 2},
    requiredResearchFacilities = {
 
      "MultiAnalyzer",
 
    },
 
    researchViewX = 14.00,
 
    researchViewY = 2.90,
 
    discoveredLetterTitle = "About: Getting advanced components",
 
    discoveredLetterText = "You now have the technology to build a fabrication bench - but it also requires some advanced components to get started. You can collect advanced components several ways:\n\n  -All outlander settlements sell advanced components. Send a caravan to buy some.\n  -Some visiting traders sell advanced components. Invite or wait for them.\n  -Some quests are rewarded with advanced components.",
 
 
   },
 
   },
  
   ["ResearchProjectDef:AdvancedFabrication"] = {
+
   ["ThingDef:Table2x4c"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "TableGatherSpotBase",
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AdvancedFabrication",
+
     defName = "Table2x4c",
     label = "advanced fabrication",
+
     label = "table (2x4)",
     description = [[Fabricate advanced components from standard components and other materials.]],
+
     statBases = {
    baseCost = 4000,
+
      MaxHitPoints = 150,
    techLevel = "Industrial",
+
      WorkToBuild = 3000,
    prerequisites = {
+
      Mass = 20,
       "Fabrication",
+
      Flammability = 1.0,
 +
       Beauty = 2,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     size = {2, 4},
     requiredResearchFacilities = {
+
     building = {
       "MultiAnalyzer",
+
       buildingSizeCategory = "Medium",
 
     },
 
     },
    researchViewX = 16.00,
 
    researchViewY = 2.90,
 
 
   },
 
   },
  
   ["ResearchProjectDef:Cryptosleep"] = {
+
   ["ThingDef:Table3x3c"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "TableGatherSpotBase",
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Cryptosleep",
+
     defName = "Table3x3c",
     label = "cryptosleep casket",
+
     label = "table (3x3)",
     description = [[Construct cryptosleep caskets, which can put living beings in a state of indefinite suspended animation.]],
+
     statBases = {
    baseCost = 2000,
+
      MaxHitPoints = 175,
    techLevel = "Spacer",
+
      WorkToBuild = 3300,
    prerequisites = {
+
      Mass = 22,
       "MultiAnalyzer",
+
      Flammability = 1.0,
 +
       Beauty = 2,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     size = {3, 3},
     requiredResearchFacilities = {
+
     building = {
       "MultiAnalyzer",
+
       buildingSizeCategory = "Medium",
 
     },
 
     },
    researchViewX = 14.00,
 
    researchViewY = 2.20,
 
 
   },
 
   },
  
   ["ResearchProjectDef:ReconArmor"] = {
+
   ["ThingDef:PlantPot"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "FurnitureWithQualityBase",
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ReconArmor",
+
     defName = "PlantPot",
     label = "recon armor",
+
     label = "plant pot",
     description = [[Craft recon armor, a light powered armor suit used by scout troops who need protection on the move. Note that these also require advanced components.]],
+
     description = [[Plant decorative flowers here to improve the mood of people nearby.]],
     baseCost = 6000,
+
     thingClass = "Building_PlantGrower",
     techLevel = "Spacer",
+
    altitudeLayer = "Building",
     prerequisites = {
+
     passability = "PassThroughOnly",
       "Fabrication",
+
     fillPercent = 0.20,
 +
    statBases = {
 +
       MaxHitPoints = 75,
 +
      WorkToBuild = 250,
 +
      Mass = 2,
 +
      Flammability = 1.0,
 
     },
 
     },
     hiddenPrerequisites = {
+
     comps = {
       "ComplexClothing",
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Forbiddable",
 +
        },
 +
      },
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     leaveResourcesWhenKilled = false,
     requiredResearchFacilities = {
+
     building = {
       "MultiAnalyzer",
+
       defaultPlantToGrow = "Plant_Daylily",
 +
      sowTag = "Decorative",
 
     },
 
     },
    researchViewX = 15.00,
 
    researchViewY = 1.50,
 
 
   },
 
   },
  
   ["ResearchProjectDef:PoweredArmor"] = {
+
   ["ThingDef:TorchLamp"] = {
 
     _ = {
 
     _ = {
       DefCategory = "ResearchProjectDef",
+
      ParentName = "BuildingBase",
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PoweredArmor",
+
     defName = "TorchLamp",
     label = "marine armor",
+
     label = "torch lamp",
     description = [[Build marine armor, a general-use powered armor suit used by high-tech shock troops. Note that these also require advanced components.]],
+
     description = [[A wooden torch for lighting an area. People need light to move and work at full speed. Can be automatically refueled with wood. Produces a small amount of heat.]],
     baseCost = 6000,
+
     category = "Building",
     techLevel = "Spacer",
+
     altitudeLayer = "Building",
     prerequisites = {
+
     passability = "PassThroughOnly",
       "ReconArmor",
+
    pathCost = 14,
 +
    fillPercent = 0.15,
 +
    statBases = {
 +
       MaxHitPoints = 75,
 +
      WorkToBuild = 100,
 +
      Flammability = 0,
 +
      MeditationFocusStrength = 0.0,
 
     },
 
     },
     hiddenPrerequisites = {
+
     costList = {
       "ComplexClothing",
+
       WoodLog = 20,
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     building = {
    requiredResearchFacilities = {
+
       artificialForMeditationPurposes = false,
       "MultiAnalyzer",
 
 
     },
 
     },
     researchViewX = 16.00,
+
     leaveResourcesWhenKilled = false,
     researchViewY = 1.50,
+
     comps = {
  },
+
      {
 
+
        _ = {
  ["ResearchProjectDef:ChargedShot"] = {
+
          Class = "CompProperties_Refuelable",
    _ = {
+
        },
      DefCategory = "ResearchProjectDef",
+
        fuelConsumptionRate = 2.0,
      FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
        fuelCapacity = 20.0,
      GameVersion = "1.2.2753",
+
        fuelConsumptionPerTickInRain = 0.0006,
      DLC = "Core",
+
        fuelFilter = {
    },
+
          thingDefs = {
    defName = "ChargedShot",
+
            "WoodLog",
    label = "pulse-charged munitions",
+
          },
    description = [[Build weapons which fire pulse-charged munitions for extra damage. Note that these also require advanced components.]],
+
        },
    baseCost = 3000,
+
        initialFuelPercent = 1,
    techLevel = "Spacer",
+
        showAllowAutoRefuelToggle = true,
    prerequisites = {
+
      },
      "Fabrication",
+
      {
    },
+
        _ = {
    hiddenPrerequisites = {
+
          Class = "CompProperties_Glower",
       "PrecisionRifling",
+
        },
    },
+
        glowRadius = 10,
    requiredResearchBuilding = "HiTechResearchBench",
+
        glowColor = {252, 187, 113, 0},
    requiredResearchFacilities = {
+
       },
      "MultiAnalyzer",
+
      {
    },
+
        _ = {
    researchViewX = 15.00,
+
          Class = "CompProperties_HeatPusher",
    researchViewY = 3.8,
+
        },
  },
+
        compClass = "CompHeatPusherPowered",
 
+
        heatPerSecond = 3.5,
  ["ResearchProjectDef:Bionics"] = {
+
        heatPushMaxTemperature = 23,
    _ = {
+
      },
      DefCategory = "ResearchProjectDef",
+
      {
      FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
        _ = {
      GameVersion = "1.2.2753",
+
          Class = "CompProperties_FireOverlay",
       DLC = "Core",
+
        },
    },
+
        fireSize = 0.4,
    defName = "Bionics",
+
        offset = {0, 0, 0.2},
    label = "bionic replacements",
+
       },
    description = [[Build high-tech bionic body parts to replace lost limbs and eyes. Requires a skilled doctor to attach.]],
+
      {
    baseCost = 2000,
+
        _ = {
    techLevel = "Spacer",
+
          Class = "CompProperties_MeditationFocus",
    prerequisites = {
+
        },
      "Fabrication",
+
        statDef = "MeditationFocusStrength",
    },
+
        focusTypes = {
    hiddenPrerequisites = {
+
          "Flame",
      "Prosthetics",
+
        },
    },
+
        offsets = {
    requiredResearchBuilding = "HiTechResearchBench",
+
          {
    requiredResearchFacilities = {
+
            _ = {
      "MultiAnalyzer",
+
              Class = "FocusStrengthOffset_Lit",
    },
+
            },
    researchViewX = 16.00,
+
            offset = 0.1,
    researchViewY = 3.80,
+
          },
  },
+
          {
 
+
            _ = {
  ["ResearchProjectDef:SniperTurret"] = {
+
              Class = "FocusStrengthOffset_BuildingDefsLit",
    _ = {
+
            },
      DefCategory = "ResearchProjectDef",
+
            defs = {
      FileName = "ResearchProjects_4_MultiAnalyzer.xml",
+
              "Campfire",
      GameVersion = "1.2.2753",
+
              "TorchLamp",
      DLC = "Core",
+
              "Brazier",
    },
+
            },
    defName = "SniperTurret",
+
            offsetPerBuilding = 0.01,
    label = "uranium slug turret",
+
            radius = 9.9,
    description = [[Produce the armor-penetrating uranium slug turret. It fires uranium slugs which tear through plasteel like paper, but it's less effective at close range.]],
+
            maxBuildings = 8,
    baseCost = 3000,
+
            explanationKey = "MeditationFocusPerFlame",
    techLevel = "Industrial",
+
            explanationKeyAbstract = "MeditationFocusPerFlameAbstract",
    prerequisites = {
+
          },
      "MultiAnalyzer",
+
        },
    },
+
       },
    hiddenPrerequisites = {
 
      "HeavyTurrets",
 
       "PrecisionRifling",
 
    },
 
    requiredResearchBuilding = "HiTechResearchBench",
 
    requiredResearchFacilities = {
 
      "MultiAnalyzer",
 
 
     },
 
     },
    hideWhen = {
 
      turretsDisabled = true,
 
    },
 
    researchViewX = 14.00,
 
    researchViewY = 3.60,
 
 
   },
 
   },
  
   ["ResearchProjectDef:ShipResearchProjectBase"] = {
+
   ["ThingDef:LampBase"] = {
 
     _ = {
 
     _ = {
      Name = "ShipResearchProjectBase",
 
 
       Abstract = true,
 
       Abstract = true,
       DefCategory = "ResearchProjectDef",
+
      Name = "LampBase",
       FileName = "ResearchProjects_5_Ship.xml",
+
      ParentName = "BuildingBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     requiredResearchBuilding = "HiTechResearchBench",
+
     thingClass = "Building",
     requiredResearchFacilities = {
+
     category = "Building",
       "MultiAnalyzer",
+
    minifiedDef = "MinifiedThing",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    fillPercent = 0.20,
 +
    pathCost = 14,
 +
    leaveResourcesWhenKilled = false,
 +
    thingCategories = {
 +
       "BuildingsFurniture",
 
     },
 
     },
     tags = {
+
     comps = {
       "ShipRelated",
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 
     },
 
     },
  },
+
     statBases = {
 
+
       MaxHitPoints = 50,
  ["ResearchProjectDef:ShipBasics"] = {
+
       WorkToBuild = 300,
     _ = {
+
       Flammability = 1.0,
       ParentName = "ShipResearchProjectBase",
 
      DefCategory = "ResearchProjectDef",
 
       FileName = "ResearchProjects_5_Ship.xml",
 
       GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "ShipBasics",
+
     researchPrerequisites = {
    label = "starflight basics",
+
       "Electricity",
    description = [[Construct the structural and supportive elements of a starship. This is the first step in building a ship to leave this star system.]],
 
    baseCost = 4000,
 
    techLevel = "Spacer",
 
    prerequisites = {
 
       "AdvancedFabrication",
 
    },
 
    researchViewX = 18.00,
 
    researchViewY = 2.90,
 
    discoveredLetterTitle = "About: Launching the ship",
 
    discoveredLetterText = "Escaping from this planet - it would be freedom at last, and maybe a return home.\n\nBut also incredibly dangerous.\n\nMany desperate souls want off this planet. Ship reactors take 15 days to charge up. Once you begin that process, the ship reactor will emit an energy signature detectable from thousands of kilometers away. Raiders will flock to attack you in waves, with an intensity you've never seen. Mechanoids are also known to be attracted to such energy signatures for their own mysterious reasons.\n\nIt won't start until you activate your ship's reactor, but when it does, it'll be ferocious. You'll need to stockpile resources, weapons, and defenses for the onslaught if you hope to escape alive.",
 
    discoveredLetterDisabledWhen = {
 
      bigThreatsDisabled = true,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ResearchProjectDef:ShipCryptosleep"] = {
+
   ["ThingDef:StandingLampBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "ShipResearchProjectBase",
+
      Abstract = true,
       DefCategory = "ResearchProjectDef",
+
      Name = "StandingLampBase",
       FileName = "ResearchProjects_5_Ship.xml",
+
       ParentName = "LampBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShipCryptosleep",
+
     costList = {
    label = "vacuum cryptosleep casket",
+
       Steel = 20,
    description = [[Construct hardened cryptosleep caskets tough enough to be exposed to vacuum, for transporting people on the years-long journey between stars.]],
 
    baseCost = 2800,
 
    techLevel = "Spacer",
 
    prerequisites = {
 
       "ShipBasics",
 
      "Cryptosleep",
 
 
     },
 
     },
     researchViewX = 19.00,
+
     statBases = {
    researchViewY = 2.20,
+
       Mass = 4,
  },
 
 
 
  ["ResearchProjectDef:ShipReactor"] = {
 
    _ = {
 
      ParentName = "ShipResearchProjectBase",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_5_Ship.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "ShipReactor",
+
     comps = {
    label = "starship reactor",
+
      {
    description = [[Build a long-duration nuclear reactor to power a starship. Note that reactors have a long startup process that will attract raiders.]],
+
        _ = {
    baseCost = 6000,
+
          Class = "CompProperties_Power",
    techLevel = "Spacer",
+
        },
    prerequisites = {
+
        compClass = "CompPowerTrader",
       "ShipBasics",
+
        basePowerConsumption = 30,
 +
       },
 
     },
 
     },
    researchViewX = 19.00,
 
    researchViewY = 3.60,
 
 
   },
 
   },
  
   ["ResearchProjectDef:ShipEngine"] = {
+
   ["ThingDef:StandingLamp"] = {
 
     _ = {
 
     _ = {
       ParentName = "ShipResearchProjectBase",
+
       ParentName = "StandingLampBase",
       DefCategory = "ResearchProjectDef",
+
       DefCategory = "ThingDef",
       FileName = "ResearchProjects_5_Ship.xml",
+
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShipEngine",
+
     defName = "StandingLamp",
     label = "Johnson-Tanaka drive",
+
     label = "standing lamp",
     description = [[Construct a Johnson-Tanaka drive for a ship. The JT drive can push you to other stars by leveraging quantum scale effects to beam momentum to distant stars. Of course, as with all starships, it still takes many years to get anywhere.]],
+
     description = [[An electrical standing lamp that lights an area. People need light to move and work at full speed.]],
     baseCost = 6000,
+
     comps = {
    techLevel = "Spacer",
+
      {
    prerequisites = {
+
        _ = {
       "ShipBasics",
+
          Class = "CompProperties_Glower",
 +
        },
 +
        glowRadius = 12,
 +
        glowColor = {217, 217, 208, 0},
 +
       },
 
     },
 
     },
    researchViewX = 19.00,
 
    researchViewY = 4.85,
 
 
   },
 
   },
  
   ["ResearchProjectDef:ShipComputerCore"] = {
+
   ["ThingDef:StandingLamp_Red"] = {
 
     _ = {
 
     _ = {
       ParentName = "ShipResearchProjectBase",
+
       ParentName = "StandingLampBase",
       DefCategory = "ResearchProjectDef",
+
       DefCategory = "ThingDef",
       FileName = "ResearchProjects_5_Ship.xml",
+
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShipComputerCore",
+
     defName = "StandingLamp_Red",
     label = "machine persuasion",
+
     label = "standing lamp (red)",
     description = [[Build a reward-signal system to persuade an existing persona core into serving as a ship's machine captain. Since people sleep during interstellar travel, a persona core is necessary to handle the complex decisions of a years-long starflight.]],
+
     description = [[A standing lamp that lights an area in red.]],
     baseCost = 3000,
+
     comps = {
    techLevel = "Spacer",
+
      {
     prerequisites = {
+
        _ = {
       "ShipBasics",
+
          Class = "CompProperties_Glower",
 +
        },
 +
        glowRadius = 12,
 +
        glowColor = {217, 80, 80, 0},
 +
      },
 +
     },
 +
    researchPrerequisites = {
 +
      _ = {
 +
        Inherit = false,
 +
      },
 +
       "ColoredLights",
 
     },
 
     },
    researchViewX = 19.00,
 
    researchViewY = 1.15,
 
 
   },
 
   },
  
   ["ResearchProjectDef:ShipSensorCluster"] = {
+
   ["ThingDef:StandingLamp_Green"] = {
 
     _ = {
 
     _ = {
       ParentName = "ShipResearchProjectBase",
+
       ParentName = "StandingLampBase",
       DefCategory = "ResearchProjectDef",
+
       DefCategory = "ThingDef",
       FileName = "ResearchProjects_5_Ship.xml",
+
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShipSensorCluster",
+
     defName = "StandingLamp_Green",
     label = "starflight sensors",
+
     label = "standing lamp (green)",
     description = [[Construct long-range sensors for a starship. These sensors are essential for navigation, communication, and threat avoidance.]],
+
     description = [[A standing lamp that lights an area in green.]],
     baseCost = 4000,
+
     comps = {
    techLevel = "Spacer",
+
      {
     prerequisites = {
+
        _ = {
       "ShipBasics",
+
          Class = "CompProperties_Glower",
       "LongRangeMineralScanner",
+
        },
 +
        glowRadius = 12,
 +
        glowColor = {80, 217, 80, 0},
 +
      },
 +
     },
 +
    researchPrerequisites = {
 +
       _ = {
 +
        Inherit = false,
 +
      },
 +
       "ColoredLights",
 
     },
 
     },
    researchViewX = 19.00,
 
    researchViewY = 0.00,
 
 
   },
 
   },
  
   ["ThingDef:AncientConcreteBarrier"] = {
+
   ["ThingDef:StandingLamp_Blue"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "StandingLampBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ancient.xml",
+
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AncientConcreteBarrier",
+
     defName = "StandingLamp_Blue",
     label = "ancient concrete barrier",
+
     label = "standing lamp (blue)",
    thingClass = "Building",
+
     description = [[A standing lamp that lights an area in blue.]],
    category = "Building",
+
     comps = {
     description = [[A traffic management solution from long ago.]],
+
      {
     altitudeLayer = "Building",
+
        _ = {
    pathCost = 42,
+
          Class = "CompProperties_Glower",
    pathCostIgnoreRepeat = true,
+
        },
    passability = "PassThroughOnly",
+
        glowRadius = 12,
    fillPercent = 0.5,
+
        glowColor = {80, 80, 217, 0},
    statBases = {
+
       },
      MaxHitPoints = 500,
 
      Beauty = -10,
 
      Flammability = 0,
 
       WorkToBuild = 600,
 
 
     },
 
     },
     building = {
+
     researchPrerequisites = {
       isInert = true,
+
       _ = {
    },
+
        Inherit = false,
    costList = {
+
      },
       Steel = 15,
+
       "ColoredLights",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:AncientLamppost"] = {
+
   ["ThingDef:SunLamp"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "LampBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ancient.xml",
+
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AncientLamppost",
+
     defName = "SunLamp",
     label = "ancient lamppost",
+
     label = "sun lamp",
    thingClass = "Building",
+
     description = [[An industrial lamp which lights an area brightly enough to grow crops, but consumes a huge amount of power. Automatically turns itself off at night.]],
    category = "Building",
+
    thingClass = "Building_SunLamp",
     description = [[Road lighting from long ago. No longer functional.]],
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 300,
+
       WorkToBuild = 330,
       WorkToBuild = 400,
+
       Mass = 4.5,
 
     },
 
     },
    fillPercent = 0.25,
 
    passability = "PassThroughOnly",
 
    pathCost = 42,
 
 
     costList = {
 
     costList = {
       Steel = 15,
+
       Steel = 40,
 
     },
 
     },
     building = {
+
     comps = {
       isInert = true,
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Glower",
 +
        },
 +
        overlightRadius = 7.0,
 +
        glowRadius = 14,
 +
        glowColor = {370, 370, 370, 0},
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 2900,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Schedule",
 +
        },
 +
        startTime = 0.25,
 +
        endTime = 0.8,
 +
        offMessage = "Off for plant resting period",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 +
        },
 +
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 3,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Urn"] = {
+
   ["ThingDef:Shelf"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "FurnitureWithQualityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ancient.xml",
+
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Urn",
+
     defName = "Shelf",
     label = "urn",
+
     label = "shelf",
     description = [[An ancient-style decorative container.]],
+
     description = [[A shelf for storing miscellaneous items. Items stored in this will not affect room beauty and they won't deteriorate, even if outside.]],
     minifiedDef = "MinifiedThing",
+
     thingClass = "Building_Storage",
    thingCategories = {
 
      "BuildingsFurniture",
 
    },
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     fillPercent = 0.40,
+
     fillPercent = 0.4,
 +
    pathCost = 50,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 40,
+
       MaxHitPoints = 100,
       WorkToBuild = 500,
+
       Mass = 8,
       Mass = 5,
+
       WorkToBuild = 600,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       Beauty = 5,
+
       Beauty = 0.5,
 
     },
 
     },
     stuffCategories = {
+
     size = {2, 1},
       "Metallic",
+
    building = {
      "Stony",
+
      preventDeteriorationOnTop = true,
 +
      ignoreStoredThingsBeauty = true,
 +
       defaultStorageSettings = {
 +
        priority = "Important",
 +
        filter = {
 +
          categories = {
 +
            "Weapons",
 +
          },
 +
        },
 +
      },
 
     },
 
     },
     costStuffCount = 20,
+
     researchPrerequisites = {
    pathCost = 30,
+
       "ComplexFurniture",
    building = {
 
       isInert = true,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SculptureBase"] = {
+
   ["ThingDef:Dresser"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "ArtableFurnitureBase",
      Name = "SculptureBase",
+
       DefCategory = "ThingDef",
      Abstract = true,
+
       FileName = "Buildings_Furniture.xml",
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Art.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_Art",
+
     defName = "Dresser",
 +
    label = "dresser",
 +
    description = [[A dresser. Gives a small comfort bonus to all nearby beds. Placing more than one dresser near the same bed has no effect.]],
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     pathCost = 50,
+
     fillPercent = 0.4,
     useHitPoints = true,
+
     pathCost = 42,
    minifiedDef = "MinifiedThing",
 
    thingCategories = {
 
      "BuildingsArt",
 
    },
 
 
     statBases = {
 
     statBases = {
 +
      MaxHitPoints = 120,
 +
      Mass = 15,
 +
      WorkToBuild = 2000,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       SellPriceFactor = 1.10,
+
       Beauty = 5,
       MeditationFocusStrength = 0.0,
+
    },
 +
    size = {2, 1},
 +
    researchPrerequisites = {
 +
       "ComplexFurniture",
 
     },
 
     },
 
     comps = {
 
     comps = {
      {
 
        compClass = "CompQuality",
 
      },
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Art",
+
           Class = "CompProperties_Facility",
 
         },
 
         },
         nameMaker = "NamerArtSculpture",
+
         statOffsets = {
        descriptionMaker = "ArtDescription_Sculpture",
+
           Comfort = 0.05,
        canBeEnjoyedAsArt = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_MeditationFocus",
 
        },
 
        statDef = "MeditationFocusStrength",
 
        focusTypes = {
 
           "Artistic",
 
        },
 
        offsets = {
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_Quality",
 
            },
 
            curve = {
 
              points = {
 
                {0, 0.12},
 
                {1, 0.16},
 
                {2, 0.20},
 
                {3, 0.22},
 
                {4, 0.24},
 
                {5, 0.26},
 
                {6, 0.28},
 
              },
 
            },
 
          },
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_BuildingDefsWithQuality",
 
            },
 
            defs = {
 
              "SculptureSmall",
 
              "SculptureLarge",
 
              "SculptureGrand",
 
            },
 
            radius = 9.9,
 
            maxBuildings = 8,
 
            focusPerQuality = {
 
              points = {
 
                {0, 0.0},
 
                {1, 0.0},
 
                {2, 0.01},
 
                {3, 0.01},
 
                {4, 0.01},
 
                {5, 0.02},
 
                {6, 0.02},
 
              },
 
            },
 
            explanationKey = "MeditationFocusPerSculpture",
 
            explanationKeyAbstract = "MeditationFocusPerSculptureAbstract",
 
          },
 
 
         },
 
         },
 +
        maxSimultaneous = 1,
 +
        maxDistance = 6,
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
  },
       "Art",
+
 
 +
  ["ThingDef:HorseshoesPin"] = {
 +
     _ = {
 +
       ParentName = "BuildingBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Joy.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "HorseshoesPin",
      workSpeedStat = "GeneralLaborSpeed",
+
    label = "horseshoes pin",
      workSkill = "Artistic",
+
    description = [[A simple ancient game played with a horseshoes and a large pin in the ground. Players toss horseshoes to try to get them to land on the pin. It's relaxing, and trains shooting skills.]],
      unfinishedThingDef = "UnfinishedSculpture",
+
    minifiedDef = "MinifiedThing",
      effectWorking = "Sculpt",
+
    altitudeLayer = "Building",
      soundWorking = "Recipe_Sculpt",
+
    thingCategories = {
      recipeUsers = {
+
       "BuildingsJoy",
        "TableSculpting",
 
       },
 
      defaultIngredientFilter = {
 
        categories = {
 
          "Root",
 
        },
 
        disallowedThingDefs = {
 
          "Gold",
 
          "Silver",
 
          "Plasteel",
 
          "Jade",
 
          "Uranium",
 
        },
 
      },
 
 
     },
 
     },
  },
 
 
  ["ThingDef:SculptureSmall"] = {
 
    _ = {
 
      ParentName = "SculptureBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Art.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "SculptureSmall",
 
    label = "small sculpture",
 
    description = [[A torso-sized piece of material sculpted into an artistic form.]],
 
    fillPercent = 0.35,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 90,
+
       MaxHitPoints = 75,
 +
      WorkToBuild = 100,
 
       Mass = 3,
 
       Mass = 3,
       Beauty = 50,
+
       Flammability = 1.0,
       WorkToMake = 18000,
+
       JoyGainFactor = 1,
 
     },
 
     },
     stuffCategories = {
+
     building = {
       "Metallic",
+
       joyKind = "Gaming_Dexterity",
       "Woody",
+
       artificialForMeditationPurposes = false,
      "Stony",
 
 
     },
 
     },
     costStuffCount = 50,
+
     pathCost = 14,
 
   },
 
   },
  
   ["ThingDef:SculptureLarge"] = {
+
   ["ThingDef:HoopstoneRing"] = {
 
     _ = {
 
     _ = {
       ParentName = "SculptureBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Art.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureLarge",
+
     defName = "HoopstoneRing",
     label = "large sculpture",
+
     label = "hoopstone ring",
     description = [[A person-sized piece of material sculpted into an artistic form.]],
+
     description = [[A simple ancient game played with stones and a large ring in the ground. Players try to toss stones through the ring from a distance. It's relaxing, and trains shooting skills.]],
     fillPercent = 0.5,
+
     minifiedDef = "MinifiedThing",
 +
    altitudeLayer = "Building",
 +
    thingCategories = {
 +
      "BuildingsJoy",
 +
    },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 150,
+
       MaxHitPoints = 100,
       Mass = 7,
+
      WorkToBuild = 100,
       Beauty = 100,
+
       Mass = 4,
       WorkToMake = 30000,
+
       Flammability = 1.0,
 +
       JoyGainFactor = 1,
 
     },
 
     },
     stuffCategories = {
+
     building = {
       "Metallic",
+
       joyKind = "Gaming_Dexterity",
       "Woody",
+
       artificialForMeditationPurposes = false,
      "Stony",
 
 
     },
 
     },
     costStuffCount = 100,
+
     pathCost = 14,
 
   },
 
   },
  
   ["ThingDef:SculptureGrand"] = {
+
   ["ThingDef:GameOfUrBoard"] = {
 
     _ = {
 
     _ = {
       ParentName = "SculptureBase",
+
       ParentName = "FurnitureWithQualityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Art.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureGrand",
+
     defName = "GameOfUrBoard",
     label = "grand sculpture",
+
     label = "Game-of-Ur board",
     description = [[A huge sculpture sized to dominate a room.]],
+
     description = [[Dating from 2500BC, this exciting yet infuriating board game can be played by one or two people. It trains intellectual skills.]],
     fillPercent = 0.5,
+
    altitudeLayer = "Building",
     size = {2, 2},
+
     fillPercent = 0.20,
 +
     building = {
 +
      joyKind = "Gaming_Cerebral",
 +
    },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 300,
+
       MaxHitPoints = 90,
       Beauty = 400,
+
       WorkToBuild = 6000,
       Mass = 28,
+
       Mass = 2,
       WorkToMake = 105000,
+
      Flammability = 1.0,
 +
      Beauty = 2,
 +
       JoyGainFactor = 0.8,
 
     },
 
     },
     stuffCategories = {
+
     pathCost = 14,
      "Metallic",
+
    passability = "PassThroughOnly",
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 400,
 
 
   },
 
   },
  
   ["ThingDef:Snowman"] = {
+
   ["ThingDef:ChessTable"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "FurnitureWithQualityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Art.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Snowman",
+
     defName = "ChessTable",
     label = "snowman",
+
     label = "chess table",
     description = [[A set of large snowballs piled and shaped to resemble a person. People make these for the fun of it.]],
+
     description = [[The ancient game of kings. Fun for a few hours here and there, even playing alone. It trains intellectual skills.]],
    thingClass = "Building",
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "PassThroughOnly",
+
     fillPercent = 0.40,
     pathCost = 30,
+
     building = {
     pathCostIgnoreRepeat = false,
+
      joyKind = "Gaming_Cerebral",
     useHitPoints = true,
+
     },
     fillPercent = 0.35,
+
     researchPrerequisites = {
 +
      "ComplexFurniture",
 +
     },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 50,
+
       MaxHitPoints = 100,
 +
      WorkToBuild = 8000,
 +
      Mass = 5,
 +
      Flammability = 1.0,
 
       Beauty = 4,
 
       Beauty = 4,
       WorkToBuild = 1000,
+
       JoyGainFactor = 1,
      MarketValue = 0,
 
    },
 
    comps = {
 
      {
 
        compClass = "CompMelter",
 
      },
 
    },
 
    building = {
 
      repairable = false,
 
      isInert = true,
 
      artificialForMeditationPurposes = false,
 
 
     },
 
     },
 +
    pathCost = 30,
 +
    passability = "PassThroughOnly",
 
   },
 
   },
  
   ["ThingDef:BuildingBase"] = {
+
   ["ThingDef:PokerTable"] = {
 
     _ = {
 
     _ = {
       Name = "BuildingBase",
+
       ParentName = "FurnitureWithQualityBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Base.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     category = "Building",
+
     defName = "PokerTable",
     thingClass = "Building",
+
    label = "poker table",
     terrainAffordanceNeeded = "Light",
+
     description = [[A table designed for playing gambling card games like poker. A great way to test your strategic skills and a bit of luck.]],
     leaveResourcesWhenKilled = true,
+
    altitudeLayer = "Building",
 +
     fillPercent = 0.40,
 +
    building = {
 +
      joyKind = "Gaming_Cerebral",
 +
      buildingSizeCategory = "Medium",
 +
     },
 
     statBases = {
 
     statBases = {
       SellPriceFactor = 0.70,
+
       MaxHitPoints = 250,
 +
      WorkToBuild = 10000,
 +
      Mass = 30,
 +
      Flammability = 1.0,
 +
      Beauty = 0,
 +
      JoyGainFactor = 1.3,
 +
    },
 +
    size = {2, 2},
 +
    costList = {
 +
      Cloth = 50,
 +
      WoodLog = 25,
 +
    },
 +
    pathCost = 42,
 +
    passability = "PassThroughOnly",
 +
    researchPrerequisites = {
 +
      "ComplexFurniture",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:CrashedShipPartBase"] = {
+
   ["ThingDef:BilliardsTable"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "FurnitureWithQualityBase",
      Name = "CrashedShipPartBase",
 
       ParentName = "BuildingBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Exotic.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     size = {6, 3},
+
     defName = "BilliardsTable",
     passability = "Impassable",
+
     label = "billiards table",
     fillPercent = 1,
+
     description = [[A soft-topped bounded table for playing a variety of billiards-type games. It trains shooting ability.]],
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     terrainAffordanceNeeded = "Light",
+
    fillPercent = 0.40,
     leaveResourcesWhenKilled = false,
+
     terrainAffordanceNeeded = "Medium",
 +
     building = {
 +
      joyKind = "Gaming_Dexterity",
 +
      buildingSizeCategory = "Medium",
 +
    },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 1200,
+
       MaxHitPoints = 250,
       Flammability = 0,
+
      WorkToBuild = 12000,
       Beauty = -200,
+
      Mass = 60,
 +
       Flammability = 1.0,
 +
       Beauty = 0,
 +
      JoyGainFactor = 1.3,
 
     },
 
     },
     killedLeavings = {
+
     size = {2, 3},
      ChunkSlagSteel = 4,
+
    costList = {
      Steel = 60,
+
       Cloth = 80,
      ComponentIndustrial = 1,
+
       WoodLog = 30,
       Plasteel = 10,
 
       ComponentSpacer = 1,
 
 
     },
 
     },
     building = {
+
     pathCost = 42,
      combatPower = 250,
+
     passability = "PassThroughOnly",
     },
+
     researchPrerequisites = {
     comps = {
+
       "ComplexFurniture",
       {
 
        _ = {
 
          Class = "CompProperties_WakeUpDormant",
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PsychicDronerShipPart"] = {
+
   ["ThingDef:TubeTelevision"] = {
 
     _ = {
 
     _ = {
       ParentName = "CrashedShipPartBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Exotic.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychicDronerShipPart",
+
     defName = "TubeTelevision",
     label = "ship part (psychic droner)",
+
     label = "tube television",
     description = [[An ancient ship part, torn off of a craft of unknown origin. It might be thousands of years old.\n\nThis one contains a psychic disturbance device. Using incomprehensible archotechnologies, it generates a psychic signal that drives people and animals mad within a wide radius around itself.]],
+
     description = [[A cathode ray tube display for showing moving pictures with sound. Even on the rimworlds, there is often an old transmitter running something at least marginally interesting.]],
 +
    altitudeLayer = "Building",
 +
    minifiedDef = "MinifiedThing",
 +
    fillPercent = 0.40,
 +
    thingCategories = {
 +
      "BuildingsJoy",
 +
    },
 +
    statBases = {
 +
      WorkToBuild = 10000,
 +
      MaxHitPoints = 100,
 +
      Mass = 14,
 +
      Flammability = 1.0,
 +
      JoyGainFactor = 1.2,
 +
    },
 +
    costList = {
 +
      Steel = 80,
 +
      ComponentIndustrial = 4,
 +
    },
 +
    pathCost = 42,
 +
    passability = "PassThroughOnly",
 +
    building = {
 +
      joyKind = "Television",
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_CausesGameCondition_PsychicEmanation",
+
           Class = "CompProperties_Power",
 
         },
 
         },
        conditionDef = "PsychicDroner",
+
         compClass = "CompPowerTrader",
         compClass = "CompCauseGameCondition_PsychicEmanation",
+
         shortCircuitInRain = true,
         worldRange = 1,
+
         basePowerConsumption = 200,
        droneLevelIncreaseInterval = 150000,
 
         droneLevel = 2,
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AnimalInsanityPulser",
+
           Class = "CompProperties_Flickable",
 
         },
 
         },
 
       },
 
       },
 +
    },
 +
    tradeTags = {
 +
      "Television",
 +
    },
 +
    researchPrerequisites = {
 +
      "TubeTelevision",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:DefoliatorShipPart"] = {
+
   ["ThingDef:FlatscreenTelevision"] = {
 
     _ = {
 
     _ = {
       ParentName = "CrashedShipPartBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Exotic.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DefoliatorShipPart",
+
     defName = "FlatscreenTelevision",
     label = "ship part (defoliator)",
+
     label = "flatscreen television",
     description = [[An ancient ship part, torn off of a craft of unknown origin. It might be thousands of years old.\n\nThis one contains a device which annihilates plant life near itself without directly affecting flesh creatures. These kinds of weapons are sometimes scattered across farmlands or forests to remove the enemy's food supply and hiding places without permanently ruining the territory. They're usually associated with orbital-drop mechanoid armies.]],
+
     description = [[A high-tech flat-screen television with crystal-clear image and rich color. Picks up transmissions from ancient satellites and ubiquitous data cards.]],
 +
    altitudeLayer = "Building",
 +
    minifiedDef = "MinifiedThing",
 +
    fillPercent = 0.35,
 +
    thingCategories = {
 +
      "BuildingsJoy",
 +
    },
 +
    costList = {
 +
      Steel = 140,
 +
      ComponentIndustrial = 16,
 +
    },
 +
    statBases = {
 +
      WorkToBuild = 40000,
 +
      MaxHitPoints = 80,
 +
      Flammability = 1.0,
 +
      Mass = 8,
 +
      JoyGainFactor = 1.4,
 +
    },
 +
    pathCost = 50,
 +
    passability = "PassThroughOnly",
 +
    size = {2, 1},
 +
    researchPrerequisites = {
 +
      "FlatscreenTelevision",
 +
    },
 +
    building = {
 +
      joyKind = "Television",
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_PlantHarmRadius",
+
           Class = "CompProperties_Power",
 
         },
 
         },
         radiusPerDayCurve = {
+
         compClass = "CompPowerTrader",
          points = {
+
        shortCircuitInRain = true,
            "0  , 5",
+
        basePowerConsumption = 330,
            "1.5, 18",
+
      },
            "6  , 40",
+
      {
            "20 , 100",
+
        _ = {
          },
+
          Class = "CompProperties_Flickable",
 
         },
 
         },
 
       },
 
       },
 +
    },
 +
    tradeTags = {
 +
      "Television",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ShipChunk"] = {
+
   ["ThingDef:MegascreenTelevision"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Exotic.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShipChunk",
+
     defName = "MegascreenTelevision",
     label = "ship chunk",
+
     label = "megascreen television",
     description = [[A chunk of a spacecraft. Can be deconstructed to yield useful resources.]],
+
     description = [[A huge, high-tech television. Gigantic, hyper-vibrant images almost leap out of the screen. Very entertaining. Picks up transmissions from ancient satellites and ubiquitous data cards.]],
    category = "Building",
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     pathCost = 42,
+
     minifiedDef = "MinifiedThing",
    passability = "PassThroughOnly",
+
     fillPercent = 0.35,
     fillPercent = 0.50,
+
     thingCategories = {
     size = {2, 2},
+
       "BuildingsJoy",
    statBases = {
 
       MaxHitPoints = 300,
 
      Flammability = 0,
 
      Beauty = -20,
 
      WorkToBuild = 12000,
 
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     costList = {
    killedLeavings = {
+
       Steel = 260,
       ChunkSlagSteel = 2,
+
       ComponentIndustrial = 22,
       ComponentIndustrial = 1,
 
 
     },
 
     },
     costList = {
+
     statBases = {
       ComponentIndustrial = 11,
+
       WorkToBuild = 80000,
       Steel = 40,
+
       MaxHitPoints = 85,
 +
      Flammability = 1.0,
 +
      Mass = 10,
 +
      JoyGainFactor = 1.6,
 
     },
 
     },
 +
    pathCost = 50,
 +
    passability = "PassThroughOnly",
 +
    size = {3, 1},
 
     building = {
 
     building = {
       alwaysDeconstructible = true,
+
       joyKind = "Television",
 
     },
 
     },
   },
+
    comps = {
 
+
      {
   ["ThingDef:FurnitureBase"] = {
+
        _ = {
     _ = {
+
          Class = "CompProperties_Power",
      Name = "FurnitureBase",
+
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 450,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
    },
 +
    tradeTags = {
 +
      "Television",
 +
    },
 +
   },
 +
 
 +
   ["ThingDef:Telescope"] = {
 +
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Joy.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Telescope",
 +
    label = "telescope",
 +
    description = [[A telescope for doing amateur astronomy. It's a relaxing hobby for a certain kind of person. Can only be used outdoors.]],
 +
    fillPercent = 0.15,
 +
    altitudeLayer = "Building",
 +
    hasInteractionCell = true,
 +
    passability = "PassThroughOnly",
 +
    pathCost = 30,
 
     minifiedDef = "MinifiedThing",
 
     minifiedDef = "MinifiedThing",
 
     thingCategories = {
 
     thingCategories = {
       "BuildingsFurniture",
+
       "BuildingsJoy",
 +
    },
 +
    building = {
 +
      joyKind = "Telescope",
 +
    },
 +
    costList = {
 +
      Steel = 50,
 +
      ComponentIndustrial = 1,
 +
    },
 +
    statBases = {
 +
      MaxHitPoints = 75,
 +
      Flammability = 1.0,
 +
      MarketValue = 350,
 +
      Mass = 7.5,
 +
      JoyGainFactor = 1.2,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:FurnitureWithQualityBase"] = {
+
   ["ThingDef:OrbitalTradeBeacon"] = {
 
     _ = {
 
     _ = {
      Name = "FurnitureWithQualityBase",
+
       ParentName = "BuildingBase",
       ParentName = "FurnitureBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 +
    },
 +
    defName = "OrbitalTradeBeacon",
 +
    label = "orbital trade beacon",
 +
    thingClass = "Building_OrbitalTradeBeacon",
 +
    altitudeLayer = "Building",
 +
    minifiedDef = "MinifiedThing",
 +
    thingCategories = {
 +
      "BuildingsMisc",
 +
    },
 +
    statBases = {
 +
      MaxHitPoints = 75,
 +
      WorkToBuild = 800,
 +
      Flammability = 0.5,
 +
      Mass = 5,
 +
    },
 +
    description = [[Required for orbital trading. You can only sell goods to orbital traders if they're near an orbital trade beacon. Can be placed indoors.]],
 +
    fillPercent = 0.15,
 +
    costList = {
 +
      Steel = 40,
 +
      ComponentIndustrial = 1,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
         compClass = "CompQuality",
+
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
         compClass = "CompPowerTrader",
 +
        basePowerConsumption = 40,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 
       },
 
       },
 +
    },
 +
    leaveResourcesWhenKilled = false,
 +
    pathCost = 14,
 +
    researchPrerequisites = {
 +
      "MicroelectronicsBasics",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArtableFurnitureBase"] = {
+
   ["ThingDef:CommsConsole"] = {
 
     _ = {
 
     _ = {
      Name = "ArtableFurnitureBase",
+
       ParentName = "BuildingBase",
       ParentName = "FurnitureWithQualityBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "CommsConsole",
 +
    label = "comms console",
 +
    description = [[Allows radio contact with other factions and orbital traders.]],
 +
    thingClass = "Building_CommsConsole",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    fillPercent = 0.5,
 +
    statBases = {
 +
      MaxHitPoints = 250,
 +
      WorkToBuild = 2200,
 +
      Flammability = 0.6,
 +
    },
 +
    size = {3, 2},
 +
    costList = {
 +
      Steel = 120,
 +
      ComponentIndustrial = 4,
 +
    },
 +
    hasInteractionCell = true,
 +
    terrainAffordanceNeeded = "Medium",
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Art",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 
         },
 
         },
        nameMaker = "NamerArtFurniture",
 
        descriptionMaker = "ArtDescription_Furniture",
 
        minQualityForArtistic = "Excellent",
 
 
       },
 
       },
    },
 
  },
 
 
  ["ThingDef:ArtableFurnitureRegardlessOfQualityBase"] = {
 
    _ = {
 
      Name = "ArtableFurnitureRegardlessOfQualityBase",
 
      ParentName = "FurnitureWithQualityBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Art",
+
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
        nameMaker = "NamerArtFurniture",
 
        descriptionMaker = "ArtDescription_Furniture",
 
        minQualityForArtistic = "Awful",
 
 
       },
 
       },
 +
    },
 +
    researchPrerequisites = {
 +
      "MicroelectronicsBasics",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SleepingSpot"] = {
+
   ["ThingDef:FirefoamPopper"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SleepingSpot",
+
     defName = "FirefoamPopper",
     label = "sleeping spot",
+
     label = "firefoam popper",
     description = [[Designates a spot on the ground where people should sleep. Not comfortable.]],
+
     description = [[When it detects fire, this safety device pops and sprays a fire-retardant foam in a circular field around itself. Can also be triggered manually.]],
    thingClass = "Building_Bed",
 
    altitudeLayer = "FloorEmplacement",
 
    statBases = {
 
      WorkToBuild = 0,
 
      Comfort = 0.4,
 
      SurgerySuccessChanceFactor = 0.7,
 
    },
 
    useHitPoints = false,
 
    size = {1, 2},
 
    passability = "Standable",
 
    building = {
 
      sowTag = "SupportPlantsOnly",
 
      artificialForMeditationPurposes = false,
 
      buildingTags = {
 
        "Bed",
 
      },
 
    },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AssignableToPawn",
+
           Class = "CompProperties_Explosive",
 +
        },
 +
        explosiveRadius = 9.9,
 +
        explosiveDamageType = "Extinguish",
 +
        startWickHitPointsPercent = -1,
 +
        startWickOnDamageTaken = {
 +
          "Flame",
 
         },
 
         },
         drawAssignmentOverlay = false,
+
         postExplosionSpawnThingDef = "Filth_FireFoam",
         compClass = "CompAssignableToPawn_Bed",
+
        postExplosionSpawnChance = 1,
 +
        postExplosionSpawnThingCount = 1,
 +
        applyDamageToExplosionCellsNeighbors = true,
 +
         explosionEffect = "ExtinguisherExplosion",
 
       },
 
       },
    },
+
      {
  },
+
        _ = {
 
+
          Class = "CompProperties_Usable",
  ["ThingDef:DoubleSleepingSpot"] = {
+
        },
    _ = {
+
        useJob = "TriggerFirefoamPopper",
      ParentName = "BuildingBase",
+
        useLabel = "Trigger firefoam popper",
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "DoubleSleepingSpot",
 
    label = "double sleeping spot",
 
    description = [[Designates a spot on the ground where two people should sleep together. Not comfortable.]],
 
    thingClass = "Building_Bed",
 
    altitudeLayer = "FloorEmplacement",
 
    statBases = {
 
      WorkToBuild = 0,
 
      Comfort = 0.4,
 
      SurgerySuccessChanceFactor = 0.7,
 
    },
 
    useHitPoints = false,
 
    size = {2, 2},
 
    passability = "Standable",
 
    building = {
 
      sowTag = "SupportPlantsOnly",
 
      artificialForMeditationPurposes = false,
 
      buildingTags = {
 
        "Bed",
 
 
       },
 
       },
    },
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AssignableToPawn",
+
           Class = "CompProperties_UseEffect",
 
         },
 
         },
        drawAssignmentOverlay = false,
+
         compClass = "CompUseEffect_StartWick",
         compClass = "CompAssignableToPawn_Bed",
 
 
       },
 
       },
    },
 
  },
 
 
  ["ThingDef:BedBase"] = {
 
    _ = {
 
      ParentName = "FurnitureBase",
 
      Name = "BedBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    thingClass = "Building_Bed",
 
    altitudeLayer = "Building",
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AssignableToPawn",
+
           Class = "CompProperties_ProximityFuse",
 
         },
 
         },
         drawAssignmentOverlay = false,
+
         target = "Fire",
         compClass = "CompAssignableToPawn_Bed",
+
         radius = 3,
 
       },
 
       },
 
     },
 
     },
 +
    altitudeLayer = "Building",
 +
    minifiedDef = "MinifiedThing",
 +
    thingCategories = {
 +
      "BuildingsMisc",
 +
    },
 +
    statBases = {
 +
      MaxHitPoints = 50,
 +
      WorkToBuild = 1500,
 +
      Mass = 10,
 +
      Flammability = 1.0,
 +
      Beauty = -8,
 +
    },
 +
    fillPercent = 0.30,
 +
    costList = {
 +
      Steel = 75,
 +
      ComponentIndustrial = 1,
 +
    },
 +
    leaveResourcesWhenKilled = false,
 +
    pathCost = 30,
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     building = {
+
     researchPrerequisites = {
       buildingTags = {
+
       "Firefoam",
        "Bed",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BedWithQualityBase"] = {
+
   ["ThingDef:MoisturePump"] = {
 
     _ = {
 
     _ = {
      Name = "BedWithQualityBase",
+
       ParentName = "BuildingBase",
       ParentName = "BedBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "MoisturePump",
 +
    label = "moisture pump",
 +
    description = [[Very slowly equalizes moisture in nearby terrain, converting marshes or shallow water into dry ground, and soft sand into normal sand. Does not affect deep water.]],
 
     comps = {
 
     comps = {
 
       {
 
       {
         compClass = "CompQuality",
+
         _ = {
 +
          Class = "CompProperties_Forbiddable",
 +
        },
 
       },
 
       },
    },
+
       {
  },
+
         _ = {
 
+
           Class = "CompProperties_Power",
  ["ThingDef:ArtableBedBase"] = {
 
    _ = {
 
      Name = "ArtableBedBase",
 
      ParentName = "BedWithQualityBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    comps = {
 
       {
 
         _ = {
 
           Class = "CompProperties_Art",
 
 
         },
 
         },
         nameMaker = "NamerArtFurniture",
+
         compClass = "CompPowerTrader",
         descriptionMaker = "ArtDescription_Furniture",
+
         basePowerConsumption = 150,
        minQualityForArtistic = "Excellent",
 
 
       },
 
       },
    },
 
  },
 
 
  ["ThingDef:Bed"] = {
 
    _ = {
 
      ParentName = "BedWithQualityBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Bed",
 
    label = "bed",
 
    description = [[A cozy mattress and sheets on a frame for resting.]],
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_TerrainPumpDry",
        },
 
        linkableFacilities = {
 
          "EndTable",
 
          "Dresser",
 
 
         },
 
         },
 +
        soundWorking = "MoisturePump_Ambience",
 +
        radius = 6.9,
 +
        daysToRadius = 60,
 
       },
 
       },
 
     },
 
     },
 +
    altitudeLayer = "Building",
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 140,
+
       MaxHitPoints = 50,
 +
      WorkToBuild = 1500,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       Beauty = 1,
+
       Beauty = -8,
      WorkToBuild = 800,
 
      Mass = 30,
 
      BedRestEffectiveness = 1,
 
      Comfort = 0.75,
 
      ImmunityGainSpeedFactor = 1.07,
 
      SurgerySuccessChanceFactor = 1,
 
 
     },
 
     },
     size = {1, 2},
+
     fillPercent = 0.15,
     stuffCategories = {
+
     costList = {
       "Metallic",
+
       Steel = 75,
       "Woody",
+
       ComponentIndustrial = 4,
      "Stony",
 
 
     },
 
     },
     costStuffCount = 45,
+
     pathCost = 30,
    building = {
+
     passability = "PassThroughOnly",
      bed_healPerDay = 4,
 
     },
 
    fillPercent = 0.4,
 
    pathCost = 42,
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "ComplexFurniture",
+
       "MoisturePump",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:DoubleBed"] = {
+
   ["ThingDef:GroundPenetratingScanner"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtableBedBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DoubleBed",
+
     defName = "GroundPenetratingScanner",
     label = "double bed",
+
     label = "ground-penetrating scanner",
     description = [[A simple double-wide bed that fits two people.]],
+
     description = [[A sensor unit used by researchers to search for buried resources. The chance to find a resource depends on the operator's research ability. It consumes a lot of electricity. If you find a buried resource, you'll need to use deep drills to extract it. It doesn't work under a roof.]],
 +
    costList = {
 +
      Steel = 150,
 +
      ComponentIndustrial = 4,
 +
      ComponentSpacer = 1,
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
         linkableFacilities = {
+
      },
           "EndTable",
+
      {
          "Dresser",
+
         _ = {
 +
           Class = "CompProperties_Power",
 
         },
 
         },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 700,
 
       },
 
       },
     },
+
      {
     statBases = {
+
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_ScannerMineralsDeep",
 +
        },
 +
        scanSpeedStat = "ResearchSpeed",
 +
        scanFindMtbDays = 3,
 +
        scanFindGuaranteedDays = 6,
 +
        soundWorking = "ScannerGroundPenetrating_Ambience",
 +
      },
 +
     },
 +
    altitudeLayer = "Building",
 +
     statBases = {
 
       MaxHitPoints = 200,
 
       MaxHitPoints = 200,
      Flammability = 1.0,
+
       WorkToBuild = 12000,
       WorkToBuild = 1500,
+
       Flammability = 0.5,
       Mass = 50,
+
       Beauty = -8,
      Comfort = 0.75,
 
       Beauty = 2,
 
      BedRestEffectiveness = 1,
 
      ImmunityGainSpeedFactor = 1.07,
 
      SurgerySuccessChanceFactor = 1,
 
 
     },
 
     },
     size = {2, 2},
+
     hasInteractionCell = true,
     stuffCategories = {
+
     fillPercent = 0.40,
      "Metallic",
+
    leaveResourcesWhenKilled = false,
      "Woody",
+
    passability = "PassThroughOnly",
      "Stony",
+
     pathCost = 50,
     },
+
     size = {3, 3},
    costStuffCount = 85,
+
     terrainAffordanceNeeded = "Heavy",
     building = {
 
      bed_healPerDay = 4,
 
    },
 
     terrainAffordanceNeeded = "Light",
 
    fillPercent = 0.4,
 
    pathCost = 42,
 
    leaveResourcesWhenKilled = true,
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "ComplexFurniture",
+
       "GroundPenetratingScanner",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RoyalBed"] = {
+
   ["ThingDef:LongRangeMineralScanner"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtableBedBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RoyalBed",
+
     defName = "LongRangeMineralScanner",
     label = "royal bed",
+
     label = "long-range mineral scanner",
     description = [[A luxurious gold-inlaid bed fit for the highborn. Very comfy and beautiful, it is a work of art in itself. Fits two.]],
+
     description = [[A lateral sensor unit used by researchers to detect a specific type of mineral across the planet. The chance to find a resource depends on the operator's research ability. This sensor can be tuned to target a specific resource type. It consumes a lot of electricity. If you find a resource, you'll need to travel to collect it.]],
 +
    costList = {
 +
      Steel = 200,
 +
      ComponentIndustrial = 6,
 +
      ComponentSpacer = 2,
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Forbiddable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 700,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 
         },
 
         },
         linkableFacilities = {
+
      },
           "EndTable",
+
      {
          "Dresser",
+
         _ = {
 +
           Class = "CompProperties_Flickable",
 
         },
 
         },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_LongRangeMineralScanner",
 +
        },
 +
        scanSpeedStat = "ResearchSpeed",
 +
        scanFindMtbDays = 4,
 +
        scanFindGuaranteedDays = 8,
 +
        soundWorking = "ScannerLongRangeMineral_Ambience",
 
       },
 
       },
 
     },
 
     },
 +
    altitudeLayer = "Building",
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 200,
+
       MaxHitPoints = 250,
      Flammability = 1.0,
+
       WorkToBuild = 1000,
       WorkToBuild = 50000,
+
       Flammability = 0.5,
       Mass = 60,
+
       Beauty = -8,
      Beauty = 75,
 
      BedRestEffectiveness = 1.05,
 
      Comfort = 0.90,
 
       ImmunityGainSpeedFactor = 1.07,
 
      SurgerySuccessChanceFactor = 1,
 
 
     },
 
     },
     size = {2, 2},
+
     fillPercent = 0.40,
     stuffCategories = {
+
     leaveResourcesWhenKilled = false,
      "Metallic",
+
    passability = "PassThroughOnly",
      "Woody",
+
     pathCost = 50,
      "Stony",
+
     hasInteractionCell = true,
     },
+
     size = {3, 3},
    costStuffCount = 100,
+
     terrainAffordanceNeeded = "Heavy",
     costList = {
 
      Gold = 50,
 
     },
 
    building = {
 
      bed_healPerDay = 4,
 
    },
 
     terrainAffordanceNeeded = "Light",
 
    fillPercent = 0.4,
 
    pathCost = 42,
 
    leaveResourcesWhenKilled = true,
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "ComplexFurniture",
+
       "LongRangeMineralScanner",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:HospitalBed"] = {
+
   ["ThingDef:PodLauncher"] = {
 
     _ = {
 
     _ = {
       ParentName = "BedWithQualityBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HospitalBed",
+
     defName = "PodLauncher",
     label = "hospital bed",
+
     label = "pod launcher",
     description = [[A bed specially designed for use in hospitals. Adjustable for a patient and festooned with built-in equipment, it improves medical outcomes over normal beds.]],
+
     description = [[A fueling port for launching one transport pod. Pod launchers can launch as a group - but the launchers must be placed adjacent to each other.]],
 +
    size = {1, 2},
 +
    altitudeLayer = "Building",
 +
    passability = "Impassable",
 +
    fillPercent = 1.0,
 +
    terrainAffordanceNeeded = "Medium",
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 150,
+
       MaxHitPoints = 200,
       WorkToBuild = 2800,
+
       WorkToBuild = 3000,
      Mass = 35,
+
       Flammability = 0.5,
       Flammability = 1.0,
+
    },
      BedRestEffectiveness = 1,
+
    costList = {
      Comfort = 0.80,
+
       Steel = 50,
      ImmunityGainSpeedFactor = 1.11,
+
       ComponentIndustrial = 1,
       MedicalTendQualityOffset = 0.10,
 
       SurgerySuccessChanceFactor = 1.1,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Refuelable",
 
         },
 
         },
         linkableFacilities = {
+
         fuelCapacity = 150.0,
           "VitalsMonitor",
+
        targetFuelLevelConfigurable = true,
          "EndTable",
+
        initialConfigurableTargetFuelLevel = 75,
           "Dresser",
+
        fuelFilter = {
 +
           thingDefs = {
 +
            "Chemfuel",
 +
           },
 
         },
 
         },
 +
        consumeFuelOnlyWhenUsed = true,
 +
        autoRefuelPercent = 1,
 +
        showFuelGizmo = true,
 +
        drawOutOfFuelOverlay = false,
 +
        drawFuelGaugeInMap = true,
 +
        showAllowAutoRefuelToggle = true,
 
       },
 
       },
 
     },
 
     },
    size = {1, 2},
 
    stuffCategories = {
 
      "Metallic",
 
    },
 
    costStuffCount = 40,
 
    costList = {
 
      Steel = 80,
 
      ComponentIndustrial = 5,
 
    },
 
    building = {
 
      bed_healPerDay = 10,
 
      bed_defaultMedical = true,
 
      buildingSizeCategory = "Small",
 
    },
 
    fillPercent = 0.4,
 
    pathCost = 42,
 
    leaveResourcesWhenKilled = true,
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "HospitalBed",
+
       "TransportPod",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bedroll"] = {
+
   ["ThingDef:TransportPod"] = {
 
     _ = {
 
     _ = {
       ParentName = "BedWithQualityBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bedroll",
+
     defName = "TransportPod",
     label = "bedroll",
+
     label = "transport pod",
     description = [[A simple bed that lays on the floor, usually made of cloth or leather, often lined with fur. It is lightweight and can be rolled up for easy transport, but it is not quite as comfortable as a typical bed. Caravans can use bedrolls while traveling for better sleep.]],
+
     description = [[A launchable sub-orbital cargo pod capable of carrying people, items, or animals. Can be used for sending gifts, transporting people or supplies, surprise attacks, or reinforcing battles.]],
 +
    size = {1, 1},
 +
    altitudeLayer = "BuildingOnTop",
 +
    passability = "PassThroughOnly",
 +
    fillPercent = 0.5,
 +
    terrainAffordanceNeeded = "Medium",
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 75,
+
       MaxHitPoints = 250,
       Flammability = 1.0,
+
       WorkToBuild = 1600,
       Mass = 2.5,
+
       Flammability = 0.5,
      BedRestEffectiveness = 0.95,
+
    },
      ImmunityGainSpeedFactor = 1.05,
+
    costList = {
       Comfort = 0.68,
+
       Steel = 60,
       WorkToBuild = 600,
+
       ComponentIndustrial = 1,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Transporter",
 
         },
 
         },
         linkableFacilities = {
+
         restEffectiveness = 0.8,
          "Dresser",
+
      },
           "EndTable",
+
      {
 +
        _ = {
 +
           Class = "CompProperties_Launchable",
 
         },
 
         },
 +
        skyfallerLeaving = "DropPodLeaving",
 
       },
 
       },
 
     },
 
     },
     size = {1, 2},
+
     researchPrerequisites = {
    stuffCategories = {
+
       "TransportPod",
      "Fabric",
 
       "Leathery",
 
    },
 
    costStuffCount = 40,
 
    building = {
 
      bed_healPerDay = 4,
 
      bed_caravansCanUse = true,
 
 
     },
 
     },
    pathCost = 14,
 
    passability = "Standable",
 
 
   },
 
   },
  
   ["ThingDef:BedrollDouble"] = {
+
   ["ThingDef:MultiAnalyzer"] = {
 
     _ = {
 
     _ = {
       ParentName = "BedWithQualityBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BedrollDouble",
+
     defName = "MultiAnalyzer",
     label = "double bedroll",
+
     label = "multi-analyzer",
     description = [[A simple double-wide bed that lays on the floor, usually made of cloth or leather, often lined with fur. It is lightweight and can be rolled up for easy transport, but it is not quite as comfortable as a typical bed. Caravans can use bedrolls while traveling for better sleep.]],
+
     description = [[Increases research speed when placed near hi-tech research bench and unlocks new research projects. Each research bench can only use one multi-analyzer.]],
 +
    researchPrerequisites = {
 +
      "MultiAnalyzer",
 +
    },
 +
    size = {2, 2},
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    fillPercent = 0.5,
 +
    minifiedDef = "MinifiedThing",
 +
    terrainAffordanceNeeded = "Medium",
 +
    thingCategories = {
 +
      "BuildingsMisc",
 +
    },
 
     statBases = {
 
     statBases = {
 +
      MaxHitPoints = 200,
 +
      WorkToBuild = 10000,
 +
      Mass = 60,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
      Mass = 4.5,
+
    },
       BedRestEffectiveness = 0.95,
+
    costList = {
       ImmunityGainSpeedFactor = 1.05,
+
       Steel = 40,
       Comfort = 0.68,
+
       Plasteel = 50,
       WorkToBuild = 1100,
+
       Gold = 20,
 +
       ComponentIndustrial = 8,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Facility",
 
         },
 
         },
         linkableFacilities = {
+
         statOffsets = {
           "Dresser",
+
           ResearchSpeedFactor = 0.1,
          "EndTable",
 
 
         },
 
         },
 +
        maxSimultaneous = 1,
 
       },
 
       },
 
     },
 
     },
    size = {2, 2},
+
   },
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
    },
 
    costStuffCount = 85,
 
    building = {
 
      bed_healPerDay = 4,
 
      bed_caravansCanUse = true,
 
    },
 
    pathCost = 14,
 
    passability = "Standable",
 
   },
 
  
   ["ThingDef:AnimalSleepingSpot"] = {
+
   ["ThingDef:VitalsMonitor"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalSleepingSpot",
+
     defName = "VitalsMonitor",
    thingClass = "Building_Bed",
+
     label = "vitals monitor",
     label = "animal sleeping spot",
+
     description = [[Increases medical tend quality, surgery success chance, and immunity gain speed when placed directly adjacent to a hospital bed. Only works for hospital beds - normal beds will not benefit. Attaching more than one vitals monitor to the same bed will have no effect.]],
     description = [[Designates a spot on the ground where animals should sleep.]],
+
    researchPrerequisites = {
 +
      "VitalsMonitor",
 +
    },
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    fillPercent = 0.2,
 +
    statBases = {
 +
      MaxHitPoints = 100,
 +
      WorkToBuild = 6000,
 +
      Mass = 20,
 +
      Flammability = 0.7,
 +
    },
 
     size = {1, 1},
 
     size = {1, 1},
     passability = "Standable",
+
     costList = {
    useHitPoints = false,
+
       Steel = 50,
    altitudeLayer = "FloorEmplacement",
+
       ComponentIndustrial = 3,
    statBases = {
 
       WorkToBuild = 0,
 
       SurgerySuccessChanceFactor = 0.7,
 
 
     },
 
     },
     building = {
+
     minifiedDef = "MinifiedThing",
      bed_humanlike = false,
+
    thingCategories = {
       sowTag = "SupportPlantsOnly",
+
       "BuildingsMisc",
      artificialForMeditationPurposes = false,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AssignableToPawn",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 80,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Facility",
 +
        },
 +
        statOffsets = {
 +
          MedicalTendQualityOffset = 0.07,
 +
          ImmunityGainSpeedFactor = 0.02,
 +
          SurgerySuccessChanceFactor = 0.05,
 
         },
 
         },
         drawAssignmentOverlay = false,
+
         maxSimultaneous = 1,
         compClass = "CompAssignableToPawn_Bed",
+
         mustBePlacedAdjacent = true,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:AnimalSleepingBox"] = {
+
   ["ThingDef:ToolCabinet"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalSleepingBox",
+
     defName = "ToolCabinet",
    thingClass = "Building_Bed",
+
     label = "tool cabinet",
     label = "animal sleeping box",
+
     description = [[Increases work speed when placed near a workbench. One workbench use to up to two tool cabinets.]],
     description = [[A small box for animals to sleep in. Fits smaller animals like chickens, cats, or small dogs.]],
+
     altitudeLayer = "Building",
     fillPercent = 0.15,
 
    pathCost = 14,
 
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     stuffCategories = {
+
     fillPercent = 0.5,
       "Metallic",
+
    pathCost = 42,
       "Woody",
+
    statBases = {
       "Stony",
+
       MaxHitPoints = 100,
 +
       WorkToBuild = 1800,
 +
      Mass = 20,
 +
       Flammability = 0.5,
 
     },
 
     },
     costStuffCount = 25,
+
     size = {2, 1},
     building = {
+
     costList = {
       bed_humanlike = false,
+
       Steel = 200,
      bed_maxBodySize = 0.55,
 
      bed_healPerDay = 4,
 
 
     },
 
     },
     altitudeLayer = "Building",
+
     researchPrerequisites = {
     statBases = {
+
      "ComplexFurniture",
      MaxHitPoints = 75,
+
     },
      Flammability = 1.0,
+
    minifiedDef = "MinifiedThing",
      WorkToBuild = 180,
+
    thingCategories = {
       Mass = 3,
+
       "BuildingsMisc",
      BedRestEffectiveness = 0.93,
 
      Comfort = 0.60,
 
      ImmunityGainSpeedFactor = 1.05,
 
      SurgerySuccessChanceFactor = 1,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AssignableToPawn",
+
           Class = "CompProperties_Facility",
 +
        },
 +
        statOffsets = {
 +
          WorkTableWorkSpeedFactor = 0.06,
 
         },
 
         },
         drawAssignmentOverlay = false,
+
         maxSimultaneous = 2,
        compClass = "CompAssignableToPawn_Bed",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:AnimalBed"] = {
+
   ["ThingDef:Grave"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalBed",
+
     defName = "Grave",
    thingClass = "Building_Bed",
+
     label = "grave",
     label = "animal bed",
+
     description = [[A decent final resting place. Colonists will visit full graves to gain meditative joy.]],
     description = [[A soft bed for animals to sleep on. Fits any animal.]],
+
     thingClass = "Building_Grave",
     fillPercent = 0.15,
+
    altitudeLayer = "FloorEmplacement",
     pathCost = 14,
+
     useHitPoints = false,
     passability = "PassThroughOnly",
+
     size = {1, 2},
     stuffCategories = {
+
     statBases = {
       "Fabric",
+
       WorkToBuild = 800,
       "Leathery",
+
       MeditationFocusStrength = 0.06,
 
     },
 
     },
     costStuffCount = 40,
+
     passability = "Standable",
 
     building = {
 
     building = {
       bed_humanlike = false,
+
       isInert = true,
       bed_healPerDay = 4,
+
       preventDeteriorationInside = true,
    },
+
      artificialForMeditationPurposes = false,
    altitudeLayer = "Building",
+
      fixedStorageSettings = {
    statBases = {
+
        filter = {
       MaxHitPoints = 140,
+
          categories = {
       Flammability = 1.0,
+
            "Corpses",
      WorkToBuild = 400,
+
          },
      Mass = 5,
+
        },
      BedRestEffectiveness = 1,
+
       },
      Comfort = 0.75,
+
       defaultStorageSettings = {
      ImmunityGainSpeedFactor = 1.07,
+
        priority = "Important",
       SurgerySuccessChanceFactor = 1,
+
        filter = {
 +
          categories = {
 +
            "CorpsesHumanlike",
 +
          },
 +
        },
 +
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Diggable",
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 4,958: Line 5,092:
 
         },
 
         },
 
         drawAssignmentOverlay = false,
 
         drawAssignmentOverlay = false,
         compClass = "CompAssignableToPawn_Bed",
+
         compClass = "CompAssignableToPawn_Grave",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_MeditationFocus",
 +
        },
 +
        statDef = "MeditationFocusStrength",
 +
        focusTypes = {
 +
          "Morbid",
 +
        },
 +
        offsets = {
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_GraveFull",
 +
            },
 +
            offset = 0.10,
 +
          },
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_GraveCorpseRelationship",
 +
            },
 +
            offset = 0.10,
 +
          },
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_NearbyGraves",
 +
            },
 +
            defs = {
 +
              "Grave",
 +
              "Sarcophagus",
 +
            },
 +
            offsetPerBuilding = 0.01,
 +
            radius = 9.9,
 +
            maxBuildings = 4,
 +
            focusPerFullGrave = 0.01,
 +
            explanationKey = "MeditationFocusPerGrave",
 +
            explanationKeyAbstract = "MeditationFocusPerGraveAbstract",
 +
          },
 +
        },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Stool"] = {
+
   ["ThingDef:Sarcophagus"] = {
    _ = {
 
      ParentName = "FurnitureWithQualityBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Stool",
 
    label = "stool",
 
    description = [[A simple platform on which to sit. Not very comfortable, but much better than nothing. Can be used at tables, work stations, and elsewhere.]],
 
    altitudeLayer = "Building",
 
    statBases = {
 
      MaxHitPoints = 75,
 
      WorkToBuild = 450,
 
      Mass = 3,
 
      Flammability = 1.0,
 
      Beauty = 0,
 
      Comfort = 0.5,
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 25,
 
    pathCost = 30,
 
    fillPercent = 0.20,
 
    building = {
 
      isSittable = true,
 
    },
 
  },
 
 
 
  ["ThingDef:DiningChair"] = {
 
 
     _ = {
 
     _ = {
       ParentName = "ArtableFurnitureBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DiningChair",
+
     defName = "Sarcophagus",
     label = "dining chair",
+
     label = "sarcophagus",
     description = [[A comfortable and attractive chair. Can be used at tables, work stations, and elsewhere.]],
+
     description = [[An ornamented burial receptacle for the honored dead.]],
     altitudeLayer = "Building",
+
    thingClass = "Building_Sarcophagus",
 +
    size = {1, 2},
 +
    pathCost = 42,
 +
    fillPercent = 0.5,
 +
     building = {
 +
      preventDeteriorationInside = true,
 +
      fixedStorageSettings = {
 +
        filter = {
 +
          categories = {
 +
            "Corpses",
 +
          },
 +
        },
 +
      },
 +
      defaultStorageSettings = {
 +
        priority = "Important",
 +
        filter = {
 +
          categories = {
 +
            "CorpsesHumanlike",
 +
          },
 +
          specialFiltersToDisallow = {
 +
            "AllowCorpsesStranger",
 +
          },
 +
        },
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 100,
+
       WorkToBuild = 2400,
       WorkToBuild = 8000,
+
       MaxHitPoints = 250,
       Mass = 5,
 
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       Beauty = 8,
+
       MeditationFocusStrength = 0.10,
      Comfort = 0.70,
+
       Beauty = 0,
    },
 
    stuffCategories = {
 
       "Metallic",
 
      "Woody",
 
    },
 
    costStuffCount = 45,
 
    pathCost = 30,
 
    fillPercent = 0.35,
 
    building = {
 
      isSittable = true,
 
 
     },
 
     },
 +
    comps = {
 +
      {
 +
        compClass = "CompQuality",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Art",
 +
        },
 +
        nameMaker = "NamerArtSarcophagusPlate",
 +
        descriptionMaker = "ArtDescription_SarcophagusPlate",
 +
        mustBeFullGrave = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_AssignableToPawn",
 +
        },
 +
        drawAssignmentOverlay = false,
 +
        compClass = "CompAssignableToPawn_Grave",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_MeditationFocus",
 +
        },
 +
        statDef = "MeditationFocusStrength",
 +
        focusTypes = {
 +
          "Morbid",
 +
        },
 +
        offsets = {
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_GraveFull",
 +
            },
 +
            offset = 0.10,
 +
          },
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_GraveCorpseRelationship",
 +
            },
 +
            offset = 0.10,
 +
          },
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_NearbyGraves",
 +
            },
 +
            defs = {
 +
              "Grave",
 +
              "Sarcophagus",
 +
            },
 +
            offsetPerBuilding = 0.01,
 +
            radius = 9.9,
 +
            maxBuildings = 4,
 +
            focusPerFullGrave = 0.01,
 +
            explanationKey = "MeditationFocusPerGrave",
 +
            explanationKeyAbstract = "MeditationFocusPerGraveAbstract",
 +
          },
 +
        },
 +
      },
 +
    },
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    terrainAffordanceNeeded = "Light",
 
     researchPrerequisites = {
 
     researchPrerequisites = {
 
       "ComplexFurniture",
 
       "ComplexFurniture",
Line 5,031: Line 5,244:
 
   },
 
   },
  
   ["ThingDef:Armchair"] = {
+
   ["ThingDef:CryptosleepCasket"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Armchair",
+
     defName = "CryptosleepCasket",
     label = "armchair",
+
     label = "cryptosleep casket",
     description = [[A large, soft, comfy seat. Great for relaxation. Can be used at tables, work stations, and elsewhere.]],
+
     description = [[A self-powered sarcophagus designed to keep a person in a state of suspended animation for many years.]],
     altitudeLayer = "Building",
+
     thingClass = "Building_CryptosleepCasket",
    statBases = {
 
      MaxHitPoints = 120,
 
      WorkToBuild = 14000,
 
      Mass = 18,
 
      Flammability = 1.0,
 
      Beauty = 4,
 
      Comfort = 0.8,
 
    },
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
    },
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "ComplexFurniture",
+
       "Cryptosleep",
 
     },
 
     },
    costStuffCount = 110,
 
    pathCost = 30,
 
    fillPercent = 0.40,
 
    building = {
 
      isSittable = true,
 
    },
 
  },
 
 
  ["ThingDef:TableBase"] = {
 
    _ = {
 
      Abstract = true,
 
      ParentName = "FurnitureWithQualityBase",
 
      Name = "TableBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    description = [[People eat off tables when chairs are placed facing them.]],
 
    thingClass = "Building",
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
 
     pathCost = 42,
 
     pathCost = 42,
     fillPercent = 0.4,
+
     fillPercent = 0.5,
     stuffCategories = {
+
     statBases = {
       "Metallic",
+
       WorkToBuild = 3200,
       "Woody",
+
       MaxHitPoints = 250,
       "Stony",
+
       Flammability = 0.5,
     },
+
     },
     leaveResourcesWhenKilled = true,
+
     size = {1, 2},
  },
+
     hasInteractionCell = true,
 
+
    costList = {
  ["ThingDef:TableGatherSpotBase"] = {
+
       Steel = 180,
     _ = {
+
       Uranium = 5,
      Abstract = true,
+
       ComponentIndustrial = 4,
      ParentName = "TableBase",
+
       ComponentSpacer = 1,
       Name = "TableGatherSpotBase",
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
         compClass = "CompGatherSpot",
+
         _ = {
 +
          Class = "CompProperties_Explosive",
 +
        },
 +
        explosiveRadius = 2.66,
 +
        explosiveDamageType = "Flame",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_EmptyStateGraphic",
 +
        },
 +
        graphicData = {
 +
          texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor",
 +
          graphicClass = "Graphic_Multi",
 +
          drawSize = {1, 2},
 +
        },
 
       },
 
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Medium",
 
   },
 
   },
  
   ["ThingDef:EndTable"] = {
+
   ["ThingDef:AncientCryptosleepCasket"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EndTable",
+
     defName = "AncientCryptosleepCasket",
     label = "end table",
+
     label = "ancient cryptosleep casket",
     description = [[A small bedside table which makes nearby beds a little bit more comfortable. Must be placed directly adjacent to the head of the bed. Placing more than one end table near the same bed has no effect.]],
+
     description = [[This cryptosleep casket looks like it has been here for a very long time. Who knows what it might contain?]],
 +
    thingClass = "Building_AncientCryptosleepCasket",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 42,
 +
    fillPercent = 0.5,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 75,
+
       MaxHitPoints = 250,
      WorkToBuild = 1000,
 
      Mass = 5,
 
 
       Flammability = 1.0,
 
       Flammability = 1.0,
      Beauty = 3,
 
 
     },
 
     },
     pathCost = 30,
+
     size = {1, 2},
     costStuffCount = 30,
+
     hasInteractionCell = true,
     researchPrerequisites = {
+
    costList = {
       "ComplexFurniture",
+
      Steel = 180,
 +
      Uranium = 5,
 +
    },
 +
     killedLeavings = {
 +
       ChunkSlagSteel = 1,
 +
      Steel = 25,
 +
      Uranium = 3,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Facility",
+
           Class = "CompProperties_Explosive",
 +
        },
 +
        explosiveRadius = 2.66,
 +
        explosiveDamageType = "Flame",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_EmptyStateGraphic",
 
         },
 
         },
         statOffsets = {
+
         graphicData = {
           Comfort = 0.05,
+
           texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor",
 +
          graphicClass = "Graphic_Multi",
 +
          drawSize = {1, 2},
 
         },
 
         },
        maxSimultaneous = 1,
 
        mustBePlacedAdjacentCardinalToBedHead = true,
 
 
       },
 
       },
 
     },
 
     },
 +
    leaveResourcesWhenKilled = false,
 +
    terrainAffordanceNeeded = "Medium",
 
   },
 
   },
  
   ["ThingDef:Table1x2c"] = {
+
   ["ThingDef:MarriageSpot"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableGatherSpotBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table1x2c",
+
     defName = "MarriageSpot",
     label = "table (1x2)",
+
     label = "marriage spot",
 +
    description = [[Designates a spot where marriage ceremonies will take place. Spectators can watch from either side.]],
 +
    thingClass = "Building_MarriageSpot",
 +
    altitudeLayer = "FloorEmplacement",
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 75,
+
       WorkToBuild = 0,
       WorkToBuild = 750,
 
      Mass = 5,
 
      Flammability = 1.0,
 
      Beauty = 0.5,
 
 
     },
 
     },
     size = {1, 2},
+
     useHitPoints = false,
     costStuffCount = 28,
+
     size = {2, 1},
  },
+
     passability = "Standable",
 
+
    building = {
  ["ThingDef:Table2x2c"] = {
+
       sowTag = "SupportPlantsOnly",
     _ = {
+
       artificialForMeditationPurposes = false,
      ParentName = "TableGatherSpotBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
    defName = "Table2x2c",
 
    label = "table (2x2)",
 
    statBases = {
 
      MaxHitPoints = 100,
 
      WorkToBuild = 1500,
 
      Mass = 10,
 
      Flammability = 1.0,
 
      Beauty = 1,
 
    },
 
    size = {2, 2},
 
    costStuffCount = 50,
 
 
   },
 
   },
  
   ["ThingDef:Table2x4c"] = {
+
   ["ThingDef:PartySpot"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableGatherSpotBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table2x4c",
+
     defName = "PartySpot",
     label = "table (2x4)",
+
     label = "party spot",
 +
    description = [[Designates a spot for throwing parties.]],
 +
    altitudeLayer = "FloorEmplacement",
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 150,
+
       WorkToBuild = 0,
       WorkToBuild = 3000,
 
      Mass = 20,
 
      Flammability = 1.0,
 
      Beauty = 2,
 
 
     },
 
     },
     size = {2, 4},
+
     useHitPoints = false,
     costStuffCount = 95,
+
     passability = "Standable",
 
     building = {
 
     building = {
       buildingSizeCategory = "Medium",
+
       sowTag = "SupportPlantsOnly",
 +
      artificialForMeditationPurposes = false,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Table3x3c"] = {
+
   ["ThingDef:CaravanPackingSpot"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableGatherSpotBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table3x3c",
+
     defName = "CaravanPackingSpot",
     label = "table (3x3)",
+
     label = "caravan packing spot",
 +
    description = [[Designates a spot for forming caravans. Put this near your stockpiles to speed up the caravan loading process.]],
 +
    altitudeLayer = "FloorEmplacement",
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 175,
+
       WorkToBuild = 0,
       WorkToBuild = 3300,
 
      Mass = 22,
 
      Flammability = 1.0,
 
      Beauty = 2,
 
 
     },
 
     },
     size = {3, 3},
+
     useHitPoints = false,
     costStuffCount = 100,
+
     passability = "Standable",
 
     building = {
 
     building = {
       buildingSizeCategory = "Medium",
+
       sowTag = "SupportPlantsOnly",
 +
      artificialForMeditationPurposes = false,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PlantPot"] = {
+
   ["ThingDef:SteleBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
      Name = "SteleBase",
 +
       ParentName = "BuildingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "PlantPot",
 
    label = "plant pot",
 
    description = [[Plant decorative flowers here to improve the mood of people nearby.]],
 
    thingClass = "Building_PlantGrower",
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     fillPercent = 0.20,
+
     fillPercent = 0.50,
     statBases = {
+
     pathCost = 50,
      MaxHitPoints = 75,
+
    researchPrerequisites = {
      WorkToBuild = 250,
+
       "ComplexFurniture",
      Mass = 2,
 
       Flammability = 1.0,
 
 
     },
 
     },
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 20,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_Art",
 
         },
 
         },
 +
        nameMaker = "NamerArtFurniture",
 +
        descriptionMaker = "ArtDescription_Furniture",
 +
        minQualityForArtistic = "Awful",
 
       },
 
       },
    },
 
    leaveResourcesWhenKilled = false,
 
    building = {
 
      defaultPlantToGrow = "Plant_Daylily",
 
      sowTag = "Decorative",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TorchLamp"] = {
+
   ["ThingDef:SteleLarge"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "SteleBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Misc.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TorchLamp",
+
     defName = "SteleLarge",
     label = "torch lamp",
+
     label = "large stele",
     description = [[A wooden torch for lighting an area. People need light to move and work at full speed. Can be automatically refueled with wood. Produces a small amount of heat.]],
+
     description = [[A tall, thick slab with engravings on the sides. Steles have been used since ancient times to memorialize individuals, battles, and other important events.]],
     category = "Building",
+
     size = {2, 2},
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    pathCost = 14,
 
    fillPercent = 0.15,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 75,
+
       MaxHitPoints = 200,
       WorkToBuild = 100,
+
       WorkToBuild = 8000,
       Flammability = 0,
+
       Beauty = 15,
       MeditationFocusStrength = 0.0,
+
       MeditationFocusStrength = 0.15,
 
     },
 
     },
     costList = {
+
     terrainAffordanceNeeded = "Medium",
      WoodLog = 20,
 
    },
 
    building = {
 
      artificialForMeditationPurposes = false,
 
    },
 
    leaveResourcesWhenKilled = false,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Refuelable",
+
           Class = "CompProperties_MeditationFocus",
 
         },
 
         },
         fuelConsumptionRate = 2.0,
+
         statDef = "MeditationFocusStrength",
        fuelCapacity = 20.0,
+
         focusTypes = {
        fuelConsumptionPerTickInRain = 0.0006,
+
           "Artistic",
         fuelFilter = {
 
           thingDefs = {
 
            "WoodLog",
 
          },
 
 
         },
 
         },
        initialFuelPercent = 1,
 
        showAllowAutoRefuelToggle = true,
 
 
       },
 
       },
 +
    },
 +
  },
 +
 +
  ["ThingDef:SteleGrand"] = {
 +
    _ = {
 +
      ParentName = "SteleBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Misc.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "SteleGrand",
 +
    label = "grand stele",
 +
    description = [[A towering slab with extensive engravings on the sides. Steles have been used since ancient times to memorialize individuals, battles, and other important events.]],
 +
    size = {3, 3},
 +
    statBases = {
 +
      MaxHitPoints = 400,
 +
      WorkToBuild = 16000,
 +
      Beauty = 30,
 +
      MeditationFocusStrength = 0.18,
 +
    },
 +
    terrainAffordanceNeeded = "Heavy",
 +
    comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Glower",
+
           Class = "CompProperties_MeditationFocus",
 
         },
 
         },
         glowRadius = 10,
+
         statDef = "MeditationFocusStrength",
         glowColor = {252, 187, 113, 0},
+
         focusTypes = {
      },
+
           "Artistic",
      {
 
        _ = {
 
           Class = "CompProperties_HeatPusher",
 
 
         },
 
         },
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 3.5,
 
        heatPushMaxTemperature = 23,
 
 
       },
 
       },
      {
+
     },
        _ = {
+
   },
          Class = "CompProperties_FireOverlay",
 
        },
 
        fireSize = 0.4,
 
        offset = {0, 0, 0.2},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_MeditationFocus",
 
        },
 
        statDef = "MeditationFocusStrength",
 
        focusTypes = {
 
          "Flame",
 
        },
 
        offsets = {
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_Lit",
 
            },
 
            offset = 0.1,
 
          },
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_BuildingDefsLit",
 
            },
 
            defs = {
 
              "Campfire",
 
              "TorchLamp",
 
              "Brazier",
 
            },
 
            offsetPerBuilding = 0.01,
 
            radius = 9.9,
 
            maxBuildings = 8,
 
            explanationKey = "MeditationFocusPerFlame",
 
            explanationKeyAbstract = "MeditationFocusPerFlameAbstract",
 
          },
 
        },
 
      },
 
     },
 
   },
 
  
   ["ThingDef:LampBase"] = {
+
   ["ThingDef:BuildingNaturalBase"] = {
 
     _ = {
 
     _ = {
 +
      Name = "BuildingNaturalBase",
 
       Abstract = true,
 
       Abstract = true,
      Name = "LampBase",
 
      ParentName = "BuildingBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    thingClass = "Building",
 
 
     category = "Building",
 
     category = "Building",
     minifiedDef = "MinifiedThing",
+
     building = {
    altitudeLayer = "Building",
+
       artificialForMeditationPurposes = false,
    passability = "PassThroughOnly",
 
    fillPercent = 0.20,
 
    pathCost = 14,
 
    leaveResourcesWhenKilled = false,
 
    thingCategories = {
 
       "BuildingsFurniture",
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
    },
 
    statBases = {
 
      MaxHitPoints = 50,
 
      WorkToBuild = 300,
 
      Flammability = 1.0,
 
    },
 
    researchPrerequisites = {
 
      "Electricity",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLampBase"] = {
+
   ["ThingDef:RockBase"] = {
 
     _ = {
 
     _ = {
 +
      Name = "RockBase",
 +
      ParentName = "BuildingNaturalBase",
 
       Abstract = true,
 
       Abstract = true,
      Name = "StandingLampBase",
 
      ParentName = "LampBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     costList = {
+
     thingClass = "Mineable",
      Steel = 20,
+
    altitudeLayer = "Building",
     },
+
     passability = "Impassable",
 +
    fillPercent = 1,
 
     statBases = {
 
     statBases = {
       Mass = 4,
+
       Flammability = 0,
 
     },
 
     },
     comps = {
+
     building = {
       {
+
       isInert = true,
        _ = {
+
      isNaturalRock = true,
          Class = "CompProperties_Power",
+
      deconstructible = false,
        },
 
        compClass = "CompPowerTrader",
 
        basePowerConsumption = 30,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLamp"] = {
+
   ["ThingDef:CollapsedRocks"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp",
+
     defName = "CollapsedRocks",
     label = "standing lamp",
+
     label = "collapsed rocks",
     description = [[An electrical standing lamp that lights an area. People need light to move and work at full speed.]],
+
     description = [[Collapsed rocks, packed tightly enough to hold up a roof.]],
     comps = {
+
     statBases = {
       {
+
       MaxHitPoints = 500,
        _ = {
+
    },
          Class = "CompProperties_Glower",
+
    building = {
        },
+
       isNaturalRock = false,
        glowRadius = 12,
 
        glowColor = {217, 217, 208, 0},
 
       },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Red"] = {
+
   ["ThingDef:MineableSteel"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Red",
+
     defName = "MineableSteel",
     label = "standing lamp (red)",
+
     label = "compacted steel",
     description = [[A standing lamp that lights an area in red.]],
+
     description = [[The remains of some ancient, collapsed structure. Rich in steel.]],
     comps = {
+
     statBases = {
       {
+
       MaxHitPoints = 1500,
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 12,
 
        glowColor = {217, 80, 80, 0},
 
      },
 
 
     },
 
     },
     researchPrerequisites = {
+
     building = {
       _ = {
+
       isResourceRock = true,
        Inherit = false,
+
       mineableThing = "Steel",
       },
+
       mineableYield = 40,
       "ColoredLights",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Green"] = {
+
   ["ThingDef:MineableSilver"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Green",
+
     defName = "MineableSilver",
     label = "standing lamp (green)",
+
     label = "silver ore",
     description = [[A standing lamp that lights an area in green.]],
+
     description = [[Rock containing bits of silver.]],
     comps = {
+
     statBases = {
       {
+
       MaxHitPoints = 1500,
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 12,
 
        glowColor = {80, 217, 80, 0},
 
      },
 
 
     },
 
     },
     researchPrerequisites = {
+
     building = {
       _ = {
+
       isResourceRock = true,
        Inherit = false,
+
       mineableThing = "Silver",
       },
+
       mineableYield = 40,
       "ColoredLights",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Blue"] = {
+
   ["ThingDef:MineableGold"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Blue",
+
     defName = "MineableGold",
     label = "standing lamp (blue)",
+
     label = "gold ore",
     description = [[A standing lamp that lights an area in blue.]],
+
     description = [[Rock containing bits of gold.]],
     comps = {
+
     statBases = {
       {
+
       MaxHitPoints = 1500,
        _ = {
+
     },
          Class = "CompProperties_Glower",
+
     building = {
        },
+
       isResourceRock = true,
        glowRadius = 12,
+
       mineableThing = "Gold",
        glowColor = {80, 80, 217, 0},
+
       mineableYield = 40,
      },
 
     },
 
     researchPrerequisites = {
 
       _ = {
 
        Inherit = false,
 
       },
 
       "ColoredLights",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SunLamp"] = {
+
   ["ThingDef:MineableUranium"] = {
 
     _ = {
 
     _ = {
       ParentName = "LampBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SunLamp",
+
     defName = "MineableUranium",
     label = "sun lamp",
+
     label = "uranium ore",
     description = [[An industrial lamp which lights an area brightly enough to grow crops, but consumes a huge amount of power. Automatically turns itself off at night.]],
+
     description = [[Rock containing bits of uranium.]],
    thingClass = "Building_SunLamp",
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 330,
+
       MaxHitPoints = 4000,
      Mass = 4.5,
 
 
     },
 
     },
     costList = {
+
     building = {
       Steel = 40,
+
       isResourceRock = true,
    },
+
       mineableThing = "Uranium",
    comps = {
+
       mineableYield = 40,
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        overlightRadius = 7.0,
 
        glowRadius = 14,
 
        glowColor = {370, 370, 370, 0},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Power",
 
        },
 
        compClass = "CompPowerTrader",
 
        shortCircuitInRain = true,
 
        basePowerConsumption = 2900,
 
       },
 
      {
 
        _ = {
 
          Class = "CompProperties_Schedule",
 
        },
 
        startTime = 0.25,
 
        endTime = 0.8,
 
        offMessage = "Off for plant resting period",
 
       },
 
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 3,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Shelf"] = {
+
   ["ThingDef:MineablePlasteel"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shelf",
+
     defName = "MineablePlasteel",
     label = "shelf",
+
     label = "compacted plasteel",
     description = [[A shelf for storing miscellaneous items. Items stored in this will not affect room beauty and they won't deteriorate, even if outside.]],
+
     description = [[Ancient compacted rubble rich in plasteel.]],
    thingClass = "Building_Storage",
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.4,
 
    pathCost = 50,
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 30,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MaxHitPoints = 8000,
      Mass = 8,
 
      WorkToBuild = 600,
 
      Flammability = 1.0,
 
      Beauty = 0.5,
 
 
     },
 
     },
    size = {2, 1},
 
 
     building = {
 
     building = {
       preventDeteriorationOnTop = true,
+
       isResourceRock = true,
       ignoreStoredThingsBeauty = true,
+
       mineableThing = "Plasteel",
      defaultStorageSettings = {
+
       mineableYield = 40,
        priority = "Important",
+
     },
        filter = {
 
          categories = {
 
            "Weapons",
 
          },
 
        },
 
       },
 
    },
 
    researchPrerequisites = {
 
      "ComplexFurniture",
 
     },
 
 
   },
 
   },
  
   ["ThingDef:Dresser"] = {
+
   ["ThingDef:MineableJade"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtableFurnitureBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Dresser",
+
     defName = "MineableJade",
     label = "dresser",
+
     label = "jade",
     description = [[A dresser. Gives a small comfort bonus to all nearby beds. Placing more than one dresser near the same bed has no effect.]],
+
     description = [[Rock containing bits of jade.]],
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.4,
 
    pathCost = 42,
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 50,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 120,
+
       MaxHitPoints = 1500,
      Mass = 15,
 
      WorkToBuild = 2000,
 
      Flammability = 1.0,
 
      Beauty = 5,
 
 
     },
 
     },
     size = {2, 1},
+
     building = {
    researchPrerequisites = {
+
      isResourceRock = true,
      "ComplexFurniture",
+
       mineableThing = "Jade",
    },
+
      mineableYield = 40,
    comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Facility",
 
        },
 
        statOffsets = {
 
          Comfort = 0.05,
 
        },
 
        maxSimultaneous = 1,
 
        maxDistance = 6,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:HorseshoesPin"] = {
+
   ["ThingDef:MineableComponentsIndustrial"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "RockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HorseshoesPin",
+
     defName = "MineableComponentsIndustrial",
     label = "horseshoes pin",
+
     label = "compacted machinery",
     description = [[A simple ancient game played with a horseshoes and a large pin in the ground. Players toss horseshoes to try to get them to land on the pin. It's relaxing, and trains shooting skills.]],
+
     description = [[Ancient machinery, compacted over time. Can be mined for useful components.]],
    minifiedDef = "MinifiedThing",
 
    altitudeLayer = "Building",
 
    thingCategories = {
 
      "BuildingsJoy",
 
    },
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 75,
+
       MaxHitPoints = 2000,
      WorkToBuild = 100,
 
      Mass = 3,
 
      Flammability = 1.0,
 
      JoyGainFactor = 1,
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
 
     },
 
     },
 
     building = {
 
     building = {
       joyKind = "Gaming_Dexterity",
+
       isResourceRock = true,
       artificialForMeditationPurposes = false,
+
      mineableThing = "ComponentIndustrial",
 +
       mineableYield = 2,
 
     },
 
     },
    costStuffCount = 10,
 
    pathCost = 14,
 
 
   },
 
   },
  
   ["ThingDef:HoopstoneRing"] = {
+
   ["ThingDef:SteamGeyser"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BuildingNaturalBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HoopstoneRing",
+
     defName = "SteamGeyser",
     label = "hoopstone ring",
+
     label = "steam geyser",
     description = [[A simple ancient game played with stones and a large ring in the ground. Players try to toss stones through the ring from a distance. It's relaxing, and trains shooting skills.]],
+
     description = [[A natural source of high-pressure steam. Geothermal generators can harness the steam power. Rooms built over this will rapidly cook.]],
     minifiedDef = "MinifiedThing",
+
     thingClass = "Building_SteamGeyser",
     altitudeLayer = "Building",
+
     altitudeLayer = "Floor",
     thingCategories = {
+
     useHitPoints = false,
      "BuildingsJoy",
+
     size = {2, 2},
    },
+
     building = {
    statBases = {
+
       isEdifice = false,
      MaxHitPoints = 100,
+
       deconstructible = false,
      WorkToBuild = 100,
 
      Mass = 4,
 
      Flammability = 1.0,
 
      JoyGainFactor = 1,
 
     },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
     building = {
 
       joyKind = "Gaming_Dexterity",
 
       artificialForMeditationPurposes = false,
 
 
     },
 
     },
    costStuffCount = 20,
 
    pathCost = 14,
 
 
   },
 
   },
  
   ["ThingDef:GameOfUrBoard"] = {
+
   ["ThingDef:Hive"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "BuildingNaturalBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GameOfUrBoard",
+
     defName = "Hive",
     label = "Game-of-Ur board",
+
     label = "hive",
     description = [[Dating from 2500BC, this exciting yet infuriating board game can be played by one or two people. It trains intellectual skills.]],
+
     description = [[A hive of giant insects. If activated, it will spawn additional insects and hives over time, as well as valuable insect jelly.]],
 +
    thingClass = "Hive",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     fillPercent = 0.20,
+
     fillPercent = 0.5,
    building = {
 
      joyKind = "Gaming_Cerebral",
 
    },
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 90,
+
       MaxHitPoints = 130,
      WorkToBuild = 6000,
 
      Mass = 2,
 
 
       Flammability = 1.0,
 
       Flammability = 1.0,
      Beauty = 2,
 
      JoyGainFactor = 0.8,
 
 
     },
 
     },
    stuffCategories = {
+
     pathCost = 42,
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 35,
 
     pathCost = 14,
 
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
  },
+
     killedLeavings = {
 
+
       InsectJelly = 30,
  ["ThingDef:ChessTable"] = {
 
     _ = {
 
       ParentName = "FurnitureWithQualityBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Joy.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "ChessTable",
+
     comps = {
    label = "chess table",
+
      {
    description = [[The ancient game of kings. Fun for a few hours here and there, even playing alone. It trains intellectual skills.]],
+
        _ = {
    altitudeLayer = "Building",
+
          Class = "CompProperties_CanBeDormant",
    fillPercent = 0.40,
+
        },
    building = {
+
        startsDormant = true,
       joyKind = "Gaming_Cerebral",
+
        canWakeUpFogged = false,
    },
+
      },
    researchPrerequisites = {
+
      {
      "ComplexFurniture",
+
        _ = {
    },
+
          Class = "CompProperties_WakeUpDormant",
    statBases = {
+
        },
       MaxHitPoints = 100,
+
      },
       WorkToBuild = 8000,
+
      {
      Mass = 5,
+
        _ = {
      Flammability = 1.0,
+
          Class = "CompProperties_SpawnerPawn",
      Beauty = 4,
+
        },
      JoyGainFactor = 1,
+
        spawnablePawnKinds = {
    },
+
          "Megascarab",
    stuffCategories = {
+
          "Spelopede",
       "Metallic",
+
          "Megaspider",
      "Woody",
+
        },
       "Stony",
+
        lordJob = "LordJob_DefendAndExpandHive",
    },
+
        spawnSound = "Hive_Spawn",
    costStuffCount = 70,
+
        initialPawnsPoints = 200,
    pathCost = 30,
+
        maxSpawnedPawnsPoints = 500,
     passability = "PassThroughOnly",
+
      },
   },
+
      {
 
+
        _ = {
   ["ThingDef:PokerTable"] = {
+
          Class = "CompProperties_SelfhealHitpoints",
 +
        },
 +
        ticksPerHeal = 6000,
 +
      },
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_SpawnerHives",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Spawner",
 +
        },
 +
        thingToSpawn = "InsectJelly",
 +
        spawnCount = 20,
 +
        spawnIntervalRange = { ["<"]=26000, [">"]=30000 },
 +
        spawnMaxAdjacent = 40,
 +
        spawnForbidden = true,
 +
        saveKeysPrefix = "jelly",
 +
       },
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_Spawner",
 +
        },
 +
        thingToSpawn = "GlowPod",
 +
        spawnCount = 1,
 +
        spawnIntervalRange = { ["<"]=30000, [">"]=60000 },
 +
        spawnMaxAdjacent = 1,
 +
        saveKeysPrefix = "pod",
 +
        inheritFaction = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 +
        },
 +
        heatPerSecond = 6,
 +
        heatPushMaxTemperature = 38,
 +
       },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_SpawnerFilth",
 +
        },
 +
        filthDef = "Filth_Slime",
 +
        spawnCountOnSpawn = 10,
 +
        spawnMtbHours = 4,
 +
        spawnRadius = 5,
 +
       },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Maintainable",
 +
        },
 +
        ticksHealthy = 60000,
 +
        ticksNeedsMaintenance = 60000,
 +
        damagePerTickRare = 10,
 +
      },
 +
     },
 +
   },
 +
 
 +
   ["ThingDef:GlowPod"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "BuildingNaturalBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PokerTable",
+
     defName = "GlowPod",
     label = "poker table",
+
     label = "glow pod",
     description = [[A table designed for playing gambling card games like poker. A great way to test your strategic skills and a bit of luck.]],
+
     description = [[A bioluminescent pod produced by giant insects. Glows under its own light for a long time, then dies.]],
 +
    thingClass = "Building",
 +
    minifiedDef = "MinifiedThing",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     fillPercent = 0.40,
+
    passability = "PassThroughOnly",
     building = {
+
     fillPercent = 0.20,
      joyKind = "Gaming_Cerebral",
+
     leaveResourcesWhenKilled = false,
       buildingSizeCategory = "Medium",
+
    thingCategories = {
 +
       "BuildingsSpecial",
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 250,
+
       MaxHitPoints = 50,
      WorkToBuild = 10000,
+
       Mass = 4,
       Mass = 30,
 
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       Beauty = 0,
+
       MarketValue = 50,
      JoyGainFactor = 1.3,
 
 
     },
 
     },
     size = {2, 2},
+
     comps = {
    stuffCategories = {
+
      {
      "Metallic",
+
        _ = {
      "Woody",
+
          Class = "CompProperties_Glower",
      "Stony",
+
        },
    },
+
        glowRadius = 6,
    costStuffCount = 50,
+
        glowColor = {113, 141, 117, 0},
    costList = {
+
       },
       Cloth = 50,
+
       {
       WoodLog = 25,
+
        _ = {
    },
+
          Class = "CompProperties_Lifespan",
    pathCost = 42,
+
        },
    passability = "PassThroughOnly",
+
        lifespanTicks = 1200000,
    researchPrerequisites = {
+
       },
       "ComplexFurniture",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BilliardsTable"] = {
+
   ["ThingDef:RaisedRocks"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "RockBase",
 +
      Name = "RaisedRocks",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BilliardsTable",
+
     defName = "RaisedRocks",
     label = "billiards table",
+
     label = "raised rocks",
     description = [[A soft-topped bounded table for playing a variety of billiards-type games. It trains shooting ability.]],
+
     description = [[A fragile wall made of rubble. It will collapse in time.]],
     altitudeLayer = "Building",
+
     leaveResourcesWhenKilled = false,
    fillPercent = 0.40,
 
    terrainAffordanceNeeded = "Medium",
 
 
     building = {
 
     building = {
       joyKind = "Gaming_Dexterity",
+
       isNaturalRock = false,
      buildingSizeCategory = "Medium",
 
 
     },
 
     },
     statBases = {
+
     comps = {
       MaxHitPoints = 250,
+
       {
      WorkToBuild = 12000,
+
        _ = {
      Mass = 60,
+
          Class = "CompProperties_Lifespan",
      Flammability = 1.0,
+
        },
      Beauty = 0,
+
        lifespanTicks = 10000,
      JoyGainFactor = 1.3,
+
        expireEffect = "RaisedRock_Collapse",
    },
+
       },
    size = {2, 3},
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 80,
 
    costList = {
 
      Cloth = 80,
 
      WoodLog = 30,
 
    },
 
    pathCost = 42,
 
    passability = "PassThroughOnly",
 
    researchPrerequisites = {
 
       "ComplexFurniture",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TubeTelevision"] = {
+
   ["ThingDef:PowerConduit"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 +
      Name = "PowerConduit",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TubeTelevision",
+
     defName = "PowerConduit",
     label = "tube television",
+
     label = "power conduit",
     description = [[A cathode ray tube display for showing moving pictures with sound. Even on the rimworlds, there is often an old transmitter running something at least marginally interesting.]],
+
     description = [[A bundle of electrical cables for moving power around. Can be placed under walls and other buildings.]],
     altitudeLayer = "Building",
+
     thingClass = "Building",
     minifiedDef = "MinifiedThing",
+
     category = "Building",
     fillPercent = 0.40,
+
     building = {
    thingCategories = {
+
      isInert = true,
       "BuildingsJoy",
+
       isEdifice = false,
 
     },
 
     },
 +
    altitudeLayer = "Conduits",
 +
    passability = "Standable",
 +
    leaveResourcesWhenKilled = false,
 
     statBases = {
 
     statBases = {
      WorkToBuild = 10000,
+
       MaxHitPoints = 80,
       MaxHitPoints = 100,
+
       WorkToBuild = 35,
       Mass = 14,
+
       Flammability = 0.7,
       Flammability = 1.0,
+
       Beauty = -2,
       JoyGainFactor = 1.2,
 
 
     },
 
     },
 
     costList = {
 
     costList = {
       Steel = 80,
+
       Steel = 1,
      ComponentIndustrial = 4,
 
    },
 
    pathCost = 42,
 
    passability = "PassThroughOnly",
 
    building = {
 
      joyKind = "Television",
 
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 5,963: Line 5,957:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerTransmitter",
         shortCircuitInRain = true,
+
         transmitsPower = true,
        basePowerConsumption = 200,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
     terrainAffordanceNeeded = "Light",
       "Television",
+
    researchPrerequisites = {
 +
      "Electricity",
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:WaterproofConduit"] = {
 +
    _ = {
 +
      ParentName = "PowerConduit",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Power.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     researchPrerequisites = {
+
     defName = "WaterproofConduit",
       "TubeTelevision",
+
    label = "waterproof conduit",
 +
    description = [[Insulated electrical cables for transmitting power under shallow water.]],
 +
    terrainAffordanceNeeded = "ShallowWater",
 +
    costList = {
 +
       Steel = 10,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:FlatscreenTelevision"] = {
+
   ["ThingDef:PowerSwitch"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "FlatscreenTelevision",
+
     defName = "PowerSwitch",
     label = "flatscreen television",
+
     label = "power switch",
     description = [[A high-tech flat-screen television with crystal-clear image and rich color. Picks up transmissions from ancient satellites and ubiquitous data cards.]],
+
     description = [[Switches power on/off.]],
 +
    thingClass = "Building_PowerSwitch",
 +
    category = "Building",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     minifiedDef = "MinifiedThing",
+
     passability = "Standable",
     fillPercent = 0.35,
+
     leaveResourcesWhenKilled = false,
     thingCategories = {
+
     statBases = {
       "BuildingsJoy",
+
       MaxHitPoints = 120,
 +
      WorkToBuild = 200,
 +
      Flammability = 0.5,
 +
      Beauty = -2,
 
     },
 
     },
 
     costList = {
 
     costList = {
       Steel = 140,
+
       Steel = 15,
       ComponentIndustrial = 16,
+
       ComponentIndustrial = 1,
    },
 
    statBases = {
 
      WorkToBuild = 40000,
 
      MaxHitPoints = 80,
 
      Flammability = 1.0,
 
      Mass = 8,
 
      JoyGainFactor = 1.4,
 
    },
 
    pathCost = 50,
 
    passability = "PassThroughOnly",
 
    size = {2, 1},
 
    researchPrerequisites = {
 
      "FlatscreenTelevision",
 
    },
 
    building = {
 
      joyKind = "Television",
 
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 6,023: Line 6,015:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerTransmitter",
         shortCircuitInRain = true,
+
         transmitsPower = true,
        basePowerConsumption = 330,
 
 
       },
 
       },
 
       {
 
       {
Line 6,033: Line 6,024:
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
     researchPrerequisites = {
       "Television",
+
       "Electricity",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MegascreenTelevision"] = {
+
   ["ThingDef:WoodFiredGenerator"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MegascreenTelevision",
+
     defName = "WoodFiredGenerator",
     label = "megascreen television",
+
     label = "wood-fired generator",
     description = [[A huge, high-tech television. Gigantic, hyper-vibrant images almost leap out of the screen. Very entertaining. Picks up transmissions from ancient satellites and ubiquitous data cards.]],
+
     description = [[Produces power by consuming wood. Must be periodically loaded with wood fuel by hand.]],
 +
    thingClass = "Building",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     minifiedDef = "MinifiedThing",
+
     passability = "PassThroughOnly",
     fillPercent = 0.35,
+
     pathCost = 50,
     thingCategories = {
+
     fillPercent = 1.0,
      "BuildingsJoy",
+
     statBases = {
     },
+
       MaxHitPoints = 300,
    costList = {
+
       WorkToBuild = 2500,
       Steel = 260,
 
      ComponentIndustrial = 22,
 
    },
 
    statBases = {
 
       WorkToBuild = 80000,
 
      MaxHitPoints = 85,
 
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       Mass = 10,
+
       Beauty = -20,
      JoyGainFactor = 1.6,
 
 
     },
 
     },
    pathCost = 50,
+
     size = {2, 2},
    passability = "PassThroughOnly",
+
     costList = {
     size = {3, 1},
+
       Steel = 100,
     building = {
+
      ComponentIndustrial = 2,
       joyKind = "Television",
 
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 6,077: Line 6,061:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerPlant",
         shortCircuitInRain = true,
+
         basePowerConsumption = -1000,
         basePowerConsumption = 450,
+
        transmitsPower = true,
 +
         soundAmbientProducingPower = "WoodFiredGenerator_Ambience",
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Flickable",
 
           Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Refuelable",
 +
        },
 +
        fuelConsumptionRate = 22.0,
 +
        fuelCapacity = 75.0,
 +
        fuelFilter = {
 +
          thingDefs = {
 +
            "WoodLog",
 +
          },
 +
        },
 +
        showAllowAutoRefuelToggle = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Glower",
 +
        },
 +
        glowRadius = 6,
 +
        glowColor = {217, 112, 33, 0},
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 +
        },
 +
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 6,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
     terrainAffordanceNeeded = "Medium",
       "Television",
+
    researchPrerequisites = {
 +
       "Electricity",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Telescope"] = {
+
   ["ThingDef:ChemfuelPoweredGenerator"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Telescope",
+
     defName = "ChemfuelPoweredGenerator",
     label = "telescope",
+
     label = "chemfuel powered generator",
     description = [[A telescope for doing amateur astronomy. It's a relaxing hobby for a certain kind of person. Can only be used outdoors.]],
+
     description = [[Produces power by consuming chemfuel. Must be periodically refueled by hand.]],
     fillPercent = 0.15,
+
     thingClass = "Building",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
    hasInteractionCell = true,
 
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     pathCost = 30,
+
     pathCost = 50,
     minifiedDef = "MinifiedThing",
+
     fillPercent = 1.0,
     thingCategories = {
+
     statBases = {
       "BuildingsJoy",
+
       MaxHitPoints = 300,
    },
+
      WorkToBuild = 2500,
    building = {
+
      Flammability = 1.0,
       joyKind = "Telescope",
+
       Beauty = -20,
 
     },
 
     },
 +
    size = {2, 2},
 
     costList = {
 
     costList = {
       Steel = 50,
+
       Steel = 100,
       ComponentIndustrial = 1,
+
       ComponentIndustrial = 3,
 
     },
 
     },
    statBases = {
+
     comps = {
      MaxHitPoints = 75,
 
      Flammability = 1.0,
 
      MarketValue = 350,
 
      Mass = 7.5,
 
      JoyGainFactor = 1.2,
 
    },
 
  },
 
 
 
  ["ThingDef:OrbitalTradeBeacon"] = {
 
    _ = {
 
      ParentName = "BuildingBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Misc.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "OrbitalTradeBeacon",
 
    label = "orbital trade beacon",
 
    thingClass = "Building_OrbitalTradeBeacon",
 
    altitudeLayer = "Building",
 
    minifiedDef = "MinifiedThing",
 
    thingCategories = {
 
      "BuildingsMisc",
 
    },
 
    statBases = {
 
      MaxHitPoints = 75,
 
      WorkToBuild = 800,
 
      Flammability = 0.5,
 
      Mass = 5,
 
    },
 
    description = [[Required for orbital trading. You can only sell goods to orbital traders if they're near an orbital trade beacon. Can be placed indoors.]],
 
    fillPercent = 0.15,
 
    costList = {
 
      Steel = 40,
 
      ComponentIndustrial = 1,
 
    },
 
     comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerPlant",
         basePowerConsumption = 40,
+
         basePowerConsumption = -1000,
 +
        transmitsPower = true,
 +
        soundAmbientProducingPower = "ChemfuelFiredGenerator_Ambience",
 
       },
 
       },
 
       {
 
       {
Line 6,168: Line 6,151:
 
           Class = "CompProperties_Flickable",
 
           Class = "CompProperties_Flickable",
 
         },
 
         },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Refuelable",
 +
        },
 +
        fuelConsumptionRate = 4.5,
 +
        fuelCapacity = 30.0,
 +
        fuelFilter = {
 +
          thingDefs = {
 +
            "Chemfuel",
 +
          },
 +
        },
 +
        showAllowAutoRefuelToggle = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Glower",
 +
        },
 +
        glowRadius = 6,
 +
        glowColor = {80, 112, 180, 0},
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 +
        },
 +
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 6,
 
       },
 
       },
 
       {
 
       {
Line 6,173: Line 6,183:
 
           Class = "CompProperties_Breakdownable",
 
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Explosive",
 +
        },
 +
        explosiveRadius = 0,
 +
        explosiveExpandPerFuel = 0.95,
 +
        explosiveDamageType = "Flame",
 +
        destroyThingOnExplosionSize = 2,
 +
        startWickHitPointsPercent = 0.333,
 +
        preExplosionSpawnThingDef = "Filth_Fuel",
 +
        preExplosionSpawnChance = 1,
 +
        wickTicks = { ["<"]=70, [">"]=150 },
 
       },
 
       },
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     terrainAffordanceNeeded = "Medium",
    pathCost = 14,
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "MicroelectronicsBasics",
+
       "Electricity",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:CommsConsole"] = {
+
   ["ThingDef:WindTurbine"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "CommsConsole",
+
     defName = "WindTurbine",
     label = "comms console",
+
    thingClass = "Building",
     description = [[Allows radio contact with other factions and orbital traders.]],
+
     label = "wind turbine",
    thingClass = "Building_CommsConsole",
+
     description = [[A wind-powered electrical generator. Requires a large clear space in front and behind for optimal air flow.]],
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "PassThroughOnly",
+
     passability = "Impassable",
    pathCost = 50,
 
 
     fillPercent = 0.5,
 
     fillPercent = 0.5,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 250,
+
       MaxHitPoints = 150,
       WorkToBuild = 2200,
+
       WorkToBuild = 3300,
       Flammability = 0.6,
+
       Flammability = 0.5,
 +
      Beauty = -12,
 
     },
 
     },
     size = {3, 2},
+
     size = {7, 2},
 +
    terrainAffordanceNeeded = "Heavy",
 
     costList = {
 
     costList = {
       Steel = 120,
+
       Steel = 100,
       ComponentIndustrial = 4,
+
       ComponentIndustrial = 2,
 
     },
 
     },
    hasInteractionCell = true,
 
    terrainAffordanceNeeded = "Medium",
 
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 6,215: Line 6,236:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerPlantWind",
        shortCircuitInRain = true,
+
         basePowerConsumption = -2300,
         basePowerConsumption = 200,
+
         transmitsPower = true,
      },
 
      {
 
         _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
 
       },
 
       },
 
       {
 
       {
Line 6,231: Line 6,247:
 
     },
 
     },
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "MicroelectronicsBasics",
+
       "Electricity",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:FirefoamPopper"] = {
+
   ["ThingDef:Battery"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "FirefoamPopper",
+
     defName = "Battery",
     label = "firefoam popper",
+
     label = "battery",
     description = [[When it detects fire, this safety device pops and sprays a fire-retardant foam in a circular field around itself. Can also be triggered manually.]],
+
     description = [[Stores electricity for later use. Charged batteries explode when exposed to rain or fire.]],
 +
    thingClass = "Building_Battery",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    fillPercent = 0.40,
 +
    minifiedDef = "MinifiedThing",
 +
    thingCategories = {
 +
      "BuildingsPower",
 +
    },
 +
    statBases = {
 +
      MaxHitPoints = 100,
 +
      WorkToBuild = 800,
 +
      Mass = 20,
 +
      Flammability = 1.0,
 +
      Beauty = -15,
 +
    },
 +
    size = {1, 2},
 +
    costList = {
 +
      Steel = 70,
 +
      ComponentIndustrial = 2,
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Battery",
 
         },
 
         },
         explosiveRadius = 9.9,
+
         storedEnergyMax = 600,
         explosiveDamageType = "Extinguish",
+
         efficiency = 0.5,
         startWickHitPointsPercent = -1,
+
         shortCircuitInRain = true,
        startWickOnDamageTaken = {
+
         transmitsPower = true,
          "Flame",
 
        },
 
         postExplosionSpawnThingDef = "Filth_FireFoam",
 
        postExplosionSpawnChance = 1,
 
        postExplosionSpawnThingCount = 1,
 
        applyDamageToExplosionCellsNeighbors = true,
 
        explosionEffect = "ExtinguisherExplosion",
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Usable",
+
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
        useJob = "TriggerFirefoamPopper",
 
        useLabel = "Trigger firefoam popper",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffect",
 
        },
 
        compClass = "CompUseEffect_StartWick",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_ProximityFuse",
 
        },
 
        target = "Fire",
 
        radius = 3,
 
 
       },
 
       },
 
     },
 
     },
     altitudeLayer = "Building",
+
     terrainAffordanceNeeded = "Medium",
     minifiedDef = "MinifiedThing",
+
     researchPrerequisites = {
    thingCategories = {
+
       "Batteries",
       "BuildingsMisc",
 
 
     },
 
     },
    statBases = {
+
   },
      MaxHitPoints = 50,
+
 
      WorkToBuild = 1500,
+
   ["ThingDef:SolarGenerator"] = {
      Mass = 10,
+
     _ = {
      Flammability = 1.0,
 
      Beauty = -8,
 
    },
 
    fillPercent = 0.30,
 
    costList = {
 
      Steel = 75,
 
      ComponentIndustrial = 1,
 
    },
 
    leaveResourcesWhenKilled = false,
 
    pathCost = 30,
 
    passability = "PassThroughOnly",
 
    researchPrerequisites = {
 
      "Firefoam",
 
    },
 
   },
 
 
 
   ["ThingDef:MoisturePump"] = {
 
     _ = {
 
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MoisturePump",
+
     defName = "SolarGenerator",
     label = "moisture pump",
+
     label = "solar generator",
     description = [[Very slowly equalizes moisture in nearby terrain, converting marshes or shallow water into dry ground, and soft sand into normal sand. Does not affect deep water.]],
+
     description = [[Produces electricity from sunlight. Does not work in the dark or under artificial light.]],
 +
    thingClass = "Building",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    fillPercent = 0.5,
 +
    statBases = {
 +
      MaxHitPoints = 300,
 +
      WorkToBuild = 2500,
 +
      Flammability = 0.7,
 +
    },
 +
    size = {4, 4},
 +
    costList = {
 +
      Steel = 100,
 +
      ComponentIndustrial = 3,
 +
    },
 
     comps = {
 
     comps = {
      {
 
        _ = {
 
          Class = "CompProperties_Forbiddable",
 
        },
 
      },
 
 
       {
 
       {
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerPlantSolar",
         basePowerConsumption = 150,
+
         basePowerConsumption = -1,
 +
        transmitsPower = true,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_TerrainPumpDry",
+
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
        soundWorking = "MoisturePump_Ambience",
 
        radius = 6.9,
 
        daysToRadius = 60,
 
 
       },
 
       },
 
     },
 
     },
     altitudeLayer = "Building",
+
     terrainAffordanceNeeded = "Medium",
    statBases = {
 
      MaxHitPoints = 50,
 
      WorkToBuild = 1500,
 
      Flammability = 1.0,
 
      Beauty = -8,
 
    },
 
    fillPercent = 0.15,
 
    costList = {
 
      Steel = 75,
 
      ComponentIndustrial = 4,
 
    },
 
    pathCost = 30,
 
    passability = "PassThroughOnly",
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "MoisturePump",
+
       "SolarPanels",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:GroundPenetratingScanner"] = {
+
   ["ThingDef:GeothermalGenerator"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GroundPenetratingScanner",
+
     defName = "GeothermalGenerator",
     label = "ground-penetrating scanner",
+
     label = "geothermal generator",
     description = [[A sensor unit used by researchers to search for buried resources. The chance to find a resource depends on the operator's research ability. It consumes a lot of electricity. If you find a buried resource, you'll need to use deep drills to extract it. It doesn't work under a roof.]],
+
     description = [[Produces electricity from geothermal steam geysers. Must be placed on a steam geyser.]],
 +
    thingClass = "Building",
 +
    altitudeLayer = "Building",
 +
    passability = "Impassable",
 +
    fillPercent = 1,
 +
    statBases = {
 +
      MaxHitPoints = 500,
 +
      WorkToBuild = 12000,
 +
      Flammability = 0.5,
 +
      Beauty = -30,
 +
    },
 +
    size = {6, 6},
 
     costList = {
 
     costList = {
       Steel = 150,
+
       Steel = 340,
       ComponentIndustrial = 4,
+
       ComponentIndustrial = 8,
      ComponentSpacer = 1,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_Power",
 
         },
 
         },
      },
+
         compClass = "CompPowerPlantSteam",
      {
+
         basePowerConsumption = -3600,
         _ = {
+
         transmitsPower = true,
          Class = "CompProperties_Power",
 
         },
 
        compClass = "CompPowerTrader",
 
         basePowerConsumption = 700,
 
 
       },
 
       },
 
       {
 
       {
Line 6,395: Line 6,392:
 
         },
 
         },
 
       },
 
       },
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_ScannerMineralsDeep",
 
        },
 
        scanSpeedStat = "ResearchSpeed",
 
        scanFindMtbDays = 3,
 
        scanFindGuaranteedDays = 6,
 
        soundWorking = "ScannerGroundPenetrating_Ambience",
 
      },
 
    },
 
    altitudeLayer = "Building",
 
    statBases = {
 
      MaxHitPoints = 200,
 
      WorkToBuild = 12000,
 
      Flammability = 0.5,
 
      Beauty = -8,
 
 
     },
 
     },
    hasInteractionCell = true,
 
    fillPercent = 0.40,
 
    leaveResourcesWhenKilled = false,
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    size = {3, 3},
 
 
     terrainAffordanceNeeded = "Heavy",
 
     terrainAffordanceNeeded = "Heavy",
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "GroundPenetratingScanner",
+
       "GeothermalPower",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:LongRangeMineralScanner"] = {
+
   ["ThingDef:WatermillGenerator"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Power.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "LongRangeMineralScanner",
+
     defName = "WatermillGenerator",
     label = "long-range mineral scanner",
+
     label = "watermill generator",
     description = [[A lateral sensor unit used by researchers to detect a specific type of mineral across the planet. The chance to find a resource depends on the operator's research ability. This sensor can be tuned to target a specific resource type. It consumes a lot of electricity. If you find a resource, you'll need to travel to collect it.]],
+
     description = [[Produces electricity from a river. Must be placed with its wheel in moving water. If watermills are placed too close together, the turbulence they generate will interfere and reduce power generation.]],
 +
    thingClass = "Building",
 +
    altitudeLayer = "Building",
 +
    passability = "Impassable",
 +
    fillPercent = 1,
 +
    statBases = {
 +
      MaxHitPoints = 400,
 +
      WorkToBuild = 4000,
 +
      Flammability = 1.0,
 +
      Beauty = -20,
 +
    },
 +
    size = {5, 6},
 
     costList = {
 
     costList = {
       Steel = 200,
+
       WoodLog = 280,
       ComponentIndustrial = 6,
+
       Steel = 80,
       ComponentSpacer = 2,
+
       ComponentIndustrial = 3,
 
     },
 
     },
 
     comps = {
 
     comps = {
      {
 
        _ = {
 
          Class = "CompProperties_Forbiddable",
 
        },
 
      },
 
 
       {
 
       {
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerPlantWater",
         basePowerConsumption = 700,
+
         basePowerConsumption = -1100,
 +
        transmitsPower = true,
 +
        soundAmbientProducingPower = "WaterMill_Ambience",
 
       },
 
       },
 
       {
 
       {
Line 6,462: Line 6,440:
 
           Class = "CompProperties_Breakdownable",
 
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_LongRangeMineralScanner",
 
        },
 
        scanSpeedStat = "ResearchSpeed",
 
        scanFindMtbDays = 4,
 
        scanFindGuaranteedDays = 8,
 
        soundWorking = "ScannerLongRangeMineral_Ambience",
 
 
       },
 
       },
 
     },
 
     },
     altitudeLayer = "Building",
+
     terrainAffordanceNeeded = {},
     statBases = {
+
     researchPrerequisites = {
       MaxHitPoints = 250,
+
       "WatermillGenerator",
      WorkToBuild = 1000,
 
      Flammability = 0.5,
 
      Beauty = -8,
 
 
     },
 
     },
    fillPercent = 0.40,
+
   },
    leaveResourcesWhenKilled = false,
+
 
    passability = "PassThroughOnly",
+
   ["ThingDef:CraftingSpot"] = {
    pathCost = 50,
 
    hasInteractionCell = true,
 
    size = {3, 3},
 
    terrainAffordanceNeeded = "Heavy",
 
    researchPrerequisites = {
 
      "LongRangeMineralScanner",
 
    },
 
   },
 
 
 
   ["ThingDef:PodLauncher"] = {
 
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PodLauncher",
+
     defName = "CraftingSpot",
     label = "pod launcher",
+
     label = "crafting spot",
     description = [[A fueling port for launching one transport pod. Pod launchers can launch as a group - but the launchers must be placed adjacent to each other.]],
+
     description = [[A place for crafting simple items like knives or bows. Production here is slow because of the lack of tools.]],
     size = {1, 2},
+
     thingClass = "Building_WorkTable",
    altitudeLayer = "Building",
+
     altitudeLayer = "FloorEmplacement",
     passability = "Impassable",
 
    fillPercent = 1.0,
 
    terrainAffordanceNeeded = "Medium",
 
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 200,
+
       WorkToBuild = 0,
       WorkToBuild = 3000,
+
       WorkTableWorkSpeedFactor = 0.5,
       Flammability = 0.5,
 
 
     },
 
     },
     costList = {
+
     useHitPoints = false,
       Steel = 50,
+
    size = {1, 1},
       ComponentIndustrial = 1,
+
    passability = "Standable",
 +
    hasInteractionCell = true,
 +
    building = {
 +
       sowTag = "SupportPlantsOnly",
 +
       artificialForMeditationPurposes = false,
 +
      buildingTags = {
 +
        "Production",
 +
      },
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Refuelable",
+
           Class = "CompProperties_AffectedByFacilities",
 
         },
 
         },
         fuelCapacity = 150.0,
+
         linkableFacilities = {
        targetFuelLevelConfigurable = true,
+
           "ToolCabinet",
        initialConfigurableTargetFuelLevel = 75,
 
        fuelFilter = {
 
           thingDefs = {
 
            "Chemfuel",
 
          },
 
 
         },
 
         },
        consumeFuelOnlyWhenUsed = true,
 
        autoRefuelPercent = 1,
 
        showFuelGizmo = true,
 
        drawOutOfFuelOverlay = false,
 
        drawFuelGaugeInMap = true,
 
        showAllowAutoRefuelToggle = true,
 
 
       },
 
       },
    },
+
      {
    researchPrerequisites = {
+
        compClass = "CompReportWorkSpeed",
       "TransportPod",
+
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TransportPod"] = {
+
   ["ThingDef:ButcherSpot"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TransportPod",
+
     defName = "ButcherSpot",
     label = "transport pod",
+
     label = "butcher spot",
     description = [[A launchable sub-orbital cargo pod capable of carrying people, items, or animals. Can be used for sending gifts, transporting people or supplies, surprise attacks, or reinforcing battles.]],
+
     description = [[A place for butchering animals. Due to the lack of equipment, butchering here yields only 70% of the meat and leather of each creature.]],
     size = {1, 1},
+
     thingClass = "Building_WorkTable",
    altitudeLayer = "BuildingOnTop",
+
     altitudeLayer = "FloorEmplacement",
     passability = "PassThroughOnly",
 
    fillPercent = 0.5,
 
    terrainAffordanceNeeded = "Medium",
 
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 250,
+
       WorkToBuild = 0,
       WorkToBuild = 1600,
+
       WorkTableEfficiencyFactor = 0.7,
       Flammability = 0.5,
 
 
     },
 
     },
     costList = {
+
     useHitPoints = false,
       Steel = 60,
+
    size = {1, 1},
       ComponentIndustrial = 1,
+
    passability = "Standable",
 +
    hasInteractionCell = true,
 +
    building = {
 +
       sowTag = "SupportPlantsOnly",
 +
       artificialForMeditationPurposes = false,
 +
      buildingTags = {
 +
        "Production",
 +
      },
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Transporter",
+
           Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "ToolCabinet",
 
         },
 
         },
        restEffectiveness = 0.8,
 
 
       },
 
       },
 
       {
 
       {
         _ = {
+
         compClass = "CompReportWorkSpeed",
          Class = "CompProperties_Launchable",
 
        },
 
        skyfallerLeaving = "DropPodLeaving",
 
 
       },
 
       },
    },
 
    researchPrerequisites = {
 
      "TransportPod",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MultiAnalyzer"] = {
+
   ["ThingDef:BenchBase"] = {
 
     _ = {
 
     _ = {
 +
      Name = "BenchBase",
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "MultiAnalyzer",
 
    label = "multi-analyzer",
 
    description = [[Increases research speed when placed near hi-tech research bench and unlocks new research projects. Each research bench can only use one multi-analyzer.]],
 
    researchPrerequisites = {
 
      "MultiAnalyzer",
 
    },
 
    size = {2, 2},
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.5,
 
 
     minifiedDef = "MinifiedThing",
 
     minifiedDef = "MinifiedThing",
 
     terrainAffordanceNeeded = "Medium",
 
     terrainAffordanceNeeded = "Medium",
 
     thingCategories = {
 
     thingCategories = {
       "BuildingsMisc",
+
       "BuildingsProduction",
 
     },
 
     },
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 200,
+
       Mass = 20,
      WorkToBuild = 10000,
 
       Mass = 60,
 
      Flammability = 1.0,
 
    },
 
    costList = {
 
      Steel = 40,
 
      Plasteel = 50,
 
      Gold = 20,
 
      ComponentIndustrial = 8,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
        _ = {
+
         compClass = "CompReportWorkSpeed",
          Class = "CompProperties_Power",
 
        },
 
         compClass = "CompPowerTrader",
 
        shortCircuitInRain = true,
 
        basePowerConsumption = 200,
 
 
       },
 
       },
      {
+
    },
        _ = {
+
    building = {
          Class = "CompProperties_Flickable",
+
      buildingTags = {
        },
+
        "Production",
 
       },
 
       },
 +
    },
 +
  },
 +
 +
  ["ThingDef:TableSculpting"] = {
 +
    _ = {
 +
      ParentName = "BenchBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Production.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "TableSculpting",
 +
    label = "art bench",
 +
    description = [[A workbench equipped for creating art.]],
 +
    thingClass = "Building_WorkTable",
 +
    costList = {
 +
      Steel = 50,
 +
    },
 +
    altitudeLayer = "Building",
 +
    fillPercent = 0.5,
 +
    useHitPoints = true,
 +
    statBases = {
 +
      WorkToBuild = 2500,
 +
      MaxHitPoints = 180,
 +
      Flammability = 1.0,
 +
      Cleanliness = -5,
 +
    },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 +
    comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Facility",
+
           Class = "CompProperties_AffectedByFacilities",
 
         },
 
         },
         statOffsets = {
+
         linkableFacilities = {
           ResearchSpeedFactor = 0.1,
+
           "ToolCabinet",
 
         },
 
         },
        maxSimultaneous = 1,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:VitalsMonitor"] = {
+
   ["ThingDef:TableButcher"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "VitalsMonitor",
+
     defName = "TableButcher",
     label = "vitals monitor",
+
     label = "butcher table",
     description = [[Increases medical tend quality, surgery success chance, and immunity gain speed when placed directly adjacent to a hospital bed. Only works for hospital beds - normal beds will not benefit. Attaching more than one vitals monitor to the same bed will have no effect.]],
+
     description = [[A heavy table for butchering dead creatures into pieces of raw meat.]],
     researchPrerequisites = {
+
     thingClass = "Building_WorkTable",
       "VitalsMonitor",
+
    costList = {
 +
       WoodLog = 20,
 
     },
 
     },
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "PassThroughOnly",
+
     fillPercent = 0.5,
     fillPercent = 0.2,
+
     useHitPoints = true,
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 100,
+
       WorkToBuild = 2000,
       WorkToBuild = 6000,
+
       MaxHitPoints = 180,
       Mass = 20,
+
       Flammability = 1.0,
       Flammability = 0.7,
+
       Cleanliness = -15,
    },
 
    size = {1, 1},
 
    costList = {
 
      Steel = 50,
 
       ComponentIndustrial = 3,
 
    },
 
    minifiedDef = "MinifiedThing",
 
    thingCategories = {
 
      "BuildingsMisc",
 
 
     },
 
     },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_AffectedByFacilities",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         linkableFacilities = {
        shortCircuitInRain = true,
+
           "ToolCabinet",
        basePowerConsumption = 80,
 
      },
 
      {
 
        _ = {
 
           Class = "CompProperties_Flickable",
 
 
         },
 
         },
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Facility",
 
        },
 
        statOffsets = {
 
          MedicalTendQualityOffset = 0.07,
 
          ImmunityGainSpeedFactor = 0.02,
 
          SurgerySuccessChanceFactor = 0.05,
 
        },
 
        maxSimultaneous = 1,
 
        mustBePlacedAdjacent = true,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ToolCabinet"] = {
+
   ["ThingDef:HandTailoringBench"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ToolCabinet",
+
     defName = "HandTailoringBench",
     label = "tool cabinet",
+
     label = "hand tailor bench",
     description = [[Increases work speed when placed near a workbench. One workbench use to up to two tool cabinets.]],
+
     description = [[A workbench for tailoring clothes by hand. Works at 50% of the speed of an electric tailoring bench.]],
 +
    thingClass = "Building_WorkTable",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
    passability = "PassThroughOnly",
 
 
     fillPercent = 0.5,
 
     fillPercent = 0.5,
     pathCost = 42,
+
     useHitPoints = true,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       WorkToBuild = 2000,
       WorkToBuild = 1800,
+
       MaxHitPoints = 180,
       Mass = 20,
+
       Flammability = 1.0,
       Flammability = 0.5,
+
       WorkTableWorkSpeedFactor = 0.5,
    },
 
    size = {2, 1},
 
    costList = {
 
      Steel = 200,
 
    },
 
    researchPrerequisites = {
 
      "ComplexFurniture",
 
    },
 
    minifiedDef = "MinifiedThing",
 
    thingCategories = {
 
      "BuildingsMisc",
 
 
     },
 
     },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Facility",
+
           Class = "CompProperties_AffectedByFacilities",
 
         },
 
         },
         statOffsets = {
+
         linkableFacilities = {
           WorkTableWorkSpeedFactor = 0.06,
+
           "ToolCabinet",
 
         },
 
         },
        maxSimultaneous = 2,
 
 
       },
 
       },
 +
    },
 +
    researchPrerequisites = {
 +
      "ComplexClothing",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Grave"] = {
+
   ["ThingDef:ElectricTailoringBench"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Grave",
+
     defName = "ElectricTailoringBench",
     label = "grave",
+
     label = "electric tailor bench",
     description = [[A decent final resting place. Colonists will visit full graves to gain meditative joy.]],
+
     description = [[A workbench with a sewing machine for rapid tailoring of clothes. Can work without electricity at 50% of normal speed.]],
     thingClass = "Building_Grave",
+
     thingClass = "Building_WorkTable",
     altitudeLayer = "FloorEmplacement",
+
    costList = {
     useHitPoints = false,
+
      Steel = 50,
     size = {1, 2},
+
      ComponentIndustrial = 2,
 +
    },
 +
     altitudeLayer = "Building",
 +
     fillPercent = 0.5,
 +
     useHitPoints = true,
 
     statBases = {
 
     statBases = {
       WorkToBuild = 800,
+
       WorkToBuild = 2500,
       MeditationFocusStrength = 0.06,
+
       MaxHitPoints = 180,
 +
      Flammability = 1.0,
 
     },
 
     },
     passability = "Standable",
+
    size = {3, 1},
     building = {
+
     passability = "PassThroughOnly",
      isInert = true,
+
     pathCost = 50,
      preventDeteriorationInside = true,
+
    hasInteractionCell = true,
      artificialForMeditationPurposes = false,
+
    comps = {
       fixedStorageSettings = {
+
       {
         filter = {
+
         _ = {
           categories = {
+
           Class = "CompProperties_Power",
            "Corpses",
 
          },
 
 
         },
 
         },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 120,
 
       },
 
       },
       defaultStorageSettings = {
+
       {
         priority = "Important",
+
         _ = {
        filter = {
+
           Class = "CompProperties_Flickable",
           categories = {
 
            "CorpsesHumanlike",
 
          },
 
 
         },
 
         },
 
       },
 
       },
    },
 
    terrainAffordanceNeeded = "Diggable",
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AssignableToPawn",
+
           Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "ToolCabinet",
 
         },
 
         },
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Grave",
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_MeditationFocus",
+
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
        statDef = "MeditationFocusStrength",
+
      },
        focusTypes = {
+
    },
          "Morbid",
+
    researchPrerequisites = {
        },
+
      "ComplexClothing",
        offsets = {
+
      "Electricity",
          {
+
    },
            _ = {
+
  },
              Class = "FocusStrengthOffset_GraveFull",
+
 
            },
+
  ["ThingDef:FueledSmithy"] = {
            offset = 0.10,
+
    _ = {
          },
+
      ParentName = "BenchBase",
          {
+
      DefCategory = "ThingDef",
            _ = {
+
      FileName = "Buildings_Production.xml",
              Class = "FocusStrengthOffset_GraveCorpseRelationship",
+
      GameVersion = "1.2.2753",
            },
+
      DLC = "Core",
            offset = 0.10,
 
          },
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_NearbyGraves",
 
            },
 
            defs = {
 
              "Grave",
 
              "Sarcophagus",
 
            },
 
            offsetPerBuilding = 0.01,
 
            radius = 9.9,
 
            maxBuildings = 4,
 
            focusPerFullGrave = 0.01,
 
            explanationKey = "MeditationFocusPerGrave",
 
            explanationKeyAbstract = "MeditationFocusPerGraveAbstract",
 
          },
 
        },
 
      },
 
 
     },
 
     },
  },
+
     defName = "FueledSmithy",
 
+
    label = "fueled smithy",
  ["ThingDef:Sarcophagus"] = {
+
    description = [[A wood-fueled station for smithing non-mechanical weapons and tools.]],
     _ = {
+
    thingClass = "Building_WorkTable",
      ParentName = "BuildingBase",
+
    costList = {
      DefCategory = "ThingDef",
+
       Steel = 100,
      FileName = "Buildings_Misc.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "Sarcophagus",
+
     altitudeLayer = "Building",
    label = "sarcophagus",
 
    description = [[An ornamented burial receptacle for the honored dead.]],
 
    thingClass = "Building_Sarcophagus",
 
    size = {1, 2},
 
    pathCost = 42,
 
 
     fillPercent = 0.5,
 
     fillPercent = 0.5,
     building = {
+
     useHitPoints = true,
      preventDeteriorationInside = true,
 
      fixedStorageSettings = {
 
        filter = {
 
          categories = {
 
            "Corpses",
 
          },
 
        },
 
      },
 
      defaultStorageSettings = {
 
        priority = "Important",
 
        filter = {
 
          categories = {
 
            "CorpsesHumanlike",
 
          },
 
          specialFiltersToDisallow = {
 
            "AllowCorpsesStranger",
 
          },
 
        },
 
      },
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 2400,
+
       WorkToBuild = 3000,
       MaxHitPoints = 250,
+
       MaxHitPoints = 180,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       MeditationFocusStrength = 0.10,
+
       Cleanliness = -3,
      Beauty = 0,
 
    },
 
    stuffCategories = {
 
      "Woody",
 
      "Metallic",
 
      "Stony",
 
 
     },
 
     },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 
     comps = {
 
     comps = {
      {
 
        compClass = "CompQuality",
 
      },
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Art",
+
           Class = "CompProperties_Refuelable",
 +
        },
 +
        fuelConsumptionRate = 80.0,
 +
        fuelCapacity = 50.0,
 +
        fuelFilter = {
 +
          thingDefs = {
 +
            "WoodLog",
 +
          },
 
         },
 
         },
         nameMaker = "NamerArtSarcophagusPlate",
+
         consumeFuelOnlyWhenUsed = true,
         descriptionMaker = "ArtDescription_SarcophagusPlate",
+
         showAllowAutoRefuelToggle = true,
        mustBeFullGrave = true,
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AssignableToPawn",
+
           Class = "CompProperties_AffectedByFacilities",
         },
+
         },
         drawAssignmentOverlay = false,
+
         linkableFacilities = {
        compClass = "CompAssignableToPawn_Grave",
+
           "ToolCabinet",
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_MeditationFocus",
 
        },
 
        statDef = "MeditationFocusStrength",
 
        focusTypes = {
 
           "Morbid",
 
        },
 
        offsets = {
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_GraveFull",
 
            },
 
            offset = 0.10,
 
          },
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_GraveCorpseRelationship",
 
            },
 
            offset = 0.10,
 
          },
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_NearbyGraves",
 
            },
 
            defs = {
 
              "Grave",
 
              "Sarcophagus",
 
            },
 
            offsetPerBuilding = 0.01,
 
            radius = 9.9,
 
            maxBuildings = 4,
 
            focusPerFullGrave = 0.01,
 
            explanationKey = "MeditationFocusPerGrave",
 
            explanationKeyAbstract = "MeditationFocusPerGraveAbstract",
 
          },
 
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
    costStuffCount = 60,
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    terrainAffordanceNeeded = "Light",
 
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "ComplexFurniture",
+
       "Smithing",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:CryptosleepCasket"] = {
+
   ["ThingDef:ElectricSmithy"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "CryptosleepCasket",
+
     defName = "ElectricSmithy",
     label = "cryptosleep casket",
+
     label = "electric smithy",
     description = [[A self-powered sarcophagus designed to keep a person in a state of suspended animation for many years.]],
+
     description = [[An electric-powered station for smithing non-mechanical weapons and tools.]],
     thingClass = "Building_CryptosleepCasket",
+
     thingClass = "Building_WorkTable",
     researchPrerequisites = {
+
     costList = {
       "Cryptosleep",
+
       Steel = 100,
 +
      ComponentIndustrial = 3,
 
     },
 
     },
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
    passability = "PassThroughOnly",
 
    pathCost = 42,
 
 
     fillPercent = 0.5,
 
     fillPercent = 0.5,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       WorkToBuild = 3200,
+
       WorkToBuild = 3000,
       MaxHitPoints = 250,
+
       MaxHitPoints = 180,
       Flammability = 0.5,
+
       Flammability = 1.0,
 +
      Cleanliness = -3,
 
     },
 
     },
     size = {1, 2},
+
     size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 
     hasInteractionCell = true,
 
     hasInteractionCell = true,
    costList = {
 
      Steel = 180,
 
      Uranium = 5,
 
      ComponentIndustrial = 4,
 
      ComponentSpacer = 1,
 
    },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 210,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 
         },
 
         },
        explosiveRadius = 2.66,
 
        explosiveDamageType = "Flame",
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_EmptyStateGraphic",
+
           Class = "CompProperties_AffectedByFacilities",
 
         },
 
         },
         graphicData = {
+
         linkableFacilities = {
           texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor",
+
           "ToolCabinet",
          graphicClass = "Graphic_Multi",
 
          drawSize = {1, 2},
 
 
         },
 
         },
 
       },
 
       },
     },
+
      {
     terrainAffordanceNeeded = "Medium",
+
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 +
        },
 +
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 4,
 +
      },
 +
     },
 +
     researchPrerequisites = {
 +
      "Smithing",
 +
      "Electricity",
 +
    },
 
   },
 
   },
  
   ["ThingDef:AncientCryptosleepCasket"] = {
+
   ["ThingDef:TableMachining"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AncientCryptosleepCasket",
+
     defName = "TableMachining",
     label = "ancient cryptosleep casket",
+
     label = "machining table",
     description = [[This cryptosleep casket looks like it has been here for a very long time. Who knows what it might contain?]],
+
     description = [[A work station for assembling machinery like guns and ammunition, or breaking down dead mechanoids.]],
     thingClass = "Building_AncientCryptosleepCasket",
+
     thingClass = "Building_WorkTable",
 +
    costList = {
 +
      Steel = 150,
 +
      ComponentIndustrial = 5,
 +
    },
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
    passability = "PassThroughOnly",
 
    pathCost = 42,
 
 
     fillPercent = 0.5,
 
     fillPercent = 0.5,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 250,
+
      WorkToBuild = 3000,
 +
       MaxHitPoints = 180,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
 +
      Cleanliness = -2,
 
     },
 
     },
     size = {1, 2},
+
     size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 
     hasInteractionCell = true,
 
     hasInteractionCell = true,
    costList = {
 
      Steel = 180,
 
      Uranium = 5,
 
    },
 
    killedLeavings = {
 
      ChunkSlagSteel = 1,
 
      Steel = 25,
 
      Uranium = 3,
 
    },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 350,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Glower",
 
         },
 
         },
         explosiveRadius = 2.66,
+
         glowRadius = 5,
         explosiveDamageType = "Flame",
+
         glowColor = {73, 123, 138, 0},
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_EmptyStateGraphic",
+
           Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "ToolCabinet",
 
         },
 
         },
         graphicData = {
+
      },
           texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor",
+
      {
          graphicClass = "Graphic_Multi",
+
         _ = {
          drawSize = {1, 2},
+
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     researchPrerequisites = {
     terrainAffordanceNeeded = "Medium",
+
      "Machining",
 +
     },
 
   },
 
   },
  
   ["ThingDef:MarriageSpot"] = {
+
   ["ThingDef:ElectricStove"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MarriageSpot",
+
     defName = "ElectricStove",
     label = "marriage spot",
+
     label = "electric stove",
     description = [[Designates a spot where marriage ceremonies will take place. Spectators can watch from either side.]],
+
     description = [[An electrically-powered stove with an attached countertop for preparing meals.]],
     thingClass = "Building_MarriageSpot",
+
     thingClass = "Building_WorkTable_HeatPush",
     altitudeLayer = "FloorEmplacement",
+
    costList = {
 +
      Steel = 80,
 +
      ComponentIndustrial = 2,
 +
    },
 +
     altitudeLayer = "Building",
 +
    fillPercent = 0.5,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       WorkToBuild = 0,
+
       WorkToBuild = 2000,
 +
      MaxHitPoints = 180,
 +
      Flammability = 1.0,
 +
    },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        shortCircuitInRain = true,
 +
        basePowerConsumption = 350,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 +
        },
 +
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 3,
 +
      },
 
     },
 
     },
    useHitPoints = false,
 
    size = {2, 1},
 
    passability = "Standable",
 
 
     building = {
 
     building = {
       sowTag = "SupportPlantsOnly",
+
       isMealSource = true,
       artificialForMeditationPurposes = false,
+
       heatPerTickWhileWorking = 0.10,
 +
    },
 +
    researchPrerequisites = {
 +
      "Electricity",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PartySpot"] = {
+
   ["ThingDef:FueledStove"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PartySpot",
+
     defName = "FueledStove",
     label = "party spot",
+
     label = "fueled stove",
     description = [[Designates a spot for throwing parties.]],
+
     description = [[A wood-fueled stove with an attached countertop for preparing meals.]],
     altitudeLayer = "FloorEmplacement",
+
     thingClass = "Building_WorkTable_HeatPush",
     statBases = {
+
     costList = {
       WorkToBuild = 0,
+
       Steel = 80,
 
     },
 
     },
     useHitPoints = false,
+
     altitudeLayer = "Building",
    passability = "Standable",
+
     fillPercent = 0.5,
    building = {
+
     useHitPoints = true,
      sowTag = "SupportPlantsOnly",
 
      artificialForMeditationPurposes = false,
 
    },
 
  },
 
 
 
  ["ThingDef:CaravanPackingSpot"] = {
 
    _ = {
 
      ParentName = "BuildingBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Misc.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
     },
 
    defName = "CaravanPackingSpot",
 
    label = "caravan packing spot",
 
    description = [[Designates a spot for forming caravans. Put this near your stockpiles to speed up the caravan loading process.]],
 
     altitudeLayer = "FloorEmplacement",
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 0,
+
       WorkToBuild = 2000,
    },
+
       MaxHitPoints = 180,
    useHitPoints = false,
+
       Flammability = 1.0,
    passability = "Standable",
 
    building = {
 
       sowTag = "SupportPlantsOnly",
 
       artificialForMeditationPurposes = false,
 
    },
 
  },
 
 
 
  ["ThingDef:SteleBase"] = {
 
    _ = {
 
      Name = "SteleBase",
 
      ParentName = "BuildingBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Misc.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.50,
 
    stuffCategories = {
 
      "Stony",
 
    },
 
    pathCost = 50,
 
    researchPrerequisites = {
 
      "ComplexFurniture",
 
 
     },
 
     },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Art",
+
           Class = "CompProperties_Refuelable",
 +
        },
 +
        fuelConsumptionRate = 160.0,
 +
        fuelCapacity = 50.0,
 +
        fuelFilter = {
 +
          thingDefs = {
 +
            "WoodLog",
 +
          },
 +
        },
 +
        consumeFuelOnlyWhenUsed = true,
 +
        showAllowAutoRefuelToggle = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 
         },
 
         },
         nameMaker = "NamerArtFurniture",
+
         compClass = "CompHeatPusherPowered",
         descriptionMaker = "ArtDescription_Furniture",
+
         heatPerSecond = 4,
        minQualityForArtistic = "Awful",
 
 
       },
 
       },
 +
    },
 +
    building = {
 +
      isMealSource = true,
 +
      heatPerTickWhileWorking = 0.10,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SteleLarge"] = {
+
   ["ThingDef:TableStonecutter"] = {
 
     _ = {
 
     _ = {
       ParentName = "SteleBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SteleLarge",
+
     defName = "TableStonecutter",
     label = "large stele",
+
     label = "stonecutter's table",
     description = [[A tall, thick slab with engravings on the sides. Steles have been used since ancient times to memorialize individuals, battles, and other important events.]],
+
     description = [[A work table with saws and chisels for cutting stone chunks into usable blocks.]],
     size = {2, 2},
+
     thingClass = "Building_WorkTable_HeatPush",
 +
    costList = {
 +
      Steel = 30,
 +
    },
 +
    altitudeLayer = "Building",
 +
    fillPercent = 0.5,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 200,
+
       WorkToBuild = 2000,
       WorkToBuild = 8000,
+
       MaxHitPoints = 180,
       Beauty = 15,
+
       Flammability = 1.0,
       MeditationFocusStrength = 0.15,
+
       Cleanliness = -5,
 
     },
 
     },
     costStuffCount = 125,
+
     size = {3, 1},
     terrainAffordanceNeeded = "Medium",
+
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 +
     terrainAffordanceNeeded = "Heavy",
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_MeditationFocus",
+
           Class = "CompProperties_AffectedByFacilities",
 
         },
 
         },
         statDef = "MeditationFocusStrength",
+
         linkableFacilities = {
        focusTypes = {
+
           "ToolCabinet",
           "Artistic",
 
 
         },
 
         },
 
       },
 
       },
 +
    },
 +
    researchPrerequisites = {
 +
      "Stonecutting",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SteleGrand"] = {
+
   ["ThingDef:Brewery"] = {
 
     _ = {
 
     _ = {
       ParentName = "SteleBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Misc.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SteleGrand",
+
     defName = "Brewery",
     label = "grand stele",
+
     label = "brewery",
     description = [[A towering slab with extensive engravings on the sides. Steles have been used since ancient times to memorialize individuals, battles, and other important events.]],
+
     description = [[A work station with all the equipment needed to mix wort for beer production. Wort must be fermented to finally become beer.]],
     size = {3, 3},
+
     thingClass = "Building_WorkTable",
 +
    costList = {
 +
      WoodLog = 120,
 +
      Steel = 30,
 +
    },
 +
    altitudeLayer = "Building",
 +
    fillPercent = 0.5,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 400,
+
       WorkToBuild = 2000,
       WorkToBuild = 16000,
+
       MaxHitPoints = 180,
       Beauty = 30,
+
       Flammability = 1.0,
       MeditationFocusStrength = 0.18,
 
 
     },
 
     },
     costStuffCount = 250,
+
     size = {3, 1},
     terrainAffordanceNeeded = "Heavy",
+
     passability = "PassThroughOnly",
     comps = {
+
     pathCost = 50,
      {
+
    hasInteractionCell = true,
        _ = {
+
    researchPrerequisites = {
          Class = "CompProperties_MeditationFocus",
+
      "Brewing",
        },
 
        statDef = "MeditationFocusStrength",
 
        focusTypes = {
 
          "Artistic",
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BuildingNaturalBase"] = {
+
   ["ThingDef:DrugLab"] = {
 
     _ = {
 
     _ = {
       Name = "BuildingNaturalBase",
+
       ParentName = "BenchBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     category = "Building",
+
     defName = "DrugLab",
     building = {
+
     label = "drug lab",
       artificialForMeditationPurposes = false,
+
    description = [[A work bench equipped with containers, heaters, and measurement devices for producing various drugs.]],
 +
    thingClass = "Building_WorkTable",
 +
    costList = {
 +
       Steel = 75,
 +
      ComponentIndustrial = 6,
 
     },
 
     },
  },
 
 
  ["ThingDef:RockBase"] = {
 
    _ = {
 
      Name = "RockBase",
 
      ParentName = "BuildingNaturalBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Natural.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    thingClass = "Mineable",
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "Impassable",
+
     fillPercent = 0.5,
     fillPercent = 1,
+
     useHitPoints = true,
 
     statBases = {
 
     statBases = {
       Flammability = 0,
+
      WorkToBuild = 3500,
 +
      MaxHitPoints = 120,
 +
       Flammability = 1.0,
 +
    },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "ToolCabinet",
 +
        },
 +
      },
 
     },
 
     },
     building = {
+
     researchPrerequisites = {
       isInert = true,
+
       "DrugProduction",
      isNaturalRock = true,
 
      deconstructible = false,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:CollapsedRocks"] = {
+
   ["ThingDef:ElectricSmelter"] = {
 
     _ = {
 
     _ = {
       ParentName = "RockBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "CollapsedRocks",
+
     defName = "ElectricSmelter",
     label = "collapsed rocks",
+
     label = "electric smelter",
     description = [[Collapsed rocks, packed tightly enough to hold up a roof.]],
+
     description = [[Extracts usable metal from slag chunks and other mixed metal items. Consumes a lot of power.]],
 +
    thingClass = "Building_WorkTable_HeatPush",
 +
    costList = {
 +
      Steel = 170,
 +
      ComponentIndustrial = 2,
 +
    },
 +
    altitudeLayer = "Building",
 +
    fillPercent = 0.5,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 500,
+
      WorkToBuild = 3500,
 +
       MaxHitPoints = 180,
 +
      Flammability = 1.0,
 +
    },
 +
    size = {3, 1},
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    hasInteractionCell = true,
 +
    terrainAffordanceNeeded = "Heavy",
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 700,
 +
        shortCircuitInRain = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Glower",
 +
        },
 +
        glowRadius = 6,
 +
        glowColor = {217, 112, 33, 0},
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_HeatPusher",
 +
        },
 +
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 9,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 +
      },
 
     },
 
     },
 
     building = {
 
     building = {
       isNaturalRock = false,
+
       heatPerTickWhileWorking = 0.32,
 +
    },
 +
    researchPrerequisites = {
 +
      "Electricity",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MineableSteel"] = {
+
   ["ThingDef:BiofuelRefinery"] = {
 
     _ = {
 
     _ = {
       ParentName = "RockBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MineableSteel",
+
     defName = "BiofuelRefinery",
     label = "compacted steel",
+
     label = "biofuel refinery",
     description = [[The remains of some ancient, collapsed structure. Rich in steel.]],
+
     description = [[Refines biological matter like wood or plant matter into chemfuel.]],
 +
    thingClass = "Building_WorkTable",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 1500,
+
       MaxHitPoints = 200,
 +
      WorkToBuild = 2000,
 +
      Flammability = 1.0,
 
     },
 
     },
     building = {
+
     minifiedDef = {},
       isResourceRock = true,
+
    thingCategories = {
      mineableThing = "Steel",
+
       _ = {
       mineableYield = 40,
+
        Inherit = false,
 +
       },
 
     },
 
     },
  },
+
     size = {3, 2},
 
+
    costList = {
  ["ThingDef:MineableSilver"] = {
+
       Steel = 150,
     _ = {
+
       ComponentIndustrial = 3,
      ParentName = "RockBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Natural.xml",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "MineableSilver",
+
     comps = {
    label = "silver ore",
+
      {
    description = [[Rock containing bits of silver.]],
+
        _ = {
    statBases = {
+
          Class = "CompProperties_Power",
       MaxHitPoints = 1500,
+
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 170,
 +
        shortCircuitInRain = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
       },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 +
      },
 
     },
 
     },
     building = {
+
     fillPercent = 0.5,
      isResourceRock = true,
+
    hasInteractionCell = true,
      mineableThing = "Silver",
+
    terrainAffordanceNeeded = "Heavy",
       mineableYield = 40,
+
    researchPrerequisites = {
 +
       "BiofuelRefining",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MineableGold"] = {
+
   ["ThingDef:FabricationBench"] = {
 
     _ = {
 
     _ = {
       ParentName = "RockBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MineableGold",
+
     defName = "FabricationBench",
     label = "gold ore",
+
     label = "fabrication bench",
     description = [[Rock containing bits of gold.]],
+
     description = [[A workbench equipped with advanced tools for producing technological marvels from simpler materials.]],
 +
    thingClass = "Building_WorkTable",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 1500,
+
       MaxHitPoints = 300,
 +
      WorkToBuild = 5000,
 +
      Flammability = 1.0,
 +
    },
 +
    minifiedDef = {},
 +
    thingCategories = {
 +
      _ = {
 +
        Inherit = false,
 +
      },
 +
    },
 +
    size = {5, 2},
 +
    costList = {
 +
      Steel = 200,
 +
      ComponentIndustrial = 12,
 +
      ComponentSpacer = 2,
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "ToolCabinet",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 250,
 +
        shortCircuitInRain = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 +
      },
 
     },
 
     },
     building = {
+
     fillPercent = 0.5,
      isResourceRock = true,
+
    hasInteractionCell = true,
      mineableThing = "Gold",
+
    terrainAffordanceNeeded = "Heavy",
       mineableYield = 40,
+
    researchPrerequisites = {
 +
       "Fabrication",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MineableUranium"] = {
+
   ["ThingDef:SimpleResearchBench"] = {
 
     _ = {
 
     _ = {
       ParentName = "RockBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MineableUranium",
+
     defName = "SimpleResearchBench",
     label = "uranium ore",
+
     label = "simple research bench",
     description = [[Rock containing bits of uranium.]],
+
     description = [[A simple bench with writing implements and simple measurement devices. Researchers work here to discover new things.]],
 +
    thingClass = "Building_ResearchBench",
 +
    size = {3, 2},
 +
    costList = {
 +
      Steel = 25,
 +
    },
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 4000,
+
       MaxHitPoints = 250,
    },
+
       WorkToBuild = 2800,
    building = {
+
       Flammability = 1.0,
       isResourceRock = true,
+
       ResearchSpeedFactor = 0.75,
       mineableThing = "Uranium",
 
       mineableYield = 40,
 
 
     },
 
     },
 +
    fillPercent = 0.5,
 +
    hasInteractionCell = true,
 
   },
 
   },
  
   ["ThingDef:MineablePlasteel"] = {
+
   ["ThingDef:HiTechResearchBench"] = {
 
     _ = {
 
     _ = {
       ParentName = "RockBase",
+
       ParentName = "BenchBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MineablePlasteel",
+
     defName = "HiTechResearchBench",
     label = "compacted plasteel",
+
     label = "hi-tech research bench",
     description = [[Ancient compacted rubble rich in plasteel.]],
+
     description = [[A high-tech bench with computers and electronic measurement equipment. Allows more rapid research, and unlocks advanced research projects.]],
 +
    thingClass = "Building_ResearchBench",
 +
    size = {5, 2},
 +
    minifiedDef = {},
 +
    thingCategories = {
 +
      _ = {
 +
        Inherit = false,
 +
      },
 +
    },
 +
    costList = {
 +
      Steel = 100,
 +
      ComponentIndustrial = 10,
 +
    },
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 8000,
+
       MaxHitPoints = 250,
 +
      WorkToBuild = 5000,
 +
      Flammability = 1.0,
 +
      ResearchSpeedFactor = 1.0,
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 250,
 +
        shortCircuitInRain = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_AffectedByFacilities",
 +
        },
 +
        linkableFacilities = {
 +
          "MultiAnalyzer",
 +
        },
 +
      },
 
     },
 
     },
     building = {
+
     fillPercent = 0.5,
      isResourceRock = true,
+
    hasInteractionCell = true,
      mineableThing = "Plasteel",
+
    terrainAffordanceNeeded = "Heavy",
       mineableYield = 40,
+
    researchPrerequisites = {
 +
       "MicroelectronicsBasics",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MineableJade"] = {
+
   ["ThingDef:ElectricCrematorium"] = {
 
     _ = {
 
     _ = {
       ParentName = "RockBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MineableJade",
+
     defName = "ElectricCrematorium",
     label = "jade",
+
     label = "electric crematorium",
     description = [[Rock containing bits of jade.]],
+
     description = [[A huge stone crematorium which vaporizes corpses with extremely high temperatures.]],
     statBases = {
+
     thingClass = "Building_WorkTable_HeatPush",
      MaxHitPoints = 1500,
+
     costList = {
    },
+
       Steel = 20,
    building = {
+
       ComponentIndustrial = 2,
      isResourceRock = true,
 
      mineableThing = "Jade",
 
      mineableYield = 40,
 
    },
 
  },
 
 
 
  ["ThingDef:MineableComponentsIndustrial"] = {
 
    _ = {
 
      ParentName = "RockBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Natural.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "MineableComponentsIndustrial",
 
    label = "compacted machinery",
 
     description = [[Ancient machinery, compacted over time. Can be mined for useful components.]],
 
    statBases = {
 
       MaxHitPoints = 2000,
 
    },
 
    building = {
 
      isResourceRock = true,
 
       mineableThing = "ComponentIndustrial",
 
      mineableYield = 2,
 
    },
 
  },
 
 
 
  ["ThingDef:SteamGeyser"] = {
 
    _ = {
 
      ParentName = "BuildingNaturalBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Natural.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
    defName = "SteamGeyser",
 
    label = "steam geyser",
 
    description = [[A natural source of high-pressure steam. Geothermal generators can harness the steam power. Rooms built over this will rapidly cook.]],
 
    thingClass = "Building_SteamGeyser",
 
    altitudeLayer = "Floor",
 
    useHitPoints = false,
 
    size = {2, 2},
 
    building = {
 
      isEdifice = false,
 
      deconstructible = false,
 
    },
 
  },
 
 
  ["ThingDef:Hive"] = {
 
    _ = {
 
      ParentName = "BuildingNaturalBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Natural.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Hive",
 
    label = "hive",
 
    description = [[A hive of giant insects. If activated, it will spawn additional insects and hives over time, as well as valuable insect jelly.]],
 
    thingClass = "Hive",
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     fillPercent = 0.5,
+
     useHitPoints = true,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 130,
+
       WorkToBuild = 4500,
       Flammability = 1.0,
+
       MaxHitPoints = 300,
    },
+
      Cleanliness = -20,
    pathCost = 42,
+
       Beauty = -10,
    passability = "PassThroughOnly",
 
    killedLeavings = {
 
       InsectJelly = 30,
 
 
     },
 
     },
 +
    size = {3, 2},
 +
    fillPercent = 1,
 +
    passability = "Impassable",
 +
    hasInteractionCell = true,
 +
    terrainAffordanceNeeded = "Heavy",
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_CanBeDormant",
+
           Class = "CompProperties_Power",
 
         },
 
         },
         startsDormant = true,
+
         compClass = "CompPowerTrader",
         canWakeUpFogged = false,
+
        basePowerConsumption = 250,
 +
         shortCircuitInRain = true,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_WakeUpDormant",
+
           Class = "CompProperties_Flickable",
 
         },
 
         },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_SpawnerPawn",
+
           Class = "CompProperties_Glower",
 
         },
 
         },
         spawnablePawnKinds = {
+
         glowRadius = 6,
          "Megascarab",
+
         glowColor = {217, 112, 33, 0},
          "Spelopede",
+
       },
          "Megaspider",
+
       {
         },
 
        lordJob = "LordJob_DefendAndExpandHive",
 
        spawnSound = "Hive_Spawn",
 
        initialPawnsPoints = 200,
 
        maxSpawnedPawnsPoints = 500,
 
       },
 
       {
 
 
         _ = {
 
         _ = {
           Class = "CompProperties_SelfhealHitpoints",
+
           Class = "CompProperties_HeatPusher",
 
         },
 
         },
         ticksPerHeal = 6000,
+
         compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 12,
 
       },
 
       },
      {
+
    },
        _ = {
+
    building = {
          Class = "CompProperties_SpawnerHives",
+
      heatPerTickWhileWorking = 0.32,
         },
+
      buildingTags = {
 +
         "Production",
 
       },
 
       },
       {
+
    },
        _ = {
+
    researchPrerequisites = {
          Class = "CompProperties_Spawner",
+
       "Electricity",
        },
+
    },
        thingToSpawn = "InsectJelly",
+
  },
        spawnCount = 20,
+
 
        spawnIntervalRange = { ["<"]=26000, [">"]=30000 },
+
  ["ThingDef:HydroponicsBasin"] = {
        spawnMaxAdjacent = 40,
+
    _ = {
        spawnForbidden = true,
+
      ParentName = "BuildingBase",
         saveKeysPrefix = "jelly",
+
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Production.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "HydroponicsBasin",
 +
    label = "hydroponics basin",
 +
    description = [[An artificial nutrient bath for growing plants. The nutrients pumps must work continuously; the plants will die if power is cut.]],
 +
    thingClass = "Building_PlantGrower",
 +
    altitudeLayer = "LowPlant",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 30,
 +
    fillPercent = 0.30,
 +
    statBases = {
 +
      WorkToBuild = 2800,
 +
      MaxHitPoints = 180,
 +
      Flammability = 0.5,
 +
      Cleanliness = -3,
 +
    },
 +
    size = {1, 4},
 +
    costList = {
 +
      Steel = 100,
 +
      ComponentIndustrial = 1,
 +
    },
 +
    building = {
 +
      defaultPlantToGrow = "Plant_Rice",
 +
      sowTag = "Hydroponic",
 +
      buildingTags = {
 +
         "Production",
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Spawner",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
        thingToSpawn = "GlowPod",
 
        spawnCount = 1,
 
        spawnIntervalRange = { ["<"]=30000, [">"]=60000 },
 
        spawnMaxAdjacent = 1,
 
        saveKeysPrefix = "pod",
 
        inheritFaction = true,
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_HeatPusher",
+
           Class = "CompProperties_Power",
 
         },
 
         },
         heatPerSecond = 6,
+
         compClass = "CompPowerTrader",
         heatPushMaxTemperature = 38,
+
         basePowerConsumption = 70,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_SpawnerFilth",
+
           Class = "CompProperties_Flickable",
 
         },
 
         },
        filthDef = "Filth_Slime",
 
        spawnCountOnSpawn = 10,
 
        spawnMtbHours = 4,
 
        spawnRadius = 5,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Maintainable",
 
        },
 
        ticksHealthy = 60000,
 
        ticksNeedsMaintenance = 60000,
 
        damagePerTickRare = 10,
 
 
       },
 
       },
 
     },
 
     },
   },
+
    researchPrerequisites = {
 +
      "Hydroponics",
 +
    },
 +
    terrainAffordanceNeeded = "Medium",
 +
   },
  
   ["ThingDef:GlowPod"] = {
+
   ["ThingDef:FermentingBarrel"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingNaturalBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GlowPod",
+
     defName = "FermentingBarrel",
     label = "glow pod",
+
     label = "fermenting barrel",
     description = [[A bioluminescent pod produced by giant insects. Glows under its own light for a long time, then dies.]],
+
     description = [[A barrel for fermenting raw wort into beer.]],
     thingClass = "Building",
+
     thingClass = "Building_FermentingBarrel",
 
     minifiedDef = "MinifiedThing",
 
     minifiedDef = "MinifiedThing",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     fillPercent = 0.20,
+
     fillPercent = 0.45,
     leaveResourcesWhenKilled = false,
+
     pathCost = 42,
 
     thingCategories = {
 
     thingCategories = {
       "BuildingsSpecial",
+
       "BuildingsProduction",
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 50,
+
       WorkToBuild = 600,
       Mass = 4,
+
       Mass = 10,
 +
      MaxHitPoints = 100,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       MarketValue = 50,
+
    },
 +
    costList = {
 +
      Steel = 10,
 +
       WoodLog = 30,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Glower",
+
           Class = "CompProperties_TemperatureRuinable",
 
         },
 
         },
         glowRadius = 6,
+
         minSafeTemperature = -1,
         glowColor = {113, 141, 117, 0},
+
         maxSafeTemperature = 32,
 +
        progressPerDegreePerTick = 0.00001,
 
       },
 
       },
      {
+
    },
        _ = {
+
    building = {
          Class = "CompProperties_Lifespan",
+
      buildingTags = {
        },
+
        "Production",
        lifespanTicks = 1200000,
 
 
       },
 
       },
 +
    },
 +
    researchPrerequisites = {
 +
      "Brewing",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RaisedRocks"] = {
+
   ["ThingDef:DeepDrill"] = {
 
     _ = {
 
     _ = {
       ParentName = "RockBase",
+
       ParentName = "BuildingBase",
      Name = "RaisedRocks",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Natural.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RaisedRocks",
+
     defName = "DeepDrill",
     label = "raised rocks",
+
     label = "deep drill",
     description = [[A fragile wall made of rubble. It will collapse in time.]],
+
     description = [[A deep-crust drilling rig for extracting minerals from deep under the surface. Use a ground-penetrating scanner to detect the resources. This drill will yield stone chunks if no resources are present. Can be repositioned freely.]],
     leaveResourcesWhenKilled = false,
+
     size = {1, 1},
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    fillPercent = 0.5,
 +
    hasInteractionCell = true,
 +
    terrainAffordanceNeeded = "Light",
 +
    minifiedDef = "MinifiedThing",
 
     building = {
 
     building = {
       isNaturalRock = false,
+
       buildingTags = {
 +
        "Production",
 +
      },
 +
    },
 +
    thingCategories = {
 +
      "BuildingsProduction",
 +
    },
 +
    costList = {
 +
      Steel = 100,
 +
      ComponentIndustrial = 2,
 +
    },
 +
    researchPrerequisites = {
 +
      "DeepDrilling",
 +
    },
 +
    statBases = {
 +
      MaxHitPoints = 300,
 +
      WorkToBuild = 10000,
 +
      Flammability = 0.5,
 +
      Beauty = -25,
 +
      Mass = 35,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Lifespan",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
        lifespanTicks = 10000,
 
        expireEffect = "RaisedRock_Collapse",
 
 
       },
 
       },
     },
+
      {
   },
+
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_DeepDrill",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_CreatesInfestations",
 +
        },
 +
      },
 +
     },
 +
   },
  
   ["ThingDef:PowerConduit"] = {
+
   ["ThingDef:NutrientPasteDispenser"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
      Name = "PowerConduit",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PowerConduit",
+
     defName = "NutrientPasteDispenser",
     label = "power conduit",
+
     label = "nutrient paste dispenser",
     description = [[A bundle of electrical cables for moving power around. Can be placed under walls and other buildings.]],
+
     description = [[A machine that synthesizes edible nutrient paste from organic feedstocks placed in adjacent hoppers. It consumes less ingredients and time than any other meal production method - but nobody likes eating nutrient paste. Accepts raw food, but not rough plant matter like hay.]],
     thingClass = "Building",
+
     thingClass = "Building_NutrientPasteDispenser",
     category = "Building",
+
     altitudeLayer = "Building",
    building = {
+
     passability = "Impassable",
      isInert = true,
+
     fillPercent = 1,
      isEdifice = false,
 
    },
 
    altitudeLayer = "Conduits",
 
     passability = "Standable",
 
     leaveResourcesWhenKilled = false,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 80,
+
       WorkToBuild = 2200,
       WorkToBuild = 35,
+
       MaxHitPoints = 350,
       Flammability = 0.7,
+
       Flammability = 0.5,
      Beauty = -2,
 
 
     },
 
     },
     costList = {
+
     building = {
       Steel = 1,
+
       isMealSource = true,
 +
      buildingTags = {
 +
        "Production",
 +
      },
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 7,682: Line 7,748:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTransmitter",
+
         compClass = "CompPowerTrader",
         transmitsPower = true,
+
         basePowerConsumption = 200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 
       },
 
       },
 
     },
 
     },
     terrainAffordanceNeeded = "Light",
+
    size = {3, 4},
 +
    costList = {
 +
      Steel = 90,
 +
      ComponentIndustrial = 3,
 +
    },
 +
    hasInteractionCell = true,
 +
     terrainAffordanceNeeded = "Heavy",
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "Electricity",
+
       "NutrientPaste",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WaterproofConduit"] = {
+
   ["ThingDef:Hopper"] = {
 
     _ = {
 
     _ = {
       ParentName = "PowerConduit",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Production.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WaterproofConduit",
+
     defName = "Hopper",
     label = "waterproof conduit",
+
     label = "hopper",
     description = [[Insulated electrical cables for transmitting power under shallow water.]],
+
     description = [[Holds resources for use by machines like nutrient paste dispensers.]],
     terrainAffordanceNeeded = "ShallowWater",
+
     thingClass = "Building_Storage",
     costList = {
+
    altitudeLayer = "Building",
       Steel = 10,
+
    passability = "PassThroughOnly",
 +
    fillPercent = 0.5,
 +
    pathCost = 42,
 +
    building = {
 +
      fixedStorageSettings = {
 +
        priority = "Important",
 +
        filter = {
 +
          categories = {
 +
            "FoodRaw",
 +
          },
 +
          specialFiltersToDisallow = {
 +
            "AllowPlantFood",
 +
          },
 +
        },
 +
      },
 +
      defaultStorageSettings = {
 +
        priority = "Important",
 +
        filter = {
 +
          categories = {
 +
            "FoodRaw",
 +
          },
 +
          disallowedThingDefs = {
 +
            "Meat_Human",
 +
            "Meat_Megaspider",
 +
          },
 +
        },
 +
      },
 +
      buildingTags = {
 +
        "Production",
 +
      },
 +
    },
 +
    statBases = {
 +
      WorkToBuild = 300,
 +
      MaxHitPoints = 100,
 +
      Flammability = 0.5,
 +
    },
 +
     costList = {
 +
       Steel = 15,
 +
    },
 +
    researchPrerequisites = {
 +
      "NutrientPaste",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PowerSwitch"] = {
+
   ["ThingDef:Sandbags"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PowerSwitch",
+
     defName = "Sandbags",
     label = "power switch",
+
     label = "sandbags",
     description = [[Switches power on/off.]],
+
     description = [[Bags of locally-sourced dirt or sand, stacked for use as cover. Sandbags are ugly, but provide better cover than other low objects.]],
     thingClass = "Building_PowerSwitch",
+
     thingClass = "Building",
 
     category = "Building",
 
     category = "Building",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "Standable",
+
    pathCost = 42,
     leaveResourcesWhenKilled = false,
+
    pathCostIgnoreRepeat = true,
 +
     passability = "PassThroughOnly",
 +
     fillPercent = 0.57,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 120,
+
       MaxHitPoints = 300,
       WorkToBuild = 200,
+
       Beauty = -10,
       Flammability = 0.5,
+
       WorkToBuild = 180,
       Beauty = -2,
+
       Flammability = 0,
 
     },
 
     },
     costList = {
+
     building = {
       Steel = 15,
+
       isInert = true,
      ComponentIndustrial = 1,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Power",
 
        },
 
        compClass = "CompPowerTransmitter",
 
        transmitsPower = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
    },
 
    researchPrerequisites = {
 
      "Electricity",
 
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Light",
 
   },
 
   },
  
   ["ThingDef:WoodFiredGenerator"] = {
+
   ["ThingDef:Barricade"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WoodFiredGenerator",
+
     defName = "Barricade",
     label = "wood-fired generator",
+
     label = "barricade",
     description = [[Produces power by consuming wood. Must be periodically loaded with wood fuel by hand.]],
+
     description = [[A waist-high barrier for use as cover from incoming shots. Barricades are ugly, but provide better cover than other low objects.]],
 
     thingClass = "Building",
 
     thingClass = "Building",
 +
    category = "Building",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 +
    pathCost = 42,
 +
    pathCostIgnoreRepeat = true,
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
    pathCost = 50,
+
     fillPercent = 0.57,
     fillPercent = 1.0,
 
 
     statBases = {
 
     statBases = {
 
       MaxHitPoints = 300,
 
       MaxHitPoints = 300,
       WorkToBuild = 2500,
+
       Beauty = -3,
       Flammability = 1.0,
+
       WorkToBuild = 320,
       Beauty = -20,
+
       Flammability = 1,
 
     },
 
     },
     size = {2, 2},
+
     building = {
    costList = {
+
       isInert = true,
      Steel = 100,
 
       ComponentIndustrial = 2,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Power",
 
        },
 
        compClass = "CompPowerPlant",
 
        basePowerConsumption = -1000,
 
        transmitsPower = true,
 
        soundAmbientProducingPower = "WoodFiredGenerator_Ambience",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Refuelable",
 
        },
 
        fuelConsumptionRate = 22.0,
 
        fuelCapacity = 75.0,
 
        fuelFilter = {
 
          thingDefs = {
 
            "WoodLog",
 
          },
 
        },
 
        showAllowAutoRefuelToggle = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 6,
 
        glowColor = {217, 112, 33, 0},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 6,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
    },
 
    terrainAffordanceNeeded = "Medium",
 
    researchPrerequisites = {
 
      "Electricity",
 
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Heavy",
 
   },
 
   },
  
   ["ThingDef:ChemfuelPoweredGenerator"] = {
+
   ["ThingDef:TrapSpike"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ChemfuelPoweredGenerator",
+
     defName = "TrapSpike",
     label = "chemfuel powered generator",
+
     label = "spike trap",
     description = [[Produces power by consuming chemfuel. Must be periodically refueled by hand.]],
+
     description = [[Five spikes under tension, connected to a touch-activated trigger. When the victim disturbs the trigger, the spikes spring forth and strike the victim. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
     thingClass = "Building",
+
     thingClass = "Building_TrapDamager",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "PassThroughOnly",
+
     minifiedDef = "MinifiedThing",
     pathCost = 50,
+
     thingCategories = {
     fillPercent = 1.0,
+
      "BuildingsSecurity",
 +
     },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 300,
+
      Mass = 2.5,
       WorkToBuild = 2500,
+
       MaxHitPoints = 40,
       Flammability = 1.0,
+
       WorkToBuild = 3200,
       Beauty = -20,
+
       Flammability = 1,
 +
       Beauty = -18,
 +
      Cleanliness = -5,
 +
      TrapMeleeDamage = 100,
 +
      TrapSpringChance = 1.0,
 
     },
 
     },
     size = {2, 2},
+
     building = {
    costList = {
+
       isTrap = true,
      Steel = 100,
 
      ComponentIndustrial = 3,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Power",
 
        },
 
        compClass = "CompPowerPlant",
 
        basePowerConsumption = -1000,
 
        transmitsPower = true,
 
        soundAmbientProducingPower = "ChemfuelFiredGenerator_Ambience",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
       {
 
        _ = {
 
          Class = "CompProperties_Refuelable",
 
        },
 
        fuelConsumptionRate = 4.5,
 
        fuelCapacity = 30.0,
 
        fuelFilter = {
 
          thingDefs = {
 
            "Chemfuel",
 
          },
 
        },
 
        showAllowAutoRefuelToggle = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 6,
 
        glowColor = {80, 112, 180, 0},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 6,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 0,
 
        explosiveExpandPerFuel = 0.95,
 
        explosiveDamageType = "Flame",
 
        destroyThingOnExplosionSize = 2,
 
        startWickHitPointsPercent = 0.333,
 
        preExplosionSpawnThingDef = "Filth_Fuel",
 
        preExplosionSpawnChance = 1,
 
        wickTicks = { ["<"]=70, [">"]=150 },
 
      },
 
    },
 
    terrainAffordanceNeeded = "Medium",
 
    researchPrerequisites = {
 
      "Electricity",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WindTurbine"] = {
+
   ["ThingDef:TrapIEDBase"] = {
 
     _ = {
 
     _ = {
 +
      Name = "TrapIEDBase",
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "WindTurbine",
+
     thingClass = "Building_TrapExplosive",
     thingClass = "Building",
 
    label = "wind turbine",
 
    description = [[A wind-powered electrical generator. Requires a large clear space in front and behind for optimal air flow.]],
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "Impassable",
+
     minifiedDef = "MinifiedThing",
     fillPercent = 0.5,
+
     leaveResourcesWhenKilled = false,
 +
    thingCategories = {
 +
      "BuildingsSecurity",
 +
    },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 150,
+
      Mass = 2,
       WorkToBuild = 3300,
+
       MaxHitPoints = 40,
       Flammability = 0.5,
+
       WorkToBuild = 1400,
       Beauty = -12,
+
       Flammability = 1,
 +
       Beauty = -4,
 +
      TrapSpringChance = 1.0,
 
     },
 
     },
     size = {7, 2},
+
     building = {
    terrainAffordanceNeeded = "Heavy",
+
       isTrap = true,
    costList = {
 
      Steel = 100,
 
       ComponentIndustrial = 2,
 
 
     },
 
     },
    comps = {
+
     researchPrerequisites = {
      {
+
       "IEDs",
        _ = {
 
          Class = "CompProperties_Power",
 
        },
 
        compClass = "CompPowerPlantWind",
 
        basePowerConsumption = -2300,
 
        transmitsPower = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
    },
 
     researchPrerequisites = {
 
       "Electricity",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Battery"] = {
+
   ["ThingDef:TrapIED_HighExplosive"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "TrapIEDBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Battery",
+
     defName = "TrapIED_HighExplosive",
     label = "battery",
+
     label = "IED trap",
     description = [[Stores electricity for later use. Charged batteries explode when exposed to rain or fire.]],
+
     description = [[A pair of high-explosive shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
    thingClass = "Building_Battery",
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    fillPercent = 0.40,
 
    minifiedDef = "MinifiedThing",
 
    thingCategories = {
 
      "BuildingsPower",
 
    },
 
    statBases = {
 
      MaxHitPoints = 100,
 
      WorkToBuild = 800,
 
      Mass = 20,
 
      Flammability = 1.0,
 
      Beauty = -15,
 
    },
 
    size = {1, 2},
 
 
     costList = {
 
     costList = {
       Steel = 70,
+
       Shell_HighExplosive = 2,
      ComponentIndustrial = 2,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Battery",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         storedEnergyMax = 600,
+
         explosiveRadius = 3.9,
         efficiency = 0.5,
+
         explosiveDamageType = "Bomb",
         shortCircuitInRain = true,
+
        startWickHitPointsPercent = 0.2,
         transmitsPower = true,
+
         wickTicks = 15,
      },
+
         startWickOnDamageTaken = {
      {
+
          "Bullet",
        _ = {
+
          "Arrow",
           Class = "CompProperties_Breakdownable",
+
           "ArrowHighVelocity",
 
         },
 
         },
 
       },
 
       },
    },
 
    terrainAffordanceNeeded = "Medium",
 
    researchPrerequisites = {
 
      "Batteries",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SolarGenerator"] = {
+
   ["ThingDef:TrapIED_Incendiary"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "TrapIEDBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SolarGenerator",
+
     defName = "TrapIED_Incendiary",
     label = "solar generator",
+
     label = "IED incendiary trap",
     description = [[Produces electricity from sunlight. Does not work in the dark or under artificial light.]],
+
     description = [[A pair of incendiary shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
    thingClass = "Building",
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    fillPercent = 0.5,
 
    statBases = {
 
      MaxHitPoints = 300,
 
      WorkToBuild = 2500,
 
      Flammability = 0.7,
 
    },
 
    size = {4, 4},
 
 
     costList = {
 
     costList = {
       Steel = 100,
+
       Shell_Incendiary = 2,
      ComponentIndustrial = 3,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         compClass = "CompPowerPlantSolar",
+
         explosiveRadius = 3.9,
         basePowerConsumption = -1,
+
        explosiveDamageType = "Flame",
         transmitsPower = true,
+
         startWickHitPointsPercent = 0.2,
      },
+
         wickTicks = 15,
      {
+
         startWickOnDamageTaken = {
         _ = {
+
           "Bullet",
           Class = "CompProperties_Breakdownable",
+
          "Arrow",
 +
          "ArrowHighVelocity",
 
         },
 
         },
 
       },
 
       },
    },
 
    terrainAffordanceNeeded = "Medium",
 
    researchPrerequisites = {
 
      "SolarPanels",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:GeothermalGenerator"] = {
+
   ["ThingDef:TrapIED_EMP"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "TrapIEDBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GeothermalGenerator",
+
     defName = "TrapIED_EMP",
     label = "geothermal generator",
+
     label = "IED EMP trap",
     description = [[Produces electricity from geothermal steam geysers. Must be placed on a steam geyser.]],
+
     description = [[A pair of EMP shells connected to a trigger which detonates on touch or bullet impact. The explosion can paralyze mechanoids for a few seconds. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
    thingClass = "Building",
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
    statBases = {
 
      MaxHitPoints = 500,
 
      WorkToBuild = 12000,
 
      Flammability = 0.5,
 
      Beauty = -30,
 
    },
 
    size = {6, 6},
 
 
     costList = {
 
     costList = {
       Steel = 340,
+
       Shell_EMP = 2,
      ComponentIndustrial = 8,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         compClass = "CompPowerPlantSteam",
+
         explosiveRadius = 10.9,
         basePowerConsumption = -3600,
+
        explosiveDamageType = "EMP",
         transmitsPower = true,
+
         startWickHitPointsPercent = 0.2,
      },
+
         wickTicks = 15,
      {
+
         startWickOnDamageTaken = {
         _ = {
+
           "Bullet",
           Class = "CompProperties_Breakdownable",
+
          "Arrow",
 +
          "ArrowHighVelocity",
 
         },
 
         },
 
       },
 
       },
    },
 
    terrainAffordanceNeeded = "Heavy",
 
    researchPrerequisites = {
 
      "GeothermalPower",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WatermillGenerator"] = {
+
   ["ThingDef:TrapIED_Smoke"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "TrapIEDBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Power.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WatermillGenerator",
+
     defName = "TrapIED_Smoke",
     label = "watermill generator",
+
     label = "IED Smoke trap",
     description = [[Produces electricity from a river. Must be placed with its wheel in moving water. If watermills are placed too close together, the turbulence they generate will interfere and reduce power generation.]],
+
     description = [[A pair of smoke shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
    thingClass = "Building",
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
    statBases = {
 
      MaxHitPoints = 400,
 
      WorkToBuild = 4000,
 
      Flammability = 1.0,
 
      Beauty = -20,
 
    },
 
    size = {5, 6},
 
 
     costList = {
 
     costList = {
       WoodLog = 280,
+
       Shell_Smoke = 2,
      Steel = 80,
 
      ComponentIndustrial = 3,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         compClass = "CompPowerPlantWater",
+
         explosiveRadius = 8.6,
         basePowerConsumption = -1100,
+
        explosiveDamageType = "Smoke",
         transmitsPower = true,
+
         startWickHitPointsPercent = 0.2,
         soundAmbientProducingPower = "WaterMill_Ambience",
+
         postExplosionSpawnThingDef = "Gas_Smoke",
      },
+
         postExplosionSpawnChance = 1,
      {
+
        postExplosionSpawnThingCount = 1,
         _ = {
+
        wickTicks = 15,
           Class = "CompProperties_Breakdownable",
+
         startWickOnDamageTaken = {
 +
           "Bullet",
 +
          "Arrow",
 +
          "ArrowHighVelocity",
 
         },
 
         },
 
       },
 
       },
    },
 
    terrainAffordanceNeeded = {},
 
    researchPrerequisites = {
 
      "WatermillGenerator",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:CraftingSpot"] = {
+
   ["ThingDef:TrapIED_Firefoam"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "TrapIEDBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "CraftingSpot",
+
     defName = "TrapIED_Firefoam",
     label = "crafting spot",
+
     label = "IED firefoam trap",
     description = [[A place for crafting simple items like knives or bows. Production here is slow because of the lack of tools.]],
+
     description = [[A pair of firefoam shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
     thingClass = "Building_WorkTable",
+
     costList = {
    altitudeLayer = "FloorEmplacement",
+
       Shell_Firefoam = 2,
    statBases = {
 
      WorkToBuild = 0,
 
      WorkTableWorkSpeedFactor = 0.5,
 
    },
 
    useHitPoints = false,
 
    size = {1, 1},
 
    passability = "Standable",
 
    hasInteractionCell = true,
 
    building = {
 
       sowTag = "SupportPlantsOnly",
 
      artificialForMeditationPurposes = false,
 
      buildingTags = {
 
        "Production",
 
      },
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         linkableFacilities = {
+
         explosiveRadius = 9.9,
           "ToolCabinet",
+
        explosiveDamageType = "Extinguish",
 +
        startWickHitPointsPercent = 0.2,
 +
        postExplosionSpawnThingDef = "Filth_FireFoam",
 +
        postExplosionSpawnChance = 1,
 +
        postExplosionSpawnThingCount = 3,
 +
        applyDamageToExplosionCellsNeighbors = true,
 +
        explosionEffect = "ExtinguisherExplosion",
 +
        wickTicks = 15,
 +
        startWickOnDamageTaken = {
 +
           "Bullet",
 +
          "Arrow",
 +
          "ArrowHighVelocity",
 
         },
 
         },
      },
 
      {
 
        compClass = "CompReportWorkSpeed",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ButcherSpot"] = {
+
   ["ThingDef:TrapIED_AntigrainWarhead"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "TrapIEDBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ButcherSpot",
+
     defName = "TrapIED_AntigrainWarhead",
     label = "butcher spot",
+
     label = "IED antigrain warhead trap",
     description = [[A place for butchering animals. Due to the lack of equipment, butchering here yields only 70% of the meat and leather of each creature.]],
+
     description = [[An antimatter-powered antigrain warhead connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
     thingClass = "Building_WorkTable",
+
     costList = {
    altitudeLayer = "FloorEmplacement",
+
       Shell_AntigrainWarhead = 1,
    statBases = {
 
       WorkToBuild = 0,
 
      WorkTableEfficiencyFactor = 0.7,
 
    },
 
    useHitPoints = false,
 
    size = {1, 1},
 
    passability = "Standable",
 
    hasInteractionCell = true,
 
    building = {
 
      sowTag = "SupportPlantsOnly",
 
      artificialForMeditationPurposes = false,
 
      buildingTags = {
 
        "Production",
 
      },
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Explosive",
 +
        },
 +
        explosiveRadius = 14.9,
 +
        explosiveDamageType = "BombSuper",
 +
        startWickHitPointsPercent = 0.2,
 +
        chanceToStartFire = 0.22,
 +
        damageFalloff = true,
 +
        explosionEffect = "GiantExplosion",
 +
        explosionSound = "Explosion_GiantBomb",
 +
        wickTicks = 15,
 +
        startWickOnDamageTaken = {
 +
          "Bullet",
 +
          "Arrow",
 +
          "ArrowHighVelocity",
 
         },
 
         },
        linkableFacilities = {
 
          "ToolCabinet",
 
        },
 
      },
 
      {
 
        compClass = "CompReportWorkSpeed",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BenchBase"] = {
+
   ["ThingDef:BaseWeaponTurret"] = {
 
     _ = {
 
     _ = {
      Name = "BenchBase",
 
      ParentName = "BuildingBase",
 
 
       Abstract = true,
 
       Abstract = true,
 +
      Name = "BaseWeaponTurret",
 +
      ParentName = "BaseWeapon",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     minifiedDef = "MinifiedThing",
+
     tradeability = "None",
     terrainAffordanceNeeded = "Medium",
+
     useHitPoints = false,
     thingCategories = {
+
     weaponTags = {
       "BuildingsProduction",
+
       "TurretGun",
 
     },
 
     },
     statBases = {
+
  },
       Mass = 20,
+
 
 +
  ["ThingDef:BaseArtilleryWeapon"] = {
 +
     _ = {
 +
       Abstract = true,
 +
      Name = "BaseArtilleryWeapon",
 +
      ParentName = "BaseWeaponTurret",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Security_Turrets.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     comps = {
+
     weaponTags = {
       {
+
       _ = {
         compClass = "CompReportWorkSpeed",
+
         Inherit = false,
      },
 
    },
 
    building = {
 
      buildingTags = {
 
        "Production",
 
 
       },
 
       },
 +
      "Artillery",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TableSculpting"] = {
+
   ["ThingDef:BaseArtilleryBuilding"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
      Name = "BaseArtilleryBuilding",
 +
       ParentName = "BuildingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "TableSculpting",
+
     thingClass = "Building_TurretGun",
    label = "art bench",
+
     minifiedDef = "MinifiedThing",
    description = [[A workbench equipped for creating art.]],
 
     thingClass = "Building_WorkTable",
 
     costList = {
 
      Steel = 50,
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
    },
 
    costStuffCount = 75,
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     fillPercent = 0.5,
+
     hasInteractionCell = true,
    useHitPoints = true,
+
     size = {2, 2},
    statBases = {
 
      WorkToBuild = 2500,
 
      MaxHitPoints = 180,
 
      Flammability = 1.0,
 
      Cleanliness = -5,
 
    },
 
     size = {3, 1},
 
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
 
     pathCost = 50,
 
     pathCost = 50,
     hasInteractionCell = true,
+
     fillPercent = 0.4,
 +
    thingCategories = {
 +
      "BuildingsSecurity",
 +
    },
 +
    terrainAffordanceNeeded = "Light",
 +
    costList = {
 +
      Steel = 150,
 +
      ComponentIndustrial = 6,
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
         linkableFacilities = {
+
      },
           "ToolCabinet",
+
      {
 +
         _ = {
 +
           Class = "CompProperties_Mannable",
 
         },
 
         },
 +
        manWorkType = "Violent",
 
       },
 
       },
 
     },
 
     },
  },
+
     statBases = {
 
+
       MaxHitPoints = 180,
  ["ThingDef:TableButcher"] = {
+
       Flammability = 0.7,
     _ = {
 
       ParentName = "BenchBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Production.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
    },
 
    defName = "TableButcher",
 
    label = "butcher table",
 
    description = [[A heavy table for butchering dead creatures into pieces of raw meat.]],
 
    thingClass = "Building_WorkTable",
 
    costStuffCount = 75,
 
    costList = {
 
      WoodLog = 20,
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
    },
 
    altitudeLayer = "Building",
 
    fillPercent = 0.5,
 
    useHitPoints = true,
 
    statBases = {
 
 
       WorkToBuild = 2000,
 
       WorkToBuild = 2000,
       MaxHitPoints = 180,
+
       Mass = 30,
       Flammability = 1.0,
+
       Beauty = -20,
      Cleanliness = -15,
 
 
     },
 
     },
     size = {3, 1},
+
     building = {
    passability = "PassThroughOnly",
+
      turretBurstWarmupTime = 4.0,
    pathCost = 50,
+
      turretBurstCooldownTime = 28.0,
    hasInteractionCell = true,
+
       buildingTags = {
    comps = {
+
         "Artillery",
       {
 
        _ = {
 
          Class = "CompProperties_AffectedByFacilities",
 
        },
 
         linkableFacilities = {
 
          "ToolCabinet",
 
        },
 
 
       },
 
       },
 +
    },
 +
    researchPrerequisites = {
 +
      "Mortars",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:HandTailoringBench"] = {
+
   ["ThingDef:Turret_MiniTurret"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HandTailoringBench",
+
     defName = "Turret_MiniTurret",
     label = "hand tailor bench",
+
     label = "mini-turret",
     description = [[A workbench for tailoring clothes by hand. Works at 50% of the speed of an electric tailoring bench.]],
+
     description = [[A portable automatic turret. Requires steel to refurbish its barrel after heavy use. May explode when damaged. Its dumb AI brain can't be directly controlled, so beware of friendly fire.]],
     thingClass = "Building_WorkTable",
+
     thingClass = "Building_TurretGun",
     costStuffCount = 75,
+
     minifiedDef = "MinifiedThing",
     stuffCategories = {
+
     altitudeLayer = "Building",
      "Metallic",
+
    thingCategories = {
       "Woody",
+
       "BuildingsSecurity",
 
     },
 
     },
    altitudeLayer = "Building",
 
    fillPercent = 0.5,
 
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 2000,
+
      MaxHitPoints = 100,
       MaxHitPoints = 180,
+
      Flammability = 0.7,
       Flammability = 1.0,
+
       WorkToBuild = 1800,
       WorkTableWorkSpeedFactor = 0.5,
+
       Mass = 8,
 +
       Beauty = -20,
 +
       ShootingAccuracyTurret = 0.96,
 
     },
 
     },
    size = {3, 1},
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         linkableFacilities = {
+
         wickTicks = 240,
           "ToolCabinet",
+
        explosiveRadius = 3.9,
 +
        explosiveDamageType = "Bomb",
 +
        chanceNeverExplodeFromDamage = 0.5,
 +
      },
 +
      {
 +
        _ = {
 +
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
 
       },
 
       },
    },
+
       {
    researchPrerequisites = {
+
         _ = {
      "ComplexClothing",
+
           Class = "CompProperties_Power",
    },
+
         },
  },
+
         compClass = "CompPowerTrader",
 
+
         basePowerConsumption = 80,
  ["ThingDef:ElectricTailoringBench"] = {
 
    _ = {
 
      ParentName = "BenchBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Production.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "ElectricTailoringBench",
 
    label = "electric tailor bench",
 
    description = [[A workbench with a sewing machine for rapid tailoring of clothes. Can work without electricity at 50% of normal speed.]],
 
    thingClass = "Building_WorkTable",
 
    costStuffCount = 75,
 
    costList = {
 
      Steel = 50,
 
      ComponentIndustrial = 2,
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
    },
 
    altitudeLayer = "Building",
 
    fillPercent = 0.5,
 
    useHitPoints = true,
 
    statBases = {
 
      WorkToBuild = 2500,
 
      MaxHitPoints = 180,
 
      Flammability = 1.0,
 
    },
 
    size = {3, 1},
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
    comps = {
 
       {
 
         _ = {
 
           Class = "CompProperties_Power",
 
         },
 
         compClass = "CompPowerTrader",
 
        shortCircuitInRain = true,
 
         basePowerConsumption = 120,
 
 
       },
 
       },
 
       {
 
       {
Line 8,473: Line 8,307:
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Breakdownable",
        },
 
        linkableFacilities = {
 
          "ToolCabinet",
 
 
         },
 
         },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Breakdownable",
+
           Class = "CompProperties_Refuelable",
 +
        },
 +
        fuelLabel = "Shots until barrel change",
 +
        fuelGizmoLabel = "Barrel durability",
 +
        outOfFuelMessage = "Cannot shoot: Needs new barrel",
 +
        fuelFilter = {
 +
          thingDefs = {
 +
            "Steel",
 +
          },
 
         },
 
         },
 +
        fuelCapacity = 60,
 +
        fuelMultiplier = 0.75,
 +
        initialFuelPercent = 1,
 +
        autoRefuelPercent = 0.5,
 +
        showFuelGizmo = true,
 +
        minimumFueledThreshold = 1,
 +
        factorByDifficulty = true,
 +
        consumeFuelOnlyWhenUsed = true,
 +
        fuelIconPath = "UI/Overlays/Barrel",
 
       },
 
       },
 +
    },
 +
    passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    fillPercent = 0.4,
 +
    costList = {
 +
      Steel = 70,
 +
      ComponentIndustrial = 3,
 +
    },
 +
    terrainAffordanceNeeded = "Light",
 +
    building = {
 +
      combatPower = 45,
 +
      turretGunDef = "Gun_MiniTurret",
 +
      turretBurstCooldownTime = 4.8,
 
     },
 
     },
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "ComplexClothing",
+
       "GunTurrets",
      "Electricity",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:FueledSmithy"] = {
+
   ["ThingDef:Bullet_MiniTurret"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "FueledSmithy",
+
     defName = "Bullet_MiniTurret",
     label = "fueled smithy",
+
     label = "mini-turret bullet",
     description = [[A wood-fueled station for smithing non-mechanical weapons and tools.]],
+
     projectile = {
    thingClass = "Building_WorkTable",
+
      damageDef = "Bullet",
    costList = {
+
      damageAmountBase = 11,
       Steel = 100,
+
       speed = 70,
 
     },
 
     },
     altitudeLayer = "Building",
+
  },
     fillPercent = 0.5,
+
 
     useHitPoints = true,
+
  ["ThingDef:Gun_MiniTurret"] = {
     statBases = {
+
    _ = {
       WorkToBuild = 3000,
+
      ParentName = "BaseWeaponTurret",
       MaxHitPoints = 180,
+
      DefCategory = "ThingDef",
       Flammability = 1.0,
+
      FileName = "Buildings_Security_Turrets.xml",
       Cleanliness = -3,
+
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
     },
 +
    defName = "Gun_MiniTurret",
 +
     label = "mini-turret gun",
 +
     description = [[A simple automatic gun made to be mounted on a turret.]],
 +
     statBases = {
 +
       AccuracyTouch = 0.70,
 +
       AccuracyShort = 0.64,
 +
       AccuracyMedium = 0.41,
 +
      AccuracyLong = 0.22,
 +
      RangedWeapon_Cooldown = 4.8,
 +
      DeteriorationRate = 0,
 +
       Mass = 5,
 +
      Flammability = 0,
 
     },
 
     },
     size = {3, 1},
+
     verbs = {
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         verbClass = "Verb_Shoot",
          Class = "CompProperties_Refuelable",
+
         defaultProjectile = "Bullet_MiniTurret",
         },
+
         warmupTime = 0,
         fuelConsumptionRate = 80.0,
+
         range = 28.9,
         fuelCapacity = 50.0,
+
         ticksBetweenBurstShots = 8,
         fuelFilter = {
+
         burstShotCount = 2,
          thingDefs = {
+
         consumeFuelPerShot = 1,
            "WoodLog",
 
          },
 
        },
 
         consumeFuelOnlyWhenUsed = true,
 
         showAllowAutoRefuelToggle = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_AffectedByFacilities",
 
        },
 
        linkableFacilities = {
 
          "ToolCabinet",
 
        },
 
 
       },
 
       },
    },
 
    researchPrerequisites = {
 
      "Smithing",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ElectricSmithy"] = {
+
   ["ThingDef:AutocannonTurret"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BuildingBase",
 +
      Name = "AutocannonTurret",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "ElectricSmithy",
+
     thingClass = "Building_TurretGun",
    label = "electric smithy",
 
    description = [[An electric-powered station for smithing non-mechanical weapons and tools.]],
 
     thingClass = "Building_WorkTable",
 
    costList = {
 
      Steel = 100,
 
      ComponentIndustrial = 3,
 
    },
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     fillPercent = 0.5,
+
     size = {2, 2},
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 3000,
+
       MaxHitPoints = 380,
       MaxHitPoints = 180,
+
      Flammability = 0.7,
       Flammability = 1.0,
+
       WorkToBuild = 15000,
       Cleanliness = -3,
+
       Mass = 100,
 +
       Beauty = -20,
 
     },
 
     },
    size = {3, 1},
 
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
 
     pathCost = 50,
 
     pathCost = 50,
     hasInteractionCell = true,
+
     fillPercent = 0.5,
     comps = {
+
     terrainAffordanceNeeded = "Heavy",
      {
+
  },
        _ = {
+
 
          Class = "CompProperties_Power",
+
  ["ThingDef:Turret_Autocannon"] = {
        },
+
    _ = {
        compClass = "CompPowerTrader",
+
      ParentName = "AutocannonTurret",
        shortCircuitInRain = true,
+
      DefCategory = "ThingDef",
        basePowerConsumption = 210,
+
      FileName = "Buildings_Security_Turrets.xml",
       },
+
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Turret_Autocannon",
 +
    label = "autocannon turret",
 +
    description = [[A heavy automatic turret. Its large-caliber shells do heavy damage over significant ranges, but its barrel must be refurbished after use. It cannot fire at close-up targets, and may explode when damaged.]],
 +
    statBases = {
 +
      ShootingAccuracyTurret = 0.96,
 +
    },
 +
    costList = {
 +
      Steel = 350,
 +
      Plasteel = 40,
 +
       ComponentIndustrial = 6,
 +
    },
 +
    comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
 +
        wickTicks = 240,
 +
        explosiveRadius = 5.9,
 +
        explosiveDamageType = "Bomb",
 +
        chanceNeverExplodeFromDamage = 0.5,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Forbiddable",
        },
 
        linkableFacilities = {
 
          "ToolCabinet",
 
 
         },
 
         },
 
       },
 
       },
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 4,
 
      },
 
    },
 
    researchPrerequisites = {
 
      "Smithing",
 
      "Electricity",
 
    },
 
  },
 
 
  ["ThingDef:TableMachining"] = {
 
    _ = {
 
      ParentName = "BenchBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Production.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "TableMachining",
 
    label = "machining table",
 
    description = [[A work station for assembling machinery like guns and ammunition, or breaking down dead mechanoids.]],
 
    thingClass = "Building_WorkTable",
 
    costList = {
 
      Steel = 150,
 
      ComponentIndustrial = 5,
 
    },
 
    altitudeLayer = "Building",
 
    fillPercent = 0.5,
 
    useHitPoints = true,
 
    statBases = {
 
      WorkToBuild = 3000,
 
      MaxHitPoints = 180,
 
      Flammability = 1.0,
 
      Cleanliness = -2,
 
    },
 
    size = {3, 1},
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
Line 8,648: Line 8,467:
 
         },
 
         },
 
         compClass = "CompPowerTrader",
 
         compClass = "CompPowerTrader",
        shortCircuitInRain = true,
+
         basePowerConsumption = 150,
         basePowerConsumption = 350,
 
 
       },
 
       },
 
       {
 
       {
Line 8,658: Line 8,476:
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Glower",
+
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
        glowRadius = 5,
 
        glowColor = {73, 123, 138, 0},
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Refuelable",
 
         },
 
         },
         linkableFacilities = {
+
         fuelLabel = "Shots until barrel change",
          "ToolCabinet",
+
         fuelGizmoLabel = "Barrel durability",
         },
+
        outOfFuelMessage = "Cannot shoot: Needs new barrel",
      },
+
         fuelFilter = {
      {
+
           thingDefs = {
         _ = {
+
            "Steel",
           Class = "CompProperties_Breakdownable",
+
          },
 
         },
 
         },
 +
        fuelCapacity = 90,
 +
        fuelMultiplier = 0.5,
 +
        initialFuelPercent = 1,
 +
        autoRefuelPercent = 0.5,
 +
        showFuelGizmo = true,
 +
        minimumFueledThreshold = 1,
 +
        factorByDifficulty = true,
 +
        consumeFuelOnlyWhenUsed = true,
 +
        fuelIconPath = "UI/Overlays/Barrel",
 
       },
 
       },
 +
    },
 +
    building = {
 +
      turretGunDef = "Gun_AutocannonTurret",
 +
      turretBurstCooldownTime = 3.5,
 
     },
 
     },
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "Machining",
+
       "HeavyTurrets",
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:Bullet_AutocannonTurret"] = {
 +
    _ = {
 +
      ParentName = "BaseBullet",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Security_Turrets.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Bullet_AutocannonTurret",
 +
    label = "autocannon shell",
 +
    projectile = {
 +
      damageDef = "Bullet",
 +
      damageAmountBase = 25,
 +
      speed = 88,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ElectricStove"] = {
+
   ["ThingDef:Gun_AutocannonTurret"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BaseWeaponTurret",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ElectricStove",
+
     defName = "Gun_AutocannonTurret",
     label = "electric stove",
+
     label = "autocannon",
     description = [[An electrically-powered stove with an attached countertop for preparing meals.]],
+
     description = [[A self-loading large-bore cannon designed to attach to a turret.]],
     thingClass = "Building_WorkTable_HeatPush",
+
     statBases = {
     costList = {
+
      AccuracyTouch = 0.25,
       Steel = 80,
+
      AccuracyShort = 0.65,
       ComponentIndustrial = 2,
+
      AccuracyMedium = 0.60,
 +
      AccuracyLong = 0.45,
 +
      RangedWeapon_Cooldown = 3.5,
 +
      DeteriorationRate = 0,
 +
      Mass = 40,
 +
      Flammability = 0,
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_AutocannonTurret",
 +
        warmupTime = 0,
 +
        minRange = 8.9,
 +
        range = 32.9,
 +
        ticksBetweenBurstShots = 17,
 +
        burstShotCount = 3,
 +
        consumeFuelPerShot = 1,
 +
      },
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:Turret_Sniper"] = {
 +
     _ = {
 +
       ParentName = "AutocannonTurret",
 +
       DefCategory = "ThingDef",
 +
      FileName = "Buildings_Security_Turrets.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     altitudeLayer = "Building",
+
     defName = "Turret_Sniper",
     fillPercent = 0.5,
+
     label = "uranium slug turret",
     useHitPoints = true,
+
     description = [[An armor-piercing turret. Its ultra-dense uranium shells can punch through heavy armor, but it requires new uranium slugs to be loaded after use. It's more accurate at longer ranges, and can't fire at all close up. May explode when damaged.]],
 
     statBases = {
 
     statBases = {
       WorkToBuild = 2000,
+
       ShootingAccuracyTurret = 0.98,
       MaxHitPoints = 180,
+
    },
       Flammability = 1.0,
+
    costList = {
 +
      Steel = 300,
 +
      Plasteel = 30,
 +
       Uranium = 60,
 +
       ComponentIndustrial = 6,
 
     },
 
     },
    size = {3, 1},
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         wickTicks = 240,
         shortCircuitInRain = true,
+
        explosiveRadius = 5.9,
         basePowerConsumption = 350,
+
         explosiveDamageType = "Bomb",
 +
         chanceNeverExplodeFromDamage = 0.5,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Breakdownable",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 150,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 
         },
 
         },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_HeatPusher",
+
           Class = "CompProperties_Breakdownable",
 
         },
 
         },
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 3,
 
 
       },
 
       },
    },
 
    building = {
 
      isMealSource = true,
 
      heatPerTickWhileWorking = 0.10,
 
    },
 
    researchPrerequisites = {
 
      "Electricity",
 
    },
 
  },
 
 
  ["ThingDef:FueledStove"] = {
 
    _ = {
 
      ParentName = "BenchBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Production.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "FueledStove",
 
    label = "fueled stove",
 
    description = [[A wood-fueled stove with an attached countertop for preparing meals.]],
 
    thingClass = "Building_WorkTable_HeatPush",
 
    costList = {
 
      Steel = 80,
 
    },
 
    altitudeLayer = "Building",
 
    fillPercent = 0.5,
 
    useHitPoints = true,
 
    statBases = {
 
      WorkToBuild = 2000,
 
      MaxHitPoints = 180,
 
      Flammability = 1.0,
 
    },
 
    size = {3, 1},
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Refuelable",
 
           Class = "CompProperties_Refuelable",
 
         },
 
         },
         fuelConsumptionRate = 160.0,
+
         fuelLabel = "Shots until rearm",
         fuelCapacity = 50.0,
+
         fuelGizmoLabel = "Uranium slugs",
 +
        outOfFuelMessage = "Cannot shoot: No slugs",
 
         fuelFilter = {
 
         fuelFilter = {
 
           thingDefs = {
 
           thingDefs = {
             "WoodLog",
+
             "Uranium",
 
           },
 
           },
 
         },
 
         },
 +
        fuelCapacity = 30,
 +
        fuelMultiplier = 0.3333,
 +
        initialFuelPercent = 1,
 +
        autoRefuelPercent = 0.5,
 +
        showFuelGizmo = true,
 +
        minimumFueledThreshold = 1,
 +
        factorByDifficulty = true,
 
         consumeFuelOnlyWhenUsed = true,
 
         consumeFuelOnlyWhenUsed = true,
         showAllowAutoRefuelToggle = true,
+
         fuelIconPath = "UI/Overlays/Barrel",
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 4,
 
 
       },
 
       },
 
     },
 
     },
 
     building = {
 
     building = {
       isMealSource = true,
+
       turretGunDef = "Gun_TurretSniper",
       heatPerTickWhileWorking = 0.10,
+
       turretBurstCooldownTime = 3.2,
 +
    },
 +
    researchPrerequisites = {
 +
      "SniperTurret",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TableStonecutter"] = {
+
   ["ThingDef:Bullet_TurretSniper"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TableStonecutter",
+
     defName = "Bullet_TurretSniper",
     label = "stonecutter's table",
+
     label = "uranium slug",
     description = [[A work table with saws and chisels for cutting stone chunks into usable blocks.]],
+
     projectile = {
    thingClass = "Building_WorkTable_HeatPush",
+
      damageDef = "Bullet",
    costStuffCount = 75,
+
      damageAmountBase = 50,
    costList = {
+
       speed = 120,
       Steel = 30,
 
 
     },
 
     },
     stuffCategories = {
+
  },
       "Metallic",
+
 
       "Woody",
+
  ["ThingDef:Gun_TurretSniper"] = {
     },
+
     _ = {
     altitudeLayer = "Building",
+
       ParentName = "BaseWeaponTurret",
     fillPercent = 0.5,
+
      DefCategory = "ThingDef",
     useHitPoints = true,
+
      FileName = "Buildings_Security_Turrets.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 +
     },
 +
     defName = "Gun_TurretSniper",
 +
     label = "uranium slug cannon",
 +
     description = [[A self-loading uranium slug cannon designed to attach to a turret.]],
 
     statBases = {
 
     statBases = {
       WorkToBuild = 2000,
+
       AccuracyTouch = 0.20,
       MaxHitPoints = 180,
+
      AccuracyShort = 0.30,
       Flammability = 1.0,
+
      AccuracyMedium = 0.40,
       Cleanliness = -5,
+
       AccuracyLong = 0.95,
 +
       RangedWeapon_Cooldown = 4.0,
 +
       DeteriorationRate = 0,
 +
      Mass = 40,
 +
      Flammability = 0,
 
     },
 
     },
     size = {3, 1},
+
     verbs = {
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
    terrainAffordanceNeeded = "Heavy",
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         verbClass = "Verb_Shoot",
          Class = "CompProperties_AffectedByFacilities",
+
        defaultProjectile = "Bullet_TurretSniper",
         },
+
         warmupTime = 0,
         linkableFacilities = {
+
         minRange = 11.9,
          "ToolCabinet",
+
        range = 45.9,
         },
+
        burstShotCount = 1,
 +
         consumeFuelPerShot = 1,
 
       },
 
       },
    },
 
    researchPrerequisites = {
 
      "Stonecutting",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Brewery"] = {
+
   ["ThingDef:Turret_Mortar"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BaseArtilleryBuilding",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Brewery",
+
     defName = "Turret_Mortar",
     label = "brewery",
+
     label = "mortar",
     description = [[A work station with all the equipment needed to mix wort for beer production. Wort must be fermented to finally become beer.]],
+
     description = [[A manned mortar that launches all kinds of shells. While it can inflict devastating damage, the mortar's inherent inaccuracy makes it more useful for attacking large fortifications than groups of enemies in the field.]],
     thingClass = "Building_WorkTable",
+
     comps = {
    costList = {
+
      {
      WoodLog = 120,
+
        _ = {
       Steel = 30,
+
          Class = "CompProperties_Explosive",
 +
        },
 +
        wickTicks = 240,
 +
        explosiveRadius = 4.9,
 +
        explosiveDamageType = "Bomb",
 +
       },
 
     },
 
     },
     altitudeLayer = "Building",
+
     terrainAffordanceNeeded = "Heavy",
     fillPercent = 0.5,
+
     building = {
    useHitPoints = true,
+
       turretGunDef = "Artillery_Mortar",
    statBases = {
+
       buildingTags = {
       WorkToBuild = 2000,
+
        "Artillery_BaseDestroyer",
       MaxHitPoints = 180,
+
        "Artillery_MannedMortar",
      Flammability = 1.0,
+
       },
    },
 
    size = {3, 1},
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
    researchPrerequisites = {
 
       "Brewing",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:DrugLab"] = {
+
   ["ThingDef:Artillery_Mortar"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BaseArtilleryWeapon",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Security_Turrets.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DrugLab",
+
     defName = "Artillery_Mortar",
     label = "drug lab",
+
     label = "mortar",
     description = [[A work bench equipped with containers, heaters, and measurement devices for producing various drugs.]],
+
     description = [[Mortar launcher. Lobs bombs over walls. Very inaccurate but long-ranged.]],
     thingClass = "Building_WorkTable",
+
     weaponTags = {
    costStuffCount = 50,
+
       "Artillery_BaseDestroyer",
    stuffCategories = {
 
       "Metallic",
 
      "Woody",
 
 
     },
 
     },
     costList = {
+
     verbs = {
       Steel = 75,
+
       {
      ComponentIndustrial = 6,
+
        verbClass = "Verb_Shoot",
    },
+
        warmupTime = 4.0,
    altitudeLayer = "Building",
+
        forcedMissRadius = 13,
    fillPercent = 0.5,
+
        requireLineOfSight = false,
    useHitPoints = true,
+
        minRange = 29.9,
    statBases = {
+
        range = 500,
      WorkToBuild = 3500,
+
        burstShotCount = 1,
      MaxHitPoints = 120,
+
        targetParams = {
       Flammability = 1.0,
+
          canTargetLocations = true,
 +
        },
 +
       },
 
     },
 
     },
    size = {3, 1},
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_ChangeableProjectile",
 +
        },
 +
      },
 +
    },
 +
    building = {
 +
      fixedStorageSettings = {
 +
        filter = {
 +
          categories = {
 +
            "MortarShells",
 +
          },
 
         },
 
         },
         linkableFacilities = {
+
      },
           "ToolCabinet",
+
      defaultStorageSettings = {
 +
         filter = {
 +
           categories = {
 +
            "MortarShells",
 +
          },
 +
          disallowedThingDefs = {
 +
            "Shell_Firefoam",
 +
            "Shell_AntigrainWarhead",
 +
          },
 
         },
 
         },
 
       },
 
       },
    },
 
    researchPrerequisites = {
 
      "DrugProduction",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ElectricSmelter"] = {
+
   ["ThingDef:Ship_Beam"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Ship.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ElectricSmelter",
+
     defName = "Ship_Beam",
     label = "electric smelter",
+
     label = "ship structural beam",
     description = [[Extracts usable metal from slag chunks and other mixed metal items. Consumes a lot of power.]],
+
     description = [[A structural beam around which a starship can be constructed. Includes all the necessary conduits and transit pipes for communications, power, and materials transport.]],
     thingClass = "Building_WorkTable_HeatPush",
+
     thingClass = "Building",
    costList = {
 
      Steel = 170,
 
      ComponentIndustrial = 2,
 
    },
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     fillPercent = 0.5,
+
     passability = "Impassable",
     useHitPoints = true,
+
     fillPercent = 1,
 
     statBases = {
 
     statBases = {
       WorkToBuild = 3500,
+
       WorkToBuild = 8000,
       MaxHitPoints = 180,
+
       MaxHitPoints = 400,
       Flammability = 1.0,
+
       Flammability = 0,
 
     },
 
     },
     size = {3, 1},
+
     size = {2, 6},
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    hasInteractionCell = true,
 
    terrainAffordanceNeeded = "Heavy",
 
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 8,966: Line 8,812:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerTransmitter",
         basePowerConsumption = 700,
+
         transmitsPower = true,
        shortCircuitInRain = true,
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_ShipPart",
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 6,
 
        glowColor = {217, 112, 33, 0},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 9,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     building = {
+
     costList = {
       heatPerTickWhileWorking = 0.32,
+
       Steel = 200,
     },
+
      Plasteel = 40,
 +
      ComponentIndustrial = 3,
 +
      ComponentSpacer = 1,
 +
     },
 +
    terrainAffordanceNeeded = "Heavy",
 
     researchPrerequisites = {
 
     researchPrerequisites = {
       "Electricity",
+
       "ShipBasics",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BiofuelRefinery"] = {
+
   ["ThingDef:Ship_CryptosleepCasket"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Ship.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BiofuelRefinery",
+
     defName = "Ship_CryptosleepCasket",
     label = "biofuel refinery",
+
     label = "ship cryptosleep casket",
     description = [[Refines biological matter like wood or plant matter into chemfuel.]],
+
     description = [[A cryptosleep casket hardened against the dangers of space. Capable of maintaining a person in cryptosleep for centuries and surviving atmospheric re-entry.]],
     thingClass = "Building_WorkTable",
+
     thingClass = "Building_CryptosleepCasket",
 +
    researchPrerequisites = {
 +
      "ShipCryptosleep",
 +
    },
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     pathCost = 50,
+
     pathCost = 42,
 +
    fillPercent = 0.5,
 
     statBases = {
 
     statBases = {
 +
      WorkToBuild = 8000,
 
       MaxHitPoints = 200,
 
       MaxHitPoints = 200,
      WorkToBuild = 2000,
+
       Flammability = 0,
       Flammability = 1.0,
 
    },
 
    minifiedDef = {},
 
    thingCategories = {
 
      _ = {
 
        Inherit = false,
 
      },
 
    },
 
    size = {3, 2},
 
    costList = {
 
      Steel = 150,
 
      ComponentIndustrial = 3,
 
 
     },
 
     },
 +
    size = {1, 2},
 +
    hasInteractionCell = true,
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 9,039: Line 8,864:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerTransmitter",
         basePowerConsumption = 170,
+
         transmitsPower = true,
         shortCircuitInRain = true,
+
      },
 +
      {
 +
         _ = {
 +
          Class = "CompProperties_ShipPart",
 +
        },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
 +
        explosiveRadius = 2.66,
 +
        explosiveDamageType = "Flame",
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Breakdownable",
+
           Class = "CompProperties_EmptyStateGraphic",
 +
        },
 +
        graphicData = {
 +
          texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor",
 +
          graphicClass = "Graphic_Multi",
 +
          drawSize = {1, 2},
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     fillPercent = 0.5,
+
     building = {
     hasInteractionCell = true,
+
      isPlayerEjectable = true,
 +
     },
 +
    costList = {
 +
      Steel = 120,
 +
      Uranium = 14,
 +
      ComponentIndustrial = 3,
 +
      ComponentSpacer = 3,
 +
    },
 
     terrainAffordanceNeeded = "Heavy",
 
     terrainAffordanceNeeded = "Heavy",
    researchPrerequisites = {
 
      "BiofuelRefining",
 
    },
 
 
   },
 
   },
  
   ["ThingDef:FabricationBench"] = {
+
   ["ThingDef:Ship_ComputerCore"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Ship.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "FabricationBench",
+
     defName = "Ship_ComputerCore",
     label = "fabrication bench",
+
     label = "ship computer core",
     description = [[A workbench equipped with advanced tools for producing technological marvels from simpler materials.]],
+
     description = [[A computer core housing a machine persona who can guide a starship through any challenge during a multi-decade starflight.]],
     thingClass = "Building_WorkTable",
+
     thingClass = "Building_ShipComputerCore",
 +
    researchPrerequisites = {
 +
      "ShipComputerCore",
 +
    },
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "PassThroughOnly",
+
     passability = "Impassable",
     pathCost = 50,
+
     fillPercent = 1,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 300,
+
       WorkToBuild = 16000,
       WorkToBuild = 5000,
+
       MaxHitPoints = 150,
       Flammability = 1.0,
+
       Flammability = 0,
    },
 
    minifiedDef = {},
 
    thingCategories = {
 
      _ = {
 
        Inherit = false,
 
      },
 
    },
 
    size = {5, 2},
 
    costList = {
 
      Steel = 200,
 
      ComponentIndustrial = 12,
 
      ComponentSpacer = 2,
 
 
     },
 
     },
 +
    size = {2, 2},
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_ShipPart",
        },
 
        linkableFacilities = {
 
          "ToolCabinet",
 
 
         },
 
         },
 
       },
 
       },
Line 9,107: Line 8,936:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerTransmitter",
         basePowerConsumption = 250,
+
         transmitsPower = true,
        shortCircuitInRain = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
 
       },
 
       },
 
     },
 
     },
     fillPercent = 0.5,
+
     costList = {
     hasInteractionCell = true,
+
      Steel = 150,
 +
      ComponentSpacer = 4,
 +
      Gold = 70,
 +
      AIPersonaCore = 1,
 +
     },
 
     terrainAffordanceNeeded = "Heavy",
 
     terrainAffordanceNeeded = "Heavy",
    researchPrerequisites = {
 
      "Fabrication",
 
    },
 
 
   },
 
   },
  
   ["ThingDef:SimpleResearchBench"] = {
+
   ["ThingDef:Ship_Reactor"] = {
 
     _ = {
 
     _ = {
       ParentName = "BenchBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Ship.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SimpleResearchBench",
+
     defName = "Ship_Reactor",
     label = "simple research bench",
+
     label = "ship reactor",
     description = [[A simple bench with writing implements and simple measurement devices. Researchers work here to discover new things.]],
+
     description = [[Powers a ship on its journey between stars. Takeoff requires a long powerup process that is likely to attract raiders.]],
     thingClass = "Building_ResearchBench",
+
     thingClass = "Building_ShipReactor",
     size = {3, 2},
+
     researchPrerequisites = {
    stuffCategories = {
+
       "ShipReactor",
      "Metallic",
 
      "Woody",
 
       "Stony",
 
    },
 
    costStuffCount = 75,
 
    costList = {
 
      Steel = 25,
 
 
     },
 
     },
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     passability = "PassThroughOnly",
+
     passability = "Impassable",
     pathCost = 50,
+
     fillPercent = 1,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 250,
+
       WorkToBuild = 65000,
       WorkToBuild = 2800,
+
       MaxHitPoints = 500,
       Flammability = 1.0,
+
       Flammability = 0,
      ResearchSpeedFactor = 0.75,
 
 
     },
 
     },
    fillPercent = 0.5,
+
     size = {6, 7},
    hasInteractionCell = true,
 
  },
 
 
 
  ["ThingDef:HiTechResearchBench"] = {
 
    _ = {
 
      ParentName = "BenchBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Production.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "HiTechResearchBench",
 
    label = "hi-tech research bench",
 
    description = [[A high-tech bench with computers and electronic measurement equipment. Allows more rapid research, and unlocks advanced research projects.]],
 
    thingClass = "Building_ResearchBench",
 
     size = {5, 2},
 
    minifiedDef = {},
 
    thingCategories = {
 
      _ = {
 
        Inherit = false,
 
      },
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
    },
 
    costStuffCount = 150,
 
 
     costList = {
 
     costList = {
       Steel = 100,
+
       Steel = 350,
       ComponentIndustrial = 10,
+
       Plasteel = 280,
    },
+
       Uranium = 70,
    altitudeLayer = "Building",
+
       ComponentSpacer = 8,
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    statBases = {
 
      MaxHitPoints = 250,
 
      WorkToBuild = 5000,
 
       Flammability = 1.0,
 
       ResearchSpeedFactor = 1.0,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 9,206: Line 8,984:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerPlant",
         basePowerConsumption = 250,
+
         basePowerConsumption = -1000,
         shortCircuitInRain = true,
+
         transmitsPower = true,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_ShipPart",
 
         },
 
         },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_AffectedByFacilities",
+
           Class = "CompProperties_Hibernatable",
        },
 
        linkableFacilities = {
 
          "MultiAnalyzer",
 
 
         },
 
         },
 +
        incidentTargetWhileStarting = "Map_RaidBeacon",
 +
        sustainerActive = "ShipReactor_Ambience",
 
       },
 
       },
 
     },
 
     },
    fillPercent = 0.5,
 
    hasInteractionCell = true,
 
 
     terrainAffordanceNeeded = "Heavy",
 
     terrainAffordanceNeeded = "Heavy",
    researchPrerequisites = {
 
      "MicroelectronicsBasics",
 
    },
 
 
   },
 
   },
  
   ["ThingDef:ElectricCrematorium"] = {
+
   ["ThingDef:Ship_Engine"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Ship.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ElectricCrematorium",
+
     defName = "Ship_Engine",
     label = "electric crematorium",
+
     label = "ship engine",
     description = [[A huge stone crematorium which vaporizes corpses with extremely high temperatures.]],
+
     description = [[A reactionless Johnson-Tanaka drive capable of launching a ship into orbit, and crawling across the vast expanses between stars.]],
     thingClass = "Building_WorkTable_HeatPush",
+
     thingClass = "Building",
     stuffCategories = {
+
     researchPrerequisites = {
       "Stony",
+
       "ShipEngine",
    },
 
    costStuffCount = 150,
 
    costList = {
 
      Steel = 20,
 
      ComponentIndustrial = 2,
 
 
     },
 
     },
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     useHitPoints = true,
+
     passability = "Impassable",
 +
    fillPercent = 1,
 
     statBases = {
 
     statBases = {
       WorkToBuild = 4500,
+
       WorkToBuild = 50000,
       MaxHitPoints = 300,
+
       MaxHitPoints = 400,
       Cleanliness = -20,
+
       Flammability = 0,
      Beauty = -10,
 
 
     },
 
     },
     size = {3, 2},
+
     size = {3, 4},
    fillPercent = 1,
 
    passability = "Impassable",
 
    hasInteractionCell = true,
 
    terrainAffordanceNeeded = "Heavy",
 
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 9,270: Line 9,033:
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerTransmitter",
         basePowerConsumption = 250,
+
         transmitsPower = true,
        shortCircuitInRain = true,
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_ShipPart",
 
         },
 
         },
 
       },
 
       },
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 6,
 
        glowColor = {217, 112, 33, 0},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 12,
 
      },
 
    },
 
    building = {
 
      heatPerTickWhileWorking = 0.32,
 
      buildingTags = {
 
        "Production",
 
      },
 
    },
 
    researchPrerequisites = {
 
      "Electricity",
 
 
     },
 
     },
 +
    costList = {
 +
      Steel = 260,
 +
      Plasteel = 140,
 +
      Uranium = 70,
 +
      ComponentSpacer = 6,
 +
    },
 +
    terrainAffordanceNeeded = "Heavy",
 
   },
 
   },
  
   ["ThingDef:HydroponicsBasin"] = {
+
   ["ThingDef:Ship_SensorCluster"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Ship.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HydroponicsBasin",
+
     defName = "Ship_SensorCluster",
     label = "hydroponics basin",
+
     label = "sensor cluster",
     description = [[An artificial nutrient bath for growing plants. The nutrients pumps must work continuously; the plants will die if power is cut.]],
+
     description = [[A multi-function sensor module. Can scan and signal across the void for communications, threat detection, deception, jamming, and other purposes.]],
     thingClass = "Building_PlantGrower",
+
     thingClass = "Building",
     altitudeLayer = "LowPlant",
+
     researchPrerequisites = {
     passability = "PassThroughOnly",
+
      "ShipSensorCluster",
     pathCost = 30,
+
     },
     fillPercent = 0.30,
+
    altitudeLayer = "Building",
 +
     passability = "Impassable",
 +
     fillPercent = 1,
 
     statBases = {
 
     statBases = {
       WorkToBuild = 2800,
+
       WorkToBuild = 30000,
       MaxHitPoints = 180,
+
       MaxHitPoints = 100,
       Flammability = 0.5,
+
       Flammability = 0,
      Cleanliness = -3,
 
    },
 
    size = {1, 4},
 
    costList = {
 
      Steel = 100,
 
      ComponentIndustrial = 1,
 
    },
 
    building = {
 
      defaultPlantToGrow = "Plant_Rice",
 
      sowTag = "Hydroponic",
 
      buildingTags = {
 
        "Production",
 
      },
 
 
     },
 
     },
 +
    size = {2, 2},
 
     comps = {
 
     comps = {
      {
 
        _ = {
 
          Class = "CompProperties_Forbiddable",
 
        },
 
      },
 
 
       {
 
       {
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerTransmitter",
         basePowerConsumption = 70,
+
         transmitsPower = true,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_ShipPart",
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     researchPrerequisites = {
+
     costList = {
       "Hydroponics",
+
       Steel = 140,
 +
      Gold = 4,
 +
      ComponentIndustrial = 6,
 +
      ComponentSpacer = 6,
 
     },
 
     },
     terrainAffordanceNeeded = "Medium",
+
     terrainAffordanceNeeded = "Heavy",
 
   },
 
   },
  
   ["ThingDef:FermentingBarrel"] = {
+
   ["ThingDef:PsychicEmanator"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
     },
+
     },
     defName = "FermentingBarrel",
+
     defName = "PsychicEmanator",
     label = "fermenting barrel",
+
     label = "psychic emanator",
     description = [[A barrel for fermenting raw wort into beer.]],
+
     description = [[An ancient device that projects a soothing psychic field around itself. This improves the mood of anyone nearby. Works through walls.]],
    thingClass = "Building_FermentingBarrel",
+
     thingCategories = {
    minifiedDef = "MinifiedThing",
+
       "BuildingsSpecial",
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.45,
 
    pathCost = 42,
 
     thingCategories = {
 
       "BuildingsProduction",
 
    },
 
    statBases = {
 
      WorkToBuild = 600,
 
      Mass = 10,
 
      MaxHitPoints = 100,
 
      Flammability = 1.0,
 
 
     },
 
     },
 
     costList = {
 
     costList = {
       Steel = 10,
+
       Steel = 50,
       WoodLog = 30,
+
       ComponentSpacer = 6,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_TemperatureRuinable",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_MoteEmitter",
 +
        },
 +
        mote = "Mote_PsychicEmanatorEffect",
 +
        emissionInterval = 350,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 
         },
 
         },
        minSafeTemperature = -1,
 
        maxSafeTemperature = 32,
 
        progressPerDegreePerTick = 0.00001,
 
 
       },
 
       },
 
     },
 
     },
     building = {
+
     altitudeLayer = "Building",
       buildingTags = {
+
    statBases = {
        "Production",
+
       MarketValue = 1300,
       },
+
      MaxHitPoints = 100,
 +
      Flammability = 0,
 +
      Beauty = 0,
 +
      Mass = 15,
 +
       WorkToBuild = 2000,
 
     },
 
     },
     researchPrerequisites = {
+
     fillPercent = 0.2,
       "Brewing",
+
    leaveResourcesWhenKilled = false,
 +
    pathCost = 30,
 +
    passability = "PassThroughOnly",
 +
    minifiedDef = "MinifiedThing",
 +
    tradeability = "Sellable",
 +
    tradeTags = {
 +
       "ExoticBuilding",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:DeepDrill"] = {
+
   ["ThingDef:VanometricPowerCell"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DeepDrill",
+
     defName = "VanometricPowerCell",
     label = "deep drill",
+
     label = "vanometric power cell",
     description = [[A deep-crust drilling rig for extracting minerals from deep under the surface. Use a ground-penetrating scanner to detect the resources. This drill will yield stone chunks if no resources are present. Can be repositioned freely.]],
+
     description = [[Generates free energy, forever, without using fuel. This technology is developed by archotechs, and is beyond even most glitterworld societies. While nobody knows exactly how it works, scholars believe it somehow extracts energy directly from fluctuations in the quantum foam.]],
    size = {1, 1},
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 +
    pathCost = 42,
 +
    fillPercent = 0.4,
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     pathCost = 50,
+
     leaveResourcesWhenKilled = false,
    fillPercent = 0.5,
+
     terrainAffordanceNeeded = "Medium",
    hasInteractionCell = true,
+
     thingCategories = {
     terrainAffordanceNeeded = "Light",
+
       "BuildingsSpecial",
    minifiedDef = "MinifiedThing",
 
     building = {
 
       buildingTags = {
 
        "Production",
 
      },
 
 
     },
 
     },
     thingCategories = {
+
     statBases = {
       "BuildingsProduction",
+
       MarketValue = 1200,
 +
      MaxHitPoints = 200,
 +
      Flammability = 0,
 +
      Mass = 15,
 
     },
 
     },
 +
    size = {1, 2},
 
     costList = {
 
     costList = {
 
       Steel = 100,
 
       Steel = 100,
       ComponentIndustrial = 2,
+
       ComponentSpacer = 6,
 
     },
 
     },
    researchPrerequisites = {
+
     comps = {
      "DeepDrilling",
+
       {
    },
 
    statBases = {
 
      MaxHitPoints = 300,
 
      WorkToBuild = 10000,
 
      Flammability = 0.5,
 
      Beauty = -25,
 
      Mass = 35,
 
    },
 
     comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Forbiddable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
       {
 
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Power",
 
           Class = "CompProperties_Power",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompPowerPlant",
         basePowerConsumption = 200,
+
         basePowerConsumption = -1000,
 +
        transmitsPower = true,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_DeepDrill",
+
           Class = "CompProperties_Glower",
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_CreatesInfestations",
 
 
         },
 
         },
 +
        glowRadius = 3,
 +
        glowColor = {227, 233, 168, 0},
 
       },
 
       },
 +
    },
 +
    minifiedDef = "MinifiedThing",
 +
    tradeability = "Sellable",
 +
    tradeTags = {
 +
      "ExoticBuilding",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:NutrientPasteDispenser"] = {
+
   ["ThingDef:InfiniteChemreactor"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "NutrientPasteDispenser",
+
     defName = "InfiniteChemreactor",
     label = "nutrient paste dispenser",
+
     label = "infinite chemreactor",
     description = [[A machine that synthesizes edible nutrient paste from organic feedstocks placed in adjacent hoppers. It consumes less ingredients and time than any other meal production method - but nobody likes eating nutrient paste. Accepts raw food, but not rough plant matter like hay.]],
+
     description = [[Slowly generates chemfuel by a complex series of chemical reactions, using atoms extracted from the air.]],
     thingClass = "Building_NutrientPasteDispenser",
+
     thingCategories = {
    altitudeLayer = "Building",
+
      "BuildingsSpecial",
    passability = "Impassable",
 
    fillPercent = 1,
 
    statBases = {
 
      WorkToBuild = 2200,
 
      MaxHitPoints = 350,
 
      Flammability = 0.5,
 
 
     },
 
     },
     building = {
+
     costList = {
       isMealSource = true,
+
       Steel = 200,
       buildingTags = {
+
       ComponentSpacer = 6,
        "Production",
 
      },
 
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 9,518: Line 9,241:
 
         },
 
         },
 
         compClass = "CompPowerTrader",
 
         compClass = "CompPowerTrader",
         basePowerConsumption = 200,
+
         basePowerConsumption = 300,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 
       },
 
       },
 
       {
 
       {
Line 9,527: Line 9,255:
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Breakdownable",
+
           Class = "CompProperties_Spawner",
 +
        },
 +
        requiresPower = true,
 +
        thingToSpawn = "Chemfuel",
 +
        spawnCount = 75,
 +
        spawnIntervalRange = {
 +
          min = 600000,
 +
          max = 600000,
 
         },
 
         },
 +
        writeTimeLeftToSpawn = true,
 +
        showMessageIfOwned = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Explosive",
 +
        },
 +
        explosiveRadius = 8,
 +
        explosiveDamageType = "Flame",
 
       },
 
       },
 
     },
 
     },
     size = {3, 4},
+
     altitudeLayer = "Building",
    costList = {
+
    statBases = {
       Steel = 90,
+
      MarketValue = 1500,
       ComponentIndustrial = 3,
+
      MaxHitPoints = 200,
     },
+
      Flammability = 1.0,
     hasInteractionCell = true,
+
      Beauty = -10,
     terrainAffordanceNeeded = "Heavy",
+
       Mass = 35,
     researchPrerequisites = {
+
       WorkToBuild = 8000,
       "NutrientPaste",
+
    },
 +
     size = {2, 2},
 +
     fillPercent = 1.0,
 +
    leaveResourcesWhenKilled = false,
 +
     terrainAffordanceNeeded = "Medium",
 +
    passability = "Impassable",
 +
    minifiedDef = "MinifiedThing",
 +
    tradeability = "Sellable",
 +
     tradeTags = {
 +
       "ExoticBuilding",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Hopper"] = {
+
   ["ThingDef:DoorBase"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 +
      Name = "DoorBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Production.xml",
+
       FileName = "Buildings_Structure.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Hopper",
+
     thingClass = "Building_Door",
     label = "hopper",
+
     category = "Building",
     description = [[Holds resources for use by machines like nutrient paste dispensers.]],
+
     altitudeLayer = "DoorMoveable",
     thingClass = "Building_Storage",
+
     fillPercent = 1,
     altitudeLayer = "Building",
+
     useHitPoints = true,
     passability = "PassThroughOnly",
+
     statBases = {
     fillPercent = 0.5,
+
      MaxHitPoints = 160,
     pathCost = 42,
+
      Flammability = 1.0,
 +
    },
 +
     leaveResourcesWhenKilled = false,
 +
     terrainAffordanceNeeded = "Light",
 
     building = {
 
     building = {
       fixedStorageSettings = {
+
       isInert = true,
        priority = "Important",
+
    },
        filter = {
+
    comps = {
          categories = {
+
      {
            "FoodRaw",
+
        _ = {
           },
+
           Class = "CompProperties_Forbiddable",
          specialFiltersToDisallow = {
 
            "AllowPlantFood",
 
          },
 
 
         },
 
         },
 
       },
 
       },
      defaultStorageSettings = {
 
        priority = "Important",
 
        filter = {
 
          categories = {
 
            "FoodRaw",
 
          },
 
          disallowedThingDefs = {
 
            "Meat_Human",
 
            "Meat_Megaspider",
 
          },
 
        },
 
      },
 
      buildingTags = {
 
        "Production",
 
      },
 
 
     },
 
     },
 +
  },
 +
 +
  ["ThingDef:Door"] = {
 +
    _ = {
 +
      ParentName = "DoorBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Structure.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Door",
 +
    label = "door",
 +
    description = [[Divides rooms. Simple doors must be manually opened, which slows people down. The amount of slowdown depends on what the door is made of.]],
 
     statBases = {
 
     statBases = {
       WorkToBuild = 300,
+
       WorkToBuild = 850,
      MaxHitPoints = 100,
 
      Flammability = 0.5,
 
    },
 
    costList = {
 
      Steel = 15,
 
    },
 
    researchPrerequisites = {
 
      "NutrientPaste",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Sandbags"] = {
+
   ["ThingDef:Autodoor"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "DoorBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Structure.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Sandbags",
+
     defName = "Autodoor",
     label = "sandbags",
+
     label = "autodoor",
     description = [[Bags of locally-sourced dirt or sand, stacked for use as cover. Sandbags are ugly, but provide better cover than other low objects.]],
+
     description = [[Divides rooms. Powered operation allows people to move through the door without slowing down.]],
    thingClass = "Building",
 
    category = "Building",
 
    altitudeLayer = "Building",
 
    pathCost = 42,
 
    pathCostIgnoreRepeat = true,
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.57,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 300,
+
       WorkToBuild = 1100,
      Beauty = -10,
+
    },
       WorkToBuild = 180,
+
    costList = {
       Flammability = 0,
+
       Steel = 40,
 +
       ComponentIndustrial = 2,
 
     },
 
     },
     building = {
+
     comps = {
       isInert = true,
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 50,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Breakdownable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 
     },
 
     },
     stuffCategories = {
+
     researchPrerequisites = {
       "Fabric",
+
       "Autodoors",
      "Leathery",
 
 
     },
 
     },
    costStuffCount = 5,
 
    terrainAffordanceNeeded = "Light",
 
 
   },
 
   },
  
   ["ThingDef:Barricade"] = {
+
   ["ThingDef:Wall"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 +
      Name = "Wall",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Structure.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Barricade",
+
     defName = "Wall",
     label = "barricade",
+
     label = "wall",
     description = [[A waist-high barrier for use as cover from incoming shots. Barricades are ugly, but provide better cover than other low objects.]],
+
     description = [[An impassable wall. Capable of holding up a roof.]],
 
     thingClass = "Building",
 
     thingClass = "Building",
 
     category = "Building",
 
     category = "Building",
    altitudeLayer = "Building",
 
    pathCost = 42,
 
    pathCostIgnoreRepeat = true,
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.57,
 
 
     statBases = {
 
     statBases = {
 
       MaxHitPoints = 300,
 
       MaxHitPoints = 300,
       Beauty = -3,
+
       WorkToBuild = 135,
       WorkToBuild = 320,
+
       Flammability = 1.0,
       Flammability = 1,
+
       MeditationFocusStrength = 0.22,
 
     },
 
     },
 +
    leaveResourcesWhenKilled = false,
 +
    altitudeLayer = "Building",
 +
    passability = "Impassable",
 +
    fillPercent = 1,
 +
    terrainAffordanceNeeded = "Heavy",
 
     building = {
 
     building = {
 
       isInert = true,
 
       isInert = true,
 
     },
 
     },
     stuffCategories = {
+
     comps = {
       "Metallic",
+
       {
      "Woody",
+
        _ = {
      "Stony",
+
          Class = "CompProperties_MeditationFocus",
 +
        },
 +
        statDef = "MeditationFocusStrength",
 +
        focusTypes = {
 +
          "Minimal",
 +
        },
 +
      },
 
     },
 
     },
    costStuffCount = 5,
 
    terrainAffordanceNeeded = "Heavy",
 
 
   },
 
   },
  
   ["ThingDef:TrapSpike"] = {
+
   ["ThingDef:Column"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Structure.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TrapSpike",
+
     defName = "Column",
     label = "spike trap",
+
     label = "column",
     description = [[Five spikes under tension, connected to a touch-activated trigger. When the victim disturbs the trigger, the spikes spring forth and strike the victim. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
+
     description = [[A column capable of holding a roof. Does not block sight or movement and looks quite nice.]],
    thingClass = "Building_TrapDamager",
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     minifiedDef = "MinifiedThing",
+
     passability = "PassThroughOnly",
     thingCategories = {
+
     fillPercent = 0.25,
      "BuildingsSecurity",
+
     pathCost = 0,
     },
 
 
     statBases = {
 
     statBases = {
       Mass = 2.5,
+
       MaxHitPoints = 160,
       MaxHitPoints = 40,
+
       WorkToBuild = 750,
       WorkToBuild = 3200,
+
       Mass = 10,
       Flammability = 1,
+
       Flammability = 1.0,
       Beauty = -18,
+
       Beauty = 5,
      Cleanliness = -5,
 
      TrapMeleeDamage = 100,
 
      TrapSpringChance = 1.0,
 
 
     },
 
     },
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 45,
 
 
     building = {
 
     building = {
       isTrap = true,
+
       isInert = true,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TrapIEDBase"] = {
+
   ["ThingDef:Campfire"] = {
 
     _ = {
 
     _ = {
      Name = "TrapIEDBase",
 
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Temperature.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_TrapExplosive",
+
    defName = "Campfire",
 +
    label = "campfire",
 +
    description = [[Cooks meals and produces heat, and burns out after a few days. As with all heat sources, it must be placed indoors so it has a closed space to heat. Refuelable.]],
 +
     thingClass = "Building_WorkTable",
 +
    category = "Building",
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     minifiedDef = "MinifiedThing",
+
     passability = "PassThroughOnly",
     leaveResourcesWhenKilled = false,
+
     pathCost = 42,
     thingCategories = {
+
     fillPercent = 0.20,
      "BuildingsSecurity",
 
    },
 
 
     statBases = {
 
     statBases = {
      Mass = 2,
+
       MaxHitPoints = 80,
       MaxHitPoints = 40,
+
       WorkToBuild = 200,
       WorkToBuild = 1400,
+
       Flammability = 0,
       Flammability = 1,
+
       WorkTableWorkSpeedFactor = 0.5,
       Beauty = -4,
+
       MeditationFocusStrength = 0.0,
       TrapSpringChance = 1.0,
 
 
     },
 
     },
    building = {
 
      isTrap = true,
 
    },
 
    researchPrerequisites = {
 
      "IEDs",
 
    },
 
  },
 
 
  ["ThingDef:TrapIED_HighExplosive"] = {
 
    _ = {
 
      ParentName = "TrapIEDBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Security.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "TrapIED_HighExplosive",
 
    label = "IED trap",
 
    description = [[A pair of high-explosive shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
 
 
     costList = {
 
     costList = {
       Shell_HighExplosive = 2,
+
       WoodLog = 20,
 
     },
 
     },
 +
    leaveResourcesWhenKilled = false,
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Refuelable",
 
         },
 
         },
         explosiveRadius = 3.9,
+
         fuelConsumptionRate = 10.0,
         explosiveDamageType = "Bomb",
+
         fuelCapacity = 20.0,
         startWickHitPointsPercent = 0.2,
+
         fuelConsumptionPerTickInRain = 0.0006,
         wickTicks = 15,
+
         fuelFilter = {
        startWickOnDamageTaken = {
+
          thingDefs = {
          "Bullet",
+
            "WoodLog",
          "Arrow",
+
           },
           "ArrowHighVelocity",
 
 
         },
 
         },
 +
        initialFuelPercent = 1,
 +
        showAllowAutoRefuelToggle = true,
 
       },
 
       },
    },
 
  },
 
 
  ["ThingDef:TrapIED_Incendiary"] = {
 
    _ = {
 
      ParentName = "TrapIEDBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Security.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "TrapIED_Incendiary",
 
    label = "IED incendiary trap",
 
    description = [[A pair of incendiary shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
 
    costList = {
 
      Shell_Incendiary = 2,
 
    },
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Glower",
 
         },
 
         },
         explosiveRadius = 3.9,
+
         glowRadius = 10,
         explosiveDamageType = "Flame",
+
        glowColor = {252, 187, 113, 0},
         startWickHitPointsPercent = 0.2,
+
      },
         wickTicks = 15,
+
      {
         startWickOnDamageTaken = {
+
        _ = {
           "Bullet",
+
          Class = "CompProperties_HeatPusher",
           "Arrow",
+
        },
           "ArrowHighVelocity",
+
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = 21,
 +
        heatPushMaxTemperature = 28,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_FireOverlay",
 +
        },
 +
        fireSize = 1,
 +
      },
 +
      {
 +
         compClass = "CompGatherSpot",
 +
      },
 +
      {
 +
         _ = {
 +
          Class = "CompProperties_MeditationFocus",
 +
        },
 +
         statDef = "MeditationFocusStrength",
 +
         focusTypes = {
 +
           "Flame",
 +
        },
 +
        offsets = {
 +
           {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_Lit",
 +
            },
 +
            offset = 0.12,
 +
           },
 +
          {
 +
            _ = {
 +
              Class = "FocusStrengthOffset_BuildingDefsLit",
 +
            },
 +
            defs = {
 +
              "Campfire",
 +
              "TorchLamp",
 +
              "Brazier",
 +
            },
 +
            offsetPerBuilding = 0.02,
 +
            radius = 9.9,
 +
            maxBuildings = 8,
 +
            explanationKey = "MeditationFocusPerFlame",
 +
            explanationKeyAbstract = "MeditationFocusPerFlameAbstract",
 +
          },
 
         },
 
         },
 
       },
 
       },
 +
    },
 +
    hasInteractionCell = true,
 +
    building = {
 +
      isMealSource = true,
 +
      artificialForMeditationPurposes = false,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TrapIED_EMP"] = {
+
   ["ThingDef:PassiveCooler"] = {
 
     _ = {
 
     _ = {
       ParentName = "TrapIEDBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Temperature.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TrapIED_EMP",
+
     defName = "PassiveCooler",
     label = "IED EMP trap",
+
     label = "passive cooler",
     description = [[A pair of EMP shells connected to a trigger which detonates on touch or bullet impact. The explosion can paralyze mechanoids for a few seconds. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
+
     description = [[A traditional unpowered cooler that works by water evaporation. Must be regularly replenished with wood. Not efficient enough to refrigerate food.]],
 +
    category = "Building",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 30,
 +
    fillPercent = 0.40,
 +
    statBases = {
 +
      MaxHitPoints = 80,
 +
      WorkToBuild = 200,
 +
      Flammability = 1,
 +
    },
 
     costList = {
 
     costList = {
       Shell_EMP = 2,
+
       WoodLog = 50,
 
     },
 
     },
 +
    leaveResourcesWhenKilled = false,
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_HeatPusher",
        },
 
        explosiveRadius = 10.9,
 
        explosiveDamageType = "EMP",
 
        startWickHitPointsPercent = 0.2,
 
        wickTicks = 15,
 
        startWickOnDamageTaken = {
 
          "Bullet",
 
          "Arrow",
 
          "ArrowHighVelocity",
 
 
         },
 
         },
 +
        compClass = "CompHeatPusherPowered",
 +
        heatPerSecond = -11,
 +
        heatPushMinTemperature = 17,
 
       },
 
       },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Refuelable",
 +
        },
 +
        fuelConsumptionRate = 10.0,
 +
        fuelCapacity = 50.0,
 +
        fuelFilter = {
 +
          thingDefs = {
 +
            "WoodLog",
 +
          },
 +
        },
 +
        initialFuelPercent = 1,
 +
        showAllowAutoRefuelToggle = true,
 +
      },
 +
    },
 +
    researchPrerequisites = {
 +
      "PassiveCooler",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TrapIED_Smoke"] = {
+
   ["ThingDef:Heater"] = {
 
     _ = {
 
     _ = {
       ParentName = "TrapIEDBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Temperature.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TrapIED_Smoke",
+
     defName = "Heater",
     label = "IED Smoke trap",
+
     label = "heater",
     description = [[A pair of smoke shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
+
     description = [[A device that converts electricity into heat. It can automatically turn itself on or off to reach a specific target temperature.]],
 +
    thingClass = "Building_Heater",
 +
    minifiedDef = "MinifiedThing",
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    pathCost = 30,
 +
    fillPercent = 0.4,
 +
    thingCategories = {
 +
      "BuildingsTemperature",
 +
    },
 +
    statBases = {
 +
      WorkToBuild = 1000,
 +
      MaxHitPoints = 100,
 +
      Mass = 6,
 +
      Flammability = 0.5,
 +
    },
 
     costList = {
 
     costList = {
       Shell_Smoke = 2,
+
       Steel = 50,
 +
      ComponentIndustrial = 1,
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Light",
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 175,
 +
        shortCircuitInRain = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TempControl",
 +
        },
 +
        energyPerSecond = 21,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Glower",
 
         },
 
         },
         explosiveRadius = 8.6,
+
         glowRadius = 3,
         explosiveDamageType = "Smoke",
+
         glowColor = {255, 150, 100, 0},
        startWickHitPointsPercent = 0.2,
+
      },
        postExplosionSpawnThingDef = "Gas_Smoke",
+
      {
        postExplosionSpawnChance = 1,
+
         _ = {
        postExplosionSpawnThingCount = 1,
+
           Class = "CompProperties_Breakdownable",
        wickTicks = 15,
 
         startWickOnDamageTaken = {
 
           "Bullet",
 
          "Arrow",
 
          "ArrowHighVelocity",
 
 
         },
 
         },
 
       },
 
       },
 +
    },
 +
    researchPrerequisites = {
 +
      "Electricity",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TrapIED_Firefoam"] = {
+
   ["ThingDef:Cooler"] = {
 
     _ = {
 
     _ = {
       ParentName = "TrapIEDBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Temperature.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TrapIED_Firefoam",
+
     defName = "Cooler",
     label = "IED firefoam trap",
+
     label = "cooler",
     description = [[A pair of firefoam shells connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
+
     description = [[An air-cooling machine that fits into a wall. Cool air comes out one side, while hot exhaust comes out the other. Can be used to cool down rooms during summer, or to create a walk-in freezer.]],
     costList = {
+
    thingClass = "Building_Cooler",
       Shell_Firefoam = 2,
+
    altitudeLayer = "Building",
 +
    passability = "Impassable",
 +
    fillPercent = 1,
 +
    statBases = {
 +
      WorkToBuild = 1600,
 +
      MaxHitPoints = 100,
 +
      Flammability = 0.7,
 +
    },
 +
     costList = {
 +
       Steel = 90,
 +
      ComponentIndustrial = 3,
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Medium",
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Power",
 +
        },
 +
        compClass = "CompPowerTrader",
 +
        basePowerConsumption = 200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Flickable",
 +
        },
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TempControl",
 
         },
 
         },
         explosiveRadius = 9.9,
+
         energyPerSecond = -21,
        explosiveDamageType = "Extinguish",
+
      },
        startWickHitPointsPercent = 0.2,
+
      {
        postExplosionSpawnThingDef = "Filth_FireFoam",
+
         _ = {
        postExplosionSpawnChance = 1,
+
           Class = "CompProperties_Breakdownable",
        postExplosionSpawnThingCount = 3,
 
         applyDamageToExplosionCellsNeighbors = true,
 
        explosionEffect = "ExtinguisherExplosion",
 
        wickTicks = 15,
 
        startWickOnDamageTaken = {
 
           "Bullet",
 
          "Arrow",
 
          "ArrowHighVelocity",
 
 
         },
 
         },
 
       },
 
       },
 +
    },
 +
    researchPrerequisites = {
 +
      "AirConditioning",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TrapIED_AntigrainWarhead"] = {
+
   ["ThingDef:Vent"] = {
 
     _ = {
 
     _ = {
       ParentName = "TrapIEDBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security.xml",
+
       FileName = "Buildings_Temperature.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TrapIED_AntigrainWarhead",
+
     defName = "Vent",
     label = "IED antigrain warhead trap",
+
     label = "vent",
     description = [[An antimatter-powered antigrain warhead connected to a trigger which detonates on touch or bullet impact. Since it is hidden in the surrounding terrain, it cannot be placed adjacent to other traps. Animals can sense these when calm.]],
+
     description = [[A vent for equalizing the temperature between two rooms without allowing people to walk between them.]],
 +
    thingClass = "Building_Vent",
 +
    altitudeLayer = "Building",
 +
    passability = "Impassable",
 +
    fillPercent = 1,
 +
    statBases = {
 +
      WorkToBuild = 400,
 +
      MaxHitPoints = 100,
 +
      Flammability = 1.0,
 +
    },
 
     costList = {
 
     costList = {
       Shell_AntigrainWarhead = 1,
+
       Steel = 30,
 +
    },
 +
    terrainAffordanceNeeded = "Medium",
 +
    researchPrerequisites = {
 +
      "ComplexFurniture",
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Flickable",
        },
 
        explosiveRadius = 14.9,
 
        explosiveDamageType = "BombSuper",
 
        startWickHitPointsPercent = 0.2,
 
        chanceToStartFire = 0.22,
 
        damageFalloff = true,
 
        explosionEffect = "GiantExplosion",
 
        explosionSound = "Explosion_GiantBomb",
 
        wickTicks = 15,
 
        startWickOnDamageTaken = {
 
          "Bullet",
 
          "Arrow",
 
          "ArrowHighVelocity",
 
 
         },
 
         },
 +
        commandTexture = "UI/Commands/Vent",
 +
        commandLabelKey = "CommandDesignateOpenCloseVentLabel",
 +
        commandDescKey = "CommandDesignateOpenCloseVentDesc",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseWeaponTurret"] = {
+
   ["ThingDef:ArtifactBase"] = {
 
     _ = {
 
     _ = {
 +
      ParentName = "ResourceBase",
 +
      Name = "ArtifactBase",
 
       Abstract = true,
 
       Abstract = true,
      Name = "BaseWeaponTurret",
 
      ParentName = "BaseWeapon",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Artifacts.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     tradeability = "None",
+
     thingClass = "ThingWithComps",
     useHitPoints = false,
+
     thingCategories = {
     weaponTags = {
+
      "Artifacts",
       "TurretGun",
+
    },
 +
     tradeTags = {
 +
       "Artifact",
 
     },
 
     },
  },
+
     statBases = {
 
+
       Mass = 0.5,
  ["ThingDef:BaseArtilleryWeapon"] = {
 
     _ = {
 
       Abstract = true,
 
      Name = "BaseArtilleryWeapon",
 
      ParentName = "BaseWeaponTurret",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Security_Turrets.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     weaponTags = {
+
     comps = {
       _ = {
+
       {
         Inherit = false,
+
        _ = {
 +
          Class = "CompProperties_Usable",
 +
        },
 +
        useJob = "UseArtifact",
 +
        useLabel = "Activate",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_UseEffect",
 +
        },
 +
         compClass = "CompUseEffect_DestroySelf",
 
       },
 
       },
      "Artillery",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseArtilleryBuilding"] = {
+
   ["ThingDef:PsychicAnimalPulser"] = {
 
     _ = {
 
     _ = {
      Name = "BaseArtilleryBuilding",
+
       ParentName = "ArtifactBase",
       ParentName = "BuildingBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Artifacts.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_TurretGun",
+
     defName = "PsychicAnimalPulser",
     minifiedDef = "MinifiedThing",
+
     label = "psychic animal pulser",
     altitudeLayer = "Building",
+
     description = [[A one-use broad-wave psychic effector. The psychic pulse fills lower minds with terrifying imagery, driving all animals in the region into a manhunting rage. Animals currently under your control will not be affected.]],
    hasInteractionCell = true,
+
     stackLimit = 1,
    size = {2, 2},
+
     useHitPoints = true,
    passability = "PassThroughOnly",
+
     statBases = {
    pathCost = 50,
+
       MarketValue = 700,
    fillPercent = 0.4,
+
       MaxHitPoints = 80,
     thingCategories = {
 
      "BuildingsSecurity",
 
    },
 
     stuffCategories = {
 
      "Metallic",
 
    },
 
    terrainAffordanceNeeded = "Light",
 
    costStuffCount = 75,
 
     costList = {
 
       Steel = 150,
 
       ComponentIndustrial = 6,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_Targetable",
 
         },
 
         },
 +
        compClass = "CompTargetable_AllAnimalsOnTheMap",
 +
        psychicSensitiveTargetsOnly = true,
 +
        doCameraShake = true,
 +
        moteOnTarget = "Mote_PsycastPsychicEffect",
 +
        moteOnUsed = "Mote_PsycastAreaEffect",
 +
        moteOnUsedScale = 10,
 +
        ignorePlayerFactionPawns = true,
 +
      },
 +
      {
 +
        compClass = "CompTargetEffect_Manhunter",
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Mannable",
+
           Class = "CompProperties_TargetEffect_GoodwillImpact",
 
         },
 
         },
         manWorkType = "Violent",
+
         goodwillImpact = -200,
 
       },
 
       },
    },
+
      {
    statBases = {
+
        _ = {
      MaxHitPoints = 180,
+
          Class = "CompProperties_UseEffectArtifact",
      Flammability = 0.7,
+
        },
      WorkToBuild = 2000,
+
        sound = "PsychicAnimalPulserCast",
      Mass = 30,
 
      Beauty = -20,
 
    },
 
    building = {
 
      turretBurstWarmupTime = 4.0,
 
      turretBurstCooldownTime = 28.0,
 
      buildingTags = {
 
        "Artillery",
 
 
       },
 
       },
    },
 
    researchPrerequisites = {
 
      "Mortars",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Turret_MiniTurret"] = {
+
   ["ThingDef:PsychicSoothePulser"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "ArtifactBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Artifacts.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Turret_MiniTurret",
+
     defName = "PsychicSoothePulser",
     label = "mini-turret",
+
     label = "psychic soothe pulser",
     description = [[A portable automatic turret. Requires steel to refurbish its barrel after heavy use. May explode when damaged. Its dumb AI brain can't be directly controlled, so beware of friendly fire.]],
+
     description = [[A one-use broad-wave psychic effector. The psychic pulse induces self-satisfying perceptual distortions, giving a temporary mood boost to everyone in the region.]],
     thingClass = "Building_TurretGun",
+
     stackLimit = 1,
    minifiedDef = "MinifiedThing",
+
     useHitPoints = true,
    altitudeLayer = "Building",
 
     thingCategories = {
 
      "BuildingsSecurity",
 
    },
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MarketValue = 600,
       Flammability = 0.7,
+
       MaxHitPoints = 80,
      WorkToBuild = 1800,
 
      Mass = 8,
 
      Beauty = -20,
 
      ShootingAccuracyTurret = 0.96,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Targetable",
 
         },
 
         },
         wickTicks = 240,
+
         compClass = "CompTargetable_AllPawnsOnTheMap",
         explosiveRadius = 3.9,
+
        psychicSensitiveTargetsOnly = true,
         explosiveDamageType = "Bomb",
+
        doCameraShake = true,
         chanceNeverExplodeFromDamage = 0.5,
+
         moteOnTarget = "Mote_PsycastPsychicEffect",
 +
         moteOnUsed = "Mote_PsycastAreaEffect",
 +
         moteOnUsedScale = 10,
 
       },
 
       },
 
       {
 
       {
         _ = {
+
         compClass = "CompTargetEffect_MoodBoost",
          Class = "CompProperties_Forbiddable",
 
        },
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_UseEffectArtifact",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         sound = "PsychicSoothePulserCast",
        basePowerConsumption = 80,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Refuelable",
 
        },
 
        fuelLabel = "Shots until barrel change",
 
        fuelGizmoLabel = "Barrel durability",
 
        outOfFuelMessage = "Cannot shoot: Needs new barrel",
 
        fuelFilter = {
 
          thingDefs = {
 
            "Steel",
 
          },
 
        },
 
        fuelCapacity = 60,
 
        fuelMultiplier = 0.75,
 
        initialFuelPercent = 1,
 
        autoRefuelPercent = 0.5,
 
        showFuelGizmo = true,
 
        minimumFueledThreshold = 1,
 
        factorByDifficulty = true,
 
        consumeFuelOnlyWhenUsed = true,
 
        fuelIconPath = "UI/Overlays/Barrel",
 
 
       },
 
       },
    },
 
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    fillPercent = 0.4,
 
    stuffCategories = {
 
      "Metallic",
 
    },
 
    costStuffCount = 30,
 
    costList = {
 
      Steel = 70,
 
      ComponentIndustrial = 3,
 
    },
 
    terrainAffordanceNeeded = "Light",
 
    building = {
 
      combatPower = 45,
 
      turretGunDef = "Gun_MiniTurret",
 
      turretBurstCooldownTime = 4.8,
 
    },
 
    researchPrerequisites = {
 
      "GunTurrets",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_MiniTurret"] = {
+
   ["ThingDef:ResourceVerbBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
      Name = "ResourceVerbBase",
 +
       ParentName = "ResourceBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_MiniTurret",
+
     comps = {
    label = "mini-turret bullet",
+
      {
    projectile = {
+
        compClass = "CompEquippable",
      damageDef = "Bullet",
+
       },
       damageAmountBase = 11,
 
      speed = 70,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_MiniTurret"] = {
+
   ["ThingDef:AIPersonaCore"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeaponTurret",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_MiniTurret",
+
     defName = "AIPersonaCore",
     label = "mini-turret gun",
+
     label = "persona core",
     description = [[A simple automatic gun made to be mounted on a turret.]],
+
     description = [[A hyper-advanced computer core that houses a peak-human-equivalent machine persona. In its isolated state, the core is dormant. Installed in a proper support structure, however, it can become a mind of great power.]],
 +
    stackLimit = 1,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       AccuracyTouch = 0.70,
+
       MarketValue = 4000,
       AccuracyShort = 0.64,
+
       MaxHitPoints = 100,
       AccuracyMedium = 0.41,
+
       Mass = 2,
       AccuracyLong = 0.22,
+
       Flammability = 0.2,
      RangedWeapon_Cooldown = 4.8,
+
    },
      DeteriorationRate = 0,
+
    thingCategories = {
      Mass = 5,
+
       "Items",
       Flammability = 0,
 
 
     },
 
     },
     verbs = {
+
     tradeability = "Sellable",
      {
+
    tradeTags = {
        verbClass = "Verb_Shoot",
+
      "ExoticMisc",
        defaultProjectile = "Bullet_MiniTurret",
 
        warmupTime = 0,
 
        range = 28.9,
 
        ticksBetweenBurstShots = 8,
 
        burstShotCount = 2,
 
        consumeFuelPerShot = 1,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:AutocannonTurret"] = {
+
   ["ThingDef:MechSerumBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "ResourceBase",
       Name = "AutocannonTurret",
+
       Name = "MechSerumBase",
 
       Abstract = true,
 
       Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_TurretGun",
+
     thingClass = "ThingWithComps",
     altitudeLayer = "Building",
+
     useHitPoints = true,
    size = {2, 2},
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 380,
+
       MaxHitPoints = 80,
       Flammability = 0.7,
+
       Mass = 0.2,
       WorkToBuild = 15000,
+
       DeteriorationRate = 2.0,
       Mass = 100,
+
       Flammability = 0.2,
       Beauty = -20,
+
    },
 +
    tradeTags = {
 +
      "ExoticMisc",
 +
    },
 +
    comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_UseEffectPlaySound",
 +
        },
 +
        soundOnUsed = "MechSerumUsed",
 +
      },
 
     },
 
     },
    passability = "PassThroughOnly",
 
    pathCost = 50,
 
    fillPercent = 0.5,
 
    terrainAffordanceNeeded = "Heavy",
 
 
   },
 
   },
  
   ["ThingDef:Turret_Autocannon"] = {
+
   ["ThingDef:MechSerumHealer"] = {
 
     _ = {
 
     _ = {
       ParentName = "AutocannonTurret",
+
       ParentName = "MechSerumBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Turret_Autocannon",
+
     defName = "MechSerumHealer",
     label = "autocannon turret",
+
     label = "healer mech serum",
     description = [[A heavy automatic turret. Its large-caliber shells do heavy damage over significant ranges, but its barrel must be refurbished after use. It cannot fire at close-up targets, and may explode when damaged.]],
+
     description = [[A one-use super-dose of mechanites tuned to heal health conditions. The mechanites will target and heal the single worst health condition affecting someone at any given time. Works even on health conditions that would otherwise be incurable. The mechanites can even transmute themselves into organic matter, forming new limbs or organs as needed.]],
 +
    stackLimit = 10,
 
     statBases = {
 
     statBases = {
       ShootingAccuracyTurret = 0.96,
+
       MarketValue = 1300,
 
     },
 
     },
     costList = {
+
     thingCategories = {
       Steel = 350,
+
       "Items",
      Plasteel = 40,
 
      ComponentIndustrial = 6,
 
 
     },
 
     },
 +
    tradeability = "Sellable",
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Usable",
 
         },
 
         },
         wickTicks = 240,
+
         useJob = "UseItem",
        explosiveRadius = 5.9,
+
         useLabel = "Use healer mech serum",
         explosiveDamageType = "Bomb",
+
         useDuration = 600,
         chanceNeverExplodeFromDamage = 0.5,
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_UseEffect",
 
         },
 
         },
 +
        compClass = "CompUseEffect_FixWorstHealthCondition",
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_UseEffect",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         compClass = "CompUseEffect_DestroySelf",
        basePowerConsumption = 150,
 
 
       },
 
       },
 +
    },
 +
  },
 +
 +
  ["ThingDef:MechSerumResurrector"] = {
 +
    _ = {
 +
      ParentName = "MechSerumBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Exotic.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "MechSerumResurrector",
 +
    label = "resurrector mech serum",
 +
    description = [[A one-use super-dose of mechanites tuned to resurrect the dead. Administered to a corpse, mechanites repair broken-down tissues and kickstart the body back to life. Unfortunately, the resurrected sometimes come back with brain damage, blindness, or progressive psychosis. Outcomes are better when the mechanites are administered to a fresher body. If a body is preserved, it can even be resurrected long after death.]],
 +
    stackLimit = 10,
 +
    statBases = {
 +
      MarketValue = 1700,
 +
    },
 +
    thingCategories = {
 +
      "Items",
 +
    },
 +
    tradeability = "Sellable",
 +
    comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_Usable",
 
         },
 
         },
 +
        useJob = "UseItem",
 +
        useLabel = "Use resurrector mech serum",
 +
        useDuration = 0,
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Breakdownable",
+
           Class = "CompProperties_Targetable",
 
         },
 
         },
 +
        compClass = "CompTargetable_SingleCorpse",
 +
        fleshCorpsesOnly = true,
 +
        nonDessicatedCorpsesOnly = true,
 
       },
 
       },
 
       {
 
       {
         _ = {
+
         compClass = "CompTargetEffect_Resurrect",
          Class = "CompProperties_Refuelable",
 
        },
 
        fuelLabel = "Shots until barrel change",
 
        fuelGizmoLabel = "Barrel durability",
 
        outOfFuelMessage = "Cannot shoot: Needs new barrel",
 
        fuelFilter = {
 
          thingDefs = {
 
            "Steel",
 
          },
 
        },
 
        fuelCapacity = 90,
 
        fuelMultiplier = 0.5,
 
        initialFuelPercent = 1,
 
        autoRefuelPercent = 0.5,
 
        showFuelGizmo = true,
 
        minimumFueledThreshold = 1,
 
        factorByDifficulty = true,
 
        consumeFuelOnlyWhenUsed = true,
 
        fuelIconPath = "UI/Overlays/Barrel",
 
 
       },
 
       },
    },
 
    building = {
 
      turretGunDef = "Gun_AutocannonTurret",
 
      turretBurstCooldownTime = 3.5,
 
    },
 
    researchPrerequisites = {
 
      "HeavyTurrets",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_AutocannonTurret"] = {
+
   ["ThingDef:TechprofSubpersonaCore"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_AutocannonTurret",
+
     defName = "TechprofSubpersonaCore",
     label = "autocannon shell",
+
     label = "techprof subpersona core",
     projectile = {
+
     thingClass = "ThingWithComps",
       damageDef = "Bullet",
+
    description = [[A small AI core housing a low-grade subpersona specialized in teaching technology. When used, the AI will teach you the technology you're currently researching, instantly and for free. Can only be used once.]],
       damageAmountBase = 25,
+
    stackLimit = 1,
       speed = 88,
+
    useHitPoints = true,
 +
    statBases = {
 +
      MarketValue = 1000,
 +
      MaxHitPoints = 100,
 +
      Mass = 2.0,
 +
      Flammability = 0.2,
 +
    },
 +
    thingCategories = {
 +
       "Items",
 +
    },
 +
    tradeability = "Sellable",
 +
    tradeTags = {
 +
       "ExoticMisc",
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Usable",
 +
        },
 +
        useJob = "UseItem",
 +
        useLabel = "Use techprof subpersona core",
 +
      },
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_UseEffect",
 +
        },
 +
        compClass = "CompUseEffect_FinishRandomResearchProject",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_UseEffect",
 +
        },
 +
        compClass = "CompUseEffect_DestroySelf",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_AutocannonTurret"] = {
+
   ["ThingDef:ThrumboHorn"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeaponTurret",
+
       ParentName = "ResourceVerbBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_AutocannonTurret",
+
     defName = "ThrumboHorn",
     label = "autocannon",
+
     label = "thrumbo horn",
     description = [[A self-loading large-bore cannon designed to attach to a turret.]],
+
     description = [[A thrumbo's horn. It's razor-sharp, rock-hard, and priceless in most markets. This is a true trophy, as well as a deadly melee weapon.]],
 
     statBases = {
 
     statBases = {
       AccuracyTouch = 0.25,
+
       MarketValue = 800,
       AccuracyShort = 0.65,
+
       MaxHitPoints = 150,
       AccuracyMedium = 0.60,
+
       Mass = 3,
       AccuracyLong = 0.45,
+
       Flammability = 0.4,
       RangedWeapon_Cooldown = 3.5,
+
       DeteriorationRate = 0.5,
      DeteriorationRate = 0,
 
      Mass = 40,
 
      Flammability = 0,
 
 
     },
 
     },
     verbs = {
+
     stackLimit = 10,
 +
    tools = {
 +
      {
 +
        label = "point",
 +
        capacities = {
 +
          "Scratch",
 +
          "Stab",
 +
        },
 +
        power = 28,
 +
        cooldownTime = 2.6,
 +
      },
 
       {
 
       {
         verbClass = "Verb_Shoot",
+
         label = "base",
         defaultProjectile = "Bullet_AutocannonTurret",
+
         capacities = {
         warmupTime = 0,
+
          "Blunt",
        minRange = 8.9,
+
         },
         range = 32.9,
+
         power = 9,
         ticksBetweenBurstShots = 17,
+
         cooldownTime = 2,
        burstShotCount = 3,
 
        consumeFuelPerShot = 1,
 
 
       },
 
       },
 +
    },
 +
    thingCategories = {
 +
      "Items",
 +
    },
 +
    tradeTags = {
 +
      "ExoticMisc",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Turret_Sniper"] = {
+
   ["ThingDef:ElephantTusk"] = {
 
     _ = {
 
     _ = {
       ParentName = "AutocannonTurret",
+
       ParentName = "ResourceVerbBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Exotic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Turret_Sniper",
+
     defName = "ElephantTusk",
     label = "uranium slug turret",
+
     label = "elephant tusk",
     description = [[An armor-piercing turret. Its ultra-dense uranium shells can punch through heavy armor, but it requires new uranium slugs to be loaded after use. It's more accurate at longer ranges, and can't fire at all close up. May explode when damaged.]],
+
     description = [[An elephant's tusk. It is very durable and valuable. While somewhat unwieldy as a melee weapon, it can still be deadly.]],
 
     statBases = {
 
     statBases = {
       ShootingAccuracyTurret = 0.98,
+
       MarketValue = 80,
 +
      MaxHitPoints = 150,
 +
      Mass = 1.8,
 +
      Flammability = 0.9,
 +
      DeteriorationRate = 0.5,
 
     },
 
     },
     costList = {
+
     stackLimit = 10,
      Steel = 300,
+
     tools = {
      Plasteel = 30,
 
      Uranium = 60,
 
      ComponentIndustrial = 6,
 
    },
 
     comps = {
 
 
       {
 
       {
         _ = {
+
         label = "point",
           Class = "CompProperties_Explosive",
+
        capacities = {
 +
           "Scratch",
 +
          "Stab",
 
         },
 
         },
         wickTicks = 240,
+
         power = 18.2,
        explosiveRadius = 5.9,
+
         cooldownTime = 2.6,
        explosiveDamageType = "Bomb",
 
         chanceNeverExplodeFromDamage = 0.5,
 
 
       },
 
       },
 
       {
 
       {
         _ = {
+
         label = "base",
           Class = "CompProperties_Forbiddable",
+
        capacities = {
 +
           "Blunt",
 
         },
 
         },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
        chanceFactor = 0.5,
 
       },
 
       },
 +
    },
 +
    thingCategories = {
 +
      "Items",
 +
    },
 +
    tradeTags = {
 +
      "ExoticMisc",
 +
    },
 +
  },
 +
 +
  ["ThingDef:MealBase"] = {
 +
    _ = {
 +
      Name = "MealBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Food.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    thingClass = "ThingWithComps",
 +
    category = "Item",
 +
    useHitPoints = true,
 +
    statBases = {
 +
      MaxHitPoints = 50,
 +
      Flammability = 1.0,
 +
      Beauty = 0,
 +
      Mass = 0.44,
 +
      DeteriorationRate = 10,
 +
    },
 +
    altitudeLayer = "Item",
 +
    stackLimit = 10,
 +
    thingCategories = {
 +
      "FoodMeals",
 +
    },
 +
    comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
        compClass = "CompPowerTrader",
 
        basePowerConsumption = 150,
 
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_Ingredients",
 
         },
 
         },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Breakdownable",
+
           Class = "CompProperties_FoodPoisonable",
 
         },
 
         },
 
       },
 
       },
      {
+
    },
        _ = {
+
    pathCost = 14,
          Class = "CompProperties_Refuelable",
+
    ingestible = {
        },
+
      foodType = {
        fuelLabel = "Shots until rearm",
+
         "Meal",
        fuelGizmoLabel = "Uranium slugs",
+
       },
        outOfFuelMessage = "Cannot shoot: No slugs",
+
       optimalityOffsetHumanlikes = 16,
        fuelFilter = {
+
     },
          thingDefs = {
+
   },
            "Uranium",
+
 
          },
+
   ["ThingDef:MealSurvivalPack"] = {
         },
 
        fuelCapacity = 30,
 
        fuelMultiplier = 0.3333,
 
        initialFuelPercent = 1,
 
        autoRefuelPercent = 0.5,
 
        showFuelGizmo = true,
 
        minimumFueledThreshold = 1,
 
        factorByDifficulty = true,
 
        consumeFuelOnlyWhenUsed = true,
 
        fuelIconPath = "UI/Overlays/Barrel",
 
       },
 
    },
 
    building = {
 
      turretGunDef = "Gun_TurretSniper",
 
       turretBurstCooldownTime = 3.2,
 
    },
 
    researchPrerequisites = {
 
      "SniperTurret",
 
     },
 
   },
 
 
 
   ["ThingDef:Bullet_TurretSniper"] = {
 
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "MealBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Food.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_TurretSniper",
+
     defName = "MealSurvivalPack",
     label = "uranium slug",
+
     label = "packaged survival meal",
     projectile = {
+
     description = [[A high-quality packaged meal, manufactured for use in survival situations. While it never rots, it can still deteriorate if left outside. Great for traveling.]],
       damageDef = "Bullet",
+
    statBases = {
       damageAmountBase = 50,
+
      DeteriorationRate = 0.25,
       speed = 120,
+
      MarketValue = 24,
 +
      Mass = 0.3,
 +
      WorkToMake = 450,
 +
      Nutrition = 0.9,
 +
    },
 +
    ingestible = {
 +
       preferability = "MealSimple",
 +
       optimalityOffsetHumanlikes = -5,
 +
       optimalityOffsetFeedingAnimals = -10,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_TurretSniper"] = {
+
   ["ThingDef:MealNutrientPaste"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeaponTurret",
+
       ParentName = "MealBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Food.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_TurretSniper",
+
     defName = "MealNutrientPaste",
     label = "uranium slug cannon",
+
     label = "nutrient paste meal",
     description = [[A self-loading uranium slug cannon designed to attach to a turret.]],
+
     description = [[A synthetic mixture of protein, carbohydrates, and vitamins, amino acids and minerals. Everything the body needs, and absolutely disgusting.]],
 
     statBases = {
 
     statBases = {
       AccuracyTouch = 0.20,
+
       MarketValue = 10,
      AccuracyShort = 0.30,
+
       Nutrition = 0.9,
      AccuracyMedium = 0.40,
+
    },
       AccuracyLong = 0.95,
+
    ingestible = {
      RangedWeapon_Cooldown = 4.0,
+
       preferability = "MealAwful",
      DeteriorationRate = 0,
+
       tasteThought = "AteAwfulMeal",
       Mass = 40,
 
       Flammability = 0,
 
 
     },
 
     },
     verbs = {
+
     tradeability = "Buyable",
 +
    comps = {
 
       {
 
       {
         verbClass = "Verb_Shoot",
+
         _ = {
        defaultProjectile = "Bullet_TurretSniper",
+
          Class = "CompProperties_Rottable",
         warmupTime = 0,
+
         },
         minRange = 11.9,
+
         daysToRotStart = 0.75,
        range = 45.9,
+
         rotDestroys = true,
        burstShotCount = 1,
 
         consumeFuelPerShot = 1,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Turret_Mortar"] = {
+
   ["ThingDef:MealCooked"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseArtilleryBuilding",
+
       ParentName = "MealBase",
 +
      Name = "MealCooked",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Food.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Turret_Mortar",
+
     tradeability = "Buyable",
    label = "mortar",
 
    description = [[A manned mortar that launches all kinds of shells. While it can inflict devastating damage, the mortar's inherent inaccuracy makes it more useful for attacking large fortifications than groups of enemies in the field.]],
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Rottable",
 
         },
 
         },
         wickTicks = 240,
+
         daysToRotStart = 4,
        explosiveRadius = 4.9,
+
         rotDestroys = true,
         explosiveDamageType = "Bomb",
 
      },
 
    },
 
    terrainAffordanceNeeded = "Heavy",
 
    building = {
 
      turretGunDef = "Artillery_Mortar",
 
      buildingTags = {
 
        "Artillery_BaseDestroyer",
 
        "Artillery_MannedMortar",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Artillery_Mortar"] = {
+
   ["ThingDef:MealSimple"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseArtilleryWeapon",
+
       ParentName = "MealCooked",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Security_Turrets.xml",
+
       FileName = "Items_Food.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Artillery_Mortar",
+
     defName = "MealSimple",
     label = "mortar",
+
     label = "simple meal",
     description = [[Mortar launcher. Lobs bombs over walls. Very inaccurate but long-ranged.]],
+
     description = [[A simple meal quickly cooked from one main ingredient.]],
     weaponTags = {
+
     statBases = {
       "Artillery_BaseDestroyer",
+
       MarketValue = 15,
 +
      WorkToMake = 300,
 +
      Nutrition = 0.9,
 
     },
 
     },
     verbs = {
+
     ingestible = {
       {
+
       preferability = "MealSimple",
        verbClass = "Verb_Shoot",
 
        warmupTime = 4.0,
 
        forcedMissRadius = 13,
 
        requireLineOfSight = false,
 
        minRange = 29.9,
 
        range = 500,
 
        burstShotCount = 1,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_ChangeableProjectile",
 
        },
 
      },
 
    },
 
    building = {
 
      fixedStorageSettings = {
 
        filter = {
 
          categories = {
 
            "MortarShells",
 
          },
 
        },
 
      },
 
      defaultStorageSettings = {
 
        filter = {
 
          categories = {
 
            "MortarShells",
 
          },
 
          disallowedThingDefs = {
 
            "Shell_Firefoam",
 
            "Shell_AntigrainWarhead",
 
          },
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Ship_Beam"] = {
+
   ["ThingDef:MealFine"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "MealCooked",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ship.xml",
+
       FileName = "Items_Food.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ship_Beam",
+
     defName = "MealFine",
     label = "ship structural beam",
+
     label = "fine meal",
     description = [[A structural beam around which a starship can be constructed. Includes all the necessary conduits and transit pipes for communications, power, and materials transport.]],
+
     description = [[A complex dish assembled with care from a variety of ingredients.]],
    thingClass = "Building",
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 8000,
+
       MarketValue = 20,
       MaxHitPoints = 400,
+
       WorkToMake = 450,
       Flammability = 0,
+
       Nutrition = 0.9,
 +
    },
 +
    ingestible = {
 +
      preferability = "MealFine",
 +
      tasteThought = "AteFineMeal",
 
     },
 
     },
    size = {2, 6},
+
  },
    comps = {
+
 
      {
+
  ["ThingDef:MealLavish"] = {
        _ = {
+
    _ = {
          Class = "CompProperties_Power",
+
      ParentName = "MealCooked",
        },
+
      DefCategory = "ThingDef",
        compClass = "CompPowerTransmitter",
+
      FileName = "Items_Food.xml",
        transmitsPower = true,
+
       GameVersion = "1.2.2753",
       },
+
       DLC = "Core",
       {
 
        _ = {
 
          Class = "CompProperties_ShipPart",
 
        },
 
      },
 
 
     },
 
     },
     costList = {
+
     defName = "MealLavish",
      Steel = 200,
+
    label = "lavish meal",
       Plasteel = 40,
+
    description = [[A masterpiece of the culinary arts, this meal nourishes the body, mind, and soul.]],
       ComponentIndustrial = 3,
+
    statBases = {
       ComponentSpacer = 1,
+
       MarketValue = 40,
 +
       WorkToMake = 800,
 +
       Nutrition = 1,
 
     },
 
     },
     terrainAffordanceNeeded = "Heavy",
+
     ingestible = {
    researchPrerequisites = {
+
      preferability = "MealLavish",
      "ShipBasics",
+
      tasteThought = "AteLavishMeal",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Ship_CryptosleepCasket"] = {
+
   ["ThingDef:Kibble"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "OrganicProductBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ship.xml",
+
       FileName = "Items_Food.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ship_CryptosleepCasket",
+
     defName = "Kibble",
     label = "ship cryptosleep casket",
+
     label = "kibble",
     description = [[A cryptosleep casket hardened against the dangers of space. Capable of maintaining a person in cryptosleep for centuries and surviving atmospheric re-entry.]],
+
     description = [[Animal feed made from mixed meat and plant sources. Humans can eat it, but they really, really don't like it.]],
     thingClass = "Building_CryptosleepCasket",
+
     thingCategories = {
    researchPrerequisites = {
+
       "Foods",
       "ShipCryptosleep",
 
 
     },
 
     },
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    pathCost = 42,
 
    fillPercent = 0.5,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 8000,
+
       MarketValue = 1.1,
       MaxHitPoints = 200,
+
       Mass = 0.015,
       Flammability = 0,
+
       Nutrition = 0.05,
 +
      FoodPoisonChanceFixedHuman = 0.02,
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "Kibble",
 +
      },
 +
      preferability = "RawBad",
 +
      tasteThought = "AteKibble",
 +
      optimalityOffsetHumanlikes = -30,
 +
      optimalityOffsetFeedingAnimals = 15,
 
     },
 
     },
    size = {1, 2},
 
    hasInteractionCell = true,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Ingredients",
        },
 
        compClass = "CompPowerTransmitter",
 
        transmitsPower = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_ShipPart",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 2.66,
 
        explosiveDamageType = "Flame",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_EmptyStateGraphic",
 
        },
 
        graphicData = {
 
          texPath = "Things/Building/Ship/ShipCryptosleepCasketOpenDoor",
 
          graphicClass = "Graphic_Multi",
 
          drawSize = {1, 2},
 
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
    building = {
+
   },
      isPlayerEjectable = true,
 
    },
 
    costList = {
 
      Steel = 120,
 
      Uranium = 14,
 
      ComponentIndustrial = 3,
 
      ComponentSpacer = 3,
 
    },
 
    terrainAffordanceNeeded = "Heavy",
 
   },
 
  
   ["ThingDef:Ship_ComputerCore"] = {
+
   ["ThingDef:Pemmican"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "OrganicProductBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ship.xml",
+
       FileName = "Items_Food.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ship_ComputerCore",
+
     defName = "Pemmican",
     label = "ship computer core",
+
     label = "pemmican",
     description = [[A computer core housing a machine persona who can guide a starship through any challenge during a multi-decade starflight.]],
+
     description = [[A preserved mashed mixture of fat and plant food. Tastes bland, but not offensive. It lasts a very long time without refrigeration. Great for traveling.]],
     thingClass = "Building_ShipComputerCore",
+
     thingClass = "ThingWithComps",
     researchPrerequisites = {
+
     thingCategories = {
       "ShipComputerCore",
+
       "Foods",
 
     },
 
     },
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 16000,
+
       MarketValue = 1.4,
       MaxHitPoints = 150,
+
       Mass = 0.018,
       Flammability = 0,
+
       Flammability = 0.6,
 +
      WorkToMake = 700,
 +
      DeteriorationRate = 2,
 +
      Nutrition = 0.05,
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "Meal",
 +
      },
 +
      preferability = "MealSimple",
 +
      optimalityOffsetHumanlikes = 6,
 
     },
 
     },
    size = {2, 2},
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_ShipPart",
+
           Class = "CompProperties_Rottable",
 +
        },
 +
        daysToRotStart = 70,
 +
        rotDestroys = true,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Ingredients",
 
         },
 
         },
 
       },
 
       },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_FoodPoisonable",
 
         },
 
         },
        compClass = "CompPowerTransmitter",
 
        transmitsPower = true,
 
 
       },
 
       },
 
     },
 
     },
    costList = {
 
      Steel = 150,
 
      ComponentSpacer = 4,
 
      Gold = 70,
 
      AIPersonaCore = 1,
 
    },
 
    terrainAffordanceNeeded = "Heavy",
 
 
   },
 
   },
  
   ["ThingDef:Ship_Reactor"] = {
+
   ["ThingDef:Chocolate"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ship.xml",
+
       FileName = "Items_Luxury.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ship_Reactor",
+
     defName = "Chocolate",
     label = "ship reactor",
+
     label = "chocolate",
     description = [[Powers a ship on its journey between stars. Takeoff requires a long powerup process that is likely to attract raiders.]],
+
     description = [[A delicious preparation of cocoa seeds ground together with sugar and vanilla. It fulfills the need for recreation, but it is not very nutritious.]],
     thingClass = "Building_ShipReactor",
+
     statBases = {
    researchPrerequisites = {
+
      MaxHitPoints = 60,
       "ShipReactor",
+
      MarketValue = 3,
 +
      Mass = 0.075,
 +
      Flammability = 1.0,
 +
      DeteriorationRate = 8,
 +
       Nutrition = 0.1,
 
     },
 
     },
     altitudeLayer = "Building",
+
     thingCategories = {
    passability = "Impassable",
+
      "Foods",
    fillPercent = 1,
 
    statBases = {
 
      WorkToBuild = 65000,
 
      MaxHitPoints = 500,
 
      Flammability = 0,
 
 
     },
 
     },
     size = {6, 7},
+
     ingestible = {
    costList = {
+
       preferability = "DesperateOnly",
      Steel = 350,
+
       foodType = {
      Plasteel = 280,
+
         "Processed",
      Uranium = 70,
 
      ComponentSpacer = 8,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Power",
 
        },
 
        compClass = "CompPowerPlant",
 
        basePowerConsumption = -1000,
 
        transmitsPower = true,
 
      },
 
       {
 
        _ = {
 
          Class = "CompProperties_ShipPart",
 
        },
 
      },
 
       {
 
        _ = {
 
          Class = "CompProperties_Hibernatable",
 
        },
 
         incidentTargetWhileStarting = "Map_RaidBeacon",
 
        sustainerActive = "ShipReactor_Ambience",
 
 
       },
 
       },
 +
      joy = 0.10,
 +
      joyKind = "Gluttonous",
 
     },
 
     },
    terrainAffordanceNeeded = "Heavy",
 
 
   },
 
   },
  
   ["ThingDef:Ship_Engine"] = {
+
   ["ThingDef:Milk"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "OrganicProductBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ship.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ship_Engine",
+
     defName = "Milk",
     label = "ship engine",
+
     label = "milk",
     description = [[A reactionless Johnson-Tanaka drive capable of launching a ship into orbit, and crawling across the vast expanses between stars.]],
+
     description = [[Milk from an animal.]],
    thingClass = "Building",
 
    researchPrerequisites = {
 
      "ShipEngine",
 
    },
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 50000,
+
       MarketValue = 3.1,
       MaxHitPoints = 400,
+
      Mass = 0.045,
       Flammability = 0,
+
       MaxHitPoints = 60,
 +
       Flammability = 0.2,
 +
      Nutrition = 0.05,
 +
      FoodPoisonChanceFixedHuman = 0.02,
 
     },
 
     },
    size = {3, 4},
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Rottable",
 
         },
 
         },
         compClass = "CompPowerTransmitter",
+
         daysToRotStart = 14,
         transmitsPower = true,
+
         rotDestroys = true,
 
       },
 
       },
       {
+
    },
        _ = {
+
    ingestible = {
          Class = "CompProperties_ShipPart",
+
       preferability = "RawTasty",
         },
+
      foodType = {
 +
        "AnimalProduct",
 +
         "Fluid",
 
       },
 
       },
 
     },
 
     },
     costList = {
+
     thingCategories = {
       Steel = 260,
+
       "AnimalProductRaw",
      Plasteel = 140,
 
      Uranium = 70,
 
      ComponentSpacer = 6,
 
 
     },
 
     },
    terrainAffordanceNeeded = "Heavy",
 
 
   },
 
   },
  
   ["ThingDef:Ship_SensorCluster"] = {
+
   ["ThingDef:InsectJelly"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "OrganicProductBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Ship.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ship_SensorCluster",
+
     defName = "InsectJelly",
     label = "sensor cluster",
+
     label = "insect jelly",
     description = [[A multi-function sensor module. Can scan and signal across the void for communications, threat detection, deception, jamming, and other purposes.]],
+
     description = [[Jelly stored and used as food by oversized insects. It is smooth, rich, and fulfills the recreation need of those who consume it. Because of its unique biological properties, it can nourish almost any creature and never rots.]],
    thingClass = "Building",
 
    researchPrerequisites = {
 
      "ShipSensorCluster",
 
    },
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 30000,
+
       MarketValue = 8.0,
       MaxHitPoints = 100,
+
      Mass = 0.025,
       Flammability = 0,
+
      Nutrition = 0.05,
 +
      FoodPoisonChanceFixedHuman = 0.02,
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "AnimalProduct",
 +
      },
 +
      preferability = "MealFine",
 +
      joy = 0.08,
 +
      joyKind = "Gluttonous",
 +
      canAutoSelectAsFoodForCaravan = false,
 +
    },
 +
    thingCategories = {
 +
      "AnimalProductRaw",
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:EggBase"] = {
 +
    _ = {
 +
      Abstract = true,
 +
      Name = "EggBase",
 +
      ParentName = "OrganicProductBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Resource_AnimalProduct.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "AnimalProduct",
 +
      },
 +
      tasteThought = "AteRawFood",
 +
    },
 +
    statBases = {
 +
      Mass = 0.15,
 +
       MaxHitPoints = 20,
 +
      DeteriorationRate = 2,
 +
       Flammability = 0.7,
 +
      Nutrition = 0.25,
 +
      FoodPoisonChanceFixedHuman = 0.02,
 
     },
 
     },
    size = {2, 2},
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Rottable",
        },
 
        compClass = "CompPowerTransmitter",
 
        transmitsPower = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_ShipPart",
 
 
         },
 
         },
 +
        daysToRotStart = 15,
 +
        rotDestroys = true,
 +
        disableIfHatcher = true,
 
       },
 
       },
 
     },
 
     },
     costList = {
+
  },
       Steel = 140,
+
 
       Gold = 4,
+
  ["ThingDef:EggUnfertBase"] = {
       ComponentIndustrial = 6,
+
     _ = {
       ComponentSpacer = 6,
+
       Abstract = true,
 +
      Name = "EggUnfertBase",
 +
      ParentName = "EggBase",
 +
      DefCategory = "ThingDef",
 +
       FileName = "Items_Resource_AnimalProduct.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 +
    },
 +
    ingestible = {
 +
      preferability = "RawBad",
 +
    },
 +
    thingCategories = {
 +
      "EggsUnfertilized",
 
     },
 
     },
    terrainAffordanceNeeded = "Heavy",
 
 
   },
 
   },
  
   ["ThingDef:PsychicEmanator"] = {
+
   ["ThingDef:EggFertBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
      Abstract = true,
 +
      Name = "EggFertBase",
 +
       ParentName = "EggBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Special.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychicEmanator",
+
     ingestible = {
    label = "psychic emanator",
+
      preferability = "DesperateOnly",
     description = [[An ancient device that projects a soothing psychic field around itself. This improves the mood of anyone nearby. Works through walls.]],
+
     },
 
     thingCategories = {
 
     thingCategories = {
       "BuildingsSpecial",
+
       "EggsFertilized",
    },
 
    costList = {
 
      Steel = 50,
 
      ComponentSpacer = 6,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_TemperatureRuinable",
        },
 
        compClass = "CompPowerTrader",
 
        basePowerConsumption = 200,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_MoteEmitter",
 
        },
 
        mote = "Mote_PsychicEmanatorEffect",
 
        emissionInterval = 350,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
 
         },
 
         },
 +
        minSafeTemperature = 0,
 +
        maxSafeTemperature = 50,
 +
        progressPerDegreePerTick = 0.00003,
 
       },
 
       },
 
     },
 
     },
     altitudeLayer = "Building",
+
  },
 +
 
 +
  ["ThingDef:EggChickenUnfertilized"] = {
 +
     _ = {
 +
      ParentName = "EggUnfertBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Resource_AnimalProduct.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "EggChickenUnfertilized",
 +
    label = "chicken egg (unfert.)",
 +
    description = [[An unfertilized chicken egg. It can be eaten raw, but it's much, much better cooked.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1300,
+
       MarketValue = 7.0,
      MaxHitPoints = 100,
 
      Flammability = 0,
 
      Beauty = 0,
 
      Mass = 15,
 
      WorkToBuild = 2000,
 
    },
 
    fillPercent = 0.2,
 
    leaveResourcesWhenKilled = false,
 
    pathCost = 30,
 
    passability = "PassThroughOnly",
 
    minifiedDef = "MinifiedThing",
 
    tradeability = "Sellable",
 
    tradeTags = {
 
      "ExoticBuilding",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:VanometricPowerCell"] = {
+
   ["ThingDef:EggChickenFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "EggFertBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Special.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "VanometricPowerCell",
+
     defName = "EggChickenFertilized",
     label = "vanometric power cell",
+
     label = "chicken egg (fert.)",
     description = [[Generates free energy, forever, without using fuel. This technology is developed by archotechs, and is beyond even most glitterworld societies. While nobody knows exactly how it works, scholars believe it somehow extracts energy directly from fluctuations in the quantum foam.]],
+
     description = [[A fertilized chicken egg. If all goes well, it should hatch into a chick. It can be eaten raw, but it's much better cooked.]],
    altitudeLayer = "Building",
 
    pathCost = 42,
 
    fillPercent = 0.4,
 
    passability = "PassThroughOnly",
 
    leaveResourcesWhenKilled = false,
 
    terrainAffordanceNeeded = "Medium",
 
    thingCategories = {
 
      "BuildingsSpecial",
 
    },
 
 
     statBases = {
 
     statBases = {
       MarketValue = 1200,
+
       MarketValue = 7.0,
      MaxHitPoints = 200,
 
      Flammability = 0,
 
      Mass = 15,
 
    },
 
    size = {1, 2},
 
    costList = {
 
      Steel = 100,
 
      ComponentSpacer = 6,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Hatcher",
 
         },
 
         },
         compClass = "CompPowerPlant",
+
         hatcherDaystoHatch = 3.5,
         basePowerConsumption = -1000,
+
         hatcherPawn = "Chicken",
        transmitsPower = true,
 
 
       },
 
       },
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 3,
 
        glowColor = {227, 233, 168, 0},
 
      },
 
    },
 
    minifiedDef = "MinifiedThing",
 
    tradeability = "Sellable",
 
    tradeTags = {
 
      "ExoticBuilding",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:InfiniteChemreactor"] = {
+
   ["ThingDef:EggCobraFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "EggFertBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Special.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "InfiniteChemreactor",
+
     defName = "EggCobraFertilized",
     label = "infinite chemreactor",
+
     label = "cobra egg (fert.)",
     description = [[Slowly generates chemfuel by a complex series of chemical reactions, using atoms extracted from the air.]],
+
     description = [[A fertilized cobra egg. If all goes well, it should hatch into a baby cobra. It can be eaten raw, but it's much better cooked.]],
     thingCategories = {
+
     statBases = {
       "BuildingsSpecial",
+
       MarketValue = 40.0,
    },
 
    costList = {
 
      Steel = 200,
 
      ComponentSpacer = 6,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Hatcher",
 
         },
 
         },
         compClass = "CompPowerTrader",
+
         hatcherDaystoHatch = 4.5,
        basePowerConsumption = 300,
+
         hatcherPawn = "Cobra",
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Spawner",
 
         },
 
        requiresPower = true,
 
        thingToSpawn = "Chemfuel",
 
        spawnCount = 75,
 
        spawnIntervalRange = {
 
          min = 600000,
 
          max = 600000,
 
        },
 
        writeTimeLeftToSpawn = true,
 
        showMessageIfOwned = true,
 
 
       },
 
       },
      {
 
        _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 8,
 
        explosiveDamageType = "Flame",
 
      },
 
    },
 
    altitudeLayer = "Building",
 
    statBases = {
 
      MarketValue = 1500,
 
      MaxHitPoints = 200,
 
      Flammability = 1.0,
 
      Beauty = -10,
 
      Mass = 35,
 
      WorkToBuild = 8000,
 
    },
 
    size = {2, 2},
 
    fillPercent = 1.0,
 
    leaveResourcesWhenKilled = false,
 
    terrainAffordanceNeeded = "Medium",
 
    passability = "Impassable",
 
    minifiedDef = "MinifiedThing",
 
    tradeability = "Sellable",
 
    tradeTags = {
 
      "ExoticBuilding",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:DoorBase"] = {
+
   ["ThingDef:EggIguanaFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "EggFertBase",
      Name = "DoorBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Structure.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_Door",
+
     defName = "EggIguanaFertilized",
     category = "Building",
+
     label = "iguana egg (fert.)",
     altitudeLayer = "DoorMoveable",
+
     description = [[A fertilized iguana egg. If all goes well, it should hatch into a baby iguana. It can be eaten raw, but it's much better cooked.]],
    fillPercent = 1,
 
    useHitPoints = true,
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 160,
+
       MarketValue = 25.0,
      Flammability = 1.0,
 
    },
 
    leaveResourcesWhenKilled = false,
 
    terrainAffordanceNeeded = "Light",
 
    building = {
 
      isInert = true,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_Hatcher",
 
         },
 
         },
 +
        hatcherDaystoHatch = 3.5,
 +
        hatcherPawn = "Iguana",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Door"] = {
+
   ["ThingDef:EggTortoiseFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "DoorBase",
+
       ParentName = "EggFertBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Structure.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Door",
+
     defName = "EggTortoiseFertilized",
     label = "door",
+
     label = "tortoise egg (fert.)",
     description = [[Divides rooms. Simple doors must be manually opened, which slows people down. The amount of slowdown depends on what the door is made of.]],
+
     description = [[A fertilized tortoise egg. If all goes well, it should hatch into a baby tortoise. It can be eaten raw, but it's much better cooked.]],
 
     statBases = {
 
     statBases = {
       WorkToBuild = 850,
+
       MarketValue = 23.0,
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Hatcher",
 +
        },
 +
        hatcherDaystoHatch = 3.5,
 +
        hatcherPawn = "Tortoise",
 +
      },
 
     },
 
     },
    costStuffCount = 25,
 
 
   },
 
   },
  
   ["ThingDef:Autodoor"] = {
+
   ["ThingDef:EggCassowaryFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "DoorBase",
+
       ParentName = "EggFertBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Structure.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Autodoor",
+
     defName = "EggCassowaryFertilized",
     label = "autodoor",
+
     label = "cassowary egg (fert.)",
     description = [[Divides rooms. Powered operation allows people to move through the door without slowing down.]],
+
     description = [[A fertilized cassowary egg. If all goes well, it should hatch into a baby cassowary. It can be eaten raw, but it's much better cooked.]],
 
     statBases = {
 
     statBases = {
       WorkToBuild = 1100,
+
       MarketValue = 19.0,
    },
 
    costList = {
 
      Steel = 40,
 
      ComponentIndustrial = 2,
 
 
     },
 
     },
    costStuffCount = 25,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Hatcher",
        },
 
        compClass = "CompPowerTrader",
 
        basePowerConsumption = 50,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
 
         },
 
         },
 +
        hatcherDaystoHatch = 7,
 +
        hatcherPawn = "Cassowary",
 
       },
 
       },
    },
 
    researchPrerequisites = {
 
      "Autodoors",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Wall"] = {
+
   ["ThingDef:EggEmuFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "EggFertBase",
      Name = "Wall",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Structure.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Wall",
+
     defName = "EggEmuFertilized",
     label = "wall",
+
     label = "emu egg (fert.)",
     description = [[An impassable wall. Capable of holding up a roof.]],
+
     description = [[A fertilized emu egg. If all goes well, it should hatch into a baby emu. It can be eaten raw, but it's much better cooked.]],
    thingClass = "Building",
 
    category = "Building",
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 300,
+
       MarketValue = 18.0,
      WorkToBuild = 135,
 
      Flammability = 1.0,
 
      MeditationFocusStrength = 0.22,
 
    },
 
    costStuffCount = 5,
 
    leaveResourcesWhenKilled = false,
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
    terrainAffordanceNeeded = "Heavy",
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    building = {
 
      isInert = true,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_MeditationFocus",
+
           Class = "CompProperties_Hatcher",
        },
 
        statDef = "MeditationFocusStrength",
 
        focusTypes = {
 
          "Minimal",
 
 
         },
 
         },
 +
        hatcherDaystoHatch = 6,
 +
        hatcherPawn = "Emu",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Column"] = {
+
   ["ThingDef:EggOstrichFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "EggFertBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Structure.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Column",
+
     defName = "EggOstrichFertilized",
     label = "column",
+
     label = "ostrich egg (fert.)",
     description = [[A column capable of holding a roof. Does not block sight or movement and looks quite nice.]],
+
     description = [[A fertilized ostrich egg. If all goes well, it should hatch into a baby ostrich. It can be eaten raw, but it's much better cooked.]],
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    fillPercent = 0.25,
 
    pathCost = 0,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 160,
+
       MarketValue = 23.0,
       WorkToBuild = 750,
+
    },
       Mass = 10,
+
    comps = {
       Flammability = 1.0,
+
      {
       Beauty = 5,
+
        _ = {
 +
          Class = "CompProperties_Hatcher",
 +
        },
 +
        hatcherDaystoHatch = 8,
 +
        hatcherPawn = "Ostrich",
 +
      },
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:EggTurkeyFertilized"] = {
 +
    _ = {
 +
      ParentName = "EggFertBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Items_Resource_AnimalProduct.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     stuffCategories = {
+
     defName = "EggTurkeyFertilized",
      "Metallic",
+
    label = "turkey egg (fert.)",
      "Woody",
+
    description = [[A fertilized turkey egg. If all goes well, it should hatch into a baby turkey. It can be eaten raw, but it's much better cooked.]],
       "Stony",
+
    statBases = {
 +
       MarketValue = 11.0,
 
     },
 
     },
     costStuffCount = 20,
+
     comps = {
    building = {
+
      {
       isInert = true,
+
        _ = {
 +
          Class = "CompProperties_Hatcher",
 +
        },
 +
        hatcherDaystoHatch = 5,
 +
        hatcherPawn = "Turkey",
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Campfire"] = {
+
   ["ThingDef:EggDuckUnfertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "EggUnfertBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Temperature.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Campfire",
+
     defName = "EggDuckUnfertilized",
     label = "campfire",
+
     label = "duck egg (unfert.)",
     description = [[Cooks meals and produces heat, and burns out after a few days. As with all heat sources, it must be placed indoors so it has a closed space to heat. Refuelable.]],
+
     description = [[An unfertilized duck egg. It can be eaten raw, but it's much, much better cooked.]],
    thingClass = "Building_WorkTable",
 
    category = "Building",
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    pathCost = 42,
 
    fillPercent = 0.20,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 80,
+
       MarketValue = 7.0,
       WorkToBuild = 200,
+
    },
       Flammability = 0,
+
  },
       WorkTableWorkSpeedFactor = 0.5,
+
 
       MeditationFocusStrength = 0.0,
+
  ["ThingDef:EggDuckFertilized"] = {
 +
    _ = {
 +
       ParentName = "EggFertBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Items_Resource_AnimalProduct.xml",
 +
       GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     costList = {
+
     defName = "EggDuckFertilized",
       WoodLog = 20,
+
    label = "duck egg (fert.)",
 +
    description = [[A fertilized duck egg. If all goes well, it should hatch into a duckling. It can be eaten raw, but it's much better cooked.]],
 +
    statBases = {
 +
       MarketValue = 7.0,
 
     },
 
     },
    leaveResourcesWhenKilled = false,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Refuelable",
+
           Class = "CompProperties_Hatcher",
 
         },
 
         },
         fuelConsumptionRate = 10.0,
+
         hatcherDaystoHatch = 3.5,
         fuelCapacity = 20.0,
+
         hatcherPawn = "Duck",
        fuelConsumptionPerTickInRain = 0.0006,
+
      },
        fuelFilter = {
+
    },
          thingDefs = {
+
  },
            "WoodLog",
+
 
          },
+
  ["ThingDef:EggGooseUnfertilized"] = {
        },
+
    _ = {
        initialFuelPercent = 1,
+
       ParentName = "EggUnfertBase",
        showAllowAutoRefuelToggle = true,
+
       DefCategory = "ThingDef",
      },
+
       FileName = "Items_Resource_AnimalProduct.xml",
      {
+
      GameVersion = "1.2.2753",
        _ = {
+
      DLC = "Core",
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 10,
 
        glowColor = {252, 187, 113, 0},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_HeatPusher",
 
        },
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 21,
 
        heatPushMaxTemperature = 28,
 
       },
 
      {
 
        _ = {
 
          Class = "CompProperties_FireOverlay",
 
        },
 
        fireSize = 1,
 
       },
 
      {
 
        compClass = "CompGatherSpot",
 
       },
 
      {
 
        _ = {
 
          Class = "CompProperties_MeditationFocus",
 
        },
 
        statDef = "MeditationFocusStrength",
 
        focusTypes = {
 
          "Flame",
 
        },
 
        offsets = {
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_Lit",
 
            },
 
            offset = 0.12,
 
          },
 
          {
 
            _ = {
 
              Class = "FocusStrengthOffset_BuildingDefsLit",
 
            },
 
            defs = {
 
              "Campfire",
 
              "TorchLamp",
 
              "Brazier",
 
            },
 
            offsetPerBuilding = 0.02,
 
            radius = 9.9,
 
            maxBuildings = 8,
 
            explanationKey = "MeditationFocusPerFlame",
 
            explanationKeyAbstract = "MeditationFocusPerFlameAbstract",
 
          },
 
        },
 
      },
 
 
     },
 
     },
     hasInteractionCell = true,
+
     defName = "EggGooseUnfertilized",
     building = {
+
     label = "goose egg (unfert.)",
      isMealSource = true,
+
    description = [[An unfertilized goose egg. It can be eaten raw, but it's much, much better cooked.]],
       artificialForMeditationPurposes = false,
+
    statBases = {
 +
       MarketValue = 9.0,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PassiveCooler"] = {
+
   ["ThingDef:EggGooseFertilized"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "EggFertBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Temperature.xml",
+
       FileName = "Items_Resource_AnimalProduct.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PassiveCooler",
+
     defName = "EggGooseFertilized",
     label = "passive cooler",
+
     label = "goose egg (fert.)",
     description = [[A traditional unpowered cooler that works by water evaporation. Must be regularly replenished with wood. Not efficient enough to refrigerate food.]],
+
     description = [[A fertilized goose egg. If all goes well, it should hatch into a baby goose. It can be eaten raw, but it's much better cooked.]],
    category = "Building",
 
    altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
    pathCost = 30,
 
    fillPercent = 0.40,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 80,
+
       MarketValue = 11.0,
      WorkToBuild = 200,
 
      Flammability = 1,
 
 
     },
 
     },
    costList = {
+
     comps = {
      WoodLog = 50,
 
    },
 
    leaveResourcesWhenKilled = false,
 
     comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_HeatPusher",
+
           Class = "CompProperties_Hatcher",
 
         },
 
         },
         compClass = "CompHeatPusherPowered",
+
         hatcherDaystoHatch = 6.5,
        heatPerSecond = -11,
+
         hatcherPawn = "Goose",
        heatPushMinTemperature = 17,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Refuelable",
 
        },
 
        fuelConsumptionRate = 10.0,
 
        fuelCapacity = 50.0,
 
         fuelFilter = {
 
          thingDefs = {
 
            "WoodLog",
 
          },
 
        },
 
        initialFuelPercent = 1,
 
        showAllowAutoRefuelToggle = true,
 
 
       },
 
       },
    },
 
    researchPrerequisites = {
 
      "PassiveCooler",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Heater"] = {
+
   ["ThingDef:ResourceBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       Name = "ResourceBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Temperature.xml",
+
       FileName = "Items_Resource_Base.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Heater",
+
     thingClass = "ThingWithComps",
     label = "heater",
+
     category = "Item",
     description = [[A device that converts electricity into heat. It can automatically turn itself on or off to reach a specific target temperature.]],
+
     useHitPoints = true,
    thingClass = "Building_Heater",
+
     altitudeLayer = "Item",
    minifiedDef = "MinifiedThing",
+
     stackLimit = 75,
     altitudeLayer = "Building",
 
    passability = "PassThroughOnly",
 
     pathCost = 30,
 
    fillPercent = 0.4,
 
    thingCategories = {
 
      "BuildingsTemperature",
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 1000,
+
       Beauty = -4,
      MaxHitPoints = 100,
 
      Mass = 6,
 
      Flammability = 0.5,
 
 
     },
 
     },
    costList = {
 
      Steel = 50,
 
      ComponentIndustrial = 1,
 
    },
 
    terrainAffordanceNeeded = "Light",
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Power",
+
           Class = "CompProperties_Forbiddable",
        },
 
        compClass = "CompPowerTrader",
 
        basePowerConsumption = 175,
 
        shortCircuitInRain = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TempControl",
 
        },
 
        energyPerSecond = 21,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 3,
 
        glowColor = {255, 150, 100, 0},
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     researchPrerequisites = {
+
     pathCost = 14,
      "Electricity",
 
    },
 
 
   },
 
   },
  
   ["ThingDef:Cooler"] = {
+
   ["ThingDef:MedicineBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "ResourceBase",
 +
      Name = "MedicineBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Temperature.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Cooler",
+
     thingClass = "Medicine",
    label = "cooler",
+
     stackLimit = 25,
    description = [[An air-cooling machine that fits into a wall. Cool air comes out one side, while hot exhaust comes out the other. Can be used to cool down rooms during summer, or to create a walk-in freezer.]],
 
     thingClass = "Building_Cooler",
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
     fillPercent = 1,
 
 
     statBases = {
 
     statBases = {
      WorkToBuild = 1600,
+
       MaxHitPoints = 60,
       MaxHitPoints = 100,
 
      Flammability = 0.7,
 
 
     },
 
     },
     costList = {
+
     thingCategories = {
      Steel = 90,
+
       "Medicine",
      ComponentIndustrial = 3,
 
    },
 
    terrainAffordanceNeeded = "Medium",
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Power",
 
        },
 
        compClass = "CompPowerTrader",
 
        basePowerConsumption = 200,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TempControl",
 
        },
 
        energyPerSecond = -21,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Breakdownable",
 
        },
 
      },
 
    },
 
    researchPrerequisites = {
 
       "AirConditioning",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Vent"] = {
+
   ["ThingDef:MedicineHerbal"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       ParentName = "MedicineBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Temperature.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Vent",
+
     defName = "MedicineHerbal",
     label = "vent",
+
     label = "herbal medicine",
     description = [[A vent for equalizing the temperature between two rooms without allowing people to walk between them.]],
+
     description = [[A pack of herbal concoctions extracted from the healroot plant. It is less potent than industrial pharmaceuticals, but much better than nothing.]],
    thingClass = "Building_Vent",
 
    altitudeLayer = "Building",
 
    passability = "Impassable",
 
    fillPercent = 1,
 
 
     statBases = {
 
     statBases = {
       WorkToBuild = 400,
+
       MarketValue = 10,
       MaxHitPoints = 100,
+
       Mass = 0.35,
       Flammability = 1.0,
+
       Flammability = 1.3,
    },
+
       MedicalPotency = 0.60,
    costList = {
+
      MedicalQualityMax = 0.70,
       Steel = 30,
+
      DeteriorationRate = 6,
    },
 
    terrainAffordanceNeeded = "Medium",
 
    researchPrerequisites = {
 
      "ComplexFurniture",
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Flickable",
+
           Class = "CompProperties_Rottable",
 
         },
 
         },
         commandTexture = "UI/Commands/Vent",
+
         daysToRotStart = 150,
         commandLabelKey = "CommandDesignateOpenCloseVentLabel",
+
         rotDestroys = true,
        commandDescKey = "CommandDesignateOpenCloseVentDesc",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArtifactBase"] = {
+
   ["ThingDef:MedicineIndustrial"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "MedicineBase",
      Name = "ArtifactBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Artifacts.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "ThingWithComps",
+
     defName = "MedicineIndustrial",
     thingCategories = {
+
     label = "medicine",
      "Artifacts",
+
     description = [[A kit of industrial-era medical equipment. It contains basic drugs, tools for suturing and bone setting, diagnostic devices, and various pads and fluids.]],
     },
+
     statBases = {
     tradeTags = {
+
       MarketValue = 18,
       "Artifact",
+
      Mass = 0.50,
 +
      Flammability = 0.7,
 +
      MedicalPotency = 1.00,
 +
      MedicalQualityMax = 1.00,
 +
      DeteriorationRate = 2,
 +
      WorkToMake = 700,
 
     },
 
     },
     statBases = {
+
     costList = {
       Mass = 0.5,
+
       MedicineHerbal = 1,
 +
      Neutroamine = 1,
 +
      Cloth = 3,
 
     },
 
     },
     comps = {
+
     recipeMaker = {
       {
+
       workSpeedStat = "DrugSynthesisSpeed",
        _ = {
+
      workSkill = "Intellectual",
          Class = "CompProperties_Usable",
+
      recipeUsers = {
        },
+
         "DrugLab",
        useJob = "UseArtifact",
 
         useLabel = "Activate",
 
 
       },
 
       },
       {
+
       researchPrerequisite = "MedicineProduction",
        _ = {
+
      skillRequirements = {
          Class = "CompProperties_UseEffect",
+
         Crafting = 4,
         },
+
         Intellectual = 4,
         compClass = "CompUseEffect_DestroySelf",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PsychicAnimalPulser"] = {
+
   ["ThingDef:MedicineUltratech"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtifactBase",
+
       ParentName = "MedicineBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Artifacts.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychicAnimalPulser",
+
     defName = "MedicineUltratech",
     label = "psychic animal pulser",
+
     label = "glitterworld medicine",
     description = [[A one-use broad-wave psychic effector. The psychic pulse fills lower minds with terrifying imagery, driving all animals in the region into a manhunting rage. Animals currently under your control will not be affected.]],
+
     description = [[A kit of advanced ultra-tech medical supplies, probably manufactured on a distant glitterworld. It contains advanced polymorphic drugs, nanite diagnostic and healing assisters, a mini-imager, and various multi-use tools.]],
    stackLimit = 1,
 
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 700,
+
       MarketValue = 50,
       MaxHitPoints = 80,
+
       Mass = 0.50,
 +
      Flammability = 0.7,
 +
      MedicalPotency = 1.60,
 +
      MedicalQualityMax = 1.30,
 +
      DeteriorationRate = 2.0,
 
     },
 
     },
     comps = {
+
     tradeTags = {
       {
+
       "ExoticMisc",
        _ = {
 
          Class = "CompProperties_Targetable",
 
        },
 
        compClass = "CompTargetable_AllAnimalsOnTheMap",
 
        psychicSensitiveTargetsOnly = true,
 
        doCameraShake = true,
 
        moteOnTarget = "Mote_PsycastPsychicEffect",
 
        moteOnUsed = "Mote_PsycastAreaEffect",
 
        moteOnUsedScale = 10,
 
        ignorePlayerFactionPawns = true,
 
      },
 
      {
 
        compClass = "CompTargetEffect_Manhunter",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_GoodwillImpact",
 
        },
 
        goodwillImpact = -200,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffectArtifact",
 
        },
 
        sound = "PsychicAnimalPulserCast",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PsychicSoothePulser"] = {
+
   ["ThingDef:ComponentIndustrial"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtifactBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Artifacts.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychicSoothePulser",
+
     defName = "ComponentIndustrial",
     label = "psychic soothe pulser",
+
     label = "component",
     description = [[A one-use broad-wave psychic effector. The psychic pulse induces self-satisfying perceptual distortions, giving a temporary mood boost to everyone in the region.]],
+
     description = [[Miscellaneous gears, capacitors, circuit boards, tubes, wheels, sensors, wires, chips, processors, and other electronic and industrial parts. Necessary for assembling complex machines or electronics.]],
     stackLimit = 1,
+
     stackLimit = 50,
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 600,
+
      MaxHitPoints = 70,
       MaxHitPoints = 80,
+
       MarketValue = 32,
 +
      Mass = 0.6,
 +
       Flammability = 0.6,
 +
      DeteriorationRate = 2.0,
 
     },
 
     },
     comps = {
+
     thingCategories = {
       {
+
       "Manufactured",
        _ = {
 
          Class = "CompProperties_Targetable",
 
        },
 
        compClass = "CompTargetable_AllPawnsOnTheMap",
 
        psychicSensitiveTargetsOnly = true,
 
        doCameraShake = true,
 
        moteOnTarget = "Mote_PsycastPsychicEffect",
 
        moteOnUsed = "Mote_PsycastAreaEffect",
 
        moteOnUsedScale = 10,
 
      },
 
      {
 
        compClass = "CompTargetEffect_MoodBoost",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffectArtifact",
 
        },
 
        sound = "PsychicSoothePulserCast",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ResourceVerbBase"] = {
+
   ["ThingDef:ComponentSpacer"] = {
 
     _ = {
 
     _ = {
      Name = "ResourceVerbBase",
 
 
       ParentName = "ResourceBase",
 
       ParentName = "ResourceBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "ComponentSpacer",
       {
+
    label = "advanced component",
        compClass = "CompEquippable",
+
    description = [[Advanced computing and energy-directing machinery, miniaturized and hardened for the most demanding applications.]],
       },
+
    stackLimit = 50,
 +
    statBases = {
 +
       MaxHitPoints = 70,
 +
      MarketValue = 200,
 +
      Mass = 0.6,
 +
      Flammability = 0.6,
 +
      DeteriorationRate = 2.0,
 +
    },
 +
    thingCategories = {
 +
      "Manufactured",
 +
    },
 +
    tradeTags = {
 +
       "ExoticMisc",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:AIPersonaCore"] = {
+
   ["ThingDef:Neutroamine"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "ResourceBase",
 
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AIPersonaCore",
+
     defName = "Neutroamine",
     label = "persona core",
+
     label = "neutroamine",
     description = [[A hyper-advanced computer core that houses a peak-human-equivalent machine persona. In its isolated state, the core is dormant. Installed in a proper support structure, however, it can become a mind of great power.]],
+
     description = [[A synthetic precursor chemical. While it is useless on its own, many drugs require neutroamine as an ingredient.]],
     stackLimit = 1,
+
     stackLimit = 150,
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 4000,
+
       MaxHitPoints = 50,
       MaxHitPoints = 100,
+
       MarketValue = 6,
       Mass = 2,
+
       Mass = 0.02,
       Flammability = 0.2,
+
       Flammability = 0.7,
 +
      DeteriorationRate = 1.0,
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Items",
+
       "Manufactured",
    },
 
    tradeability = "Sellable",
 
    tradeTags = {
 
      "ExoticMisc",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MechSerumBase"] = {
+
   ["ThingDef:Chemfuel"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "ResourceBase",
 
       ParentName = "ResourceBase",
      Name = "MechSerumBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_Manufactured.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "ThingWithComps",
+
     defName = "Chemfuel",
     useHitPoints = true,
+
     label = "chemfuel",
 +
    description = [[A volatile liquid chemical. Used to fuel engines and rockets, or to transmute into propellant for projectiles, or as an incendiary weapon.]],
 +
    stackLimit = 150,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 80,
+
       MaxHitPoints = 50,
       Mass = 0.2,
+
      MarketValue = 2.3,
       DeteriorationRate = 2.0,
+
       Mass = 0.05,
       Flammability = 0.2,
+
       Flammability = 2.0,
 +
       DeteriorationRate = 1.0,
 
     },
 
     },
     tradeTags = {
+
     thingCategories = {
       "ExoticMisc",
+
       "Manufactured",
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_UseEffectPlaySound",
+
           Class = "CompProperties_Explosive",
 +
        },
 +
        explosiveRadius = 1.1,
 +
        explosiveDamageType = "Flame",
 +
        explosiveExpandPerStackcount = 0.037,
 +
        startWickOnDamageTaken = {
 +
          "Flame",
 
         },
 
         },
         soundOnUsed = "MechSerumUsed",
+
         startWickHitPointsPercent = 0.333,
 +
        preExplosionSpawnThingDef = "Filth_Fuel",
 +
        preExplosionSpawnChance = 1,
 +
        wickTicks = { ["<"]=70, [">"]=150 },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MechSerumHealer"] = {
+
   ["ThingDef:OrganicProductBase"] = {
 +
    _ = {
 +
      Abstract = true,
 +
      Name = "OrganicProductBase",
 +
      ParentName = "ResourceBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Resource_RawPlant.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    statBases = {
 +
      MaxHitPoints = 60,
 +
      Flammability = 1.0,
 +
      DeteriorationRate = 6,
 +
      Mass = 0.03,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:PlantFoodRawBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "MechSerumBase",
+
      Abstract = true,
 +
      Name = "PlantFoodRawBase",
 +
       ParentName = "OrganicProductBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MechSerumHealer",
+
     ingestible = {
    label = "healer mech serum",
+
      preferability = "RawBad",
     description = [[A one-use super-dose of mechanites tuned to heal health conditions. The mechanites will target and heal the single worst health condition affecting someone at any given time. Works even on health conditions that would otherwise be incurable. The mechanites can even transmute themselves into organic matter, forming new limbs or organs as needed.]],
+
      tasteThought = "AteRawFood",
    stackLimit = 10,
+
     },
 
     statBases = {
 
     statBases = {
       MarketValue = 1300,
+
       Nutrition = 0.05,
 +
      FoodPoisonChanceFixedHuman = 0.02,
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Items",
+
       "PlantFoodRaw",
    },
 
    tradeability = "Sellable",
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Usable",
 
        },
 
        useJob = "UseItem",
 
        useLabel = "Use healer mech serum",
 
        useDuration = 600,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffect",
 
        },
 
        compClass = "CompUseEffect_FixWorstHealthCondition",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffect",
 
        },
 
        compClass = "CompUseEffect_DestroySelf",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MechSerumResurrector"] = {
+
   ["ThingDef:RawPotatoes"] = {
 
     _ = {
 
     _ = {
       ParentName = "MechSerumBase",
+
       ParentName = "PlantFoodRawBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MechSerumResurrector",
+
     defName = "RawPotatoes",
     label = "resurrector mech serum",
+
     label = "potatoes",
     description = [[A one-use super-dose of mechanites tuned to resurrect the dead. Administered to a corpse, mechanites repair broken-down tissues and kickstart the body back to life. Unfortunately, the resurrected sometimes come back with brain damage, blindness, or progressive psychosis. Outcomes are better when the mechanites are administered to a fresher body. If a body is preserved, it can even be resurrected long after death.]],
+
     description = [[Raw potatoes.]],
    stackLimit = 10,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 1700,
+
       MarketValue = 1.1,
 
     },
 
     },
     thingCategories = {
+
     ingestible = {
       "Items",
+
       foodType = {
 +
        "VegetableOrFruit",
 +
      },
 
     },
 
     },
    tradeability = "Sellable",
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Usable",
+
           Class = "CompProperties_Rottable",
 
         },
 
         },
         useJob = "UseItem",
+
         daysToRotStart = 30,
         useLabel = "Use resurrector mech serum",
+
         rotDestroys = true,
        useDuration = 0,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Targetable",
 
        },
 
        compClass = "CompTargetable_SingleCorpse",
 
        fleshCorpsesOnly = true,
 
        nonDessicatedCorpsesOnly = true,
 
      },
 
      {
 
        compClass = "CompTargetEffect_Resurrect",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TechprofSubpersonaCore"] = {
+
   ["ThingDef:RawFungus"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "PlantFoodRawBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TechprofSubpersonaCore",
+
     defName = "RawFungus",
     label = "techprof subpersona core",
+
     label = "raw fungus",
    thingClass = "ThingWithComps",
+
     description = [[Raw fungus.]],
     description = [[A small AI core housing a low-grade subpersona specialized in teaching technology. When used, the AI will teach you the technology you're currently researching, instantly and for free. Can only be used once.]],
 
    stackLimit = 1,
 
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 1000,
+
       MarketValue = 1.1,
      MaxHitPoints = 100,
 
      Mass = 2.0,
 
      Flammability = 0.2,
 
 
     },
 
     },
     thingCategories = {
+
     ingestible = {
       "Items",
+
       foodType = {
    },
+
        "VegetableOrFruit",
    tradeability = "Sellable",
+
       },
    tradeTags = {
 
       "ExoticMisc",
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Usable",
+
           Class = "CompProperties_Rottable",
 
         },
 
         },
         useJob = "UseItem",
+
         daysToRotStart = 30,
         useLabel = "Use techprof subpersona core",
+
         rotDestroys = true,
 
       },
 
       },
      {
+
    },
        _ = {
+
  },
          Class = "CompProperties_UseEffect",
+
 
        },
+
  ["ThingDef:RawRice"] = {
         compClass = "CompUseEffect_FinishRandomResearchProject",
+
    _ = {
 +
      ParentName = "PlantFoodRawBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Resource_RawPlant.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "RawRice",
 +
    label = "rice",
 +
    description = [[Raw rice.]],
 +
    statBases = {
 +
      MarketValue = 1.1,
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
         "Seed",
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_UseEffect",
+
           Class = "CompProperties_Rottable",
 
         },
 
         },
         compClass = "CompUseEffect_DestroySelf",
+
         daysToRotStart = 40,
 +
        rotDestroys = true,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ThrumboHorn"] = {
+
   ["ThingDef:RawAgave"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceVerbBase",
+
       ParentName = "PlantFoodRawBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ThrumboHorn",
+
     defName = "RawAgave",
     label = "thrumbo horn",
+
     label = "agave fruit",
     description = [[A thrumbo's horn. It's razor-sharp, rock-hard, and priceless in most markets. This is a true trophy, as well as a deadly melee weapon.]],
+
     description = [[Raw agave fruit.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 800,
+
       MarketValue = 1.1,
      MaxHitPoints = 150,
 
      Mass = 3,
 
      Flammability = 0.4,
 
      DeteriorationRate = 0.5,
 
 
     },
 
     },
     stackLimit = 10,
+
     ingestible = {
    tools = {
+
       foodType = {
       {
+
         "VegetableOrFruit",
         label = "point",
 
        capacities = {
 
          "Scratch",
 
          "Stab",
 
        },
 
        power = 28,
 
        cooldownTime = 2.6,
 
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
         label = "base",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_Rottable",
           "Blunt",
 
 
         },
 
         },
         power = 9,
+
         daysToRotStart = 25,
         cooldownTime = 2,
+
         rotDestroys = true,
 
       },
 
       },
    },
 
    thingCategories = {
 
      "Items",
 
    },
 
    tradeTags = {
 
      "ExoticMisc",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ElephantTusk"] = {
+
   ["ThingDef:RawCorn"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceVerbBase",
+
       ParentName = "PlantFoodRawBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Exotic.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ElephantTusk",
+
     defName = "RawCorn",
     label = "elephant tusk",
+
     label = "corn",
     description = [[An elephant's tusk. It is very durable and valuable. While somewhat unwieldy as a melee weapon, it can still be deadly.]],
+
     description = [[Raw corn.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 80,
+
       MarketValue = 1.1,
      MaxHitPoints = 150,
 
      Mass = 1.8,
 
      Flammability = 0.9,
 
      DeteriorationRate = 0.5,
 
 
     },
 
     },
     stackLimit = 10,
+
     ingestible = {
    tools = {
+
       foodType = {
       {
+
         "VegetableOrFruit",
         label = "point",
 
        capacities = {
 
          "Scratch",
 
          "Stab",
 
        },
 
        power = 18.2,
 
        cooldownTime = 2.6,
 
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
         label = "base",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_Rottable",
           "Blunt",
 
 
         },
 
         },
         power = 9,
+
         daysToRotStart = 60,
         cooldownTime = 2,
+
         rotDestroys = true,
        chanceFactor = 0.5,
 
 
       },
 
       },
    },
 
    thingCategories = {
 
      "Items",
 
    },
 
    tradeTags = {
 
      "ExoticMisc",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MealBase"] = {
+
   ["ThingDef:RawBerries"] = {
 
     _ = {
 
     _ = {
       Name = "MealBase",
+
       ParentName = "PlantFoodRawBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "ThingWithComps",
+
     defName = "RawBerries",
     category = "Item",
+
     label = "berries",
     useHitPoints = true,
+
     description = [[Assorted berries. Nice to eat, even when raw.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 50,
+
       MarketValue = 1.2,
      Flammability = 1.0,
+
       Mass = 0.027,
      Beauty = 0,
 
       Mass = 0.44,
 
      DeteriorationRate = 10,
 
 
     },
 
     },
    altitudeLayer = "Item",
+
     comps = {
    stackLimit = 10,
+
       {
    thingCategories = {
 
      "FoodMeals",
 
    },
 
     comps = {
 
       {
 
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_Rottable",
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Ingredients",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_FoodPoisonable",
 
 
         },
 
         },
 +
        daysToRotStart = 14,
 +
        rotDestroys = true,
 
       },
 
       },
 
     },
 
     },
    pathCost = 14,
 
 
     ingestible = {
 
     ingestible = {
 +
      preferability = "RawTasty",
 +
      tasteThought = {},
 
       foodType = {
 
       foodType = {
         "Meal",
+
         "VegetableOrFruit",
 
       },
 
       },
      optimalityOffsetHumanlikes = 16,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MealSurvivalPack"] = {
+
   ["ThingDef:RoughPlantBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "MealBase",
+
       ParentName = "OrganicProductBase",
 +
      Name = "RoughPlantBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MealSurvivalPack",
+
     ingestible = {
    label = "packaged survival meal",
+
      foodType = {
     description = [[A high-quality packaged meal, manufactured for use in survival situations. While it never rots, it can still deteriorate if left outside. Great for traveling.]],
+
        "Plant",
 +
      },
 +
      preferability = "DesperateOnlyForHumanlikes",
 +
     },
 
     statBases = {
 
     statBases = {
      DeteriorationRate = 0.25,
+
       Nutrition = 0.05,
      MarketValue = 24,
 
      Mass = 0.3,
 
      WorkToMake = 450,
 
       Nutrition = 0.9,
 
    },
 
    ingestible = {
 
      preferability = "MealSimple",
 
      optimalityOffsetHumanlikes = -5,
 
      optimalityOffsetFeedingAnimals = -10,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MealNutrientPaste"] = {
+
   ["ThingDef:Hay"] = {
 
     _ = {
 
     _ = {
       ParentName = "MealBase",
+
       ParentName = "RoughPlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MealNutrientPaste",
+
     defName = "Hay",
     label = "nutrient paste meal",
+
     label = "hay",
     description = [[A synthetic mixture of protein, carbohydrates, and vitamins, amino acids and minerals. Everything the body needs, and absolutely disgusting.]],
+
     description = [[Nutrient-rich grasses and shoots, harvested and compacted for storage. Hay is good animal feed, but inedible for humans.]],
 +
    stackLimit = 200,
 
     statBases = {
 
     statBases = {
       MarketValue = 10,
+
       MarketValue = 0.6,
       Nutrition = 0.9,
+
       Mass = 0.014,
 +
      Flammability = 1.5,
 
     },
 
     },
    ingestible = {
 
      preferability = "MealAwful",
 
      tasteThought = "AteAwfulMeal",
 
    },
 
    tradeability = "Buyable",
 
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 12,123: Line 11,498:
 
           Class = "CompProperties_Rottable",
 
           Class = "CompProperties_Rottable",
 
         },
 
         },
         daysToRotStart = 0.75,
+
         daysToRotStart = 60,
 
         rotDestroys = true,
 
         rotDestroys = true,
 
       },
 
       },
 +
    },
 +
    thingCategories = {
 +
      "Foods",
 +
    },
 +
    ingestible = {
 +
      optimalityOffsetFeedingAnimals = 7,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MealCooked"] = {
+
   ["ThingDef:RawHops"] = {
 
     _ = {
 
     _ = {
       ParentName = "MealBase",
+
       ParentName = "RoughPlantBase",
      Name = "MealCooked",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     tradeability = "Buyable",
+
     defName = "RawHops",
 +
    label = "hops",
 +
    description = [[Raw hops. A flavoring and preserving agent that is necessary for making beer.]],
 +
    statBases = {
 +
      MarketValue = 1.3,
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 12,145: Line 11,529:
 
           Class = "CompProperties_Rottable",
 
           Class = "CompProperties_Rottable",
 
         },
 
         },
         daysToRotStart = 4,
+
         daysToRotStart = 30,
 
         rotDestroys = true,
 
         rotDestroys = true,
 
       },
 
       },
 
     },
 
     },
   },
+
    thingCategories = {
 +
      "PlantMatter",
 +
    },
 +
    ingestible = {
 +
      preferability = "DesperateOnly",
 +
    },
 +
   },
  
   ["ThingDef:MealSimple"] = {
+
   ["ThingDef:PsychoidLeaves"] = {
 
     _ = {
 
     _ = {
       ParentName = "MealCooked",
+
       ParentName = "RoughPlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MealSimple",
+
     defName = "PsychoidLeaves",
     label = "simple meal",
+
     label = "psychoid leaves",
     description = [[A simple meal quickly cooked from one main ingredient.]],
+
     description = [[Raw cut leaves of a psychoid plant. Can be refined into various form of the stimulant drug psychite.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 15,
+
       MarketValue = 1.9,
       WorkToMake = 300,
+
       Flammability = 1.3,
       Nutrition = 0.9,
+
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Rottable",
 +
        },
 +
        daysToRotStart = 30,
 +
        rotDestroys = true,
 +
       },
 +
    },
 +
    thingCategories = {
 +
      "PlantMatter",
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
       preferability = "MealSimple",
+
       preferability = "DesperateOnly",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MealFine"] = {
+
   ["ThingDef:SmokeleafLeaves"] = {
 
     _ = {
 
     _ = {
       ParentName = "MealCooked",
+
       ParentName = "RoughPlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_RawPlant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MealFine",
+
     defName = "SmokeleafLeaves",
     label = "fine meal",
+
     label = "smokeleaf leaves",
     description = [[A complex dish assembled with care from a variety of ingredients.]],
+
     description = [[Raw cut leaves of a smokeleaf plant. Can be rolled into smokeable joints at a crafting spot.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 20,
+
       MarketValue = 1.6,
       WorkToMake = 450,
+
      Flammability = 1.3,
       Nutrition = 0.9,
+
    },
 +
    comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_Rottable",
 +
        },
 +
        daysToRotStart = 30,
 +
        rotDestroys = true,
 +
       },
 +
    },
 +
    thingCategories = {
 +
      "PlantMatter",
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
       preferability = "MealFine",
+
       preferability = "DesperateOnly",
      tasteThought = "AteFineMeal",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MealLavish"] = {
+
   ["ThingDef:ShellBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "MealCooked",
+
      Name = "ShellBase",
 +
       ParentName = "ResourceBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MealLavish",
+
     stackLimit = 25,
    label = "lavish meal",
 
    description = [[A masterpiece of the culinary arts, this meal nourishes the body, mind, and soul.]],
 
 
     statBases = {
 
     statBases = {
       MarketValue = 40,
+
      MaxHitPoints = 60,
       WorkToMake = 800,
+
       MarketValue = 55,
       Nutrition = 1,
+
       Mass = 1.25,
 +
       Flammability = 1.0,
 +
      DeteriorationRate = 1.5,
 +
    },
 +
    thingCategories = {
 +
      "MortarShells",
 
     },
 
     },
     ingestible = {
+
     tradeTags = {
       preferability = "MealLavish",
+
       "MortarShell",
      tasteThought = "AteLavishMeal",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Kibble"] = {
+
   ["ThingDef:MakeableShellBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrganicProductBase",
+
      Name = "MakeableShellBase",
 +
       ParentName = "ShellBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Kibble",
+
     recipeMaker = {
    label = "kibble",
+
      workSpeedStat = "GeneralLaborSpeed",
    description = [[Animal feed made from mixed meat and plant sources. Humans can eat it, but they really, really don't like it.]],
+
      effectWorking = "Cook",
    thingCategories = {
+
       soundWorking = "Recipe_Machining",
      "Foods",
+
       workAmount = 800,
    },
+
       targetCountAdjustment = 5,
    statBases = {
+
       workSkill = "Crafting",
       MarketValue = 1.1,
+
       recipeUsers = {
       Mass = 0.015,
+
         "TableMachining",
       Nutrition = 0.05,
 
       FoodPoisonChanceFixedHuman = 0.02,
 
    },
 
    ingestible = {
 
       foodType = {
 
         "Kibble",
 
 
       },
 
       },
       preferability = "RawBad",
+
       skillRequirements = {
      tasteThought = "AteKibble",
+
         Crafting = 4,
      optimalityOffsetHumanlikes = -30,
 
      optimalityOffsetFeedingAnimals = 15,
 
    },
 
    comps = {
 
      {
 
         _ = {
 
          Class = "CompProperties_Ingredients",
 
        },
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Pemmican"] = {
+
   ["ThingDef:Shell_HighExplosive"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrganicProductBase",
+
       ParentName = "MakeableShellBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Food.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Pemmican",
+
     defName = "Shell_HighExplosive",
     label = "pemmican",
+
     label = "high-explosive shell",
     description = [[A preserved mashed mixture of fat and plant food. Tastes bland, but not offensive. It lasts a very long time without refrigeration. Great for traveling.]],
+
     description = [[A shell filled with high explosives. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
    thingClass = "ThingWithComps",
 
    thingCategories = {
 
      "Foods",
 
    },
 
    statBases = {
 
      MarketValue = 1.4,
 
      Mass = 0.018,
 
      Flammability = 0.6,
 
      WorkToMake = 700,
 
      DeteriorationRate = 2,
 
      Nutrition = 0.05,
 
    },
 
    ingestible = {
 
      foodType = {
 
        "Meal",
 
      },
 
      preferability = "MealSimple",
 
      optimalityOffsetHumanlikes = 6,
 
    },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Rottable",
+
           Class = "CompProperties_Explosive",
        },
 
        daysToRotStart = 70,
 
        rotDestroys = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Ingredients",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_FoodPoisonable",
 
 
         },
 
         },
 +
        explosiveRadius = 2.9,
 +
        explosiveDamageType = "Bomb",
 +
        explosiveExpandPerStackcount = 0.4,
 +
        startWickHitPointsPercent = 0.7,
 +
        wickTicks = { ["<"]=30, [">"]=60 },
 
       },
 
       },
 +
    },
 +
    costList = {
 +
      Steel = 25,
 +
      Chemfuel = 15,
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "Mortars",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Chocolate"] = {
+
   ["ThingDef:Bullet_Shell_HighExplosive"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Luxury.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Chocolate",
+
     defName = "Bullet_Shell_HighExplosive",
     label = "chocolate",
+
     label = "high-explosive shell",
     description = [[A delicious preparation of cocoa seeds ground together with sugar and vanilla. It fulfills the need for recreation, but it is not very nutritious.]],
+
     thingClass = "Projectile_Explosive",
     statBases = {
+
     projectile = {
       MaxHitPoints = 60,
+
       damageDef = "Bomb",
      MarketValue = 3,
+
       speed = 41,
       Mass = 0.075,
+
       explosionRadius = 2.9,
       Flammability = 1.0,
+
       flyOverhead = true,
       DeteriorationRate = 8,
+
       soundHitThickRoof = "Artillery_HitThickRoof",
       Nutrition = 0.1,
+
       soundExplode = "MortarBomb_Explode",
    },
+
       soundImpactAnticipate = "MortarRound_PreImpact",
    thingCategories = {
+
       soundAmbient = "MortarRound_Ambient",
      "Foods",
 
    },
 
    ingestible = {
 
       preferability = "DesperateOnly",
 
       foodType = {
 
        "Processed",
 
       },
 
      joy = 0.10,
 
      joyKind = "Gluttonous",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Milk"] = {
+
   ["ThingDef:Shell_Incendiary"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrganicProductBase",
+
       ParentName = "MakeableShellBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Milk",
+
     defName = "Shell_Incendiary",
     label = "milk",
+
     label = "incendiary shell",
     description = [[Milk from an animal.]],
+
     description = [[A shell filled with flammable gel and a small explosive charge. Starts fires when detonated. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
    statBases = {
 
      MarketValue = 3.1,
 
      Mass = 0.045,
 
      MaxHitPoints = 60,
 
      Flammability = 0.2,
 
      Nutrition = 0.05,
 
      FoodPoisonChanceFixedHuman = 0.02,
 
    },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Rottable",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         daysToRotStart = 14,
+
         explosiveRadius = 2.9,
         rotDestroys = true,
+
         explosiveDamageType = "Flame",
 +
        explosiveExpandPerStackcount = 0.4,
 +
        startWickHitPointsPercent = 0.7,
 +
        wickTicks = { ["<"]=30, [">"]=60 },
 
       },
 
       },
 
     },
 
     },
     ingestible = {
+
     costList = {
       preferability = "RawTasty",
+
       Steel = 20,
       foodType = {
+
       Chemfuel = 20,
        "AnimalProduct",
 
        "Fluid",
 
      },
 
 
     },
 
     },
     thingCategories = {
+
     recipeMaker = {
       "AnimalProductRaw",
+
       researchPrerequisite = "Mortars",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:InsectJelly"] = {
+
   ["ThingDef:Bullet_Shell_Incendiary"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrganicProductBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "InsectJelly",
+
     defName = "Bullet_Shell_Incendiary",
     label = "insect jelly",
+
     label = "incendiary shell",
     description = [[Jelly stored and used as food by oversized insects. It is smooth, rich, and fulfills the recreation need of those who consume it. Because of its unique biological properties, it can nourish almost any creature and never rots.]],
+
     thingClass = "Projectile_Explosive",
    statBases = {
+
    projectile = {
       MarketValue = 8.0,
+
      damageDef = "Flame",
       Mass = 0.025,
+
      speed = 41,
       Nutrition = 0.05,
+
      explosionRadius = 2.9,
       FoodPoisonChanceFixedHuman = 0.02,
+
      preExplosionSpawnThingDef = "Filth_Fuel",
 +
      preExplosionSpawnChance = 0.25,
 +
      flyOverhead = true,
 +
      soundHitThickRoof = "Artillery_HitThickRoof",
 +
       soundExplode = "MortarIncendiary_Explode",
 +
       soundImpactAnticipate = "MortarRound_PreImpact",
 +
       soundAmbient = "MortarRound_Ambient",
 +
       ai_IsIncendiary = true,
 
     },
 
     },
    ingestible = {
+
   },
      foodType = {
 
        "AnimalProduct",
 
      },
 
      preferability = "MealFine",
 
      joy = 0.08,
 
      joyKind = "Gluttonous",
 
      canAutoSelectAsFoodForCaravan = false,
 
    },
 
    thingCategories = {
 
      "AnimalProductRaw",
 
    },
 
   },
 
  
   ["ThingDef:EggBase"] = {
+
   ["ThingDef:Shell_EMP"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "MakeableShellBase",
      Name = "EggBase",
 
       ParentName = "OrganicProductBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Shell_EMP",
      foodType = {
+
    label = "EMP shell",
        "AnimalProduct",
+
     description = [[A shell filled with batteries and antennas, for generating an electromagnetic pulse when detonated. Electromagnetic pulses temporarily disable electrical devices and mechanoids. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
      },
 
      tasteThought = "AteRawFood",
 
     },
 
    statBases = {
 
      Mass = 0.15,
 
      MaxHitPoints = 20,
 
      DeteriorationRate = 2,
 
      Flammability = 0.7,
 
      Nutrition = 0.25,
 
      FoodPoisonChanceFixedHuman = 0.02,
 
    },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Rottable",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         daysToRotStart = 15,
+
         explosiveRadius = 11.9,
         rotDestroys = true,
+
         explosiveDamageType = "EMP",
         disableIfHatcher = true,
+
         explosiveExpandPerStackcount = 0.4,
 +
        startWickHitPointsPercent = 0.7,
 +
        wickTicks = { ["<"]=30, [">"]=60 },
 
       },
 
       },
 +
    },
 +
    costList = {
 +
      Steel = 25,
 +
      ComponentIndustrial = 2,
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "MicroelectronicsBasics",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggUnfertBase"] = {
+
   ["ThingDef:Bullet_Shell_EMP"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "BaseBullet",
      Name = "EggUnfertBase",
 
       ParentName = "EggBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Bullet_Shell_EMP",
      preferability = "RawBad",
+
    label = "EMP shell",
     },
+
     thingClass = "Projectile_Explosive",
     thingCategories = {
+
     projectile = {
       "EggsUnfertilized",
+
       damageDef = "EMP",
 +
      speed = 41,
 +
      explosionRadius = 8.9,
 +
      flyOverhead = true,
 +
      soundHitThickRoof = "Artillery_HitThickRoof",
 +
      soundExplode = "Explosion_EMP",
 +
      soundImpactAnticipate = "MortarRound_PreImpact",
 +
      soundAmbient = "MortarRound_Ambient",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggFertBase"] = {
+
   ["ThingDef:Shell_Smoke"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "MakeableShellBase",
      Name = "EggFertBase",
 
       ParentName = "EggBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Shell_Smoke",
      preferability = "DesperateOnly",
+
     label = "Smoke shell",
     },
+
     description = [[A shell that generates a cloud of smoke when detonated, obscuring incoming shots and preventing turrets from locking on. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
    thingCategories = {
 
      "EggsFertilized",
 
     },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_TemperatureRuinable",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         minSafeTemperature = 0,
+
         explosiveDamageType = "Smoke",
         maxSafeTemperature = 50,
+
         explosiveRadius = 11,
         progressPerDegreePerTick = 0.00003,
+
         postExplosionSpawnThingDef = "Gas_Smoke",
 +
        postExplosionSpawnChance = 1,
 +
        postExplosionSpawnThingCount = 1,
 +
        wickTicks = { ["<"]=30, [">"]=60 },
 
       },
 
       },
 +
    },
 +
    costList = {
 +
      Steel = 35,
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "Mortars",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggChickenUnfertilized"] = {
+
   ["ThingDef:Bullet_Shell_Smoke"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggUnfertBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggChickenUnfertilized",
+
     defName = "Bullet_Shell_Smoke",
     label = "chicken egg (unfert.)",
+
     label = "Smoke shell",
     description = [[An unfertilized chicken egg. It can be eaten raw, but it's much, much better cooked.]],
+
     thingClass = "Projectile_Explosive",
     statBases = {
+
     projectile = {
       MarketValue = 7.0,
+
       damageDef = "Smoke",
 +
      speed = 41,
 +
      explosionRadius = 7.2,
 +
      flyOverhead = true,
 +
      soundHitThickRoof = "Artillery_HitThickRoof",
 +
      soundExplode = "Explosion_Smoke",
 +
      soundImpactAnticipate = "MortarRound_PreImpact",
 +
      soundAmbient = "MortarRound_Ambient",
 +
      postExplosionSpawnThingDef = "Gas_Smoke",
 +
      postExplosionSpawnChance = 1,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggChickenFertilized"] = {
+
   ["ThingDef:Shell_Firefoam"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggFertBase",
+
       ParentName = "MakeableShellBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggChickenFertilized",
+
     defName = "Shell_Firefoam",
     label = "chicken egg (fert.)",
+
     label = "firefoam shell",
     description = [[A fertilized chicken egg. If all goes well, it should hatch into a chick. It can be eaten raw, but it's much better cooked.]],
+
     description = [[A pressurized shell filled with fire-retardant foam. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
    statBases = {
 
      MarketValue = 7.0,
 
    },
 
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Hatcher",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         hatcherDaystoHatch = 3.5,
+
         explosiveRadius = 9.9,
         hatcherPawn = "Chicken",
+
        explosiveDamageType = "Extinguish",
 +
        explosiveExpandPerStackcount = 0.4,
 +
        startWickHitPointsPercent = 0.7,
 +
        postExplosionSpawnThingDef = "Filth_FireFoam",
 +
        postExplosionSpawnChance = 1,
 +
        postExplosionSpawnThingCount = 3,
 +
         applyDamageToExplosionCellsNeighbors = true,
 +
        explosionEffect = "ExtinguisherExplosion",
 +
        wickTicks = { ["<"]=30, [">"]=60 },
 
       },
 
       },
 
     },
 
     },
  },
+
     costList = {
 
+
       Steel = 35,
  ["ThingDef:EggCobraFertilized"] = {
 
     _ = {
 
       ParentName = "EggFertBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Items_Resource_AnimalProduct.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "EggCobraFertilized",
+
     recipeMaker = {
    label = "cobra egg (fert.)",
+
       researchPrerequisite = "Firefoam",
    description = [[A fertilized cobra egg. If all goes well, it should hatch into a baby cobra. It can be eaten raw, but it's much better cooked.]],
 
    statBases = {
 
       MarketValue = 40.0,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Hatcher",
 
        },
 
        hatcherDaystoHatch = 4.5,
 
        hatcherPawn = "Cobra",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggIguanaFertilized"] = {
+
   ["ThingDef:Bullet_Shell_Firefoam"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggFertBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggIguanaFertilized",
+
     defName = "Bullet_Shell_Firefoam",
     label = "iguana egg (fert.)",
+
     label = "firefoam shell",
     description = [[A fertilized iguana egg. If all goes well, it should hatch into a baby iguana. It can be eaten raw, but it's much better cooked.]],
+
     thingClass = "Projectile_Explosive",
     statBases = {
+
     projectile = {
       MarketValue = 25.0,
+
       damageDef = "Extinguish",
    },
+
      speed = 41,
    comps = {
+
      explosionRadius = 5,
       {
+
       flyOverhead = true,
        _ = {
+
      soundHitThickRoof = "Artillery_HitThickRoof",
          Class = "CompProperties_Hatcher",
+
      soundExplode = "Explosion_EMP",
        },
+
      soundImpactAnticipate = "MortarRound_PreImpact",
        hatcherDaystoHatch = 3.5,
+
      soundAmbient = "MortarRound_Ambient",
        hatcherPawn = "Iguana",
+
      postExplosionSpawnThingDef = "Filth_FireFoam",
       },
+
       postExplosionSpawnChance = 1,
 +
      postExplosionSpawnThingCount = 3,
 +
      applyDamageToExplosionCellsNeighbors = true,
 +
      explosionEffect = "ExtinguisherExplosion",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggTortoiseFertilized"] = {
+
   ["ThingDef:Shell_AntigrainWarhead"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggFertBase",
+
       ParentName = "ShellBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggTortoiseFertilized",
+
     defName = "Shell_AntigrainWarhead",
     label = "tortoise egg (fert.)",
+
     label = "antigrain warhead",
     description = [[A fertilized tortoise egg. If all goes well, it should hatch into a baby tortoise. It can be eaten raw, but it's much better cooked.]],
+
     description = [[An ultra-tech warhead powered by a grain of antimatter. Usually used by spacecraft or glitterworld war machines, it creates a huge explosion and starts fires around the target. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
 +
    tradeability = "Sellable",
 
     statBases = {
 
     statBases = {
       MarketValue = 23.0,
+
       MarketValue = 1200,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Hatcher",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
         hatcherDaystoHatch = 3.5,
+
         explosiveRadius = 14.9,
         hatcherPawn = "Tortoise",
+
         explosiveDamageType = "BombSuper",
 +
        explosiveExpandPerStackcount = 0.4,
 +
        startWickHitPointsPercent = 0.7,
 +
        chanceToStartFire = 0.22,
 +
        damageFalloff = true,
 +
        explosionEffect = "GiantExplosion",
 +
        explosionSound = "Explosion_GiantBomb",
 +
        wickTicks = { ["<"]=60, [">"]=120 },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggCassowaryFertilized"] = {
+
   ["ThingDef:Bullet_Shell_AntigrainWarhead"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggFertBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Shell.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggCassowaryFertilized",
+
     defName = "Bullet_Shell_AntigrainWarhead",
     label = "cassowary egg (fert.)",
+
     label = "antigrain warhead",
     description = [[A fertilized cassowary egg. If all goes well, it should hatch into a baby cassowary. It can be eaten raw, but it's much better cooked.]],
+
     thingClass = "Projectile_Explosive",
     statBases = {
+
     projectile = {
       MarketValue = 19.0,
+
       damageDef = "BombSuper",
    },
+
      speed = 41,
    comps = {
+
      explosionRadius = 14.9,
       {
+
       explosionChanceToStartFire = 0.22,
        _ = {
+
      explosionDamageFalloff = true,
          Class = "CompProperties_Hatcher",
+
      explosionEffect = "GiantExplosion",
        },
+
      flyOverhead = true,
        hatcherDaystoHatch = 7,
+
      soundHitThickRoof = "Artillery_HitThickRoof",
        hatcherPawn = "Cassowary",
+
      soundExplode = "Explosion_GiantBomb",
       },
+
      soundImpactAnticipate = "MortarRound_PreImpact",
 +
       soundAmbient = "MortarRound_Ambient",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:EggEmuFertilized"] = {
+
   ["ThingDef:Silver"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggFertBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggEmuFertilized",
+
     defName = "Silver",
     label = "emu egg (fert.)",
+
     label = "silver",
     description = [[A fertilized emu egg. If all goes well, it should hatch into a baby emu. It can be eaten raw, but it's much better cooked.]],
+
     description = [[This metal is mostly used as a commodity currency. It can also be used for making decorations.]],
 +
    useHitPoints = false,
 
     statBases = {
 
     statBases = {
       MarketValue = 18.0,
+
       MarketValue = 1,
 +
      Mass = 0.008,
 +
      StuffPower_Armor_Sharp = 0.72,
 +
      StuffPower_Armor_Blunt = 0.36,
 +
      StuffPower_Armor_Heat = 0.36,
 +
      StuffPower_Insulation_Cold = 3,
 +
      StuffPower_Insulation_Heat = 0,
 +
      SharpDamageMultiplier = 0.85,
 +
      BluntDamageMultiplier = 1.0,
 +
    },
 +
    thingCategories = {
 +
      "ResourcesRaw",
 
     },
 
     },
     comps = {
+
     stackLimit = 500,
       {
+
    smeltable = true,
         _ = {
+
    stuffProps = {
          Class = "CompProperties_Hatcher",
+
       categories = {
         },
+
         "Metallic",
         hatcherDaystoHatch = 6,
+
      },
         hatcherPawn = "Emu",
+
      statOffsets = {
 +
        Beauty = 6,
 +
      },
 +
      statFactors = {
 +
         MaxHitPoints = 0.7,
 +
         Flammability = 0.4,
 +
         Beauty = 2,
 
       },
 
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Medium",
 
   },
 
   },
  
   ["ThingDef:EggOstrichFertilized"] = {
+
   ["ThingDef:Gold"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggFertBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggOstrichFertilized",
+
     defName = "Gold",
     label = "ostrich egg (fert.)",
+
     label = "gold",
     description = [[A fertilized ostrich egg. If all goes well, it should hatch into a baby ostrich. It can be eaten raw, but it's much better cooked.]],
+
     description = [[The most seductive metal of them all. While it is too soft to be of much practical use, it is strikingly beautiful and never tarnishes. Millions have died in attempting to feed the endless human thirst for gold.]],
 +
    useHitPoints = false,
 
     statBases = {
 
     statBases = {
       MarketValue = 23.0,
+
       MarketValue = 10,
 +
      RoyalFavorValue = 0.015,
 +
      Mass = 0.008,
 +
      StuffPower_Armor_Sharp = 0.72,
 +
      StuffPower_Armor_Blunt = 0.36,
 +
      StuffPower_Armor_Heat = 0.36,
 +
      StuffPower_Insulation_Cold = 3,
 +
      StuffPower_Insulation_Heat = 0,
 +
      SharpDamageMultiplier = 0.75,
 +
      BluntDamageMultiplier = 1.0,
 +
    },
 +
    thingCategories = {
 +
      "ResourcesRaw",
 
     },
 
     },
     comps = {
+
     stackLimit = 500,
       {
+
    smeltable = true,
         _ = {
+
    stuffProps = {
          Class = "CompProperties_Hatcher",
+
       categories = {
         },
+
         "Metallic",
         hatcherDaystoHatch = 8,
+
      },
         hatcherPawn = "Ostrich",
+
      statOffsets = {
 +
        Beauty = 20,
 +
      },
 +
      statFactors = {
 +
        MaxHitPoints = 0.6,
 +
        Flammability = 0.4,
 +
        Beauty = 4,
 +
         WorkToMake = 0.9,
 +
         WorkToBuild = 0.9,
 +
         MeleeWeapon_CooldownMultiplier = 1.0,
 
       },
 
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Medium",
 
   },
 
   },
  
   ["ThingDef:EggTurkeyFertilized"] = {
+
   ["ThingDef:Steel"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggFertBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggTurkeyFertilized",
+
     defName = "Steel",
     label = "turkey egg (fert.)",
+
     label = "steel",
     description = [[A fertilized turkey egg. If all goes well, it should hatch into a baby turkey. It can be eaten raw, but it's much better cooked.]],
+
     description = [[An iron-carbon metal alloy used for building a huge variety of structures, weapons, and machines.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 11.0,
+
       MarketValue = 1.9,
     },
+
      Mass = 0.5,
     comps = {
+
      StuffPower_Armor_Sharp = 0.9,
       {
+
      StuffPower_Armor_Blunt = 0.45,
        _ = {
+
      StuffPower_Armor_Heat = 0.60,
          Class = "CompProperties_Hatcher",
+
      StuffPower_Insulation_Cold = 3,
         },
+
      StuffPower_Insulation_Heat = 0,
         hatcherDaystoHatch = 5,
+
      SharpDamageMultiplier = 1,
         hatcherPawn = "Turkey",
+
      BluntDamageMultiplier = 1,
 +
     },
 +
     useHitPoints = false,
 +
    thingCategories = {
 +
       "ResourcesRaw",
 +
    },
 +
    smeltable = true,
 +
    stuffProps = {
 +
      categories = {
 +
        "Metallic",
 +
      },
 +
      statFactors = {
 +
         MaxHitPoints = 1,
 +
         Beauty = 1,
 +
         Flammability = 0.4,
 
       },
 
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Medium",
 
   },
 
   },
  
   ["ThingDef:EggDuckUnfertilized"] = {
+
   ["ThingDef:Plasteel"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggUnfertBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggDuckUnfertilized",
+
     defName = "Plasteel",
     label = "duck egg (unfert.)",
+
     label = "plasteel",
     description = [[An unfertilized duck egg. It can be eaten raw, but it's much, much better cooked.]],
+
     description = [[Advanced spacer tech structural material. Plasteel is extremely strong due to its unique molecular structure.]],
 +
    useHitPoints = false,
 
     statBases = {
 
     statBases = {
       MarketValue = 7.0,
+
       MarketValue = 9,
 +
      Mass = 0.25,
 +
      StuffPower_Armor_Sharp = 1.14,
 +
      StuffPower_Armor_Blunt = 0.55,
 +
      StuffPower_Armor_Heat = 0.65,
 +
      StuffPower_Insulation_Cold = 3,
 +
      StuffPower_Insulation_Heat = 0,
 +
      SharpDamageMultiplier = 1.1,
 +
      BluntDamageMultiplier = 0.9,
 
     },
 
     },
  },
+
     thingCategories = {
 
+
       "ResourcesRaw",
  ["ThingDef:EggDuckFertilized"] = {
 
     _ = {
 
       ParentName = "EggFertBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Items_Resource_AnimalProduct.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "EggDuckFertilized",
+
     smeltable = true,
     label = "duck egg (fert.)",
+
     stuffProps = {
    description = [[A fertilized duck egg. If all goes well, it should hatch into a duckling. It can be eaten raw, but it's much better cooked.]],
+
      categories = {
    statBases = {
+
        "Metallic",
      MarketValue = 7.0,
+
      },
    },
+
      statFactors = {
    comps = {
+
        MaxHitPoints = 2.8,
      {
+
        Beauty = 1,
         _ = {
+
         Flammability = 0,
          Class = "CompProperties_Hatcher",
+
         WorkToMake = 2.2,
         },
+
         WorkToBuild = 2.2,
         hatcherDaystoHatch = 3.5,
+
         MeleeWeapon_CooldownMultiplier = 0.8,
         hatcherPawn = "Duck",
 
 
       },
 
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Medium",
 
   },
 
   },
  
   ["ThingDef:EggGooseUnfertilized"] = {
+
   ["ThingDef:WoodLog"] = {
 
     _ = {
 
     _ = {
       ParentName = "EggUnfertBase",
+
       ParentName = "ResourceVerbBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_AnimalProduct.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EggGooseUnfertilized",
+
     defName = "WoodLog",
     label = "goose egg (unfert.)",
+
     label = "wood",
     description = [[An unfertilized goose egg. It can be eaten raw, but it's much, much better cooked.]],
+
     description = [[Wood from trees or other fibrous plants. Useful for building structures and weapons. It is a good fuel for campfires and generators, and can be refined into chemfuel. In a pinch, a piece of wood can be used as a weapon or a leg.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 9.0,
+
       MarketValue = 1.2,
    },
+
      MaxHitPoints = 150,
  },
+
      Mass = 0.4,
 
+
      Flammability = 1.0,
  ["ThingDef:EggGooseFertilized"] = {
+
      DeteriorationRate = 0.5,
     _ = {
+
      StuffPower_Armor_Sharp = 0.54,
       ParentName = "EggFertBase",
+
      StuffPower_Armor_Blunt = 0.54,
       DefCategory = "ThingDef",
+
      StuffPower_Armor_Heat = 0.40,
      FileName = "Items_Resource_AnimalProduct.xml",
+
      StuffPower_Insulation_Cold = 8,
      GameVersion = "1.2.2753",
+
      StuffPower_Insulation_Heat = 4,
       DLC = "Core",
+
      SharpDamageMultiplier = 0.40,
 +
      BluntDamageMultiplier = 0.9,
 +
    },
 +
     stuffProps = {
 +
       categories = {
 +
        "Woody",
 +
       },
 +
      statFactors = {
 +
        MaxHitPoints = 0.65,
 +
        Beauty = 1,
 +
        Flammability = 1,
 +
        WorkToMake = 0.7,
 +
        WorkToBuild = 0.7,
 +
        DoorOpenSpeed = 1.2,
 +
       },
 
     },
 
     },
     defName = "EggGooseFertilized",
+
     thingCategories = {
    label = "goose egg (fert.)",
+
      "ResourcesRaw",
    description = [[A fertilized goose egg. If all goes well, it should hatch into a baby goose. It can be eaten raw, but it's much better cooked.]],
 
    statBases = {
 
      MarketValue = 11.0,
 
 
     },
 
     },
     comps = {
+
     tools = {
 
       {
 
       {
         _ = {
+
         label = "log",
           Class = "CompProperties_Hatcher",
+
        capacities = {
 +
           "Blunt",
 
         },
 
         },
         hatcherDaystoHatch = 6.5,
+
         power = 10,
         hatcherPawn = "Goose",
+
         cooldownTime = 2,
 
       },
 
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Light",
 
   },
 
   },
  
   ["ThingDef:ResourceBase"] = {
+
   ["ThingDef:Uranium"] = {
 
     _ = {
 
     _ = {
       Name = "ResourceBase",
+
       ParentName = "ResourceBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Base.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "ThingWithComps",
+
     defName = "Uranium",
     category = "Item",
+
     label = "uranium",
     useHitPoints = true,
+
     description = [[A dark, heavy metal. While it is best known as a fuel for nuclear devices, its extreme density and hardness also make it good for making certain weapons, armor, and ammunition.]],
    altitudeLayer = "Item",
+
     useHitPoints = false,
     stackLimit = 75,
 
 
     statBases = {
 
     statBases = {
       Beauty = -4,
+
       MarketValue = 6,
 +
      Mass = 1,
 +
      StuffPower_Armor_Sharp = 1.08,
 +
      StuffPower_Armor_Blunt = 0.54,
 +
      StuffPower_Armor_Heat = 0.65,
 +
      StuffPower_Insulation_Cold = 3,
 +
      StuffPower_Insulation_Heat = 0,
 +
      SharpDamageMultiplier = 1.1,
 +
      BluntDamageMultiplier = 1.5,
 +
    },
 +
    thingCategories = {
 +
      "ResourcesRaw",
 
     },
 
     },
     comps = {
+
     smeltable = true,
       {
+
    stuffProps = {
         _ = {
+
       categories = {
          Class = "CompProperties_Forbiddable",
+
         "Metallic",
         },
+
      },
 +
      statFactors = {
 +
        MaxHitPoints = 2.5,
 +
        WorkToMake = 1.9,
 +
        WorkToBuild = 1.9,
 +
        Beauty = 0.5,
 +
        Flammability = 0.0,
 +
        DoorOpenSpeed = 0.75,
 +
         MeleeWeapon_CooldownMultiplier = 1.10,
 
       },
 
       },
 
     },
 
     },
     pathCost = 14,
+
     terrainAffordanceNeeded = "Medium",
 
   },
 
   },
  
   ["ThingDef:MedicineBase"] = {
+
   ["ThingDef:Jade"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "ResourceBase",
 
       ParentName = "ResourceBase",
      Name = "MedicineBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Manufactured.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Medicine",
+
     defName = "Jade",
     stackLimit = 25,
+
     label = "jade",
 +
    description = [[A hard, green stone. Because of its beauty and rarity, jade is often used for ornaments and decorations. Its hardness and density also makes it a good material for blunt weapons.]],
 +
    useHitPoints = false,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 60,
+
       MarketValue = 5,
 +
      Mass = 0.5,
 +
      StuffPower_Armor_Sharp = 0.9,
 +
      StuffPower_Armor_Blunt = 0.45,
 +
      StuffPower_Armor_Heat = 0.54,
 +
      StuffPower_Insulation_Cold = 3,
 +
      StuffPower_Insulation_Heat = 0,
 +
      BluntDamageMultiplier = 1.5,
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Medicine",
+
       "ResourcesRaw",
 +
    },
 +
    smeltable = false,
 +
    stuffProps = {
 +
      categories = {
 +
        "Stony",
 +
      },
 +
      statOffsets = {
 +
        Beauty = 10,
 +
      },
 +
      statFactors = {
 +
        MaxHitPoints = 0.5,
 +
        WorkToMake = 1.4,
 +
        WorkToBuild = 5.0,
 +
        Beauty = 2.5,
 +
        Flammability = 0,
 +
        MeleeWeapon_CooldownMultiplier = 1.3,
 +
      },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Heavy",
 
   },
 
   },
  
   ["ThingDef:MedicineHerbal"] = {
+
   ["ThingDef:Cloth"] = {
 
     _ = {
 
     _ = {
       ParentName = "MedicineBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Manufactured.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MedicineHerbal",
+
     defName = "Cloth",
     label = "herbal medicine",
+
     label = "cloth",
     description = [[A pack of herbal concoctions extracted from the healroot plant. It is less potent than industrial pharmaceuticals, but much better than nothing.]],
+
     description = [[Cloth woven from organic fibers.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 10,
+
      StuffPower_Armor_Sharp = 0.36,
       Mass = 0.35,
+
      StuffPower_Armor_Blunt = 0,
       Flammability = 1.3,
+
      StuffPower_Armor_Heat = 0.18,
       MedicalPotency = 0.60,
+
      StuffPower_Insulation_Cold = 18,
       MedicalQualityMax = 0.70,
+
      StuffPower_Insulation_Heat = 18,
       DeteriorationRate = 6,
+
      MaxHitPoints = 80,
 +
       MarketValue = 1.5,
 +
       Mass = 0.026,
 +
       Flammability = 1.2,
 +
      DeteriorationRate = 4,
 +
    },
 +
    stuffProps = {
 +
       statFactors = {
 +
        Flammability = 1.2,
 +
        Beauty = 1,
 +
      },
 +
       categories = {
 +
        "Fabric",
 +
       },
 +
    },
 +
    thingCategories = {
 +
      "Textiles",
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
         _ = {
+
         compClass = "CompColorable",
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 150,
 
        rotDestroys = true,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MedicineIndustrial"] = {
+
   ["ThingDef:Synthread"] = {
 
     _ = {
 
     _ = {
       ParentName = "MedicineBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Manufactured.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MedicineIndustrial",
+
     defName = "Synthread",
     label = "medicine",
+
     label = "synthread",
     description = [[A kit of industrial-era medical equipment. It contains basic drugs, tools for suturing and bone setting, diagnostic devices, and various pads and fluids.]],
+
     description = [[Spacer-tech synthetic fabric designed for making ordinary clothes. It is soft, light, strong, and insulates well.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 18,
+
      MaxHitPoints = 150,
       Mass = 0.50,
+
       MarketValue = 4,
 +
       Mass = 0.025,
 
       Flammability = 0.7,
 
       Flammability = 0.7,
       MedicalPotency = 1.00,
+
       DeteriorationRate = 3,
       MedicalQualityMax = 1.00,
+
      StuffPower_Armor_Sharp = 0.94,
       DeteriorationRate = 2,
+
       StuffPower_Armor_Blunt = 0.26,
       WorkToMake = 700,
+
       StuffPower_Armor_Heat = 0.90,
 +
      StuffPower_Insulation_Cold = 22,
 +
       StuffPower_Insulation_Heat = 22,
 
     },
 
     },
     costList = {
+
     stuffProps = {
       MedicineHerbal = 1,
+
       categories = {
      Neutroamine = 1,
+
         "Fabric",
      Cloth = 3,
 
    },
 
    recipeMaker = {
 
      workSpeedStat = "DrugSynthesisSpeed",
 
      workSkill = "Intellectual",
 
      recipeUsers = {
 
         "DrugLab",
 
 
       },
 
       },
       researchPrerequisite = "MedicineProduction",
+
       statFactors = {
      skillRequirements = {
+
        Flammability = 0.7,
         Crafting = 4,
+
         MaxHitPoints = 1.3,
         Intellectual = 4,
+
         Beauty = 2.3,
 
       },
 
       },
 
     },
 
     },
  },
+
     thingCategories = {
 
+
       "Textiles",
  ["ThingDef:MedicineUltratech"] = {
 
    _ = {
 
      ParentName = "MedicineBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Items_Resource_Manufactured.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "MedicineUltratech",
 
    label = "glitterworld medicine",
 
    description = [[A kit of advanced ultra-tech medical supplies, probably manufactured on a distant glitterworld. It contains advanced polymorphic drugs, nanite diagnostic and healing assisters, a mini-imager, and various multi-use tools.]],
 
    statBases = {
 
      MarketValue = 50,
 
      Mass = 0.50,
 
      Flammability = 0.7,
 
      MedicalPotency = 1.60,
 
      MedicalQualityMax = 1.30,
 
      DeteriorationRate = 2.0,
 
    },
 
     tradeTags = {
 
       "ExoticMisc",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ComponentIndustrial"] = {
+
   ["ThingDef:DevilstrandCloth"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "ResourceBase",
 
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Manufactured.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ComponentIndustrial",
+
     defName = "DevilstrandCloth",
     label = "component",
+
     label = "devilstrand",
     description = [[Miscellaneous gears, capacitors, circuit boards, tubes, wheels, sensors, wires, chips, processors, and other electronic and industrial parts. Necessary for assembling complex machines or electronics.]],
+
     description = [[Fabric spun from microfibers extracted from devilstrand mushrooms. It is very tough, good at insulating, and protects exceptionally well against flame.]],
    stackLimit = 50,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 70,
+
       MaxHitPoints = 100,
       MarketValue = 32,
+
       MarketValue = 5.5,
       Mass = 0.6,
+
       Mass = 0.032,
       Flammability = 0.6,
+
       Flammability = 0.4,
       DeteriorationRate = 2.0,
+
       DeteriorationRate = 3,
 +
      StuffPower_Armor_Sharp = 1.40,
 +
      StuffPower_Armor_Blunt = 0.36,
 +
      StuffPower_Armor_Heat = 3.00,
 +
      StuffPower_Insulation_Cold = 20,
 +
      StuffPower_Insulation_Heat = 24,
 +
    },
 +
    stuffProps = {
 +
      categories = {
 +
        "Fabric",
 +
      },
 +
      statFactors = {
 +
        Flammability = 0.4,
 +
        MaxHitPoints = 1.3,
 +
        Beauty = 3.2,
 +
      },
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Manufactured",
+
       "Textiles",
 +
    },
 +
    comps = {
 +
      {
 +
        compClass = "CompColorable",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ComponentSpacer"] = {
+
   ["ThingDef:Hyperweave"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "ResourceBase",
 
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Manufactured.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ComponentSpacer",
+
     defName = "Hyperweave",
     label = "advanced component",
+
     label = "hyperweave",
     description = [[Advanced computing and energy-directing machinery, miniaturized and hardened for the most demanding applications.]],
+
     description = [[Nano-fibers woven into sheets molecule-by-molecule using specialized production mechanites. While it flexes freely most of the time, it stiffens to absorb blows as they land, and is incredibly difficult to break. The secrets of its production are known only to the most advanced glitterworld cultures.]],
    stackLimit = 50,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 70,
+
       MaxHitPoints = 200,
       MarketValue = 200,
+
       MarketValue = 9,
       Mass = 0.6,
+
       Mass = 0.038,
       Flammability = 0.6,
+
       Flammability = 0.4,
       DeteriorationRate = 2.0,
+
       DeteriorationRate = 1.0,
 +
      StuffPower_Armor_Sharp = 2.00,
 +
      StuffPower_Armor_Blunt = 0.54,
 +
      StuffPower_Armor_Heat = 2.88,
 +
      StuffPower_Insulation_Cold = 26,
 +
      StuffPower_Insulation_Heat = 26,
 +
    },
 +
    stuffProps = {
 +
      categories = {
 +
        "Fabric",
 +
      },
 +
      statFactors = {
 +
        Flammability = 0.4,
 +
        MaxHitPoints = 2.4,
 +
        Beauty = 5.5,
 +
      },
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Manufactured",
+
       "Textiles",
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
Line 12,979: Line 12,487:
 
   },
 
   },
  
   ["ThingDef:Neutroamine"] = {
+
   ["ThingDef:WoolBase"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "ResourceBase",
 
       ParentName = "ResourceBase",
 +
      Name = "WoolBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Manufactured.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Neutroamine",
+
     stackLimit = 100,
    label = "neutroamine",
 
    description = [[A synthetic precursor chemical. While it is useless on its own, many drugs require neutroamine as an ingredient.]],
 
     stackLimit = 150,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 50,
+
       MaxHitPoints = 90,
       MarketValue = 6,
+
       MarketValue = 2.7,
       Mass = 0.02,
+
       Mass = 0.028,
       Flammability = 0.7,
+
       Flammability = 0.4,
       DeteriorationRate = 1.0,
+
       DeteriorationRate = 3.4,
 +
      StuffPower_Armor_Sharp = 0.36,
 +
      StuffPower_Armor_Blunt = 0.00,
 +
      StuffPower_Armor_Heat = 1.10,
 +
    },
 +
    stuffProps = {
 +
      statFactors = {
 +
        Flammability = 1.7,
 +
        Beauty = 1.5,
 +
      },
 +
      categories = {
 +
        "Fabric",
 +
      },
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Manufactured",
+
       "Textiles",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Chemfuel"] = {
+
   ["ThingDef:WoolMegasloth"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "WoolBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Manufactured.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Chemfuel",
+
     defName = "WoolMegasloth",
     label = "chemfuel",
+
     label = "megasloth wool",
     description = [[A volatile liquid chemical. Used to fuel engines and rockets, or to transmute into propellant for projectiles, or as an incendiary weapon.]],
+
     description = [[While somewhat coarse, megasloth wool's long fibers make it very strong. It is exceptionally warm.]],
    stackLimit = 150,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 50,
+
       StuffPower_Armor_Sharp = 0.80,
      MarketValue = 2.3,
+
       StuffPower_Insulation_Cold = 34,
      Mass = 0.05,
+
       StuffPower_Insulation_Heat = 12,
       Flammability = 2.0,
 
       DeteriorationRate = 1.0,
 
 
     },
 
     },
     thingCategories = {
+
  },
       "Manufactured",
+
 
 +
  ["ThingDef:WoolMuffalo"] = {
 +
     _ = {
 +
       ParentName = "WoolBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Resource_Stuff.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "WoolMuffalo",
      {
+
    label = "muffalo wool",
        _ = {
+
    description = [[Soft, light and provides very good insulation. Muffalo wool clothes can keep the body warm even in very cold conditions.]],
          Class = "CompProperties_Explosive",
+
    statBases = {
        },
+
      StuffPower_Insulation_Cold = 30,
        explosiveRadius = 1.1,
+
      StuffPower_Insulation_Heat = 12,
        explosiveDamageType = "Flame",
 
        explosiveExpandPerStackcount = 0.037,
 
        startWickOnDamageTaken = {
 
          "Flame",
 
        },
 
        startWickHitPointsPercent = 0.333,
 
        preExplosionSpawnThingDef = "Filth_Fuel",
 
        preExplosionSpawnChance = 1,
 
        wickTicks = { ["<"]=70, [">"]=150 },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:OrganicProductBase"] = {
+
   ["ThingDef:WoolAlpaca"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "WoolBase",
      Name = "OrganicProductBase",
 
       ParentName = "ResourceBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "WoolAlpaca",
 +
    label = "alpaca wool",
 +
    description = [[The remarkably soft wool of an alpaca. It is very warm.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 60,
+
       DeteriorationRate = 2.6,
      Flammability = 1.0,
+
       StuffPower_Insulation_Cold = 28,
       DeteriorationRate = 6,
+
       StuffPower_Insulation_Heat = 16,
       Mass = 0.03,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PlantFoodRawBase"] = {
+
   ["ThingDef:WoolBison"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "WoolBase",
      Name = "PlantFoodRawBase",
 
       ParentName = "OrganicProductBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "WoolBison",
      preferability = "RawBad",
+
    label = "bison wool",
      tasteThought = "AteRawFood",
+
     description = [[Thick and coarse wool of a bison. Quite warm.]],
     },
 
 
     statBases = {
 
     statBases = {
       Nutrition = 0.05,
+
       StuffPower_Insulation_Cold = 26,
       FoodPoisonChanceFixedHuman = 0.02,
+
       StuffPower_Insulation_Heat = 12,
    },
 
    thingCategories = {
 
      "PlantFoodRaw",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RawPotatoes"] = {
+
   ["ThingDef:WoolSheep"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantFoodRawBase",
+
       ParentName = "WoolBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RawPotatoes",
+
     defName = "WoolSheep",
     label = "potatoes",
+
     label = "sheep wool",
     description = [[Raw potatoes.]],
+
     description = [[Sheep's wool. It provides good insulation.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.1,
+
       StuffPower_Insulation_Cold = 26,
    },
+
       StuffPower_Insulation_Heat = 10,
    ingestible = {
 
      foodType = {
 
        "VegetableOrFruit",
 
      },
 
    },
 
    comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 30,
 
        rotDestroys = true,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RawFungus"] = {
+
   ["ThingDef:LeatherBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantFoodRawBase",
+
      Abstract = true,
 +
      Name = "LeatherBase",
 +
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "RawFungus",
+
     description = [[Tanned, dried, scraped skin. A good traditional material for making clothes and bags.]],
    label = "raw fungus",
 
     description = [[Raw fungus.]],
 
 
     statBases = {
 
     statBases = {
       MarketValue = 1.1,
+
      MaxHitPoints = 60,
     },
+
      DeteriorationRate = 2,
     ingestible = {
+
      Mass = 0.03,
       foodType = {
+
      Flammability = 1,
         "VegetableOrFruit",
+
       MarketValue = 2.1,
 +
      StuffPower_Armor_Sharp = 0.81,
 +
      StuffPower_Armor_Blunt = 0.24,
 +
      StuffPower_Armor_Heat = 1.5,
 +
      StuffPower_Insulation_Cold = 16,
 +
      StuffPower_Insulation_Heat = 16,
 +
    },
 +
    thingCategories = {
 +
      "Leathers",
 +
     },
 +
     stuffProps = {
 +
       categories = {
 +
         "Leathery",
 
       },
 
       },
    },
+
       statFactors = {
    comps = {
+
         MaxHitPoints = 1.3,
       {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 30,
 
         rotDestroys = true,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RawRice"] = {
+
   ["ThingDef:Leather_Plain"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantFoodRawBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RawRice",
+
     defName = "Leather_Plain",
     label = "rice",
+
     label = "plainleather",
    description = [[Raw rice.]],
 
    statBases = {
 
      MarketValue = 1.1,
 
    },
 
    ingestible = {
 
      foodType = {
 
        "Seed",
 
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 40,
 
        rotDestroys = true,
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:RawAgave"] = {
+
   ["ThingDef:Leather_Dog"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantFoodRawBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RawAgave",
+
     defName = "Leather_Dog",
     label = "agave fruit",
+
     label = "dog leather",
    description = [[Raw agave fruit.]],
 
 
     statBases = {
 
     statBases = {
       MarketValue = 1.1,
+
       MarketValue = 2.0,
    },
+
       StuffPower_Insulation_Cold = 14,
    ingestible = {
 
      foodType = {
 
        "VegetableOrFruit",
 
      },
 
    },
 
    comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 25,
 
        rotDestroys = true,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RawCorn"] = {
+
   ["ThingDef:Leather_Wolf"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantFoodRawBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RawCorn",
+
     defName = "Leather_Wolf",
     label = "corn",
+
     label = "wolfskin",
     description = [[Raw corn.]],
+
     description = [[A soft furry pelt harvested from a wolf-like creature. It is difficult to pierce and insulates well against cold.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.1,
+
       MarketValue = 3.0,
 +
      StuffPower_Armor_Sharp = 1.02,
 +
      StuffPower_Insulation_Cold = 24,
 
     },
 
     },
     ingestible = {
+
     stuffProps = {
       foodType = {
+
       statFactors = {
         "VegetableOrFruit",
+
         Beauty = 1.7,
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 60,
 
        rotDestroys = true,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RawBerries"] = {
+
   ["ThingDef:Leather_Panthera"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantFoodRawBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RawBerries",
+
     defName = "Leather_Panthera",
     label = "berries",
+
     label = "panthera fur",
     description = [[Assorted berries. Nice to eat, even when raw.]],
+
     description = [[A soft furry pelt harvested from a big cat. It is difficult to pierce and insulates well against heat.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.2,
+
       MarketValue = 3.0,
       Mass = 0.027,
+
       StuffPower_Armor_Sharp = 0.93,
 +
      StuffPower_Insulation_Heat = 24,
 
     },
 
     },
     comps = {
+
     stuffProps = {
       {
+
       statFactors = {
        _ = {
+
         Beauty = 1.7,
          Class = "CompProperties_Rottable",
 
        },
 
         daysToRotStart = 14,
 
        rotDestroys = true,
 
      },
 
    },
 
    ingestible = {
 
      preferability = "RawTasty",
 
      tasteThought = {},
 
      foodType = {
 
        "VegetableOrFruit",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RoughPlantBase"] = {
+
   ["ThingDef:Leather_Camel"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrganicProductBase",
+
       ParentName = "LeatherBase",
      Name = "RoughPlantBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Leather_Camel",
       foodType = {
+
    label = "camelhide",
         "Plant",
+
    description = [[Tanned, dried, scraped camel skin. Good at temperature regulation in hot climates.]],
 +
    statBases = {
 +
       MarketValue = 2.3,
 +
      StuffPower_Insulation_Heat = 24,
 +
    },
 +
    stuffProps = {
 +
      statFactors = {
 +
         Beauty = 1.3,
 
       },
 
       },
      preferability = "DesperateOnlyForHumanlikes",
 
    },
 
    statBases = {
 
      Nutrition = 0.05,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Hay"] = {
+
   ["ThingDef:Leather_Bluefur"] = {
 
     _ = {
 
     _ = {
       ParentName = "RoughPlantBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Hay",
+
     defName = "Leather_Bluefur",
     label = "hay",
+
     label = "bluefur",
     description = [[Nutrient-rich grasses and shoots, harvested and compacted for storage. Hay is good animal feed, but inedible for humans.]],
+
     description = [[The furry pelt of muffalo. Recognizable by its distinctive blue tint. Good at temperature regulation in cold climates.]],
    stackLimit = 200,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 0.6,
+
       MarketValue = 2.3,
       Mass = 0.014,
+
       StuffPower_Insulation_Cold = 20,
      Flammability = 1.5,
 
 
     },
 
     },
     comps = {
+
     stuffProps = {
       {
+
       statFactors = {
        _ = {
+
         Beauty = 1.3,
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 60,
 
         rotDestroys = true,
 
 
       },
 
       },
 
     },
 
     },
     thingCategories = {
+
  },
       "Foods",
+
 
 +
  ["ThingDef:Leather_Bear"] = {
 +
     _ = {
 +
       ParentName = "LeatherBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Resource_Stuff_Leather.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Leather_Bear",
 +
    label = "bearskin",
 +
    description = [[The strong furry leather of a bear. Compared to most leather, it is quite a bit tougher and a bit better at all kinds of temperature regulation.]],
 +
    statBases = {
 +
      MarketValue = 3.4,
 +
      StuffPower_Armor_Sharp = 1.12,
 +
      StuffPower_Insulation_Cold = 20,
 +
      StuffPower_Insulation_Heat = 20,
 
     },
 
     },
     ingestible = {
+
     stuffProps = {
       optimalityOffsetFeedingAnimals = 7,
+
       statFactors = {
 +
        Beauty = 1.9,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:RawHops"] = {
+
   ["ThingDef:Leather_GuineaPig"] = {
 
     _ = {
 
     _ = {
       ParentName = "RoughPlantBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RawHops",
+
     defName = "Leather_GuineaPig",
     label = "hops",
+
     label = "guinea pig fur",
     description = [[Raw hops. A flavoring and preserving agent that is necessary for making beer.]],
+
     description = [[Sheets of guinea pig fur. It is delicate, but luxurious.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.3,
+
       MarketValue = 5,
 +
      StuffPower_Armor_Sharp = 0.67,
 +
      StuffPower_Armor_Blunt = 0.14,
 +
      StuffPower_Insulation_Cold = 38,
 +
      StuffPower_Insulation_Heat = 18,
 
     },
 
     },
     comps = {
+
     stuffProps = {
       {
+
       statFactors = {
        _ = {
+
         MaxHitPoints = 0.6,
          Class = "CompProperties_Rottable",
+
         Beauty = 2.8,
        },
 
         daysToRotStart = 30,
 
         rotDestroys = true,
 
 
       },
 
       },
    },
 
    thingCategories = {
 
      "PlantMatter",
 
    },
 
    ingestible = {
 
      preferability = "DesperateOnly",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PsychoidLeaves"] = {
+
   ["ThingDef:Leather_Human"] = {
 
     _ = {
 
     _ = {
       ParentName = "RoughPlantBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychoidLeaves",
+
     defName = "Leather_Human",
     label = "psychoid leaves",
+
     label = "human leather",
     description = [[Raw cut leaves of a psychoid plant. Can be refined into various form of the stimulant drug psychite.]],
+
     description = [[Tanned, dried, scraped human skin. Most people find this material horrifying. Some find it fascinating. While a decent leather, it neither protects nor insulates particularly well.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.9,
+
       MarketValue = 4.2,
       Flammability = 1.3,
+
       StuffPower_Armor_Sharp = 0.64,
    },
+
       StuffPower_Insulation_Cold = 12,
    comps = {
+
       StuffPower_Insulation_Heat = 12,
       {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 30,
 
        rotDestroys = true,
 
      },
 
    },
 
    thingCategories = {
 
      "PlantMatter",
 
    },
 
    ingestible = {
 
       preferability = "DesperateOnly",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SmokeleafLeaves"] = {
+
   ["ThingDef:Leather_Pig"] = {
 
     _ = {
 
     _ = {
       ParentName = "RoughPlantBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_RawPlant.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SmokeleafLeaves",
+
     defName = "Leather_Pig",
     label = "smokeleaf leaves",
+
     label = "pigskin",
     description = [[Raw cut leaves of a smokeleaf plant. Can be rolled into smokeable joints at a crafting spot.]],
+
     description = [[Tanned, dried, scraped pig skin. While a decent leather, it neither protects nor insulates particularly well.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.6,
+
       MarketValue = 1.9,
       Flammability = 1.3,
+
       StuffPower_Armor_Sharp = 0.64,
    },
+
       StuffPower_Insulation_Cold = 12,
    comps = {
+
       StuffPower_Insulation_Heat = 12,
       {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 30,
 
        rotDestroys = true,
 
      },
 
    },
 
    thingCategories = {
 
      "PlantMatter",
 
    },
 
    ingestible = {
 
       preferability = "DesperateOnly",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ShellBase"] = {
+
   ["ThingDef:Leather_Light"] = {
 
     _ = {
 
     _ = {
      Name = "ShellBase",
+
       ParentName = "LeatherBase",
       ParentName = "ResourceBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     stackLimit = 25,
+
     defName = "Leather_Light",
 +
    label = "lightleather",
 +
    description = [[Lightweight, thin leather. Probably harvested from a small animal. Not as protective as thicker leathers.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 60,
+
       MarketValue = 1.9,
       MarketValue = 55,
+
       StuffPower_Armor_Sharp = 0.54,
       Mass = 1.25,
+
       StuffPower_Armor_Blunt = 0.14,
       Flammability = 1.0,
+
       StuffPower_Insulation_Cold = 12,
       DeteriorationRate = 1.5,
+
       StuffPower_Insulation_Heat = 12,
 
     },
 
     },
     thingCategories = {
+
     stuffProps = {
       "MortarShells",
+
       statFactors = {
    },
+
        MaxHitPoints = 1.0,
    tradeTags = {
+
       },
       "MortarShell",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MakeableShellBase"] = {
+
   ["ThingDef:Leather_Bird"] = {
 
     _ = {
 
     _ = {
      Name = "MakeableShellBase",
+
       ParentName = "LeatherBase",
       ParentName = "ShellBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Leather_Bird",
      workSpeedStat = "GeneralLaborSpeed",
+
    label = "birdskin",
      effectWorking = "Cook",
+
    description = [[Tanned, dried, scraped bird skin. It is quite delicate. Without its feathers, it provides little protection from heat or cold.]],
       soundWorking = "Recipe_Machining",
+
    statBases = {
       workAmount = 800,
+
       MarketValue = 1.8,
       targetCountAdjustment = 5,
+
       StuffPower_Armor_Sharp = 0.67,
       workSkill = "Crafting",
+
       StuffPower_Armor_Blunt = 0.14,
       recipeUsers = {
+
       StuffPower_Insulation_Cold = 10,
        "TableMachining",
+
       StuffPower_Insulation_Heat = 10,
      },
+
    },
       skillRequirements = {
+
    stuffProps = {
         Crafting = 4,
+
       statFactors = {
 +
         MaxHitPoints = 1.0,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Shell_HighExplosive"] = {
+
   ["ThingDef:Leather_Chinchilla"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableShellBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shell_HighExplosive",
+
     defName = "Leather_Chinchilla",
     label = "high-explosive shell",
+
     label = "chinchilla fur",
     description = [[A shell filled with high explosives. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
+
     description = [[Tanned, dried, scraped chinchilla skin. Known as an extremely luxurious and insulating fur, it is exceptionally valuable.]],
     comps = {
+
     statBases = {
       {
+
       MarketValue = 6.5,
        _ = {
+
      StuffPower_Armor_Sharp = 0.67,
          Class = "CompProperties_Explosive",
+
      StuffPower_Armor_Blunt = 0.14,
        },
+
      StuffPower_Insulation_Cold = 30,
        explosiveRadius = 2.9,
+
      StuffPower_Insulation_Heat = 16,
        explosiveDamageType = "Bomb",
+
    },
        explosiveExpandPerStackcount = 0.4,
+
    stuffProps = {
         startWickHitPointsPercent = 0.7,
+
      statFactors = {
         wickTicks = { ["<"]=30, [">"]=60 },
+
         MaxHitPoints = 1.0,
 +
         Beauty = 3.6,
 
       },
 
       },
    },
 
    costList = {
 
      Steel = 25,
 
      Chemfuel = 15,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "Mortars",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Shell_HighExplosive"] = {
+
   ["ThingDef:Leather_Fox"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Shell_HighExplosive",
+
     defName = "Leather_Fox",
     label = "high-explosive shell",
+
     label = "foxfur",
     thingClass = "Projectile_Explosive",
+
     description = [[The pelt of a fox. It protects well from the cold and is quite luxurious, fetching a high price.]],
     projectile = {
+
     statBases = {
       damageDef = "Bomb",
+
       MarketValue = 3.5,
       speed = 41,
+
       StuffPower_Armor_Sharp = 0.81,
       explosionRadius = 2.9,
+
       StuffPower_Armor_Blunt = 0.21,
       flyOverhead = true,
+
       StuffPower_Insulation_Cold = 20,
       soundHitThickRoof = "Artillery_HitThickRoof",
+
    },
      soundExplode = "MortarBomb_Explode",
+
    stuffProps = {
      soundImpactAnticipate = "MortarRound_PreImpact",
+
       statFactors = {
       soundAmbient = "MortarRound_Ambient",
+
        MaxHitPoints = 1.0,
 +
        Beauty = 2.0,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Shell_Incendiary"] = {
+
   ["ThingDef:Leather_Lizard"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableShellBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shell_Incendiary",
+
     defName = "Leather_Lizard",
     label = "incendiary shell",
+
     label = "lizardskin",
     description = [[A shell filled with flammable gel and a small explosive charge. Starts fires when detonated. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
+
     description = [[The tanned skin of a cold-blooded reptile. Lizardskin is reasonably tough, but does not insulate well at all.]],
     comps = {
+
     statBases = {
       {
+
       MarketValue = 2.1,
        _ = {
+
      StuffPower_Armor_Sharp = 0.81,
          Class = "CompProperties_Explosive",
+
      StuffPower_Armor_Blunt = 0.27,
        },
+
      StuffPower_Insulation_Cold = 12,
        explosiveRadius = 2.9,
+
      StuffPower_Insulation_Heat = 12,
        explosiveDamageType = "Flame",
+
    },
        explosiveExpandPerStackcount = 0.4,
+
    stuffProps = {
         startWickHitPointsPercent = 0.7,
+
      statFactors = {
         wickTicks = { ["<"]=30, [">"]=60 },
+
         MaxHitPoints = 1.0,
 +
         Beauty = 1.2,
 
       },
 
       },
    },
 
    costList = {
 
      Steel = 20,
 
      Chemfuel = 20,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "Mortars",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Shell_Incendiary"] = {
+
   ["ThingDef:Leather_Elephant"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Shell_Incendiary",
+
     defName = "Leather_Elephant",
     label = "incendiary shell",
+
     label = "elephant leather",
     thingClass = "Projectile_Explosive",
+
     description = [[Tanned, dried, scraped elephant skin. While quite tough, it is a poor insulator.]],
     projectile = {
+
     statBases = {
       damageDef = "Flame",
+
       MarketValue = 3.0,
       speed = 41,
+
       StuffPower_Armor_Sharp = 1.12,
      explosionRadius = 2.9,
+
       StuffPower_Insulation_Cold = 14,
       preExplosionSpawnThingDef = "Filth_Fuel",
+
       StuffPower_Insulation_Heat = 12,
       preExplosionSpawnChance = 0.25,
+
    },
      flyOverhead = true,
+
    stuffProps = {
      soundHitThickRoof = "Artillery_HitThickRoof",
+
       statFactors = {
       soundExplode = "MortarIncendiary_Explode",
+
        MaxHitPoints = 1.5,
      soundImpactAnticipate = "MortarRound_PreImpact",
+
        Beauty = 1.6,
      soundAmbient = "MortarRound_Ambient",
+
       },
       ai_IsIncendiary = true,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Shell_EMP"] = {
+
   ["ThingDef:Leather_Heavy"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableShellBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shell_EMP",
+
     defName = "Leather_Heavy",
     label = "EMP shell",
+
     label = "heavy fur",
     description = [[A shell filled with batteries and antennas, for generating an electromagnetic pulse when detonated. Electromagnetic pulses temporarily disable electrical devices and mechanoids. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
+
     description = [[Thick leather covered in a long, rugged mat of fur. Harvested from a large, hardy animal. This thick skin insulates and protects very well.]],
     comps = {
+
     statBases = {
       {
+
       MarketValue = 3.3,
        _ = {
+
      StuffPower_Armor_Sharp = 1.24,
          Class = "CompProperties_Explosive",
+
      StuffPower_Insulation_Cold = 30,
        },
+
      StuffPower_Insulation_Heat = 14,
        explosiveRadius = 11.9,
+
    },
        explosiveDamageType = "EMP",
+
    stuffProps = {
         explosiveExpandPerStackcount = 0.4,
+
      statFactors = {
         startWickHitPointsPercent = 0.7,
+
         MaxHitPoints = 1.5,
        wickTicks = { ["<"]=30, [">"]=60 },
+
         Beauty = 1.85,
 
       },
 
       },
    },
 
    costList = {
 
      Steel = 25,
 
      ComponentIndustrial = 2,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "MicroelectronicsBasics",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Shell_EMP"] = {
+
   ["ThingDef:Leather_Rhinoceros"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Shell_EMP",
+
     defName = "Leather_Rhinoceros",
     label = "EMP shell",
+
     label = "rhinoceros leather",
     thingClass = "Projectile_Explosive",
+
     description = [[Tanned, dried, scraped rhinocerous skin. It is exceptionally durable in combat, but provides little protection from weather.]],
     projectile = {
+
     statBases = {
       damageDef = "EMP",
+
       MarketValue = 4.2,
       speed = 41,
+
       StuffPower_Armor_Sharp = 1.29,
       explosionRadius = 8.9,
+
       StuffPower_Insulation_Cold = 14,
       flyOverhead = true,
+
       StuffPower_Insulation_Heat = 14,
       soundHitThickRoof = "Artillery_HitThickRoof",
+
    },
      soundExplode = "Explosion_EMP",
+
    stuffProps = {
      soundImpactAnticipate = "MortarRound_PreImpact",
+
       statFactors = {
       soundAmbient = "MortarRound_Ambient",
+
        MaxHitPoints = 1.5,
 +
        Beauty = 2.4,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Shell_Smoke"] = {
+
   ["ThingDef:Leather_Thrumbo"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableShellBase",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shell_Smoke",
+
     defName = "Leather_Thrumbo",
     label = "Smoke shell",
+
     label = "thrumbofur",
     description = [[A shell that generates a cloud of smoke when detonated, obscuring incoming shots and preventing turrets from locking on. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
+
     description = [[Furry pelt of a thrumbo. Luxurious and extraordinarily durable. Used for the highest-quality crafts for its insulation and strength.]],
     comps = {
+
     statBases = {
       {
+
       MarketValue = 14.0,
        _ = {
+
      StuffPower_Armor_Sharp = 2.08,
          Class = "CompProperties_Explosive",
+
      StuffPower_Armor_Blunt = 0.36,
        },
+
      StuffPower_Insulation_Cold = 34,
        explosiveDamageType = "Smoke",
+
      StuffPower_Insulation_Heat = 22,
        explosiveRadius = 11,
+
    },
        postExplosionSpawnThingDef = "Gas_Smoke",
+
    stuffProps = {
        postExplosionSpawnChance = 1,
+
      statFactors = {
         postExplosionSpawnThingCount = 1,
+
         MaxHitPoints = 2.0,
         wickTicks = { ["<"]=30, [">"]=60 },
+
         Beauty = 8,
 
       },
 
       },
    },
 
    costList = {
 
      Steel = 35,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "Mortars",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Shell_Smoke"] = {
+
   ["ThingDef:Leather_Patch"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "LeatherBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Resource_Stuff_Leather.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Shell_Smoke",
+
     defName = "Leather_Patch",
     label = "Smoke shell",
+
     label = "patchleather",
     thingClass = "Projectile_Explosive",
+
     description = [[A weak textile created by cutting up and sewing together various types of leathers. Regardless of what kind of leather is used to create it, patchleather's irregular seams make it less tough and less insulating than any intact leather.]],
     projectile = {
+
     statBases = {
       damageDef = "Smoke",
+
       MarketValue = 1.5,
       speed = 41,
+
       StuffPower_Armor_Sharp = 0.45,
       explosionRadius = 7.2,
+
       StuffPower_Armor_Blunt = 0.19,
       flyOverhead = true,
+
       StuffPower_Armor_Heat = 0.9,
       soundHitThickRoof = "Artillery_HitThickRoof",
+
       StuffPower_Insulation_Cold = 9,
       soundExplode = "Explosion_Smoke",
+
       StuffPower_Insulation_Heat = 9,
      soundImpactAnticipate = "MortarRound_PreImpact",
+
    },
       soundAmbient = "MortarRound_Ambient",
+
    stuffProps = {
      postExplosionSpawnThingDef = "Gas_Smoke",
+
       statFactors = {
       postExplosionSpawnChance = 1,
+
        MaxHitPoints = 1.0,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Shell_Firefoam"] = {
+
   ["ThingDef:UnfinishedBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableShellBase",
+
       Name = "UnfinishedBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shell_Firefoam",
+
     thingClass = "UnfinishedThing",
     label = "firefoam shell",
+
    category = "Item",
     description = [[A pressurized shell filled with fire-retardant foam. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
+
     label = "unfinished thing",
 +
    altitudeLayer = "Item",
 +
    useHitPoints = true,
 +
    tradeability = "None",
 +
     statBases = {
 +
      MaxHitPoints = 50,
 +
      DeteriorationRate = 2.0,
 +
      Beauty = -8,
 +
      Mass = 1,
 +
    },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Explosive",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
        explosiveRadius = 9.9,
 
        explosiveDamageType = "Extinguish",
 
        explosiveExpandPerStackcount = 0.4,
 
        startWickHitPointsPercent = 0.7,
 
        postExplosionSpawnThingDef = "Filth_FireFoam",
 
        postExplosionSpawnChance = 1,
 
        postExplosionSpawnThingCount = 3,
 
        applyDamageToExplosionCellsNeighbors = true,
 
        explosionEffect = "ExtinguisherExplosion",
 
        wickTicks = { ["<"]=30, [">"]=60 },
 
 
       },
 
       },
 
     },
 
     },
     costList = {
+
     pathCost = 14,
      Steel = 35,
+
     thingCategories = {
    },
+
       "Unfinished",
     recipeMaker = {
 
       researchPrerequisite = "Firefoam",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Shell_Firefoam"] = {
+
   ["ThingDef:UnfinishedSculpture"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Shell_Firefoam",
+
     defName = "UnfinishedSculpture",
     label = "firefoam shell",
+
     label = "unfinished sculpture",
     thingClass = "Projectile_Explosive",
+
     description = [[An unfinished sculpture.]],
    projectile = {
 
      damageDef = "Extinguish",
 
      speed = 41,
 
      explosionRadius = 5,
 
      flyOverhead = true,
 
      soundHitThickRoof = "Artillery_HitThickRoof",
 
      soundExplode = "Explosion_EMP",
 
      soundImpactAnticipate = "MortarRound_PreImpact",
 
      soundAmbient = "MortarRound_Ambient",
 
      postExplosionSpawnThingDef = "Filth_FireFoam",
 
      postExplosionSpawnChance = 1,
 
      postExplosionSpawnThingCount = 3,
 
      applyDamageToExplosionCellsNeighbors = true,
 
      explosionEffect = "ExtinguisherExplosion",
 
    },
 
 
   },
 
   },
  
   ["ThingDef:Shell_AntigrainWarhead"] = {
+
   ["ThingDef:UnfinishedGun"] = {
 
     _ = {
 
     _ = {
       ParentName = "ShellBase",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shell_AntigrainWarhead",
+
     defName = "UnfinishedGun",
     label = "antigrain warhead",
+
     label = "unfinished gun",
     description = [[An ultra-tech warhead powered by a grain of antimatter. Usually used by spacecraft or glitterworld war machines, it creates a huge explosion and starts fires around the target. Can be fired from mortars or installed as a trap. Explodes when damaged.]],
+
     description = [[An unfinished gun of some kind.]],
    tradeability = "Sellable",
 
 
     statBases = {
 
     statBases = {
       MarketValue = 1200,
+
       Flammability = 0.5,
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 14.9,
 
        explosiveDamageType = "BombSuper",
 
        explosiveExpandPerStackcount = 0.4,
 
        startWickHitPointsPercent = 0.7,
 
        chanceToStartFire = 0.22,
 
        damageFalloff = true,
 
        explosionEffect = "GiantExplosion",
 
        explosionSound = "Explosion_GiantBomb",
 
        wickTicks = { ["<"]=60, [">"]=120 },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Shell_AntigrainWarhead"] = {
+
   ["ThingDef:UnfinishedWeapon"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Shell.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Shell_AntigrainWarhead",
+
     defName = "UnfinishedWeapon",
     label = "antigrain warhead",
+
     label = "unfinished weapon",
     thingClass = "Projectile_Explosive",
+
     description = [[An unfinished weapon.]],
    projectile = {
 
      damageDef = "BombSuper",
 
      speed = 41,
 
      explosionRadius = 14.9,
 
      explosionChanceToStartFire = 0.22,
 
      explosionDamageFalloff = true,
 
      explosionEffect = "GiantExplosion",
 
      flyOverhead = true,
 
      soundHitThickRoof = "Artillery_HitThickRoof",
 
      soundExplode = "Explosion_GiantBomb",
 
      soundImpactAnticipate = "MortarRound_PreImpact",
 
      soundAmbient = "MortarRound_Ambient",
 
    },
 
 
   },
 
   },
  
   ["ThingDef:Silver"] = {
+
   ["ThingDef:UnfinishedArmor"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Silver",
+
     defName = "UnfinishedArmor",
     label = "silver",
+
     label = "unfinished simple armor",
     description = [[This metal is mostly used as a commodity currency. It can also be used for making decorations.]],
+
     description = [[An unfinished piece of simple armor.]],
     useHitPoints = false,
+
  },
 +
 
 +
  ["ThingDef:UnfinishedTechArmor"] = {
 +
    _ = {
 +
      Name = "UnfinishedTechArmor",
 +
      ParentName = "UnfinishedBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Unfinished.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "UnfinishedTechArmor",
 +
     label = "unfinished advanced armor",
 +
    description = [[An unfinished piece of high-tech armor.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1,
+
       Flammability = 0.4,
      Mass = 0.008,
 
      StuffPower_Armor_Sharp = 0.72,
 
      StuffPower_Armor_Blunt = 0.36,
 
      StuffPower_Armor_Heat = 0.36,
 
      StuffPower_Insulation_Cold = 3,
 
      StuffPower_Insulation_Heat = 0,
 
      SharpDamageMultiplier = 0.85,
 
      BluntDamageMultiplier = 1.0,
 
    },
 
    thingCategories = {
 
      "ResourcesRaw",
 
    },
 
    stackLimit = 500,
 
    smeltable = true,
 
    stuffProps = {
 
      categories = {
 
        "Metallic",
 
      },
 
      statOffsets = {
 
        Beauty = 6,
 
      },
 
      statFactors = {
 
        MaxHitPoints = 0.7,
 
        Flammability = 0.4,
 
        Beauty = 2,
 
      },
 
 
     },
 
     },
    terrainAffordanceNeeded = "Medium",
 
 
   },
 
   },
  
   ["ThingDef:Gold"] = {
+
   ["ThingDef:UnfinishedMetallicTechArmor"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "UnfinishedTechArmor",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gold",
+
     defName = "UnfinishedMetallicTechArmor",
     label = "gold",
+
     label = "unfinished metal armor",
     description = [[The most seductive metal of them all. While it is too soft to be of much practical use, it is strikingly beautiful and never tarnishes. Millions have died in attempting to feed the endless human thirst for gold.]],
+
     description = [[An unfinished piece of metal armor.]],
    useHitPoints = false,
 
    statBases = {
 
      MarketValue = 10,
 
      RoyalFavorValue = 0.015,
 
      Mass = 0.008,
 
      StuffPower_Armor_Sharp = 0.72,
 
      StuffPower_Armor_Blunt = 0.36,
 
      StuffPower_Armor_Heat = 0.36,
 
      StuffPower_Insulation_Cold = 3,
 
      StuffPower_Insulation_Heat = 0,
 
      SharpDamageMultiplier = 0.75,
 
      BluntDamageMultiplier = 1.0,
 
    },
 
    thingCategories = {
 
      "ResourcesRaw",
 
    },
 
    stackLimit = 500,
 
    smeltable = true,
 
    stuffProps = {
 
      categories = {
 
        "Metallic",
 
      },
 
      statOffsets = {
 
        Beauty = 20,
 
      },
 
      statFactors = {
 
        MaxHitPoints = 0.6,
 
        Flammability = 0.4,
 
        Beauty = 4,
 
        WorkToMake = 0.9,
 
        WorkToBuild = 0.9,
 
        MeleeWeapon_CooldownMultiplier = 1.0,
 
      },
 
    },
 
    terrainAffordanceNeeded = "Medium",
 
 
   },
 
   },
  
   ["ThingDef:Steel"] = {
+
   ["ThingDef:UnfinishedApparel"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Steel",
+
     defName = "UnfinishedApparel",
     label = "steel",
+
     label = "unfinished apparel",
     description = [[An iron-carbon metal alloy used for building a huge variety of structures, weapons, and machines.]],
+
     description = [[An unfinished piece of an apparel.]],
     statBases = {
+
     comps = {
      MarketValue = 1.9,
+
       {
      Mass = 0.5,
+
        compClass = "CompColorable",
      StuffPower_Armor_Sharp = 0.9,
 
      StuffPower_Armor_Blunt = 0.45,
 
      StuffPower_Armor_Heat = 0.60,
 
      StuffPower_Insulation_Cold = 3,
 
      StuffPower_Insulation_Heat = 0,
 
      SharpDamageMultiplier = 1,
 
      BluntDamageMultiplier = 1,
 
    },
 
    useHitPoints = false,
 
    thingCategories = {
 
       "ResourcesRaw",
 
    },
 
    smeltable = true,
 
    stuffProps = {
 
      categories = {
 
        "Metallic",
 
      },
 
      statFactors = {
 
        MaxHitPoints = 1,
 
        Beauty = 1,
 
        Flammability = 0.4,
 
 
       },
 
       },
 
     },
 
     },
    terrainAffordanceNeeded = "Medium",
 
 
   },
 
   },
  
   ["ThingDef:Plasteel"] = {
+
   ["ThingDef:UnfinishedBelt"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plasteel",
+
     defName = "UnfinishedBelt",
     label = "plasteel",
+
     label = "unfinished belt",
     description = [[Advanced spacer tech structural material. Plasteel is extremely strong due to its unique molecular structure.]],
+
     description = [[An unfinished piece of a belt.]],
    useHitPoints = false,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 9,
+
       Flammability = 0.5,
      Mass = 0.25,
 
      StuffPower_Armor_Sharp = 1.14,
 
      StuffPower_Armor_Blunt = 0.55,
 
      StuffPower_Armor_Heat = 0.65,
 
      StuffPower_Insulation_Cold = 3,
 
      StuffPower_Insulation_Heat = 0,
 
      SharpDamageMultiplier = 1.1,
 
      BluntDamageMultiplier = 0.9,
 
 
     },
 
     },
     thingCategories = {
+
  },
       "ResourcesRaw",
+
 
 +
  ["ThingDef:UnfinishedPack"] = {
 +
     _ = {
 +
       ParentName = "UnfinishedBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Items_Unfinished.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     smeltable = true,
+
     defName = "UnfinishedPack",
     stuffProps = {
+
     label = "unfinished pack",
      categories = {
+
    description = [[An unfinished piece of a pack.]],
        "Metallic",
+
    statBases = {
      },
+
      Flammability = 0.5,
      statFactors = {
 
        MaxHitPoints = 2.8,
 
        Beauty = 1,
 
        Flammability = 0,
 
        WorkToMake = 2.2,
 
        WorkToBuild = 2.2,
 
        MeleeWeapon_CooldownMultiplier = 0.8,
 
      },
 
 
     },
 
     },
    terrainAffordanceNeeded = "Medium",
 
 
   },
 
   },
  
   ["ThingDef:WoodLog"] = {
+
   ["ThingDef:UnfinishedComponent"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceVerbBase",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WoodLog",
+
     defName = "UnfinishedComponent",
     label = "wood",
+
     label = "unfinished component",
     description = [[Wood from trees or other fibrous plants. Useful for building structures and weapons. It is a good fuel for campfires and generators, and can be refined into chemfuel. In a pinch, a piece of wood can be used as a weapon or a leg.]],
+
     description = [[An unfinished component.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.2,
+
       Flammability = 0.5,
      MaxHitPoints = 150,
+
    },
      Mass = 0.4,
+
  },
      Flammability = 1.0,
+
 
      DeteriorationRate = 0.5,
+
  ["ThingDef:UnfinishedHealthItemProsthetic"] = {
       StuffPower_Armor_Sharp = 0.54,
+
    _ = {
       StuffPower_Armor_Blunt = 0.54,
+
       ParentName = "UnfinishedBase",
       StuffPower_Armor_Heat = 0.40,
+
       DefCategory = "ThingDef",
       StuffPower_Insulation_Cold = 8,
+
       FileName = "Items_Unfinished.xml",
      StuffPower_Insulation_Heat = 4,
+
       GameVersion = "1.2.2753",
      SharpDamageMultiplier = 0.40,
+
       DLC = "Core",
       BluntDamageMultiplier = 0.9,
 
 
     },
 
     },
     stuffProps = {
+
     defName = "UnfinishedHealthItemProsthetic",
      categories = {
+
     label = "unfinished prosthetic",
        "Woody",
+
     description = [[An unfinished prosthetic.]],
      },
+
     statBases = {
      statFactors = {
+
       Flammability = 0.5,
        MaxHitPoints = 0.65,
 
        Beauty = 1,
 
        Flammability = 1,
 
        WorkToMake = 0.7,
 
        WorkToBuild = 0.7,
 
        DoorOpenSpeed = 1.2,
 
      },
 
     },
 
    thingCategories = {
 
      "ResourcesRaw",
 
     },
 
     tools = {
 
       {
 
        label = "log",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 10,
 
        cooldownTime = 2,
 
      },
 
 
     },
 
     },
    terrainAffordanceNeeded = "Light",
 
 
   },
 
   },
  
   ["ThingDef:Uranium"] = {
+
   ["ThingDef:UnfinishedHealthItemBionic"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "UnfinishedBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Uranium",
+
     defName = "UnfinishedHealthItemBionic",
     label = "uranium",
+
     label = "unfinished bionic",
     description = [[A dark, heavy metal. While it is best known as a fuel for nuclear devices, its extreme density and hardness also make it good for making certain weapons, armor, and ammunition.]],
+
     description = [[An unfinished bionic.]],
    useHitPoints = false,
 
 
     statBases = {
 
     statBases = {
       MarketValue = 6,
+
       Flammability = 0.5,
      Mass = 1,
 
      StuffPower_Armor_Sharp = 1.08,
 
      StuffPower_Armor_Blunt = 0.54,
 
      StuffPower_Armor_Heat = 0.65,
 
      StuffPower_Insulation_Cold = 3,
 
      StuffPower_Insulation_Heat = 0,
 
      SharpDamageMultiplier = 1.1,
 
      BluntDamageMultiplier = 1.5,
 
    },
 
    thingCategories = {
 
      "ResourcesRaw",
 
 
     },
 
     },
    smeltable = true,
 
    stuffProps = {
 
      categories = {
 
        "Metallic",
 
      },
 
      statFactors = {
 
        MaxHitPoints = 2.5,
 
        WorkToMake = 1.9,
 
        WorkToBuild = 1.9,
 
        Beauty = 0.5,
 
        Flammability = 0.0,
 
        DoorOpenSpeed = 0.75,
 
        MeleeWeapon_CooldownMultiplier = 1.10,
 
      },
 
    },
 
    terrainAffordanceNeeded = "Medium",
 
 
   },
 
   },
  
   ["ThingDef:Jade"] = {
+
   ["ThingDef:MinifiedThing"] = {
 
     _ = {
 
     _ = {
      ParentName = "ResourceBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Jade",
+
     defName = "MinifiedThing",
     label = "jade",
+
     label = "minified thing",
     description = [[A hard, green stone. Because of its beauty and rarity, jade is often used for ornaments and decorations. Its hardness and density also makes it a good material for blunt weapons.]],
+
     thingClass = "MinifiedThing",
     useHitPoints = false,
+
     category = "Item",
     statBases = {
+
     useHitPoints = true,
      MarketValue = 5,
+
     altitudeLayer = "Item",
      Mass = 0.5,
+
     comps = {
      StuffPower_Armor_Sharp = 0.9,
+
       {
      StuffPower_Armor_Blunt = 0.45,
+
         _ = {
      StuffPower_Armor_Heat = 0.54,
+
          Class = "CompProperties_Forbiddable",
      StuffPower_Insulation_Cold = 3,
+
        },
      StuffPower_Insulation_Heat = 0,
 
      BluntDamageMultiplier = 1.5,
 
    },
 
     thingCategories = {
 
      "ResourcesRaw",
 
     },
 
    smeltable = false,
 
    stuffProps = {
 
       categories = {
 
         "Stony",
 
      },
 
      statOffsets = {
 
        Beauty = 10,
 
      },
 
      statFactors = {
 
        MaxHitPoints = 0.5,
 
        WorkToMake = 1.4,
 
        WorkToBuild = 5.0,
 
        Beauty = 2.5,
 
        Flammability = 0,
 
        MeleeWeapon_CooldownMultiplier = 1.3,
 
 
       },
 
       },
 
     },
 
     },
     terrainAffordanceNeeded = "Heavy",
+
     pathCost = 14,
 
   },
 
   },
  
   ["ThingDef:Cloth"] = {
+
   ["ThingDef:Apparel_ShieldBelt"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "ApparelBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Belts.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Cloth",
+
     defName = "Apparel_ShieldBelt",
     label = "cloth",
+
     label = "shield belt",
     description = [[Cloth woven from organic fibers.]],
+
     description = [[A projectile-repulsion device. It will attempt to stop incoming projectiles or shrapnel, but does nothing against melee attacks or heat. It prevents the wearer from firing out, and shuts down instantly if hit by EMP.]],
 +
    thingClass = "ShieldBelt",
 
     statBases = {
 
     statBases = {
       StuffPower_Armor_Sharp = 0.36,
+
       Mass = 3,
       StuffPower_Armor_Blunt = 0,
+
       WorkToMake = 14000,
       StuffPower_Armor_Heat = 0.18,
+
       Flammability = 0.4,
       StuffPower_Insulation_Cold = 18,
+
       EnergyShieldRechargeRate = 0.13,
       StuffPower_Insulation_Heat = 18,
+
       EnergyShieldEnergyMax = 1.1,
       MaxHitPoints = 80,
+
       EquipDelay = 2,
      MarketValue = 1.5,
+
    },
       Mass = 0.026,
+
    costList = {
       Flammability = 1.2,
+
       ComponentIndustrial = 2,
       DeteriorationRate = 4,
+
       Steel = 50,
 +
       Plasteel = 20,
 
     },
 
     },
     stuffProps = {
+
     recipeMaker = {
       statFactors = {
+
       unfinishedThingDef = "UnfinishedBelt",
        Flammability = 1.2,
+
      researchPrerequisite = "ShieldBelt",
         Beauty = 1,
+
      workSpeedStat = "GeneralLaborSpeed",
 +
      workSkill = "Crafting",
 +
      effectWorking = "Smith",
 +
      soundWorking = "Recipe_Machining",
 +
      recipeUsers = {
 +
         "TableMachining",
 
       },
 
       },
       categories = {
+
       useIngredientsForColor = false,
         "Fabric",
+
      skillRequirements = {
 +
         Crafting = 6,
 
       },
 
       },
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Textiles",
+
       "ApparelUtility",
 
     },
 
     },
     comps = {
+
     apparel = {
       {
+
       bodyPartGroups = {
         compClass = "CompColorable",
+
        "Waist",
 +
      },
 +
      layers = {
 +
         "Belt",
 +
      },
 +
      tags = {
 +
        "BeltDefense",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Synthread"] = {
+
   ["ThingDef:HatBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
      Name = "HatBase",
 +
       ParentName = "ApparelBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Synthread",
+
     thingCategories = {
    label = "synthread",
+
      "Headgear",
    description = [[Spacer-tech synthetic fabric designed for making ordinary clothes. It is soft, light, strong, and insulates well.]],
 
    statBases = {
 
      MaxHitPoints = 150,
 
      MarketValue = 4,
 
      Mass = 0.025,
 
      Flammability = 0.7,
 
      DeteriorationRate = 3,
 
      StuffPower_Armor_Sharp = 0.94,
 
      StuffPower_Armor_Blunt = 0.26,
 
      StuffPower_Armor_Heat = 0.90,
 
      StuffPower_Insulation_Cold = 22,
 
      StuffPower_Insulation_Heat = 22,
 
 
     },
 
     },
     stuffProps = {
+
  },
       categories = {
+
 
        "Fabric",
+
  ["ThingDef:HatMakeableBase"] = {
       },
+
     _ = {
       statFactors = {
+
       Name = "HatMakeableBase",
        Flammability = 0.7,
+
      ParentName = "ApparelMakeableBase",
        MaxHitPoints = 1.3,
+
       Abstract = true,
        Beauty = 2.3,
+
       DefCategory = "ThingDef",
       },
+
      FileName = "Apparel_Headgear.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Textiles",
+
       "Headgear",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:DevilstrandCloth"] = {
+
   ["ThingDef:ArmorHelmetMakeableBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
      Name = "ArmorHelmetMakeableBase",
 +
       ParentName = "ArmorMachineableBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DevilstrandCloth",
+
     thingCategories = {
    label = "devilstrand",
+
      "ArmorHeadgear",
    description = [[Fabric spun from microfibers extracted from devilstrand mushrooms. It is very tough, good at insulating, and protects exceptionally well against flame.]],
 
    statBases = {
 
      MaxHitPoints = 100,
 
      MarketValue = 5.5,
 
      Mass = 0.032,
 
      Flammability = 0.4,
 
      DeteriorationRate = 3,
 
      StuffPower_Armor_Sharp = 1.40,
 
      StuffPower_Armor_Blunt = 0.36,
 
      StuffPower_Armor_Heat = 3.00,
 
      StuffPower_Insulation_Cold = 20,
 
      StuffPower_Insulation_Heat = 24,
 
 
     },
 
     },
     stuffProps = {
+
  },
       categories = {
+
 
        "Fabric",
+
  ["ThingDef:NobleHatMakeableBase"] = {
       },
+
     _ = {
       statFactors = {
+
       Name = "NobleHatMakeableBase",
        Flammability = 0.4,
+
       ParentName = "ApparelMakeableBase",
        MaxHitPoints = 1.3,
+
       Abstract = true,
        Beauty = 3.2,
+
      DefCategory = "ThingDef",
       },
+
      FileName = "Apparel_Headgear.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "Textiles",
+
       "HeadgearNoble",
    },
 
    comps = {
 
      {
 
        compClass = "CompColorable",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Hyperweave"] = {
+
   ["ThingDef:Apparel_CowboyHat"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "HatMakeableBase",
 +
      Name = "CowboyHat",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Hyperweave",
+
     defName = "Apparel_CowboyHat",
     label = "hyperweave",
+
     label = "cowboy hat",
     description = [[Nano-fibers woven into sheets molecule-by-molecule using specialized production mechanites. While it flexes freely most of the time, it stiffens to absorb blows as they land, and is incredibly difficult to break. The secrets of its production are known only to the most advanced glitterworld cultures.]],
+
     description = [[Stylish yet rugged, this hat keeps the sun and rain off - and it gives anyone who wears it a bit of extra charm. It is the most important part of traditional western attire.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "ComplexClothing",
 +
    },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 200,
+
       MaxHitPoints = 80,
       MarketValue = 9,
+
       WorkToMake = 1800,
       Mass = 0.038,
+
       Mass = 0.14,
       Flammability = 0.4,
+
       StuffEffectMultiplierArmor = 0.2,
       DeteriorationRate = 1.0,
+
       StuffEffectMultiplierInsulation_Cold = 0.10,
      StuffPower_Armor_Sharp = 2.00,
+
       StuffEffectMultiplierInsulation_Heat = 0.50,
       StuffPower_Armor_Blunt = 0.54,
+
       EquipDelay = 0.8,
       StuffPower_Armor_Heat = 2.88,
 
      StuffPower_Insulation_Cold = 26,
 
      StuffPower_Insulation_Heat = 26,
 
 
     },
 
     },
     stuffProps = {
+
     apparel = {
       categories = {
+
       bodyPartGroups = {
         "Fabric",
+
         "UpperHead",
 +
      },
 +
      layers = {
 +
        "Overhead",
 +
      },
 +
      tags = {
 +
        "IndustrialBasic",
 +
        "Western",
 
       },
 
       },
       statFactors = {
+
       defaultOutfitTags = {
         Flammability = 0.4,
+
         "Worker",
        MaxHitPoints = 2.4,
 
        Beauty = 5.5,
 
 
       },
 
       },
    },
 
    thingCategories = {
 
      "Textiles",
 
    },
 
    tradeTags = {
 
      "ExoticMisc",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WoolBase"] = {
+
   ["ThingDef:Apparel_BowlerHat"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "CowboyHat",
      Name = "WoolBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     stackLimit = 100,
+
     defName = "Apparel_BowlerHat",
 +
    label = "bowler hat",
 +
    description = [[A good-looking hat which projects a slightly urban, money-loving style. Improves social impact.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 90,
+
       WorkToMake = 1800,
      MarketValue = 2.7,
+
       Mass = 0.14,
       Mass = 0.028,
+
       StuffEffectMultiplierArmor = 0.2,
       Flammability = 0.4,
+
       StuffEffectMultiplierInsulation_Cold = 0.10,
       DeteriorationRate = 3.4,
+
       StuffEffectMultiplierInsulation_Heat = 0.40,
       StuffPower_Armor_Sharp = 0.36,
+
       EquipDelay = 0.8,
       StuffPower_Armor_Blunt = 0.00,
 
      StuffPower_Armor_Heat = 1.10,
 
    },
 
    stuffProps = {
 
      statFactors = {
 
        Flammability = 1.7,
 
        Beauty = 1.5,
 
      },
 
      categories = {
 
        "Fabric",
 
      },
 
    },
 
    thingCategories = {
 
      "Textiles",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WoolMegasloth"] = {
+
   ["ThingDef:Apparel_TribalHeaddress"] = {
 
     _ = {
 
     _ = {
       ParentName = "WoolBase",
+
       ParentName = "HatMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WoolMegasloth",
+
     defName = "Apparel_TribalHeaddress",
     label = "megasloth wool",
+
     label = "tribal headdress",
     description = [[While somewhat coarse, megasloth wool's long fibers make it very strong. It is exceptionally warm.]],
+
     description = [[Elegant traditional garb, often with religious significance. Improves social impact.]],
     statBases = {
+
     recipeMaker = {
       StuffPower_Armor_Sharp = 0.80,
+
       researchPrerequisite = {},
       StuffPower_Insulation_Cold = 34,
+
      recipeUsers = {
       StuffPower_Insulation_Heat = 12,
+
        "ElectricTailoringBench",
 +
        "HandTailoringBench",
 +
        "CraftingSpot",
 +
      },
 +
       skillRequirements = {
 +
        Crafting = 4,
 +
       },
 +
      factionPrerequisiteTags = {
 +
        "Tribal",
 +
      },
 
     },
 
     },
  },
+
    statBases = {
 
+
      WorkToMake = 6000,
  ["ThingDef:WoolMuffalo"] = {
+
       Mass = 0.11,
    _ = {
+
       StuffEffectMultiplierArmor = 0.2,
       ParentName = "WoolBase",
+
       StuffEffectMultiplierInsulation_Cold = 0.1,
       DefCategory = "ThingDef",
+
       StuffEffectMultiplierInsulation_Heat = 0.15,
       FileName = "Items_Resource_Stuff.xml",
+
       EquipDelay = 1.5,
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "WoolMuffalo",
+
     apparel = {
    label = "muffalo wool",
+
      bodyPartGroups = {
    description = [[Soft, light and provides very good insulation. Muffalo wool clothes can keep the body warm even in very cold conditions.]],
+
        "UpperHead",
    statBases = {
+
      },
      StuffPower_Insulation_Cold = 30,
+
      layers = {
       StuffPower_Insulation_Heat = 12,
+
        "Overhead",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Worker",
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WoolAlpaca"] = {
+
   ["ThingDef:Apparel_Tuque"] = {
 
     _ = {
 
     _ = {
       ParentName = "WoolBase",
+
       ParentName = "HatMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WoolAlpaca",
+
     defName = "Apparel_Tuque",
     label = "alpaca wool",
+
     label = "tuque",
     description = [[The remarkably soft wool of an alpaca. It is very warm.]],
+
     description = [[A soft, thick cap. Great for keeping warm in winter.]],
 
     statBases = {
 
     statBases = {
       DeteriorationRate = 2.6,
+
       MaxHitPoints = 80,
       StuffPower_Insulation_Cold = 28,
+
      WorkToMake = 1200,
       StuffPower_Insulation_Heat = 16,
+
      Mass = 0.07,
 +
      StuffEffectMultiplierArmor = 0.2,
 +
      StuffEffectMultiplierInsulation_Cold = 0.50,
 +
      StuffEffectMultiplierInsulation_Heat = 0,
 +
       EquipDelay = 0.8,
 +
    },
 +
    apparel = {
 +
       bodyPartGroups = {
 +
        "UpperHead",
 +
      },
 +
      layers = {
 +
        "Overhead",
 +
      },
 +
      tags = {
 +
        "IndustrialBasic",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Worker",
 +
        "Soldier",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WoolBison"] = {
+
   ["ThingDef:Apparel_WarMask"] = {
 
     _ = {
 
     _ = {
       ParentName = "WoolBase",
+
       ParentName = "HatMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WoolBison",
+
     defName = "Apparel_WarMask",
     label = "bison wool",
+
     label = "war mask",
     description = [[Thick and coarse wool of a bison. Quite warm.]],
+
     description = [[An artistically terrifying war mask. It hides the wearer's face and makes them more confident.]],
 
     statBases = {
 
     statBases = {
       StuffPower_Insulation_Cold = 26,
+
       WorkToMake = 3000,
       StuffPower_Insulation_Heat = 12,
+
       MaxHitPoints = 80,
 +
      Mass = 1.4,
 +
      StuffEffectMultiplierArmor = 0.3,
 +
      StuffEffectMultiplierInsulation_Cold = 0.05,
 +
      StuffEffectMultiplierInsulation_Heat = 0.05,
 +
      EquipDelay = 1.5,
 
     },
 
     },
  },
+
    apparel = {
 
+
      bodyPartGroups = {
  ["ThingDef:WoolSheep"] = {
+
        "FullHead",
    _ = {
+
       },
      ParentName = "WoolBase",
+
      layers = {
       DefCategory = "ThingDef",
+
        "Overhead",
       FileName = "Items_Resource_Stuff.xml",
+
       },
       GameVersion = "1.2.2753",
+
       defaultOutfitTags = {
       DLC = "Core",
+
        "Soldier",
 +
       },
 
     },
 
     },
     defName = "WoolSheep",
+
     recipeMaker = {
    label = "sheep wool",
+
      workSpeedStat = "GeneralLaborSpeed",
    description = [[Sheep's wool. It provides good insulation.]],
+
      workSkill = "Crafting",
    statBases = {
+
      effectWorking = "Sculpt",
       StuffPower_Insulation_Cold = 26,
+
      soundWorking = "Recipe_Sculpt",
       StuffPower_Insulation_Heat = 10,
+
      recipeUsers = {
 +
        "CraftingSpot",
 +
      },
 +
       unfinishedThingDef = "UnfinishedSculpture",
 +
       factionPrerequisiteTags = {
 +
        "Tribal",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:LeatherBase"] = {
+
   ["ThingDef:Apparel_WarVeil"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "HatMakeableBase",
      Name = "LeatherBase",
 
       ParentName = "ResourceBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     description = [[Tanned, dried, scraped skin. A good traditional material for making clothes and bags.]],
+
    defName = "Apparel_WarVeil",
 +
    label = "war veil",
 +
     description = [[A war veil, made out of reinforced cloth torn to appear damaged in combat. Some believe this functions as a talisman of courage.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 60,
+
       WorkToMake = 1400,
       DeteriorationRate = 2,
+
       MaxHitPoints = 80,
       Mass = 0.03,
+
       Mass = 0.08,
       Flammability = 1,
+
       StuffEffectMultiplierArmor = 0.2,
      MarketValue = 2.1,
+
       StuffEffectMultiplierInsulation_Cold = 0.05,
       StuffPower_Armor_Sharp = 0.81,
+
       StuffEffectMultiplierInsulation_Heat = 0.05,
       StuffPower_Armor_Blunt = 0.24,
+
       EquipDelay = 1.5,
       StuffPower_Armor_Heat = 1.5,
 
      StuffPower_Insulation_Cold = 16,
 
      StuffPower_Insulation_Heat = 16,
 
 
     },
 
     },
     thingCategories = {
+
     apparel = {
       "Leathers",
+
       bodyPartGroups = {
 +
        "FullHead",
 +
      },
 +
      layers = {
 +
        "Overhead",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Soldier",
 +
      },
 
     },
 
     },
     stuffProps = {
+
     recipeMaker = {
       categories = {
+
       recipeUsers = {
         "Leathery",
+
         "CraftingSpot",
 
       },
 
       },
       statFactors = {
+
       factionPrerequisiteTags = {
         MaxHitPoints = 1.3,
+
         "Tribal",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Plain"] = {
+
   ["ThingDef:Apparel_SimpleHelmet"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ArmorHelmetMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Plain",
+
     defName = "Apparel_SimpleHelmet",
     label = "plainleather",
+
     label = "simple helmet",
  },
+
    description = [[A simple helmet which gives moderate protection against sharp attacks. Not effective against blunt weapons.]],
 
+
    statBases = {
  ["ThingDef:Leather_Dog"] = {
+
      WorkToMake = 3200,
    _ = {
+
      MaxHitPoints = 100,
       ParentName = "LeatherBase",
+
       Mass = 2,
       DefCategory = "ThingDef",
+
       StuffEffectMultiplierArmor = 0.5,
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       StuffEffectMultiplierInsulation_Cold = 0.15,
       GameVersion = "1.2.2753",
+
      StuffEffectMultiplierInsulation_Heat = 0,
       DLC = "Core",
+
       EquipDelay = 1.5,
 +
    },
 +
    recipeMaker = {
 +
       recipeUsers = {
 +
        "ElectricSmithy",
 +
        "FueledSmithy",
 +
      },
 
     },
 
     },
     defName = "Leather_Dog",
+
     apparel = {
    label = "dog leather",
+
      bodyPartGroups = {
    statBases = {
+
        "UpperHead",
       MarketValue = 2.0,
+
      },
       StuffPower_Insulation_Cold = 14,
+
      layers = {
 +
        "Overhead",
 +
      },
 +
      tags = {
 +
        "IndustrialMilitaryBasic",
 +
      },
 +
       defaultOutfitTags = {
 +
        "Soldier",
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Wolf"] = {
+
   ["ThingDef:Apparel_AdvancedHelmet"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ArmorHelmetMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Wolf",
+
     defName = "Apparel_AdvancedHelmet",
     label = "wolfskin",
+
     label = "flak helmet",
     description = [[A soft furry pelt harvested from a wolf-like creature. It is difficult to pierce and insulates well against cold.]],
+
     description = [[A lightweight combat helmet with a complex design, reinforced with plasteel. Not effective against blunt weapons.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "FlakArmor",
 +
      unfinishedThingDef = "UnfinishedMetallicTechArmor",
 +
      skillRequirements = {
 +
        Crafting = 5,
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
       MarketValue = 3.0,
+
       WorkToMake = 8000,
       StuffPower_Armor_Sharp = 1.02,
+
      MaxHitPoints = 120,
       StuffPower_Insulation_Cold = 24,
+
      Mass = 1.2,
 +
      StuffEffectMultiplierArmor = 0.7,
 +
       StuffEffectMultiplierInsulation_Cold = 0.15,
 +
      StuffEffectMultiplierInsulation_Heat = 0,
 +
      EquipDelay = 1.5,
 +
    },
 +
    costList = {
 +
      ComponentIndustrial = 2,
 +
       Plasteel = 10,
 
     },
 
     },
     stuffProps = {
+
     apparel = {
       statFactors = {
+
       bodyPartGroups = {
         Beauty = 1.7,
+
         "UpperHead",
 +
      },
 +
      layers = {
 +
        "Overhead",
 +
      },
 +
      tags = {
 +
        "IndustrialMilitaryAdvanced",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Soldier",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Panthera"] = {
+
   ["ThingDef:ApparelArmorHelmetPowerBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
      Name = "ApparelArmorHelmetPowerBase",
 +
       ParentName = "ArmorHelmetMakeableBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Panthera",
+
     recipeMaker = {
    label = "panthera fur",
+
      unfinishedThingDef = "UnfinishedTechArmor",
    description = [[A soft furry pelt harvested from a big cat. It is difficult to pierce and insulates well against heat.]],
+
      researchPrerequisite = "PoweredArmor",
    statBases = {
+
      skillRequirements = {
      MarketValue = 3.0,
+
        Crafting = 7,
       StuffPower_Armor_Sharp = 0.93,
+
       },
       StuffPower_Insulation_Heat = 24,
+
       recipeUsers = {
    },
+
        _ = {
    stuffProps = {
+
          Inherit = false,
      statFactors = {
+
        },
         Beauty = 1.7,
+
         "FabricationBench",
 
       },
 
       },
 
     },
 
     },
  },
+
     tradeTags = {
 
+
       "HiTechArmor",
  ["ThingDef:Leather_Camel"] = {
 
     _ = {
 
       ParentName = "LeatherBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Items_Resource_Stuff_Leather.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
    defName = "Leather_Camel",
 
    label = "camelhide",
 
    description = [[Tanned, dried, scraped camel skin. Good at temperature regulation in hot climates.]],
 
 
     statBases = {
 
     statBases = {
       MarketValue = 2.3,
+
       WorkToMake = 21000,
       StuffPower_Insulation_Heat = 24,
+
      MaxHitPoints = 150,
 +
      Mass = 1.5,
 +
      Flammability = 0.4,
 +
      ArmorRating_Sharp = 1.06,
 +
      ArmorRating_Blunt = 0.45,
 +
      ArmorRating_Heat = 0.54,
 +
      Insulation_Cold = 4,
 +
      Insulation_Heat = 2,
 +
       EquipDelay = 4,
 +
    },
 +
    costList = {
 +
      ComponentSpacer = 1,
 +
      Plasteel = 40,
 +
    },
 +
    apparel = {
 +
      bodyPartGroups = {
 +
        "FullHead",
 +
      },
 +
      layers = {
 +
        "Overhead",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Soldier",
 +
      },
 
     },
 
     },
     stuffProps = {
+
     comps = {
       statFactors = {
+
       {
         Beauty = 1.3,
+
        _ = {
 +
          Class = "CompProperties_BiocodableApparel",
 +
         },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Bluefur"] = {
+
   ["ThingDef:Apparel_PowerArmorHelmet"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ApparelArmorHelmetPowerBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Bluefur",
+
     defName = "Apparel_PowerArmorHelmet",
     label = "bluefur",
+
     label = "marine helmet",
     description = [[The furry pelt of muffalo. Recognizable by its distinctive blue tint. Good at temperature regulation in cold climates.]],
+
     description = [[A marine armor helmet, with a built-in status computer and layered plasteel-weave plates.\n\nArmor like this is often used by imperial janissaries and rapid-incursion space marines.]],
     statBases = {
+
     apparel = {
      MarketValue = 2.3,
+
       tags = {
      StuffPower_Insulation_Cold = 20,
+
         "SpacerMilitary",
    },
 
    stuffProps = {
 
       statFactors = {
 
         Beauty = 1.3,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Bear"] = {
+
   ["ThingDef:ApparelArmorHelmetReconBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
      Name = "ApparelArmorHelmetReconBase",
 +
       ParentName = "ArmorHelmetMakeableBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Bear",
+
     recipeMaker = {
    label = "bearskin",
+
      unfinishedThingDef = "UnfinishedTechArmor",
    description = [[The strong furry leather of a bear. Compared to most leather, it is quite a bit tougher and a bit better at all kinds of temperature regulation.]],
+
      researchPrerequisite = "ReconArmor",
    statBases = {
+
      skillRequirements = {
       MarketValue = 3.4,
+
        Crafting = 6,
       StuffPower_Armor_Sharp = 1.12,
+
       },
      StuffPower_Insulation_Cold = 20,
+
       recipeUsers = {
      StuffPower_Insulation_Heat = 20,
+
        _ = {
    },
+
          Inherit = false,
    stuffProps = {
+
        },
      statFactors = {
+
         "FabricationBench",
         Beauty = 1.9,
 
 
       },
 
       },
 
     },
 
     },
  },
+
     tradeTags = {
 
+
       "HiTechArmor",
  ["ThingDef:Leather_GuineaPig"] = {
 
     _ = {
 
       ParentName = "LeatherBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Items_Resource_Stuff_Leather.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
    defName = "Leather_GuineaPig",
 
    label = "guinea pig fur",
 
    description = [[Sheets of guinea pig fur. It is delicate, but luxurious.]],
 
 
     statBases = {
 
     statBases = {
       MarketValue = 5,
+
       WorkToMake = 15750,
       StuffPower_Armor_Sharp = 0.67,
+
       MaxHitPoints = 120,
       StuffPower_Armor_Blunt = 0.14,
+
      Mass = 1,
       StuffPower_Insulation_Cold = 38,
+
      Flammability = 0.4,
       StuffPower_Insulation_Heat = 18,
+
      ArmorRating_Sharp = 0.92,
 +
      ArmorRating_Blunt = 0.4,
 +
       ArmorRating_Heat = 0.46,
 +
      Insulation_Cold = 4,
 +
      Insulation_Heat = 2,
 +
      EquipDelay = 2,
 +
    },
 +
    costList = {
 +
      ComponentSpacer = 1,
 +
      Plasteel = 30,
 +
    },
 +
    apparel = {
 +
      bodyPartGroups = {
 +
        "FullHead",
 +
      },
 +
       layers = {
 +
        "Overhead",
 +
      },
 +
       defaultOutfitTags = {
 +
        "Soldier",
 +
      },
 
     },
 
     },
     stuffProps = {
+
     comps = {
       statFactors = {
+
       {
        MaxHitPoints = 0.6,
+
        _ = {
         Beauty = 2.8,
+
          Class = "CompProperties_BiocodableApparel",
 +
         },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Human"] = {
+
   ["ThingDef:Apparel_ArmorHelmetRecon"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ApparelArmorHelmetReconBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Human",
+
     defName = "Apparel_ArmorHelmetRecon",
     label = "human leather",
+
     label = "recon helmet",
     description = [[Tanned, dried, scraped human skin. Most people find this material horrifying. Some find it fascinating. While a decent leather, it neither protects nor insulates particularly well.]],
+
     description = [[A high-tech armored helmet with a built-in status computer and a protective plasteel-weave plate.\n\nArmor like this is often used by imperial scout troops or glitterworld police forces.]],
     statBases = {
+
     apparel = {
       MarketValue = 4.2,
+
       tags = {
      StuffPower_Armor_Sharp = 0.64,
+
        "SpacerMilitary",
       StuffPower_Insulation_Cold = 12,
+
       },
      StuffPower_Insulation_Heat = 12,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Pig"] = {
+
   ["ThingDef:Apparel_PsychicFoilHelmet"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "HatBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Headgear.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Pig",
+
     defName = "Apparel_PsychicFoilHelmet",
     label = "pigskin",
+
     label = "psychic foil helmet",
     description = [[Tanned, dried, scraped pig skin. While a decent leather, it neither protects nor insulates particularly well.]],
+
     description = [[A thin helmet containing finely-tuned sheets of psychically-absorptive foil. Reduces the impact of psychic waves.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1.9,
+
      MaxHitPoints = 80,
       StuffPower_Armor_Sharp = 0.64,
+
       MarketValue = 250,
       StuffPower_Insulation_Cold = 12,
+
      Mass = 1.0,
       StuffPower_Insulation_Heat = 12,
+
       Flammability = 0.4,
 +
      ArmorRating_Sharp = 0.09,
 +
      ArmorRating_Blunt = 0.09,
 +
      ArmorRating_Heat = 0.27,
 +
      Insulation_Cold = 2,
 +
      Insulation_Heat = 1,
 +
      EquipDelay = 1.5,
 +
    },
 +
    apparel = {
 +
       bodyPartGroups = {
 +
        "UpperHead",
 +
      },
 +
       layers = {
 +
        "Overhead",
 +
      },
 +
      tags = {
 +
        "IndustrialMilitaryBasic",
 +
        "IndustrialMilitaryAdvanced",
 +
        "SpacerMilitary",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Light"] = {
+
   ["ThingDef:Apparel_SmokepopBelt"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ApparelBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Packs.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Light",
+
    thingClass = "SmokepopBelt",
     label = "lightleather",
+
     defName = "Apparel_SmokepopBelt",
     description = [[Lightweight, thin leather. Probably harvested from a small animal. Not as protective as thicker leathers.]],
+
     label = "smokepop pack",
 +
     description = [[A defensive smokescreen. When activated, it will release a cloud of smoke, obscuring incoming shots and preventing turrets from locking on.]],
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Reloadable",
 +
        },
 +
        maxCharges = 3,
 +
        ammoDef = "Chemfuel",
 +
        ammoCountToRefill = 10,
 +
        baseReloadTicks = 60,
 +
        soundReload = "Standard_Reload",
 +
        hotKey = "Misc4",
 +
        chargeNoun = "smokepop",
 +
        displayGizmoWhileUndrafted = false,
 +
      },
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Smokepop",
 +
        label = "pop smoke",
 +
        violent = false,
 +
        targetable = false,
 +
        nonInterruptingSelfCast = true,
 +
        onlyManualCast = true,
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      unfinishedThingDef = "UnfinishedPack",
 +
      researchPrerequisite = "SmokepopBelt",
 +
      recipeUsers = {
 +
        "TableMachining",
 +
      },
 +
      useIngredientsForColor = false,
 +
      workSpeedStat = "GeneralLaborSpeed",
 +
      workSkill = "Crafting",
 +
      effectWorking = "Smith",
 +
      soundWorking = "Recipe_Smith",
 +
      skillRequirements = {
 +
        Crafting = 3,
 +
      },
 +
    },
 +
    costList = {
 +
      ComponentIndustrial = 1,
 +
      Steel = 20,
 +
      Chemfuel = 40,
 +
    },
 
     statBases = {
 
     statBases = {
       MarketValue = 1.9,
+
       WorkToMake = 1200,
       StuffPower_Armor_Sharp = 0.54,
+
      Mass = 3,
       StuffPower_Armor_Blunt = 0.14,
+
       Flammability = 0.4,
       StuffPower_Insulation_Cold = 12,
+
       SmokepopBeltRadius = 4.9,
       StuffPower_Insulation_Heat = 12,
+
       EquipDelay = 2,
 +
    },
 +
    thingCategories = {
 +
       "ApparelUtility",
 
     },
 
     },
     stuffProps = {
+
     apparel = {
       statFactors = {
+
       bodyPartGroups = {
         MaxHitPoints = 1.0,
+
         "Waist",
 +
      },
 +
      layers = {
 +
        "Belt",
 +
      },
 +
      tags = {
 +
        "BeltDefensePop",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Bird"] = {
+
   ["ThingDef:Apparel_PsychicShockLance"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ApparelNoQualityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Utility.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Bird",
+
     defName = "Apparel_PsychicShockLance",
     label = "birdskin",
+
     label = "psychic shock lance",
     description = [[Tanned, dried, scraped bird skin. It is quite delicate. Without its feathers, it provides little protection from heat or cold.]],
+
     description = [[A limited-use psychic effector. It shocks the target's mind with chaotic images, blocking coherent perception and dropping him into a state of psychic shock. There is a risk of brain damage. It has a long range, but requires line of sight.]],
 +
    tradeTags = {
 +
      "Artifact",
 +
    },
 
     statBases = {
 
     statBases = {
       MarketValue = 1.8,
+
      Mass = 0.5,
       StuffPower_Armor_Sharp = 0.67,
+
      EquipDelay = 2,
      StuffPower_Armor_Blunt = 0.14,
+
       MarketValue = 550,
      StuffPower_Insulation_Cold = 10,
+
      MaxHitPoints = 80,
       StuffPower_Insulation_Heat = 10,
+
    },
 +
    thingCategories = {
 +
      "ApparelUtility",
 +
    },
 +
    apparel = {
 +
      bodyPartGroups = {
 +
        "Waist",
 +
      },
 +
      layers = {
 +
        "Belt",
 +
      },
 +
    },
 +
    smeltable = false,
 +
    verbs = {
 +
       {
 +
        verbClass = "Verb_CastTargetEffect",
 +
        label = "psychic shock lance",
 +
        targetable = true,
 +
        onlyManualCast = true,
 +
        range = 34.9,
 +
        warmupTime = 0.5,
 +
        targetParams = {
 +
          canTargetBuildings = false,
 +
          onlyTargetPsychicSensitive = true,
 +
          neverTargetIncapacitated = true,
 +
        },
 +
       },
 
     },
 
     },
     stuffProps = {
+
     comps = {
       statFactors = {
+
       {
         MaxHitPoints = 1.0,
+
        _ = {
 +
          Class = "CompProperties_Reloadable",
 +
        },
 +
        maxCharges = 2,
 +
        destroyOnEmpty = true,
 +
        hotKey = "Misc4",
 +
        chargeNoun = "charge",
 +
         displayGizmoWhileUndrafted = false,
 +
      },
 +
      {
 +
        compClass = "CompTargetEffect_PsychicShock",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_BrainDamageChance",
 +
        },
 +
        brainDamageChance = 0.3,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_GoodwillImpact",
 +
        },
 +
        goodwillImpact = -200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_MoteOnTarget",
 +
        },
 +
        moteDef = "Mote_PsycastPsychicEffect",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_MoteConnecting",
 +
        },
 +
        moteDef = "Mote_PsycastPsychicLine",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Chinchilla"] = {
+
   ["ThingDef:Apparel_PsychicInsanityLance"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ApparelNoQualityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Utility.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Chinchilla",
+
     defName = "Apparel_PsychicInsanityLance",
     label = "chinchilla fur",
+
     label = "psychic insanity lance",
     description = [[Tanned, dried, scraped chinchilla skin. Known as an extremely luxurious and insulating fur, it is exceptionally valuable.]],
+
     description = [[A limited-use psychic effector. It overwhelms the target's mind with terrifying perceptual distortions, driving him into a berserk state. There is a risk of brain damage. It has a long range, but requires line of sight.]],
     statBases = {
+
    tradeTags = {
       MarketValue = 6.5,
+
      "Artifact",
       StuffPower_Armor_Sharp = 0.67,
+
    },
      StuffPower_Armor_Blunt = 0.14,
+
     statBases = {
      StuffPower_Insulation_Cold = 30,
+
       Mass = 0.5,
       StuffPower_Insulation_Heat = 16,
+
       EquipDelay = 2,
 +
      MarketValue = 650,
 +
      MaxHitPoints = 80,
 +
    },
 +
    thingCategories = {
 +
      "ApparelUtility",
 +
    },
 +
    apparel = {
 +
      bodyPartGroups = {
 +
        "Waist",
 +
      },
 +
      layers = {
 +
        "Belt",
 +
      },
 +
    },
 +
    smeltable = false,
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_CastTargetEffect",
 +
        label = "psychic insanity lance",
 +
        targetable = true,
 +
        onlyManualCast = true,
 +
        range = 34.9,
 +
        warmupTime = 0.5,
 +
        targetParams = {
 +
          canTargetBuildings = false,
 +
          onlyTargetPsychicSensitive = true,
 +
          neverTargetIncapacitated = true,
 +
        },
 +
       },
 
     },
 
     },
     stuffProps = {
+
     comps = {
       statFactors = {
+
       {
         MaxHitPoints = 1.0,
+
        _ = {
         Beauty = 3.6,
+
          Class = "CompProperties_Reloadable",
 +
        },
 +
        maxCharges = 2,
 +
        destroyOnEmpty = true,
 +
        hotKey = "Misc4",
 +
        chargeNoun = "charge",
 +
        displayGizmoWhileUndrafted = false,
 +
      },
 +
      {
 +
         compClass = "CompTargetEffect_Berserk",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_BrainDamageChance",
 +
        },
 +
        brainDamageChance = 0.3,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_GoodwillImpact",
 +
        },
 +
        goodwillImpact = -200,
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_MoteOnTarget",
 +
        },
 +
        moteDef = "Mote_PsycastPsychicEffect",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_TargetEffect_MoteConnecting",
 +
        },
 +
         moteDef = "Mote_PsycastPsychicLine",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Fox"] = {
+
   ["ThingDef:ApparelNoQualityBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       Name = "ApparelNoQualityBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Fox",
+
     thingClass = "Apparel",
     label = "foxfur",
+
     category = "Item",
     description = [[The pelt of a fox. It protects well from the cold and is quite luxurious, fetching a high price.]],
+
     pathCost = 14,
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       MarketValue = 3.5,
+
       MaxHitPoints = 100,
       StuffPower_Armor_Sharp = 0.81,
+
       Flammability = 1.0,
       StuffPower_Armor_Blunt = 0.21,
+
       DeteriorationRate = 2,
       StuffPower_Insulation_Cold = 20,
+
       Beauty = -3,
 
     },
 
     },
     stuffProps = {
+
     altitudeLayer = "Item",
       statFactors = {
+
    smeltable = true,
         MaxHitPoints = 1.0,
+
    comps = {
         Beauty = 2.0,
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Forbiddable",
 +
         },
 +
      },
 +
      {
 +
         compClass = "CompColorable",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Lizard"] = {
+
   ["ThingDef:ApparelBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
      Name = "ApparelBase",
 +
       ParentName = "ApparelNoQualityBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Lizard",
+
     comps = {
    label = "lizardskin",
+
       {
    description = [[The tanned skin of a cold-blooded reptile. Lizardskin is reasonably tough, but does not insulate well at all.]],
+
         compClass = "CompQuality",
    statBases = {
 
       MarketValue = 2.1,
 
      StuffPower_Armor_Sharp = 0.81,
 
      StuffPower_Armor_Blunt = 0.27,
 
      StuffPower_Insulation_Cold = 12,
 
      StuffPower_Insulation_Heat = 12,
 
    },
 
    stuffProps = {
 
      statFactors = {
 
         MaxHitPoints = 1.0,
 
        Beauty = 1.2,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Elephant"] = {
+
   ["ThingDef:ApparelMakeableBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
      Name = "ApparelMakeableBase",
 +
       ParentName = "ApparelBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Elephant",
+
     recipeMaker = {
    label = "elephant leather",
+
      workSpeedStat = "GeneralLaborSpeed",
    description = [[Tanned, dried, scraped elephant skin. While quite tough, it is a poor insulator.]],
+
      workSkill = "Crafting",
    statBases = {
+
      effectWorking = "Tailor",
       MarketValue = 3.0,
+
      soundWorking = "Recipe_Tailor",
       StuffPower_Armor_Sharp = 1.12,
+
      recipeUsers = {
       StuffPower_Insulation_Cold = 14,
+
        "ElectricTailoringBench",
      StuffPower_Insulation_Heat = 12,
+
        "HandTailoringBench",
    },
+
       },
    stuffProps = {
+
       unfinishedThingDef = "UnfinishedApparel",
      statFactors = {
+
       defaultIngredientFilter = {
        MaxHitPoints = 1.5,
+
        categories = {
         Beauty = 1.6,
+
          "Root",
 +
        },
 +
        disallowedThingDefs = {
 +
          "Gold",
 +
          "Silver",
 +
          "Plasteel",
 +
          "Jade",
 +
          "Uranium",
 +
         },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Heavy"] = {
+
   ["ThingDef:ArmorSmithableBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
      Name = "ArmorSmithableBase",
 +
       ParentName = "ApparelBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Heavy",
+
     smeltable = true,
     label = "heavy fur",
+
     recipeMaker = {
    description = [[Thick leather covered in a long, rugged mat of fur. Harvested from a large, hardy animal. This thick skin insulates and protects very well.]],
+
      workSpeedStat = "GeneralLaborSpeed",
    statBases = {
+
      workSkill = "Crafting",
       MarketValue = 3.3,
+
       effectWorking = "Smith",
       StuffPower_Armor_Sharp = 1.24,
+
       soundWorking = "Recipe_Smith",
       StuffPower_Insulation_Cold = 30,
+
       recipeUsers = {
      StuffPower_Insulation_Heat = 14,
+
        "ElectricSmithy",
    },
+
        "FueledSmithy",
    stuffProps = {
+
      },
      statFactors = {
+
      defaultIngredientFilter = {
         MaxHitPoints = 1.5,
+
        categories = {
         Beauty = 1.85,
+
          "Root",
 +
         },
 +
        disallowedThingDefs = {
 +
          "Gold",
 +
          "Silver",
 +
          "Plasteel",
 +
          "Jade",
 +
          "Uranium",
 +
         },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Rhinoceros"] = {
+
   ["ThingDef:ArmorMachineableBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
      Name = "ArmorMachineableBase",
 +
       ParentName = "ApparelBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Rhinoceros",
+
     recipeMaker = {
    label = "rhinoceros leather",
+
      workSpeedStat = "GeneralLaborSpeed",
    description = [[Tanned, dried, scraped rhinocerous skin. It is exceptionally durable in combat, but provides little protection from weather.]],
+
      workSkill = "Crafting",
    statBases = {
+
      effectWorking = "Smith",
       MarketValue = 4.2,
+
      soundWorking = "Recipe_Machining",
       StuffPower_Armor_Sharp = 1.29,
+
      recipeUsers = {
       StuffPower_Insulation_Cold = 14,
+
        "TableMachining",
      StuffPower_Insulation_Heat = 14,
+
       },
    },
+
       unfinishedThingDef = "UnfinishedArmor",
    stuffProps = {
+
       defaultIngredientFilter = {
      statFactors = {
+
        categories = {
        MaxHitPoints = 1.5,
+
          "Root",
         Beauty = 2.4,
+
        },
 +
        disallowedThingDefs = {
 +
          "Gold",
 +
          "Silver",
 +
          "Plasteel",
 +
          "Jade",
 +
          "Uranium",
 +
         },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Thrumbo"] = {
+
   ["ThingDef:Apparel_TribalA"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ApparelMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Thrumbo",
+
     defName = "Apparel_TribalA",
     label = "thrumbofur",
+
     label = "tribalwear",
     description = [[Furry pelt of a thrumbo. Luxurious and extraordinarily durable. Used for the highest-quality crafts for its insulation and strength.]],
+
     description = [[A full-body garment crafted using neolithic tools. While it may look primitive, it is effective at insulating the wearer.]],
 +
    tradeability = "Sellable",
 
     statBases = {
 
     statBases = {
       MarketValue = 14.0,
+
       MaxHitPoints = 100,
       StuffPower_Armor_Sharp = 2.08,
+
      WorkToMake = 1800,
       StuffPower_Armor_Blunt = 0.36,
+
      Mass = 0.5,
       StuffPower_Insulation_Cold = 34,
+
      StuffEffectMultiplierArmor = 0.2,
       StuffPower_Insulation_Heat = 22,
+
       StuffEffectMultiplierInsulation_Cold = 0.55,
 +
       StuffEffectMultiplierInsulation_Heat = 0.55,
 +
       EquipDelay = 1.5,
 +
    },
 +
    thingCategories = {
 +
       "Apparel",
 
     },
 
     },
     stuffProps = {
+
     apparel = {
       statFactors = {
+
       bodyPartGroups = {
         MaxHitPoints = 2.0,
+
         "Torso",
         Beauty = 8,
+
        "Legs",
 +
      },
 +
      layers = {
 +
        "OnSkin",
 +
      },
 +
      tags = {
 +
         "Neolithic",
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      recipeUsers = {
 +
        "ElectricTailoringBench",
 +
        "HandTailoringBench",
 +
        "CraftingSpot",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Leather_Patch"] = {
+
   ["ThingDef:Apparel_Parka"] = {
 
     _ = {
 
     _ = {
       ParentName = "LeatherBase",
+
       ParentName = "ApparelMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Resource_Stuff_Leather.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Leather_Patch",
+
     defName = "Apparel_Parka",
     label = "patchleather",
+
     label = "parka",
     description = [[A weak textile created by cutting up and sewing together various types of leathers. Regardless of what kind of leather is used to create it, patchleather's irregular seams make it less tough and less insulating than any intact leather.]],
+
     description = [[A parka for staying warm in even the coldest of temperatures.]],
 +
    thingCategories = {
 +
      "Apparel",
 +
    },
 
     statBases = {
 
     statBases = {
       MarketValue = 1.5,
+
       MaxHitPoints = 180,
       StuffPower_Armor_Sharp = 0.45,
+
      WorkToMake = 8000,
       StuffPower_Armor_Blunt = 0.19,
+
       Mass = 2,
       StuffPower_Armor_Heat = 0.9,
+
       StuffEffectMultiplierArmor = 0.2,
       StuffPower_Insulation_Cold = 9,
+
       StuffEffectMultiplierInsulation_Cold = 2.00,
       StuffPower_Insulation_Heat = 9,
+
       StuffEffectMultiplierInsulation_Heat = 0.00,
 +
       EquipDelay = 3,
 
     },
 
     },
     stuffProps = {
+
     apparel = {
       statFactors = {
+
       bodyPartGroups = {
         MaxHitPoints = 1.0,
+
         "Torso",
 +
        "Neck",
 +
        "Shoulders",
 +
        "Arms",
 +
      },
 +
      layers = {
 +
        "Shell",
 +
      },
 +
      tags = {
 +
        "IndustrialBasic",
 +
        "Neolithic",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Worker",
 +
        "Soldier",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedBase"] = {
+
   ["ThingDef:Apparel_Pants"] = {
 
     _ = {
 
     _ = {
       Name = "UnfinishedBase",
+
       ParentName = "ApparelMakeableBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "UnfinishedThing",
+
     defName = "Apparel_Pants",
    category = "Item",
+
     label = "pants",
     label = "unfinished thing",
+
     description = [[A simple set of pants.]],
     altitudeLayer = "Item",
+
     recipeMaker = {
     useHitPoints = true,
+
      researchPrerequisite = "ComplexClothing",
    tradeability = "None",
 
    statBases = {
 
      MaxHitPoints = 50,
 
      DeteriorationRate = 2.0,
 
      Beauty = -8,
 
      Mass = 1,
 
 
     },
 
     },
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Forbiddable",
 
        },
 
      },
 
    },
 
    pathCost = 14,
 
 
     thingCategories = {
 
     thingCategories = {
       "Unfinished",
+
       "Apparel",
 
     },
 
     },
     stuffCategories = {
+
     statBases = {
       "Metallic",
+
       MaxHitPoints = 100,
       "Woody",
+
      WorkToMake = 1600,
       "Stony",
+
       Mass = 0.5,
 +
       StuffEffectMultiplierArmor = 0.2,
 +
      StuffEffectMultiplierInsulation_Cold = 0.20,
 +
      StuffEffectMultiplierInsulation_Heat = 0.08,
 +
      EquipDelay = 2,
 
     },
 
     },
   },
+
    apparel = {
 
+
      bodyPartGroups = {
   ["ThingDef:UnfinishedSculpture"] = {
+
        "Legs",
     _ = {
+
      },
       ParentName = "UnfinishedBase",
+
      layers = {
 +
        "OnSkin",
 +
      },
 +
      tags = {
 +
        "IndustrialBasic",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Worker",
 +
        "Soldier",
 +
      },
 +
    },
 +
   },
 +
 
 +
   ["ThingDef:Apparel_BasicShirt"] = {
 +
     _ = {
 +
       ParentName = "ApparelMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedSculpture",
+
     defName = "Apparel_BasicShirt",
     label = "unfinished sculpture",
+
     label = "T-shirt",
     description = [[An unfinished sculpture.]],
+
     description = [[A simple T-shirt.]],
     stuffCategories = {
+
     thingCategories = {
       "Metallic",
+
       "Apparel",
       "Woody",
+
    },
       "Stony",
+
    statBases = {
 +
      MaxHitPoints = 100,
 +
       WorkToMake = 1600,
 +
      Mass = 0.25,
 +
      StuffEffectMultiplierArmor = 0.2,
 +
      StuffEffectMultiplierInsulation_Cold = 0.22,
 +
      StuffEffectMultiplierInsulation_Heat = 0.10,
 +
      EquipDelay = 1.5,
 +
    },
 +
    apparel = {
 +
      bodyPartGroups = {
 +
        "Torso",
 +
        "Shoulders",
 +
      },
 +
      layers = {
 +
        "OnSkin",
 +
      },
 +
      tags = {
 +
        "IndustrialBasic",
 +
       },
 +
      defaultOutfitTags = {
 +
        "Worker",
 +
        "Soldier",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedGun"] = {
+
   ["ThingDef:Apparel_CollarShirt"] = {
 
     _ = {
 
     _ = {
       ParentName = "UnfinishedBase",
+
       ParentName = "ApparelMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedGun",
+
     defName = "Apparel_CollarShirt",
     label = "unfinished gun",
+
    description = [[A nice-looking collared shirt with buttons.]],
     description = [[An unfinished gun of some kind.]],
+
     label = "button-down shirt",
 +
     recipeMaker = {
 +
      researchPrerequisite = "ComplexClothing",
 +
    },
 +
    thingCategories = {
 +
      "Apparel",
 +
    },
 
     statBases = {
 
     statBases = {
       Flammability = 0.5,
+
       MaxHitPoints = 100,
 +
      WorkToMake = 2700,
 +
      Mass = 0.3,
 +
      StuffEffectMultiplierArmor = 0.2,
 +
      StuffEffectMultiplierInsulation_Cold = 0.26,
 +
      StuffEffectMultiplierInsulation_Heat = 0.10,
 +
      EquipDelay = 1.5,
 
     },
 
     },
     stuffCategories = {
+
     apparel = {
       _ = {
+
       bodyPartGroups = {
         Inherit = false,
+
         "Torso",
 +
        "Neck",
 +
        "Shoulders",
 +
        "Arms",
 +
      },
 +
      layers = {
 +
        "OnSkin",
 +
      },
 +
      tags = {
 +
        "IndustrialBasic",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Worker",
 +
        "Soldier",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedWeapon"] = {
+
   ["ThingDef:Apparel_Duster"] = {
 
     _ = {
 
     _ = {
       ParentName = "UnfinishedBase",
+
       ParentName = "ApparelMakeableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedWeapon",
+
     defName = "Apparel_Duster",
    label = "unfinished weapon",
+
     description = [[A long duster coat for blocking the sun and grit of the outdoors.]],
     description = [[An unfinished weapon.]],
+
     label = "duster",
     stuffCategories = {
+
    recipeMaker = {
       "Metallic",
+
       researchPrerequisite = "ComplexClothing",
      "Woody",
+
    },
       "Stony",
+
    thingCategories = {
 +
       "Apparel",
 
     },
 
     },
  },
+
    statBases = {
 
+
      MaxHitPoints = 200,
  ["ThingDef:UnfinishedArmor"] = {
+
       WorkToMake = 10000,
    _ = {
+
       Mass = 2,
       ParentName = "UnfinishedBase",
+
       StuffEffectMultiplierArmor = 0.3,
       DefCategory = "ThingDef",
+
       StuffEffectMultiplierInsulation_Cold = 0.60,
       FileName = "Items_Unfinished.xml",
+
      StuffEffectMultiplierInsulation_Heat = 0.85,
       GameVersion = "1.2.2753",
+
       EquipDelay = 3,
       DLC = "Core",
 
 
     },
 
     },
     defName = "UnfinishedArmor",
+
     apparel = {
    label = "unfinished simple armor",
+
      bodyPartGroups = {
    description = [[An unfinished piece of simple armor.]],
+
        "Torso",
    stuffCategories = {
+
        "Neck",
      "Metallic",
+
        "Shoulders",
       "Woody",
+
        "Arms",
       "Stony",
+
        "Legs",
 +
      },
 +
      layers = {
 +
        "Shell",
 +
       },
 +
      tags = {
 +
        "IndustrialAdvanced",
 +
       },
 +
      defaultOutfitTags = {
 +
        "Worker",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedTechArmor"] = {
+
   ["ThingDef:Apparel_Jacket"] = {
 
     _ = {
 
     _ = {
      Name = "UnfinishedTechArmor",
+
       ParentName = "ApparelMakeableBase",
       ParentName = "UnfinishedBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedTechArmor",
+
     defName = "Apparel_Jacket",
     label = "unfinished advanced armor",
+
     label = "jacket",
     description = [[An unfinished piece of high-tech armor.]],
+
     description = [[A tough jacket to stop scrapes and bruises, and to keep one warm in chilly weather.]],
 +
    thingCategories = {
 +
      "Apparel",
 +
    },
 
     statBases = {
 
     statBases = {
       Flammability = 0.4,
+
       MaxHitPoints = 160,
 +
      WorkToMake = 7000,
 +
      Mass = 1.7,
 +
      StuffEffectMultiplierArmor = 0.3,
 +
      StuffEffectMultiplierInsulation_Cold = 0.80,
 +
      StuffEffectMultiplierInsulation_Heat = 0.30,
 +
      EquipDelay = 1.5,
 
     },
 
     },
     stuffCategories = {
+
     apparel = {
       _ = {
+
       bodyPartGroups = {
         Inherit = false,
+
         "Torso",
 +
        "Neck",
 +
        "Shoulders",
 +
        "Arms",
 +
      },
 +
      layers = {
 +
        "Shell",
 +
      },
 +
      tags = {
 +
        "IndustrialAdvanced",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Worker",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedMetallicTechArmor"] = {
+
   ["ThingDef:Apparel_PlateArmor"] = {
 
     _ = {
 
     _ = {
       ParentName = "UnfinishedTechArmor",
+
       ParentName = "ArmorSmithableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedMetallicTechArmor",
+
     defName = "Apparel_PlateArmor",
     label = "unfinished metal armor",
+
     label = "plate armor",
     description = [[An unfinished piece of metal armor.]],
+
     description = [[Overlapping solid plates of armor covering the entire body from neck to feet.]],
     stuffCategories = {
+
     recipeMaker = {
       "Metallic",
+
       unfinishedThingDef = "UnfinishedMetallicTechArmor",
       "Woody",
+
       researchPrerequisite = "PlateArmor",
    },
+
      skillRequirements = {
  },
+
        Crafting = 7,
 
+
      },
  ["ThingDef:UnfinishedApparel"] = {
+
    },
    _ = {
+
    statBases = {
       ParentName = "UnfinishedBase",
+
      WorkToMake = 38000,
       DefCategory = "ThingDef",
+
       MaxHitPoints = 290,
       FileName = "Items_Unfinished.xml",
+
       Mass = 15,
       GameVersion = "1.2.2753",
+
       StuffEffectMultiplierArmor = 0.73,
       DLC = "Core",
+
       StuffEffectMultiplierInsulation_Cold = 1.0,
 +
      StuffEffectMultiplierInsulation_Heat = 0,
 +
       EquipDelay = 15,
 
     },
 
     },
     defName = "UnfinishedApparel",
+
     thingCategories = {
    label = "unfinished apparel",
+
       "ApparelArmor",
    description = [[An unfinished piece of an apparel.]],
 
    stuffCategories = {
 
       "Fabric",
 
      "Leathery",
 
      "Metallic",
 
 
     },
 
     },
     comps = {
+
     apparel = {
       {
+
       bodyPartGroups = {
         compClass = "CompColorable",
+
        "Torso",
 +
        "Neck",
 +
        "Shoulders",
 +
        "Arms",
 +
        "Legs",
 +
      },
 +
      layers = {
 +
         "Middle",
 +
        "Shell",
 +
      },
 +
      tags = {
 +
        "MedievalMilitary",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Soldier",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedBelt"] = {
+
   ["ThingDef:Apparel_FlakVest"] = {
 
     _ = {
 
     _ = {
       ParentName = "UnfinishedBase",
+
       ParentName = "ArmorMachineableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedBelt",
+
     defName = "Apparel_FlakVest",
     label = "unfinished belt",
+
     label = "flak vest",
     description = [[An unfinished piece of a belt.]],
+
     description = [[A vest with armor plates inserted on the chest and back. While quite effective at deflecting gunshots and stabbing attacks against the chest, it does nothing to protect the limbs.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "FlakArmor",
 +
      unfinishedThingDef = "UnfinishedTechArmor",
 +
      skillRequirements = {
 +
        Crafting = 4,
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
       Flammability = 0.5,
+
      WorkToMake = 9000,
 +
      MaxHitPoints = 200,
 +
      Mass = 4,
 +
       Flammability = 0.6,
 +
      ArmorRating_Sharp = 1.00,
 +
      ArmorRating_Blunt = 0.36,
 +
      ArmorRating_Heat = 0.27,
 +
      Insulation_Cold = 1,
 +
      EquipDelay = 5,
 +
    },
 +
    thingCategories = {
 +
      "ApparelArmor",
 +
    },
 +
    costList = {
 +
      Cloth = 30,
 +
      Steel = 60,
 +
      ComponentIndustrial = 1,
 
     },
 
     },
     stuffCategories = {
+
     apparel = {
       _ = {
+
       bodyPartGroups = {
         Inherit = false,
+
         "Torso",
 +
        "Neck",
 +
        "Shoulders",
 +
      },
 +
      layers = {
 +
        "Middle",
 +
      },
 +
      tags = {
 +
        "IndustrialMilitaryBasic",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Soldier",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedPack"] = {
+
   ["ThingDef:Apparel_FlakPants"] = {
 
     _ = {
 
     _ = {
       ParentName = "UnfinishedBase",
+
       ParentName = "ArmorMachineableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedPack",
+
     defName = "Apparel_FlakPants",
     label = "unfinished pack",
+
     label = "flak pants",
     description = [[An unfinished piece of a pack.]],
+
     description = [[A pair of pants with armor plates sewn in. While it's not as good as solid armor, it offers effective protection against all manner of attacks while remaining quite comfortable.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "FlakArmor",
 +
      unfinishedThingDef = "UnfinishedTechArmor",
 +
      skillRequirements = {
 +
        Crafting = 4,
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
       Flammability = 0.5,
+
      WorkToMake = 9000,
 +
      MaxHitPoints = 200,
 +
      Mass = 4,
 +
       Flammability = 0.6,
 +
      ArmorRating_Sharp = 0.40,
 +
      ArmorRating_Blunt = 0.08,
 +
      ArmorRating_Heat = 0.10,
 +
      Insulation_Cold = 3.5,
 +
      Insulation_Heat = 1,
 +
      EquipDelay = 5,
 
     },
 
     },
     stuffCategories = {
+
     thingCategories = {
       _ = {
+
       "ApparelArmor",
        Inherit = false,
 
      },
 
 
     },
 
     },
  },
+
     costList = {
 
+
       Cloth = 30,
  ["ThingDef:UnfinishedComponent"] = {
+
       Steel = 60,
     _ = {
+
       ComponentIndustrial = 1,
       ParentName = "UnfinishedBase",
 
      DefCategory = "ThingDef",
 
       FileName = "Items_Unfinished.xml",
 
       GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "UnfinishedComponent",
+
     apparel = {
    label = "unfinished component",
+
      bodyPartGroups = {
    description = [[An unfinished component.]],
+
        "Legs",
    statBases = {
+
      },
      Flammability = 0.5,
+
      layers = {
    },
+
        "OnSkin",
    stuffCategories = {
+
        "Middle",
       _ = {
+
      },
         Inherit = false,
+
      tags = {
 +
        "IndustrialMilitaryBasic",
 +
      },
 +
       defaultOutfitTags = {
 +
         "Soldier",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:UnfinishedHealthItemProsthetic"] = {
+
   ["ThingDef:Apparel_FlakJacket"] = {
 
     _ = {
 
     _ = {
       ParentName = "UnfinishedBase",
+
       ParentName = "ArmorMachineableBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "UnfinishedHealthItemProsthetic",
+
     defName = "Apparel_FlakJacket",
     label = "unfinished prosthetic",
+
     label = "flak jacket",
     description = [[An unfinished prosthetic.]],
+
     description = [[A tough fabric jacket with armor plates sewn in. While it's not as good as solid armor, it offers effective protection against all manner of attacks while remaining quite comfortable.]],
     statBases = {
+
     recipeMaker = {
       Flammability = 0.5,
+
       researchPrerequisite = "FlakArmor",
    },
+
      unfinishedThingDef = "UnfinishedTechArmor",
    stuffCategories = {
+
       skillRequirements = {
       _ = {
+
         Crafting = 4,
         Inherit = false,
 
 
       },
 
       },
 
     },
 
     },
  },
+
     costList = {
 
+
       Cloth = 50,
  ["ThingDef:UnfinishedHealthItemBionic"] = {
+
       Steel = 70,
     _ = {
+
       ComponentIndustrial = 1,
       ParentName = "UnfinishedBase",
+
    },
       DefCategory = "ThingDef",
+
    thingCategories = {
       FileName = "Items_Unfinished.xml",
+
       "ApparelArmor",
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
    defName = "UnfinishedHealthItemBionic",
 
    label = "unfinished bionic",
 
    description = [[An unfinished bionic.]],
 
 
     statBases = {
 
     statBases = {
       Flammability = 0.5,
+
      MaxHitPoints = 200,
 +
      WorkToMake = 14000,
 +
      Mass = 7,
 +
       Flammability = 0.6,
 +
      ArmorRating_Sharp = 0.40,
 +
      ArmorRating_Blunt = 0.08,
 +
      ArmorRating_Heat = 0.10,
 +
      Insulation_Cold = 14.4,
 +
      Insulation_Heat = 3,
 +
      EquipDelay = 3,
 
     },
 
     },
     stuffCategories = {
+
     apparel = {
       _ = {
+
       bodyPartGroups = {
         Inherit = false,
+
         "Torso",
 +
        "Neck",
 +
        "Shoulders",
 +
        "Arms",
 +
      },
 +
      layers = {
 +
        "Shell",
 +
      },
 +
      tags = {
 +
        "IndustrialAdvanced",
 +
      },
 +
      defaultOutfitTags = {
 +
        "Soldier",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MinifiedThing"] = {
+
   ["ThingDef:ApparelArmorPowerBase"] = {
 
     _ = {
 
     _ = {
 +
      Name = "ApparelArmorPowerBase",
 +
      ParentName = "ArmorMachineableBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Items_Unfinished.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MinifiedThing",
+
     recipeMaker = {
    label = "minified thing",
+
      unfinishedThingDef = "UnfinishedTechArmor",
    thingClass = "MinifiedThing",
+
      researchPrerequisite = "PoweredArmor",
    category = "Item",
+
      skillRequirements = {
    useHitPoints = true,
+
        Crafting = 7,
    altitudeLayer = "Item",
+
      },
    comps = {
+
      recipeUsers = {
      {
 
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Inherit = false,
 
         },
 
         },
 +
        "FabricationBench",
 
       },
 
       },
 
     },
 
     },
    pathCost = 14,
 
  },
 
 
  ["ThingDef:Apparel_ShieldBelt"] = {
 
    _ = {
 
      ParentName = "ApparelBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Apparel_Belts.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Apparel_ShieldBelt",
 
    label = "shield belt",
 
    description = [[A projectile-repulsion device. It will attempt to stop incoming projectiles or shrapnel, but does nothing against melee attacks or heat. It prevents the wearer from firing out, and shuts down instantly if hit by EMP.]],
 
    thingClass = "ShieldBelt",
 
 
     statBases = {
 
     statBases = {
       Mass = 3,
+
       WorkToMake = 60000,
       WorkToMake = 14000,
+
      MaxHitPoints = 340,
 +
       Mass = 12,
 
       Flammability = 0.4,
 
       Flammability = 0.4,
       EnergyShieldRechargeRate = 0.13,
+
       ArmorRating_Sharp = 1.06,
       EnergyShieldEnergyMax = 1.1,
+
      ArmorRating_Blunt = 0.45,
       EquipDelay = 2,
+
       ArmorRating_Heat = 0.54,
 +
      Insulation_Cold = 34,
 +
      Insulation_Heat = 10,
 +
       EquipDelay = 14,
 +
    },
 +
    thingCategories = {
 +
      "ApparelArmor",
 +
    },
 +
    tradeTags = {
 +
      "HiTechArmor",
 
     },
 
     },
 
     costList = {
 
     costList = {
       ComponentIndustrial = 2,
+
       ComponentSpacer = 4,
       Steel = 50,
+
       Plasteel = 100,
       Plasteel = 20,
+
       Uranium = 20,
 
     },
 
     },
     recipeMaker = {
+
     apparel = {
       unfinishedThingDef = "UnfinishedBelt",
+
       bodyPartGroups = {
      researchPrerequisite = "ShieldBelt",
+
        "Torso",
      workSpeedStat = "GeneralLaborSpeed",
+
        "Neck",
      workSkill = "Crafting",
+
         "Shoulders",
      effectWorking = "Smith",
+
         "Arms",
      soundWorking = "Recipe_Machining",
+
         "Legs",
      recipeUsers = {
 
         "TableMachining",
 
      },
 
      useIngredientsForColor = false,
 
      skillRequirements = {
 
         Crafting = 6,
 
      },
 
    },
 
    thingCategories = {
 
      "ApparelUtility",
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
         "Waist",
 
 
       },
 
       },
 
       layers = {
 
       layers = {
         "Belt",
+
         "Middle",
 +
        "Shell",
 
       },
 
       },
       tags = {
+
       defaultOutfitTags = {
         "BeltDefense",
+
         "Soldier",
 
       },
 
       },
 
     },
 
     },
  },
+
     comps = {
 
+
       {
  ["ThingDef:HatBase"] = {
+
        _ = {
     _ = {
+
          Class = "CompProperties_BiocodableApparel",
       Name = "HatBase",
+
        },
      ParentName = "ApparelBase",
+
       },
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Apparel_Headgear.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
    },
 
    thingCategories = {
 
      "Headgear",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:HatMakeableBase"] = {
+
   ["ThingDef:Apparel_PowerArmor"] = {
 
     _ = {
 
     _ = {
      Name = "HatMakeableBase",
+
       ParentName = "ApparelArmorPowerBase",
       ParentName = "ApparelMakeableBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     defName = "Apparel_PowerArmor",
       "Headgear",
+
    label = "marine armor",
 +
    description = [[A suit of powered armor. Layered plasteel-weave plates are very effective at stopping attacks, with few vulnerable joint sections. Neuro-memetic assistors allow a human to wear the armor and still move easily.\n\nArmor like this is often used by imperial janissaries and rapid-incursion space marines.]],
 +
    apparel = {
 +
       tags = {
 +
        "SpacerMilitary",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArmorHelmetMakeableBase"] = {
+
   ["ThingDef:ApparelArmorReconBase"] = {
 
     _ = {
 
     _ = {
       Name = "ArmorHelmetMakeableBase",
+
       Name = "ApparelArmorReconBase",
 
       ParentName = "ArmorMachineableBase",
 
       ParentName = "ArmorMachineableBase",
 
       Abstract = true,
 
       Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     recipeMaker = {
       "ArmorHeadgear",
+
       unfinishedThingDef = "UnfinishedTechArmor",
 +
      researchPrerequisite = "ReconArmor",
 +
      skillRequirements = {
 +
        Crafting = 6,
 +
      },
 +
      recipeUsers = {
 +
        _ = {
 +
          Inherit = false,
 +
        },
 +
        "FabricationBench",
 +
      },
 
     },
 
     },
  },
+
     tradeTags = {
 
+
       "HiTechArmor",
  ["ThingDef:NobleHatMakeableBase"] = {
 
     _ = {
 
       Name = "NobleHatMakeableBase",
 
      ParentName = "ApparelMakeableBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Apparel_Headgear.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     thingCategories = {
+
     statBases = {
       "HeadgearNoble",
+
       WorkToMake = 45000,
 +
      MaxHitPoints = 280,
 +
      Mass = 9,
 +
      Flammability = 0.4,
 +
      ArmorRating_Sharp = 0.92,
 +
      ArmorRating_Blunt = 0.4,
 +
      ArmorRating_Heat = 0.46,
 +
      Insulation_Cold = 32,
 +
      Insulation_Heat = 9,
 +
      EquipDelay = 11,
 
     },
 
     },
  },
+
     thingCategories = {
 
+
       "ApparelArmor",
  ["ThingDef:Apparel_CowboyHat"] = {
 
     _ = {
 
       ParentName = "HatMakeableBase",
 
      Name = "CowboyHat",
 
      DefCategory = "ThingDef",
 
      FileName = "Apparel_Headgear.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "Apparel_CowboyHat",
+
     costList = {
    label = "cowboy hat",
+
       ComponentSpacer = 3,
    description = [[Stylish yet rugged, this hat keeps the sun and rain off - and it gives anyone who wears it a bit of extra charm. It is the most important part of traditional western attire.]],
+
       Plasteel = 80,
    recipeMaker = {
+
       Uranium = 10,
       researchPrerequisite = "ComplexClothing",
 
    },
 
    costStuffCount = 25,
 
    stuffCategories = {
 
      "Fabric",
 
       "Leathery",
 
    },
 
    statBases = {
 
      MaxHitPoints = 80,
 
       WorkToMake = 1800,
 
      Mass = 0.14,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.10,
 
      StuffEffectMultiplierInsulation_Heat = 0.50,
 
      EquipDelay = 0.8,
 
 
     },
 
     },
 
     apparel = {
 
     apparel = {
 
       bodyPartGroups = {
 
       bodyPartGroups = {
         "UpperHead",
+
         "Torso",
 +
        "Neck",
 +
        "Shoulders",
 +
        "Arms",
 +
        "Legs",
 
       },
 
       },
 
       layers = {
 
       layers = {
         "Overhead",
+
         "Middle",
 +
        "Shell",
 
       },
 
       },
       tags = {
+
       defaultOutfitTags = {
         "IndustrialBasic",
+
         "Soldier",
        "Western",
 
 
       },
 
       },
       defaultOutfitTags = {
+
    },
        "Worker",
+
    comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_BiocodableApparel",
 +
        },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_BowlerHat"] = {
+
   ["ThingDef:Apparel_ArmorRecon"] = {
 
     _ = {
 
     _ = {
       ParentName = "CowboyHat",
+
       ParentName = "ApparelArmorReconBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Apparel_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_BowlerHat",
+
     defName = "Apparel_ArmorRecon",
     label = "bowler hat",
+
     label = "recon armor",
     description = [[A good-looking hat which projects a slightly urban, money-loving style. Improves social impact.]],
+
     description = [[A suit of light partially-powered armor, designed to permit quick movement. Lightweight plasteel-weave plates block attacks without compromising mobility, and neuro-memetic assistors in the lower body allow a human to wear the armor and still move easily.\n\nArmor like this is often used by imperial scout troops and glitterworld police forces.]],
     costStuffCount = 20,
+
     apparel = {
    statBases = {
+
       tags = {
       WorkToMake = 1800,
+
        "SpacerMilitary",
      Mass = 0.14,
+
       },
       StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.10,
 
      StuffEffectMultiplierInsulation_Heat = 0.40,
 
      EquipDelay = 0.8,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_TribalHeaddress"] = {
+
   ["ThingDef:OrbitalStrikeBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "HatMakeableBase",
+
      Abstract = true,
 +
      Name = "OrbitalStrikeBase",
 +
       ParentName = "EtherealThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_OrbitalStrikes.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_TribalHeaddress",
+
     thingClass = "OrbitalStrike",
    label = "tribal headdress",
+
  },
    description = [[Elegant traditional garb, often with religious significance. Improves social impact.]],
+
 
    recipeMaker = {
+
  ["ThingDef:Bombardment"] = {
      researchPrerequisite = {},
+
    _ = {
       recipeUsers = {
+
       ParentName = "OrbitalStrikeBase",
        "ElectricTailoringBench",
+
      DefCategory = "ThingDef",
        "HandTailoringBench",
+
      FileName = "Ethereal_OrbitalStrikes.xml",
        "CraftingSpot",
+
       GameVersion = "1.2.2753",
       },
+
       DLC = "Core",
      skillRequirements = {
 
        Crafting = 4,
 
      },
 
       factionPrerequisiteTags = {
 
        "Tribal",
 
      },
 
 
     },
 
     },
     stuffCategories = {
+
     defName = "Bombardment",
      "Fabric",
+
     label = "bombardment",
     },
+
     thingClass = "Bombardment",
     costStuffCount = 50,
+
     comps = {
     statBases = {
+
       {
       WorkToMake = 6000,
+
        _ = {
      Mass = 0.11,
+
          Class = "CompProperties_OrbitalBeam",
      StuffEffectMultiplierArmor = 0.2,
+
        },
      StuffEffectMultiplierInsulation_Cold = 0.1,
+
        width = 0.2,
      StuffEffectMultiplierInsulation_Heat = 0.15,
+
        color = "(255, 20, 20, 242)",
      EquipDelay = 1.5,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "UpperHead",
 
      },
 
      layers = {
 
        "Overhead",
 
      },
 
      defaultOutfitTags = {
 
        "Worker",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_Tuque"] = {
+
   ["ThingDef:Mote_Bombardment_PreImpact"] = {
 
     _ = {
 
     _ = {
       ParentName = "HatMakeableBase",
+
       ParentName = "MoteBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_OrbitalStrikes.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_Tuque",
+
     defName = "Mote_Bombardment_PreImpact",
     label = "tuque",
+
     altitudeLayer = "MoteOverhead",
    description = [[A soft, thick cap. Great for keeping warm in winter.]],
 
    costStuffCount = 20,
 
    stuffCategories = {
 
      "Fabric",
 
    },
 
    statBases = {
 
      MaxHitPoints = 80,
 
      WorkToMake = 1200,
 
      Mass = 0.07,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.50,
 
      StuffEffectMultiplierInsulation_Heat = 0,
 
      EquipDelay = 0.8,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "UpperHead",
 
      },
 
      layers = {
 
        "Overhead",
 
      },
 
      tags = {
 
        "IndustrialBasic",
 
      },
 
      defaultOutfitTags = {
 
        "Worker",
 
        "Soldier",
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:Apparel_WarMask"] = {
+
   ["ThingDef:PowerBeam"] = {
 
     _ = {
 
     _ = {
       ParentName = "HatMakeableBase",
+
       ParentName = "OrbitalStrikeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_OrbitalStrikes.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_WarMask",
+
     defName = "PowerBeam",
     label = "war mask",
+
     label = "power beam",
     description = [[An artistically terrifying war mask. It hides the wearer's face and makes them more confident.]],
+
     thingClass = "PowerBeam",
     stuffCategories = {
+
     comps = {
       "Woody",
+
       {
    },
+
        _ = {
    costStuffCount = 25,
+
          Class = "CompProperties_OrbitalBeam",
    statBases = {
+
        },
      WorkToMake = 3000,
+
        width = 8,
      MaxHitPoints = 80,
+
        color = "(255, 245, 214, 242)",
      Mass = 1.4,
+
        sound = "OrbitalBeam",
      StuffEffectMultiplierArmor = 0.3,
 
      StuffEffectMultiplierInsulation_Cold = 0.05,
 
      StuffEffectMultiplierInsulation_Heat = 0.05,
 
      EquipDelay = 1.5,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "FullHead",
 
 
       },
 
       },
       layers = {
+
       {
        "Overhead",
+
        _ = {
 +
          Class = "CompProperties_CameraShaker",
 +
        },
 +
        mag = 0.03,
 
       },
 
       },
       defaultOutfitTags = {
+
       {
         "Soldier",
+
        _ = {
 +
          Class = "CompProperties_AffectsSky",
 +
         },
 +
        skyColors = {
 +
          sky = "(255, 230, 200)",
 +
          shadow = "(225, 220, 185)",
 +
          overlay = "(255, 255, 255)",
 +
          saturation = 1.3,
 +
        },
 
       },
 
       },
 
     },
 
     },
    recipeMaker = {
+
  },
      workSpeedStat = "GeneralLaborSpeed",
+
 
      workSkill = "Crafting",
+
  ["ThingDef:SignalAction_Letter"] = {
       effectWorking = "Sculpt",
+
    _ = {
       soundWorking = "Recipe_Sculpt",
+
       ParentName = "SignalActionBase",
       recipeUsers = {
+
       DefCategory = "ThingDef",
        "CraftingSpot",
+
       FileName = "Ethereal_SignalActions.xml",
       },
+
       GameVersion = "1.2.2753",
      unfinishedThingDef = "UnfinishedSculpture",
+
       DLC = "Core",
       factionPrerequisiteTags = {
 
        "Tribal",
 
      },
 
 
     },
 
     },
 +
    defName = "SignalAction_Letter",
 +
    label = "signal action - letter",
 +
    thingClass = "SignalAction_Letter",
 
   },
 
   },
  
   ["ThingDef:Apparel_WarVeil"] = {
+
   ["ThingDef:SignalAction_Ambush"] = {
 
     _ = {
 
     _ = {
       ParentName = "HatMakeableBase",
+
       ParentName = "SignalActionBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_SignalActions.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_WarVeil",
+
     defName = "SignalAction_Ambush",
     label = "war veil",
+
     label = "signal action - ambush",
     description = [[A war veil, made out of reinforced cloth torn to appear damaged in combat. Some believe this functions as a talisman of courage.]],
+
     thingClass = "SignalAction_Ambush",
    stuffCategories = {
 
      "Fabric",
 
    },
 
    costStuffCount = 20,
 
    statBases = {
 
      WorkToMake = 1400,
 
      MaxHitPoints = 80,
 
      Mass = 0.08,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.05,
 
      StuffEffectMultiplierInsulation_Heat = 0.05,
 
      EquipDelay = 1.5,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "FullHead",
 
      },
 
      layers = {
 
        "Overhead",
 
      },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
    },
 
    recipeMaker = {
 
      recipeUsers = {
 
        "CraftingSpot",
 
      },
 
      factionPrerequisiteTags = {
 
        "Tribal",
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:Apparel_SimpleHelmet"] = {
+
   ["ThingDef:SkyfallerBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArmorHelmetMakeableBase",
+
      Name = "SkyfallerBase",
 +
       ParentName = "EtherealThingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_Skyfallers.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_SimpleHelmet",
+
     thingClass = "Skyfaller",
     label = "simple helmet",
+
     useHitPoints = false,
    description = [[A simple helmet which gives moderate protection against sharp attacks. Not effective against blunt weapons.]],
+
     altitudeLayer = "Skyfaller",
     stuffCategories = {
+
  },
      "Metallic",
+
 
    },
+
  ["ThingDef:DropPodIncoming"] = {
    costStuffCount = 40,
+
     _ = {
    statBases = {
+
       ParentName = "SkyfallerBase",
      WorkToMake = 3200,
+
       DefCategory = "ThingDef",
      MaxHitPoints = 100,
+
       FileName = "Ethereal_Skyfallers.xml",
      Mass = 2,
+
       GameVersion = "1.2.2753",
      StuffEffectMultiplierArmor = 0.5,
+
       DLC = "Core",
      StuffEffectMultiplierInsulation_Cold = 0.15,
 
      StuffEffectMultiplierInsulation_Heat = 0,
 
      EquipDelay = 1.5,
 
    },
 
     recipeMaker = {
 
       recipeUsers = {
 
        "ElectricSmithy",
 
        "FueledSmithy",
 
       },
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "UpperHead",
 
       },
 
      layers = {
 
        "Overhead",
 
       },
 
      tags = {
 
        "IndustrialMilitaryBasic",
 
       },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
 
     },
 
     },
 +
    defName = "DropPodIncoming",
 +
    label = "drop pod (incoming)",
 +
    thingClass = "DropPodIncoming",
 
   },
 
   },
  
   ["ThingDef:Apparel_AdvancedHelmet"] = {
+
   ["ThingDef:DropPodLeaving"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArmorHelmetMakeableBase",
+
       ParentName = "SkyfallerBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_Skyfallers.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_AdvancedHelmet",
+
     defName = "DropPodLeaving",
     label = "flak helmet",
+
     label = "drop pod (leaving)",
     description = [[A lightweight combat helmet with a complex design, reinforced with plasteel. Not effective against blunt weapons.]],
+
     thingClass = "DropPodLeaving",
    recipeMaker = {
 
      researchPrerequisite = "FlakArmor",
 
      unfinishedThingDef = "UnfinishedMetallicTechArmor",
 
      skillRequirements = {
 
        Crafting = 5,
 
      },
 
    },
 
    statBases = {
 
      WorkToMake = 8000,
 
      MaxHitPoints = 120,
 
      Mass = 1.2,
 
      StuffEffectMultiplierArmor = 0.7,
 
      StuffEffectMultiplierInsulation_Cold = 0.15,
 
      StuffEffectMultiplierInsulation_Heat = 0,
 
      EquipDelay = 1.5,
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
    },
 
    costStuffCount = 40,
 
    costList = {
 
      ComponentIndustrial = 2,
 
      Plasteel = 10,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "UpperHead",
 
      },
 
      layers = {
 
        "Overhead",
 
      },
 
      tags = {
 
        "IndustrialMilitaryAdvanced",
 
      },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:ApparelArmorHelmetPowerBase"] = {
+
   ["ThingDef:ShipChunkIncoming"] = {
 
     _ = {
 
     _ = {
      Name = "ApparelArmorHelmetPowerBase",
+
       ParentName = "SkyfallerBase",
       ParentName = "ArmorHelmetMakeableBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_Skyfallers.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "ShipChunkIncoming",
      unfinishedThingDef = "UnfinishedTechArmor",
+
    label = "ship chunk (incoming)",
      researchPrerequisite = "PoweredArmor",
+
    size = {2, 2},
      skillRequirements = {
+
  },
        Crafting = 7,
+
 
      },
+
  ["ThingDef:CrashedShipPartIncoming"] = {
      recipeUsers = {
+
     _ = {
        _ = {
+
       ParentName = "SkyfallerBase",
          Inherit = false,
+
       DefCategory = "ThingDef",
        },
+
       FileName = "Ethereal_Skyfallers.xml",
        "FabricationBench",
+
       GameVersion = "1.2.2753",
      },
+
       DLC = "Core",
    },
 
    tradeTags = {
 
      "HiTechArmor",
 
    },
 
    statBases = {
 
      WorkToMake = 21000,
 
      MaxHitPoints = 150,
 
      Mass = 1.5,
 
      Flammability = 0.4,
 
      ArmorRating_Sharp = 1.06,
 
      ArmorRating_Blunt = 0.45,
 
      ArmorRating_Heat = 0.54,
 
      Insulation_Cold = 4,
 
      Insulation_Heat = 2,
 
      EquipDelay = 4,
 
     },
 
    costList = {
 
       ComponentSpacer = 1,
 
      Plasteel = 40,
 
    },
 
    apparel = {
 
       bodyPartGroups = {
 
        "FullHead",
 
       },
 
      layers = {
 
        "Overhead",
 
       },
 
      defaultOutfitTags = {
 
        "Soldier",
 
       },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_BiocodableApparel",
 
        },
 
      },
 
 
     },
 
     },
 +
    defName = "CrashedShipPartIncoming",
 +
    label = "crashed ship part (incoming)",
 +
    size = {6, 3},
 
   },
 
   },
  
   ["ThingDef:Apparel_PowerArmorHelmet"] = {
+
   ["ThingDef:MeteoriteIncoming"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelArmorHelmetPowerBase",
+
       ParentName = "SkyfallerBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_Skyfallers.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_PowerArmorHelmet",
+
     defName = "MeteoriteIncoming",
     label = "marine helmet",
+
     label = "meteorite (incoming)",
     description = [[A marine armor helmet, with a built-in status computer and layered plasteel-weave plates.\n\nArmor like this is often used by imperial janissaries and rapid-incursion space marines.]],
+
     size = {2, 2},
    apparel = {
 
      tags = {
 
        "SpacerMilitary",
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:ApparelArmorHelmetReconBase"] = {
+
   ["ThingDef:EtherealThingBase"] = {
 
     _ = {
 
     _ = {
      Name = "ApparelArmorHelmetReconBase",
 
      ParentName = "ArmorHelmetMakeableBase",
 
 
       Abstract = true,
 
       Abstract = true,
 +
      Name = "EtherealThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     category = "Ethereal",
      unfinishedThingDef = "UnfinishedTechArmor",
+
    useHitPoints = false,
      researchPrerequisite = "ReconArmor",
+
  },
      skillRequirements = {
+
 
        Crafting = 6,
+
  ["ThingDef:RectTrigger"] = {
      },
+
    _ = {
      recipeUsers = {
+
      ParentName = "EtherealThingBase",
        _ = {
+
      DefCategory = "ThingDef",
          Inherit = false,
+
      FileName = "Ethereal_Various.xml",
        },
+
      GameVersion = "1.2.2753",
        "FabricationBench",
+
       DLC = "Core",
       },
 
 
     },
 
     },
     tradeTags = {
+
     defName = "RectTrigger",
       "HiTechArmor",
+
    label = "rect trigger",
 +
    thingClass = "RectTrigger",
 +
  },
 +
 
 +
  ["ThingDef:TriggerUnfogged"] = {
 +
    _ = {
 +
      ParentName = "EtherealThingBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Ethereal_Various.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     statBases = {
+
     defName = "TriggerUnfogged",
      WorkToMake = 15750,
+
    label = "trigger unfogged",
      MaxHitPoints = 120,
+
    thingClass = "TriggerUnfogged",
      Mass = 1,
+
  },
      Flammability = 0.4,
+
 
      ArmorRating_Sharp = 0.92,
+
  ["ThingDef:Explosion"] = {
       ArmorRating_Blunt = 0.4,
+
    _ = {
       ArmorRating_Heat = 0.46,
+
       ParentName = "EtherealThingBase",
       Insulation_Cold = 4,
+
       DefCategory = "ThingDef",
       Insulation_Heat = 2,
+
       FileName = "Ethereal_Various.xml",
       EquipDelay = 2,
+
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     costList = {
+
     defName = "Explosion",
       ComponentSpacer = 1,
+
    label = "explosion",
       Plasteel = 30,
+
    thingClass = "Explosion",
 +
  },
 +
 
 +
  ["ThingDef:Blight"] = {
 +
    _ = {
 +
      ParentName = "EtherealThingBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Ethereal_Various.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     apparel = {
+
     defName = "Blight",
      bodyPartGroups = {
+
    label = "blight",
        "FullHead",
+
    thingClass = "Blight",
      },
+
  },
      layers = {
+
 
        "Overhead",
+
  ["ThingDef:Tornado"] = {
       },
+
    _ = {
       defaultOutfitTags = {
+
      ParentName = "EtherealThingBase",
        "Soldier",
+
       DefCategory = "ThingDef",
       },
+
       FileName = "Ethereal_Various.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Tornado",
 +
    label = "tornado",
 +
    thingClass = "Tornado",
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_BiocodableApparel",
+
           Class = "CompProperties_WindSource",
 
         },
 
         },
 
       },
 
       },
Line 15,831: Line 15,371:
 
   },
 
   },
  
   ["ThingDef:Apparel_ArmorHelmetRecon"] = {
+
   ["ThingDef:TunnelHiveSpawner"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelArmorHelmetReconBase",
+
       ParentName = "EtherealThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Ethereal_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_ArmorHelmetRecon",
+
     defName = "TunnelHiveSpawner",
     label = "recon helmet",
+
     label = "tunnel",
     description = [[A high-tech armored helmet with a built-in status computer and a protective plasteel-weave plate.\n\nArmor like this is often used by imperial scout troops or glitterworld police forces.]],
+
     thingClass = "TunnelHiveSpawner",
    apparel = {
 
      tags = {
 
        "SpacerMilitary",
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:Apparel_PsychicFoilHelmet"] = {
+
   ["ThingDef:PawnFlyerBase"] = {
 +
    _ = {
 +
      Name = "PawnFlyerBase",
 +
      Abstract = true,
 +
      ParentName = "EtherealThingBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Ethereal_Various.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    label = "flying",
 +
    thingClass = "PawnFlyer",
 +
    useHitPoints = false,
 +
    altitudeLayer = "Skyfaller",
 +
  },
 +
 
 +
  ["ThingDef:BaseFilth"] = {
 
     _ = {
 
     _ = {
       ParentName = "HatBase",
+
       Name = "BaseFilth",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Headgear.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_PsychicFoilHelmet",
+
     thingClass = "Filth",
     label = "psychic foil helmet",
+
     category = "Filth",
     description = [[A thin helmet containing finely-tuned sheets of psychically-absorptive foil. Reduces the impact of psychic waves.]],
+
     altitudeLayer = "Filth",
 +
    useHitPoints = false,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 80,
+
       Beauty = -15,
       MarketValue = 250,
+
       Cleanliness = -5,
      Mass = 1.0,
 
      Flammability = 0.4,
 
      ArmorRating_Sharp = 0.09,
 
      ArmorRating_Blunt = 0.09,
 
      ArmorRating_Heat = 0.27,
 
      Insulation_Cold = 2,
 
      Insulation_Heat = 1,
 
      EquipDelay = 1.5,
 
 
     },
 
     },
     apparel = {
+
  },
       bodyPartGroups = {
+
 
        "UpperHead",
+
  ["ThingDef:Filth_Dirt"] = {
       },
+
     _ = {
      layers = {
+
       ParentName = "BaseFilth",
        "Overhead",
+
       DefCategory = "ThingDef",
       },
+
       FileName = "Filth_Various.xml",
      tags = {
+
      GameVersion = "1.2.2753",
        "IndustrialMilitaryBasic",
+
      DLC = "Core",
        "IndustrialMilitaryAdvanced",
 
        "SpacerMilitary",
 
      },
 
 
     },
 
     },
 +
    defName = "Filth_Dirt",
 +
    label = "dirt",
 
   },
 
   },
  
   ["ThingDef:Apparel_SmokepopBelt"] = {
+
   ["ThingDef:Filth_AnimalFilth"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelBase",
+
       ParentName = "BaseFilth",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Packs.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "SmokepopBelt",
+
     defName = "Filth_AnimalFilth",
     defName = "Apparel_SmokepopBelt",
+
     label = "animal filth",
    label = "smokepop pack",
+
  },
    description = [[A defensive smokescreen. When activated, it will release a cloud of smoke, obscuring incoming shots and preventing turrets from locking on.]],
+
 
    comps = {
+
  ["ThingDef:Filth_Trash"] = {
      {
+
    _ = {
        _ = {
+
      ParentName = "BaseFilth",
          Class = "CompProperties_Reloadable",
+
      DefCategory = "ThingDef",
        },
+
      FileName = "Filth_Various.xml",
        maxCharges = 3,
+
      GameVersion = "1.2.2753",
        ammoDef = "Chemfuel",
+
      DLC = "Core",
        ammoCountToRefill = 10,
 
        baseReloadTicks = 60,
 
        soundReload = "Standard_Reload",
 
        hotKey = "Misc4",
 
        chargeNoun = "smokepop",
 
        displayGizmoWhileUndrafted = false,
 
      },
 
 
     },
 
     },
     verbs = {
+
     defName = "Filth_Trash",
      {
+
    label = "trash",
        verbClass = "Verb_Smokepop",
+
  },
        label = "pop smoke",
+
 
        violent = false,
+
  ["ThingDef:Filth_Sand"] = {
        targetable = false,
+
    _ = {
        nonInterruptingSelfCast = true,
+
      ParentName = "BaseFilth",
        onlyManualCast = true,
+
      DefCategory = "ThingDef",
       },
+
      FileName = "Filth_Various.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Filth_Sand",
      unfinishedThingDef = "UnfinishedPack",
+
    label = "sand",
      researchPrerequisite = "SmokepopBelt",
+
  },
      recipeUsers = {
+
 
        "TableMachining",
+
  ["ThingDef:Filth_RubbleRock"] = {
      },
+
    _ = {
      useIngredientsForColor = false,
+
       ParentName = "BaseFilth",
       workSpeedStat = "GeneralLaborSpeed",
+
       DefCategory = "ThingDef",
       workSkill = "Crafting",
+
       FileName = "Filth_Various.xml",
       effectWorking = "Smith",
+
       GameVersion = "1.2.2753",
       soundWorking = "Recipe_Smith",
+
       DLC = "Core",
       skillRequirements = {
 
        Crafting = 3,
 
      },
 
 
     },
 
     },
     costList = {
+
     defName = "Filth_RubbleRock",
       ComponentIndustrial = 1,
+
    label = "rock rubble",
       Steel = 20,
+
  },
       Chemfuel = 40,
+
 
 +
  ["ThingDef:Filth_RubbleBuilding"] = {
 +
    _ = {
 +
       ParentName = "BaseFilth",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Filth_Various.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     statBases = {
+
     defName = "Filth_RubbleBuilding",
      WorkToMake = 1200,
+
    label = "building rubble",
      Mass = 3,
+
  },
      Flammability = 0.4,
+
 
      SmokepopBeltRadius = 4.9,
+
  ["ThingDef:SlagRubble"] = {
      EquipDelay = 2,
+
     _ = {
     },
+
       ParentName = "BaseFilth",
    thingCategories = {
+
       DefCategory = "ThingDef",
       "ApparelUtility",
+
       FileName = "Filth_Various.xml",
    },
+
       GameVersion = "1.2.2753",
    apparel = {
+
       DLC = "Core",
       bodyPartGroups = {
 
        "Waist",
 
       },
 
       layers = {
 
        "Belt",
 
       },
 
      tags = {
 
        "BeltDefensePop",
 
      },
 
 
     },
 
     },
 +
    defName = "SlagRubble",
 +
    label = "scattered slag",
 
   },
 
   },
  
   ["ThingDef:Apparel_PsychicShockLance"] = {
+
   ["ThingDef:SandbagRubble"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelNoQualityBase",
+
       ParentName = "BaseFilth",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Utility.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_PsychicShockLance",
+
     defName = "SandbagRubble",
     label = "psychic shock lance",
+
     label = "scattered sandbags",
     description = [[A limited-use psychic effector. It shocks the target's mind with chaotic images, blocking coherent perception and dropping him into a state of psychic shock. There is a risk of brain damage. It has a long range, but requires line of sight.]],
+
  },
    tradeTags = {
+
 
       "Artifact",
+
  ["ThingDef:Filth_Blood"] = {
 +
     _ = {
 +
      ParentName = "BaseFilth",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Filth_Various.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Filth_Blood",
 +
    label = "blood",
 
     statBases = {
 
     statBases = {
       Mass = 0.5,
+
       Beauty = -30,
       EquipDelay = 2,
+
       Cleanliness = -10,
      MarketValue = 550,
 
      MaxHitPoints = 80,
 
 
     },
 
     },
     thingCategories = {
+
  },
       "ApparelUtility",
+
 
 +
  ["ThingDef:Filth_BloodInsect"] = {
 +
     _ = {
 +
       ParentName = "BaseFilth",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Filth_Various.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     apparel = {
+
     defName = "Filth_BloodInsect",
      bodyPartGroups = {
+
     label = "bugblood",
        "Waist",
+
     statBases = {
      },
+
       Beauty = -40,
      layers = {
+
       Cleanliness = -15,
        "Belt",
 
      },
 
    },
 
    smeltable = false,
 
     verbs = {
 
      {
 
        verbClass = "Verb_CastTargetEffect",
 
        label = "psychic shock lance",
 
        targetable = true,
 
        onlyManualCast = true,
 
        range = 34.9,
 
        warmupTime = 0.5,
 
        targetParams = {
 
          canTargetBuildings = false,
 
          onlyTargetPsychicSensitive = true,
 
          neverTargetIncapacitated = true,
 
        },
 
      },
 
    },
 
     comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Reloadable",
 
        },
 
        maxCharges = 2,
 
        destroyOnEmpty = true,
 
        hotKey = "Misc4",
 
        chargeNoun = "charge",
 
        displayGizmoWhileUndrafted = false,
 
      },
 
      {
 
        compClass = "CompTargetEffect_PsychicShock",
 
      },
 
       {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_BrainDamageChance",
 
        },
 
        brainDamageChance = 0.3,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_GoodwillImpact",
 
        },
 
        goodwillImpact = -200,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_MoteOnTarget",
 
        },
 
        moteDef = "Mote_PsycastPsychicEffect",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_MoteConnecting",
 
        },
 
        moteDef = "Mote_PsycastPsychicLine",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_PsychicInsanityLance"] = {
+
   ["ThingDef:Filth_MachineBits"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelNoQualityBase",
+
       ParentName = "BaseFilth",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Utility.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_PsychicInsanityLance",
+
     defName = "Filth_MachineBits",
     label = "psychic insanity lance",
+
     label = "machine bits",
    description = [[A limited-use psychic effector. It overwhelms the target's mind with terrifying perceptual distortions, driving him into a berserk state. There is a risk of brain damage. It has a long range, but requires line of sight.]],
 
    tradeTags = {
 
      "Artifact",
 
    },
 
 
     statBases = {
 
     statBases = {
       Mass = 0.5,
+
       Beauty = -10,
       EquipDelay = 2,
+
       Cleanliness = -5,
      MarketValue = 650,
 
      MaxHitPoints = 80,
 
 
     },
 
     },
     thingCategories = {
+
  },
       "ApparelUtility",
+
 
 +
  ["ThingDef:Filth_AmnioticFluid"] = {
 +
     _ = {
 +
       ParentName = "BaseFilth",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Filth_Various.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     apparel = {
+
     defName = "Filth_AmnioticFluid",
      bodyPartGroups = {
+
     label = "amniotic fluid",
        "Waist",
+
     statBases = {
      },
+
       Beauty = -30,
      layers = {
+
       Cleanliness = -5,
        "Belt",
 
      },
 
    },
 
    smeltable = false,
 
     verbs = {
 
      {
 
        verbClass = "Verb_CastTargetEffect",
 
        label = "psychic insanity lance",
 
        targetable = true,
 
        onlyManualCast = true,
 
        range = 34.9,
 
        warmupTime = 0.5,
 
        targetParams = {
 
          canTargetBuildings = false,
 
          onlyTargetPsychicSensitive = true,
 
          neverTargetIncapacitated = true,
 
        },
 
      },
 
    },
 
     comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Reloadable",
 
        },
 
        maxCharges = 2,
 
        destroyOnEmpty = true,
 
        hotKey = "Misc4",
 
        chargeNoun = "charge",
 
        displayGizmoWhileUndrafted = false,
 
      },
 
      {
 
        compClass = "CompTargetEffect_Berserk",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_BrainDamageChance",
 
        },
 
        brainDamageChance = 0.3,
 
      },
 
       {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_GoodwillImpact",
 
        },
 
        goodwillImpact = -200,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_MoteOnTarget",
 
        },
 
        moteDef = "Mote_PsycastPsychicEffect",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_TargetEffect_MoteConnecting",
 
        },
 
        moteDef = "Mote_PsycastPsychicLine",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ApparelNoQualityBase"] = {
+
   ["ThingDef:Filth_Slime"] = {
 
     _ = {
 
     _ = {
       Name = "ApparelNoQualityBase",
+
       ParentName = "BaseFilth",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Apparel",
+
     defName = "Filth_Slime",
     category = "Item",
+
     label = "slime",
    pathCost = 14,
 
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       Beauty = -25,
       Flammability = 1.0,
+
      Cleanliness = -5,
       DeteriorationRate = 2,
+
    },
       Beauty = -3,
+
  },
 +
 
 +
  ["ThingDef:Filth_Vomit"] = {
 +
    _ = {
 +
      ParentName = "BaseFilth",
 +
       DefCategory = "ThingDef",
 +
      FileName = "Filth_Various.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     altitudeLayer = "Item",
+
     defName = "Filth_Vomit",
     smeltable = true,
+
     label = "vomit",
     comps = {
+
     statBases = {
       {
+
       Beauty = -40,
        _ = {
+
       Cleanliness = -15,
          Class = "CompProperties_Forbiddable",
 
        },
 
       },
 
      {
 
        compClass = "CompColorable",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ApparelBase"] = {
+
   ["ThingDef:Filth_FireFoam"] = {
 
     _ = {
 
     _ = {
      Name = "ApparelBase",
+
       ParentName = "BaseFilth",
       ParentName = "ApparelNoQualityBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Filth_FireFoam",
       {
+
    label = "firefoam",
        compClass = "CompQuality",
+
    statBases = {
       },
+
       Beauty = -25,
 +
       Cleanliness = -5,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ApparelMakeableBase"] = {
+
   ["ThingDef:Filth_Fuel"] = {
 
     _ = {
 
     _ = {
      Name = "ApparelMakeableBase",
+
       ParentName = "BaseFilth",
       ParentName = "ApparelBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Filth_Fuel",
      workSpeedStat = "GeneralLaborSpeed",
+
    label = "chemfuel puddle",
      workSkill = "Crafting",
+
    description = [[A puddle of flammable chemfuel.]],
      effectWorking = "Tailor",
+
    thingClass = "LiquidFuel",
      soundWorking = "Recipe_Tailor",
+
    useHitPoints = true,
      recipeUsers = {
+
    statBases = {
        "ElectricTailoringBench",
+
       Beauty = -10,
        "HandTailoringBench",
+
       Cleanliness = -15,
       },
+
       MaxHitPoints = 150,
       unfinishedThingDef = "UnfinishedApparel",
+
      Flammability = 2.0,
       defaultIngredientFilter = {
 
        categories = {
 
          "Root",
 
        },
 
        disallowedThingDefs = {
 
          "Gold",
 
          "Silver",
 
          "Plasteel",
 
          "Jade",
 
          "Uranium",
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArmorSmithableBase"] = {
+
   ["ThingDef:Filth_CorpseBile"] = {
 
     _ = {
 
     _ = {
      Name = "ArmorSmithableBase",
+
       ParentName = "BaseFilth",
       ParentName = "ApparelBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     smeltable = true,
+
     defName = "Filth_CorpseBile",
    recipeMaker = {
+
    label = "corpse bile",
      workSpeedStat = "GeneralLaborSpeed",
+
    statBases = {
      workSkill = "Crafting",
+
       Beauty = -50,
      effectWorking = "Smith",
+
       Cleanliness = -20,
       soundWorking = "Recipe_Smith",
 
       recipeUsers = {
 
        "ElectricSmithy",
 
        "FueledSmithy",
 
      },
 
      defaultIngredientFilter = {
 
        categories = {
 
          "Root",
 
        },
 
        disallowedThingDefs = {
 
          "Gold",
 
          "Silver",
 
          "Plasteel",
 
          "Jade",
 
          "Uranium",
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArmorMachineableBase"] = {
+
   ["ThingDef:Filth_Ash"] = {
 
     _ = {
 
     _ = {
      Name = "ArmorMachineableBase",
+
       ParentName = "BaseFilth",
       ParentName = "ApparelBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Filth_Ash",
      workSpeedStat = "GeneralLaborSpeed",
+
    label = "ash",
      workSkill = "Crafting",
+
    statBases = {
      effectWorking = "Smith",
+
       Beauty = -12,
      soundWorking = "Recipe_Machining",
+
       Cleanliness = -15,
      recipeUsers = {
 
        "TableMachining",
 
      },
 
       unfinishedThingDef = "UnfinishedArmor",
 
       defaultIngredientFilter = {
 
        categories = {
 
          "Root",
 
        },
 
        disallowedThingDefs = {
 
          "Gold",
 
          "Silver",
 
          "Plasteel",
 
          "Jade",
 
          "Uranium",
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_TribalA"] = {
+
   ["ThingDef:Filth_Water"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelMakeableBase",
+
       ParentName = "BaseFilth",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Filth_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_TribalA",
+
     defName = "Filth_Water",
     label = "tribalwear",
+
     label = "water puddle",
    description = [[A full-body garment crafted using neolithic tools. While it may look primitive, it is effective at insulating the wearer.]],
 
    costStuffCount = 60,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
    },
 
    tradeability = "Sellable",
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       Beauty = -10,
       WorkToMake = 1800,
+
       Cleanliness = -5,
      Mass = 0.5,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.55,
 
      StuffEffectMultiplierInsulation_Heat = 0.55,
 
      EquipDelay = 1.5,
 
    },
 
    thingCategories = {
 
      "Apparel",
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Torso",
 
        "Legs",
 
      },
 
      layers = {
 
        "OnSkin",
 
      },
 
      tags = {
 
        "Neolithic",
 
      },
 
    },
 
    recipeMaker = {
 
      recipeUsers = {
 
        "ElectricTailoringBench",
 
        "HandTailoringBench",
 
        "CraftingSpot",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_Parka"] = {
+
   ["ThingDef:BaseGas"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelMakeableBase",
+
       Name = "BaseGas",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Gas_Various.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_Parka",
+
     thingClass = "Gas",
     label = "parka",
+
     label = "gas",
     description = [[A parka for staying warm in even the coldest of temperatures.]],
+
     category = "Gas",
     costStuffCount = 80,
+
     altitudeLayer = "Gas",
     stuffCategories = {
+
     useHitPoints = false,
      "Fabric",
+
  },
      "Leathery",
+
 
    },
+
  ["ThingDef:Gas_Smoke"] = {
    thingCategories = {
+
     _ = {
      "Apparel",
+
       ParentName = "BaseGas",
    },
+
      DefCategory = "ThingDef",
    statBases = {
+
       FileName = "Gas_Various.xml",
      MaxHitPoints = 180,
+
       GameVersion = "1.2.2753",
      WorkToMake = 8000,
+
       DLC = "Core",
      Mass = 2,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 2.00,
 
      StuffEffectMultiplierInsulation_Heat = 0.00,
 
      EquipDelay = 3,
 
     },
 
    apparel = {
 
       bodyPartGroups = {
 
        "Torso",
 
        "Neck",
 
        "Shoulders",
 
        "Arms",
 
       },
 
      layers = {
 
        "Shell",
 
       },
 
      tags = {
 
        "IndustrialBasic",
 
        "Neolithic",
 
       },
 
      defaultOutfitTags = {
 
        "Worker",
 
        "Soldier",
 
      },
 
 
     },
 
     },
 +
    defName = "Gas_Smoke",
 +
    label = "smoke",
 
   },
 
   },
  
   ["ThingDef:Apparel_Pants"] = {
+
   ["ThingDef:ActiveDropPod"] = {
 
     _ = {
 
     _ = {
      ParentName = "ApparelMakeableBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Things_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_Pants",
+
     defName = "ActiveDropPod",
     label = "pants",
+
     label = "drop pod",
     description = [[A simple set of pants.]],
+
     category = "Item",
    recipeMaker = {
+
     thingClass = "ActiveDropPod",
      researchPrerequisite = "ComplexClothing",
+
     altitudeLayer = "Building",
     },
+
     useHitPoints = true,
    costStuffCount = 40,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
     },
 
    thingCategories = {
 
      "Apparel",
 
     },
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MaxHitPoints = 500,
       WorkToMake = 1600,
+
       Flammability = 0,
      Mass = 0.5,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.20,
 
      StuffEffectMultiplierInsulation_Heat = 0.08,
 
      EquipDelay = 2,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Legs",
 
      },
 
      layers = {
 
        "OnSkin",
 
      },
 
      tags = {
 
        "IndustrialBasic",
 
      },
 
      defaultOutfitTags = {
 
        "Worker",
 
        "Soldier",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_BasicShirt"] = {
+
   ["ThingDef:Fire"] = {
 
     _ = {
 
     _ = {
      ParentName = "ApparelMakeableBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Things_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_BasicShirt",
+
     defName = "Fire",
     label = "T-shirt",
+
     label = "fire",
     description = [[A simple T-shirt.]],
+
     thingClass = "Fire",
    costStuffCount = 40,
+
     category = "Attachment",
    stuffCategories = {
+
     altitudeLayer = "PawnState",
      "Fabric",
+
    useHitPoints = false,
      "Leathery",
 
     },
 
    thingCategories = {
 
      "Apparel",
 
     },
 
    statBases = {
 
      MaxHitPoints = 100,
 
      WorkToMake = 1600,
 
      Mass = 0.25,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.22,
 
      StuffEffectMultiplierInsulation_Heat = 0.10,
 
      EquipDelay = 1.5,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Torso",
 
        "Shoulders",
 
      },
 
      layers = {
 
        "OnSkin",
 
      },
 
      tags = {
 
        "IndustrialBasic",
 
      },
 
      defaultOutfitTags = {
 
        "Worker",
 
        "Soldier",
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:Apparel_CollarShirt"] = {
+
   ["ThingDef:Spark"] = {
 
     _ = {
 
     _ = {
      ParentName = "ApparelMakeableBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Things_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_CollarShirt",
+
     defName = "Spark",
    description = [[A nice-looking collared shirt with buttons.]],
+
     label = "spark",
     label = "button-down shirt",
+
     category = "Projectile",
     recipeMaker = {
+
     thingClass = "Spark",
      researchPrerequisite = "ComplexClothing",
+
     altitudeLayer = "Projectile",
     },
+
     useHitPoints = false,
    costStuffCount = 45,
+
     projectile = {
    stuffCategories = {
+
       alwaysFreeIntercept = true,
      "Fabric",
+
       speed = 1.5,
      "Leathery",
 
     },
 
    thingCategories = {
 
      "Apparel",
 
     },
 
     statBases = {
 
       MaxHitPoints = 100,
 
       WorkToMake = 2700,
 
      Mass = 0.3,
 
      StuffEffectMultiplierArmor = 0.2,
 
      StuffEffectMultiplierInsulation_Cold = 0.26,
 
      StuffEffectMultiplierInsulation_Heat = 0.10,
 
      EquipDelay = 1.5,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Torso",
 
        "Neck",
 
        "Shoulders",
 
        "Arms",
 
      },
 
      layers = {
 
        "OnSkin",
 
      },
 
      tags = {
 
        "IndustrialBasic",
 
      },
 
      defaultOutfitTags = {
 
        "Worker",
 
        "Soldier",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_Duster"] = {
+
   ["ThingDef:ChunkBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelMakeableBase",
+
       Name = "ChunkBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_Duster",
+
     category = "Item",
     description = [[A long duster coat for blocking the sun and grit of the outdoors.]],
+
     thingClass = "Thing",
     label = "duster",
+
    altitudeLayer = "Item",
     recipeMaker = {
+
     passability = "PassThroughOnly",
       researchPrerequisite = "ComplexClothing",
+
     fillPercent = 0.50,
 +
    statBases = {
 +
       MaxHitPoints = 300,
 +
      Flammability = 0,
 +
      Beauty = -8,
 +
      Cleanliness = -2,
 
     },
 
     },
     costStuffCount = 80,
+
     pathCost = 42,
     stuffCategories = {
+
     pathCostIgnoreRepeat = true,
       "Fabric",
+
    stackLimit = 1,
       "Leathery",
+
    tradeability = "None",
 +
  },
 +
 
 +
  ["ThingDef:ChunkRockBase"] = {
 +
    _ = {
 +
      ParentName = "ChunkBase",
 +
      Name = "ChunkRockBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
       FileName = "Various_Stone.xml",
 +
       GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
 +
    description = [[A chunk of rock. Can be cut into usable stone blocks.]],
 
     thingCategories = {
 
     thingCategories = {
       "Apparel",
+
       "StoneChunks",
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:StoneBlocksBase"] = {
 +
    _ = {
 +
      ParentName = "ResourceBase",
 +
      Name = "StoneBlocksBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "Various_Stone.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
 +
    description = [[Blocks of stone. Mostly useful for building long-lasting, simple structures.]],
 +
    useHitPoints = false,
 +
    tradeability = "Buyable",
 
     statBases = {
 
     statBases = {
 
       MaxHitPoints = 200,
 
       MaxHitPoints = 200,
       WorkToMake = 10000,
+
       MarketValue = 0.9,
       Mass = 2,
+
       SharpDamageMultiplier = 0.6,
       StuffEffectMultiplierArmor = 0.3,
+
       BluntDamageMultiplier = 1.0,
       StuffEffectMultiplierInsulation_Cold = 0.60,
+
       Beauty = -12,
       StuffEffectMultiplierInsulation_Heat = 0.85,
+
       ConstructionSpeedFactor = 0.8,
       EquipDelay = 3,
+
    },
 +
    thingCategories = {
 +
       "StoneBlocks",
 
     },
 
     },
     apparel = {
+
     stuffProps = {
       bodyPartGroups = {
+
       categories = {
         "Torso",
+
         "Stony",
        "Neck",
 
        "Shoulders",
 
        "Arms",
 
        "Legs",
 
 
       },
 
       },
       layers = {
+
       statOffsets = {
         "Shell",
+
         WorkToBuild = 140,
 
       },
 
       },
       tags = {
+
       statFactors = {
         "IndustrialAdvanced",
+
         MarketValue = 0.4,
      },
+
        MaxHitPoints = 1.8,
      defaultOutfitTags = {
+
        Flammability = 0,
         "Worker",
+
        WorkToBuild = 6.0,
 +
        WorkToMake = 1.3,
 +
        DoorOpenSpeed = 0.45,
 +
        BedRestEffectiveness = 0.9,
 +
         MeleeWeapon_CooldownMultiplier = 1.30,
 
       },
 
       },
 
     },
 
     },
 +
    terrainAffordanceNeeded = "Heavy",
 
   },
 
   },
  
   ["ThingDef:Apparel_Jacket"] = {
+
   ["ThingDef:UglyRockBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelMakeableBase",
+
      Name = "UglyRockBase",
 +
       ParentName = "RockBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_Jacket",
+
     statBases = {
    label = "jacket",
+
       Flammability = 0,
    description = [[A tough jacket to stop scrapes and bruises, and to keep one warm in chilly weather.]],
+
       Beauty = -2,
    costStuffCount = 70,
 
    stuffCategories = {
 
       "Fabric",
 
       "Leathery",
 
 
     },
 
     },
    thingCategories = {
+
   },
      "Apparel",
 
    },
 
    statBases = {
 
      MaxHitPoints = 160,
 
      WorkToMake = 7000,
 
      Mass = 1.7,
 
      StuffEffectMultiplierArmor = 0.3,
 
      StuffEffectMultiplierInsulation_Cold = 0.80,
 
      StuffEffectMultiplierInsulation_Heat = 0.30,
 
      EquipDelay = 1.5,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Torso",
 
        "Neck",
 
        "Shoulders",
 
        "Arms",
 
      },
 
      layers = {
 
        "Shell",
 
      },
 
      tags = {
 
        "IndustrialAdvanced",
 
      },
 
      defaultOutfitTags = {
 
        "Worker",
 
      },
 
    },
 
   },
 
  
   ["ThingDef:Apparel_PlateArmor"] = {
+
   ["ThingDef:ChunkSlagSteel"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArmorSmithableBase",
+
       ParentName = "ChunkBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_PlateArmor",
+
     defName = "ChunkSlagSteel",
     label = "plate armor",
+
     label = "steel slag chunk",
     description = [[Overlapping solid plates of armor covering the entire body from neck to feet.]],
+
     description = [[A chunk of steel slag. While it's useless in its current form, it can be smelted to recover steel.]],
    recipeMaker = {
 
      unfinishedThingDef = "UnfinishedMetallicTechArmor",
 
      researchPrerequisite = "PlateArmor",
 
      skillRequirements = {
 
        Crafting = 7,
 
      },
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
    },
 
    costStuffCount = 170,
 
 
     statBases = {
 
     statBases = {
      WorkToMake = 38000,
+
       Mass = 5,
      MaxHitPoints = 290,
 
       Mass = 15,
 
      StuffEffectMultiplierArmor = 0.73,
 
      StuffEffectMultiplierInsulation_Cold = 1.0,
 
      StuffEffectMultiplierInsulation_Heat = 0,
 
      EquipDelay = 15,
 
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
       "ApparelArmor",
+
       "Chunks",
 
     },
 
     },
     apparel = {
+
     smeltProducts = {
       bodyPartGroups = {
+
       Steel = 15,
        "Torso",
 
        "Neck",
 
        "Shoulders",
 
        "Arms",
 
        "Legs",
 
      },
 
      layers = {
 
        "Middle",
 
        "Shell",
 
      },
 
      tags = {
 
        "MedievalMilitary",
 
      },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_FlakVest"] = {
+
   ["ThingDef:Sandstone"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArmorMachineableBase",
+
       ParentName = "UglyRockBase",
 +
      Name = "SandstoneBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_FlakVest",
+
     defName = "Sandstone",
     label = "flak vest",
+
     label = "sandstone",
     description = [[A vest with armor plates inserted on the chest and back. While quite effective at deflecting gunshots and stabbing attacks against the chest, it does nothing to protect the limbs.]],
+
     description = [[A sedimentary rock composed of sand particles compressed together.]],
     recipeMaker = {
+
     statBases = {
       researchPrerequisite = "FlakArmor",
+
       MaxHitPoints = 400,
      unfinishedThingDef = "UnfinishedTechArmor",
+
    },
      skillRequirements = {
+
    building = {
        Crafting = 4,
+
      mineableThing = "ChunkSandstone",
      },
 
 
     },
 
     },
    statBases = {
+
  },
      WorkToMake = 9000,
+
 
       MaxHitPoints = 200,
+
  ["ThingDef:SmoothedSandstone"] = {
       Mass = 4,
+
    _ = {
       Flammability = 0.6,
+
       ParentName = "SandstoneBase",
       ArmorRating_Sharp = 1.00,
+
       DefCategory = "ThingDef",
      ArmorRating_Blunt = 0.36,
+
       FileName = "Various_Stone.xml",
      ArmorRating_Heat = 0.27,
+
       GameVersion = "1.2.2753",
      Insulation_Cold = 1,
+
       DLC = "Core",
       EquipDelay = 5,
 
 
     },
 
     },
     thingCategories = {
+
     defName = "SmoothedSandstone",
       "ApparelArmor",
+
    label = "smoothed sandstone",
 +
    description = [[A sedimentary rock composed of sand particles compressed together. The sand layers have been polished to a flat, smooth surface.]],
 +
    statBases = {
 +
       Beauty = 1,
 +
      MarketValue = 18,
 
     },
 
     },
     costList = {
+
     building = {
       Cloth = 30,
+
       isNaturalRock = false,
       Steel = 60,
+
       artificialForMeditationPurposes = false,
      ComponentIndustrial = 1,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Torso",
 
        "Neck",
 
        "Shoulders",
 
      },
 
      layers = {
 
        "Middle",
 
      },
 
      tags = {
 
        "IndustrialMilitaryBasic",
 
      },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_FlakPants"] = {
+
   ["ThingDef:ChunkSandstone"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArmorMachineableBase",
+
       ParentName = "ChunkRockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_FlakPants",
+
     defName = "ChunkSandstone",
     label = "flak pants",
+
     label = "sandstone chunk",
    description = [[A pair of pants with armor plates sewn in. While it's not as good as solid armor, it offers effective protection against all manner of attacks while remaining quite comfortable.]],
 
    recipeMaker = {
 
      researchPrerequisite = "FlakArmor",
 
      unfinishedThingDef = "UnfinishedTechArmor",
 
      skillRequirements = {
 
        Crafting = 4,
 
      },
 
    },
 
 
     statBases = {
 
     statBases = {
      WorkToMake = 9000,
+
       Mass = 20,
      MaxHitPoints = 200,
 
       Mass = 4,
 
      Flammability = 0.6,
 
      ArmorRating_Sharp = 0.40,
 
      ArmorRating_Blunt = 0.08,
 
      ArmorRating_Heat = 0.10,
 
      Insulation_Cold = 3.5,
 
      Insulation_Heat = 1,
 
      EquipDelay = 5,
 
    },
 
    thingCategories = {
 
      "ApparelArmor",
 
    },
 
    costList = {
 
      Cloth = 30,
 
      Steel = 60,
 
      ComponentIndustrial = 1,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Legs",
 
      },
 
      layers = {
 
        "OnSkin",
 
        "Middle",
 
      },
 
      tags = {
 
        "IndustrialMilitaryBasic",
 
      },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_FlakJacket"] = {
+
   ["ThingDef:BlocksSandstone"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArmorMachineableBase",
+
       ParentName = "StoneBlocksBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_FlakJacket",
+
     defName = "BlocksSandstone",
     label = "flak jacket",
+
     label = "sandstone blocks",
     description = [[A tough fabric jacket with armor plates sewn in. While it's not as good as solid armor, it offers effective protection against all manner of attacks while remaining quite comfortable.]],
+
     description = [[Blocks of solid sandstone. Sandstone is a relatively soft rock and chips easily.]],
     recipeMaker = {
+
     statBases = {
       researchPrerequisite = "FlakArmor",
+
       Mass = 1,
       unfinishedThingDef = "UnfinishedTechArmor",
+
       SharpDamageMultiplier = 0.5,
       skillRequirements = {
+
    },
         Crafting = 4,
+
    stuffProps = {
 +
       statFactors = {
 +
         Beauty = 1.1,
 +
        MaxHitPoints = 1.4,
 +
        WorkToBuild = 5.0,
 +
        WorkToMake = 1.1,
 
       },
 
       },
 
     },
 
     },
     costList = {
+
  },
       Cloth = 50,
+
 
       Steel = 70,
+
  ["ThingDef:Granite"] = {
       ComponentIndustrial = 1,
+
     _ = {
    },
+
       ParentName = "UglyRockBase",
    thingCategories = {
+
       Name = "GraniteBase",
       "ApparelArmor",
+
       DefCategory = "ThingDef",
 +
      FileName = "Various_Stone.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Granite",
 +
    label = "granite",
 +
    description = [[A very hard igneous rock.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 200,
+
       MaxHitPoints = 900,
      WorkToMake = 14000,
 
      Mass = 7,
 
      Flammability = 0.6,
 
      ArmorRating_Sharp = 0.40,
 
      ArmorRating_Blunt = 0.08,
 
      ArmorRating_Heat = 0.10,
 
      Insulation_Cold = 14.4,
 
      Insulation_Heat = 3,
 
      EquipDelay = 3,
 
 
     },
 
     },
     apparel = {
+
     building = {
       bodyPartGroups = {
+
       mineableThing = "ChunkGranite",
        "Torso",
 
        "Neck",
 
        "Shoulders",
 
        "Arms",
 
      },
 
      layers = {
 
        "Shell",
 
      },
 
      tags = {
 
        "IndustrialAdvanced",
 
      },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ApparelArmorPowerBase"] = {
+
   ["ThingDef:SmoothedGranite"] = {
 
     _ = {
 
     _ = {
      Name = "ApparelArmorPowerBase",
+
       ParentName = "GraniteBase",
       ParentName = "ArmorMachineableBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "SmoothedGranite",
      unfinishedThingDef = "UnfinishedTechArmor",
+
    label = "smoothed granite",
      researchPrerequisite = "PoweredArmor",
+
    description = [[A very hard igneous rock. The shining surface is filled with a mosaic of black, white, and pink speckles.]],
      skillRequirements = {
+
    statBases = {
        Crafting = 7,
+
      Beauty = 1,
      },
+
       MarketValue = 20,
      recipeUsers = {
 
        _ = {
 
          Inherit = false,
 
        },
 
        "FabricationBench",
 
       },
 
 
     },
 
     },
     statBases = {
+
     building = {
       WorkToMake = 60000,
+
       isNaturalRock = false,
       MaxHitPoints = 340,
+
       artificialForMeditationPurposes = false,
      Mass = 12,
 
      Flammability = 0.4,
 
      ArmorRating_Sharp = 1.06,
 
      ArmorRating_Blunt = 0.45,
 
      ArmorRating_Heat = 0.54,
 
      Insulation_Cold = 34,
 
      Insulation_Heat = 10,
 
      EquipDelay = 14,
 
 
     },
 
     },
     thingCategories = {
+
  },
       "ApparelArmor",
+
 
 +
  ["ThingDef:ChunkGranite"] = {
 +
     _ = {
 +
       ParentName = "ChunkRockBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Various_Stone.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     tradeTags = {
+
     defName = "ChunkGranite",
       "HiTechArmor",
+
    label = "granite chunk",
 +
    statBases = {
 +
       Mass = 25,
 
     },
 
     },
     costList = {
+
  },
       ComponentSpacer = 4,
+
 
       Plasteel = 100,
+
  ["ThingDef:BlocksGranite"] = {
       Uranium = 20,
+
     _ = {
 +
       ParentName = "StoneBlocksBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Various_Stone.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     apparel = {
+
     defName = "BlocksGranite",
      bodyPartGroups = {
+
    label = "granite blocks",
        "Torso",
+
    description = [[Blocks of solid granite. Granite is a very hard stone.]],
        "Neck",
+
    statBases = {
        "Shoulders",
+
       Mass = 1.25,
        "Arms",
+
       SharpDamageMultiplier = 0.65,
        "Legs",
 
      },
 
      layers = {
 
        "Middle",
 
        "Shell",
 
       },
 
       defaultOutfitTags = {
 
        "Soldier",
 
      },
 
 
     },
 
     },
     comps = {
+
     stuffProps = {
       {
+
       statFactors = {
         _ = {
+
         MaxHitPoints = 1.7,
          Class = "CompProperties_BiocodableApparel",
 
        },
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_PowerArmor"] = {
+
   ["ThingDef:Limestone"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelArmorPowerBase",
+
       ParentName = "UglyRockBase",
 +
      Name = "LimestoneBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_PowerArmor",
+
     defName = "Limestone",
     label = "marine armor",
+
     label = "limestone",
     description = [[A suit of powered armor. Layered plasteel-weave plates are very effective at stopping attacks, with few vulnerable joint sections. Neuro-memetic assistors allow a human to wear the armor and still move easily.\n\nArmor like this is often used by imperial janissaries and rapid-incursion space marines.]],
+
     description = [[A sedimentary rock formed from the compacted remains of ancient seashells.]],
     apparel = {
+
     statBases = {
       tags = {
+
       MaxHitPoints = 700,
        "SpacerMilitary",
+
    },
      },
+
    building = {
 +
      mineableThing = "ChunkLimestone",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ApparelArmorReconBase"] = {
+
   ["ThingDef:SmoothedLimestone"] = {
 
     _ = {
 
     _ = {
      Name = "ApparelArmorReconBase",
+
       ParentName = "LimestoneBase",
       ParentName = "ArmorMachineableBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "SmoothedLimestone",
      unfinishedThingDef = "UnfinishedTechArmor",
+
    label = "smoothed limestone",
      researchPrerequisite = "ReconArmor",
+
     description = [[A sedimentary rock formed from the compacted remains of ancient seashells. It glows a smooth white, with light patterns of impurities suspended within.]],
      skillRequirements = {
 
        Crafting = 6,
 
      },
 
      recipeUsers = {
 
        _ = {
 
          Inherit = false,
 
        },
 
        "FabricationBench",
 
      },
 
    },
 
     tradeTags = {
 
      "HiTechArmor",
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 45000,
+
       Beauty = 1,
       MaxHitPoints = 280,
+
       MarketValue = 20,
      Mass = 9,
 
      Flammability = 0.4,
 
      ArmorRating_Sharp = 0.92,
 
      ArmorRating_Blunt = 0.4,
 
      ArmorRating_Heat = 0.46,
 
      Insulation_Cold = 32,
 
      Insulation_Heat = 9,
 
      EquipDelay = 11,
 
 
     },
 
     },
     thingCategories = {
+
     building = {
       "ApparelArmor",
+
       isNaturalRock = false,
    },
+
       artificialForMeditationPurposes = false,
    costList = {
 
      ComponentSpacer = 3,
 
       Plasteel = 80,
 
      Uranium = 10,
 
    },
 
    apparel = {
 
      bodyPartGroups = {
 
        "Torso",
 
        "Neck",
 
        "Shoulders",
 
        "Arms",
 
        "Legs",
 
      },
 
      layers = {
 
        "Middle",
 
        "Shell",
 
      },
 
      defaultOutfitTags = {
 
        "Soldier",
 
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_BiocodableApparel",
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Apparel_ArmorRecon"] = {
+
   ["ThingDef:ChunkLimestone"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelArmorReconBase",
+
       ParentName = "ChunkRockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Apparel_Various.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Apparel_ArmorRecon",
+
     defName = "ChunkLimestone",
     label = "recon armor",
+
     label = "limestone chunk",
     description = [[A suit of light partially-powered armor, designed to permit quick movement. Lightweight plasteel-weave plates block attacks without compromising mobility, and neuro-memetic assistors in the lower body allow a human to wear the armor and still move easily.\n\nArmor like this is often used by imperial scout troops and glitterworld police forces.]],
+
     statBases = {
    apparel = {
+
       Mass = 22,
       tags = {
 
        "SpacerMilitary",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:OrbitalStrikeBase"] = {
+
   ["ThingDef:BlocksLimestone"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "StoneBlocksBase",
      Name = "OrbitalStrikeBase",
 
       ParentName = "EtherealThingBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_OrbitalStrikes.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "OrbitalStrike",
+
     defName = "BlocksLimestone",
 +
    label = "limestone blocks",
 +
    description = [[Blocks of solid limestone.]],
 +
    statBases = {
 +
      Mass = 1.1,
 +
    },
 +
    stuffProps = {
 +
      statFactors = {
 +
        MaxHitPoints = 1.55,
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:Bombardment"] = {
+
   ["ThingDef:Slate"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrbitalStrikeBase",
+
       ParentName = "UglyRockBase",
 +
      Name = "SlateBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_OrbitalStrikes.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bombardment",
+
     defName = "Slate",
     label = "bombardment",
+
     label = "slate",
     thingClass = "Bombardment",
+
     description = [[A dark-colored metamorphic rock. Its fine layers are emblematic of slaty cleavage.]],
     comps = {
+
     statBases = {
       {
+
       MaxHitPoints = 500,
        _ = {
+
    },
          Class = "CompProperties_OrbitalBeam",
+
    building = {
        },
+
      mineableThing = "ChunkSlate",
        width = 0.2,
 
        color = "(255, 20, 20, 242)",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Mote_Bombardment_PreImpact"] = {
+
   ["ThingDef:SmoothedSlate"] = {
 
     _ = {
 
     _ = {
       ParentName = "MoteBase",
+
       ParentName = "SlateBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_OrbitalStrikes.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Mote_Bombardment_PreImpact",
+
     defName = "SmoothedSlate",
     altitudeLayer = "MoteOverhead",
+
     label = "smoothed slate",
 +
    description = [[A dark-colored metamorphic rock. Its fine layers are emblematic of slaty cleavage. Interior strata are clearly visible through the polished surface.]],
 +
    statBases = {
 +
      Beauty = 1,
 +
      MarketValue = 20,
 +
    },
 +
    building = {
 +
      isNaturalRock = false,
 +
      artificialForMeditationPurposes = false,
 +
    },
 
   },
 
   },
  
   ["ThingDef:PowerBeam"] = {
+
   ["ThingDef:ChunkSlate"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrbitalStrikeBase",
+
       ParentName = "ChunkRockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_OrbitalStrikes.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PowerBeam",
+
     defName = "ChunkSlate",
     label = "power beam",
+
     label = "slate chunk",
     thingClass = "PowerBeam",
+
     statBases = {
    comps = {
+
       Mass = 18,
       {
 
        _ = {
 
          Class = "CompProperties_OrbitalBeam",
 
        },
 
        width = 8,
 
        color = "(255, 245, 214, 242)",
 
        sound = "OrbitalBeam",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_CameraShaker",
 
        },
 
        mag = 0.03,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_AffectsSky",
 
        },
 
        skyColors = {
 
          sky = "(255, 230, 200)",
 
          shadow = "(225, 220, 185)",
 
          overlay = "(255, 255, 255)",
 
          saturation = 1.3,
 
        },
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SignalAction_Letter"] = {
+
   ["ThingDef:BlocksSlate"] = {
 
     _ = {
 
     _ = {
       ParentName = "SignalActionBase",
+
       ParentName = "StoneBlocksBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_SignalActions.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SignalAction_Letter",
+
     defName = "BlocksSlate",
     label = "signal action - letter",
+
     label = "slate blocks",
     thingClass = "SignalAction_Letter",
+
    description = [[Blocks of solid slate. A dull-looking rock that chips easily.]],
 +
    statBases = {
 +
      Mass = 0.9,
 +
    },
 +
     stuffProps = {
 +
      statFactors = {
 +
        Beauty = 1.1,
 +
        MaxHitPoints = 1.3,
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:SignalAction_Ambush"] = {
+
   ["ThingDef:Marble"] = {
 
     _ = {
 
     _ = {
       ParentName = "SignalActionBase",
+
       ParentName = "UglyRockBase",
 +
      Name = "MarbleBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_SignalActions.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SignalAction_Ambush",
+
     defName = "Marble",
     label = "signal action - ambush",
+
     label = "marble",
     thingClass = "SignalAction_Ambush",
+
    description = [[A soft metamorphic rock.]],
 +
    statBases = {
 +
      MaxHitPoints = 450,
 +
      Beauty = -1,
 +
    },
 +
     building = {
 +
      mineableThing = "ChunkMarble",
 +
    },
 
   },
 
   },
  
   ["ThingDef:SkyfallerBase"] = {
+
   ["ThingDef:SmoothedMarble"] = {
 
     _ = {
 
     _ = {
      Name = "SkyfallerBase",
+
       ParentName = "MarbleBase",
       ParentName = "EtherealThingBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Skyfallers.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Skyfaller",
+
     defName = "SmoothedMarble",
     useHitPoints = false,
+
     label = "smoothed marble",
     altitudeLayer = "Skyfaller",
+
    description = [[A soft metamorphic rock. This semi-transparent rock almost appears to glow with its own inner light.]],
 +
    statBases = {
 +
      Beauty = 2,
 +
      MarketValue = 25,
 +
    },
 +
    building = {
 +
      isNaturalRock = false,
 +
      artificialForMeditationPurposes = false,
 +
     },
 
   },
 
   },
  
   ["ThingDef:DropPodIncoming"] = {
+
   ["ThingDef:ChunkMarble"] = {
 
     _ = {
 
     _ = {
       ParentName = "SkyfallerBase",
+
       ParentName = "ChunkRockBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Skyfallers.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DropPodIncoming",
+
     defName = "ChunkMarble",
     label = "drop pod (incoming)",
+
     label = "marble chunk",
     thingClass = "DropPodIncoming",
+
     statBases = {
 +
      Mass = 25,
 +
    },
 
   },
 
   },
  
   ["ThingDef:DropPodLeaving"] = {
+
   ["ThingDef:BlocksMarble"] = {
 
     _ = {
 
     _ = {
       ParentName = "SkyfallerBase",
+
       ParentName = "StoneBlocksBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Skyfallers.xml",
+
       FileName = "Various_Stone.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DropPodLeaving",
+
     defName = "BlocksMarble",
     label = "drop pod (leaving)",
+
     label = "marble blocks",
     thingClass = "DropPodLeaving",
+
     description = [[Blocks of solid marble. Marble is a soft, beautiful stone, known for being easy to sculpt.]],
  },
+
    statBases = {
 
+
      Mass = 1.25,
  ["ThingDef:ShipChunkIncoming"] = {
+
    },
    _ = {
+
    stuffProps = {
      ParentName = "SkyfallerBase",
+
      statFactors = {
      DefCategory = "ThingDef",
+
        Beauty = 1.35,
      FileName = "Ethereal_Skyfallers.xml",
+
        MaxHitPoints = 1.2,
      GameVersion = "1.2.2753",
+
        WorkToBuild = 5.5,
       DLC = "Core",
+
        WorkToMake = 1.15,
 +
      },
 +
       statOffsets = {
 +
        Beauty = 1,
 +
      },
 
     },
 
     },
    defName = "ShipChunkIncoming",
 
    label = "ship chunk (incoming)",
 
    size = {2, 2},
 
 
   },
 
   },
  
   ["ThingDef:CrashedShipPartIncoming"] = {
+
   ["ThingDef:BaseWeapon"] = {
 
     _ = {
 
     _ = {
       ParentName = "SkyfallerBase",
+
       Abstract = true,
 +
      Name = "BaseWeapon",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Skyfallers.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "CrashedShipPartIncoming",
+
     thingClass = "ThingWithComps",
     label = "crashed ship part (incoming)",
+
     category = "Item",
     size = {6, 3},
+
     altitudeLayer = "Item",
  },
+
    useHitPoints = true,
 
+
    pathCost = 14,
  ["ThingDef:MeteoriteIncoming"] = {
+
    statBases = {
    _ = {
+
      MaxHitPoints = 100,
       ParentName = "SkyfallerBase",
+
      Flammability = 1.0,
       DefCategory = "ThingDef",
+
       DeteriorationRate = 2,
       FileName = "Ethereal_Skyfallers.xml",
+
       Beauty = -3,
       GameVersion = "1.2.2753",
+
       SellPriceFactor = 0.20,
       DLC = "Core",
+
    },
 +
    comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_Forbiddable",
 +
        },
 +
      },
 +
       {
 +
        compClass = "CompEquippable",
 +
      },
 
     },
 
     },
    defName = "MeteoriteIncoming",
 
    label = "meteorite (incoming)",
 
    size = {2, 2},
 
 
   },
 
   },
  
   ["ThingDef:EtherealThingBase"] = {
+
   ["ThingDef:BaseGun"] = {
 
     _ = {
 
     _ = {
 +
      Name = "BaseGun",
 
       Abstract = true,
 
       Abstract = true,
       Name = "EtherealThingBase",
+
       ParentName = "BaseWeapon",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     category = "Ethereal",
+
     smeltable = true,
     useHitPoints = false,
+
    thingCategories = {
 +
      "WeaponsRanged",
 +
     },
 +
    statBases = {
 +
      Flammability = 0.5,
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Art",
 +
        },
 +
        nameMaker = "NamerArtWeaponGun",
 +
        descriptionMaker = "ArtDescription_WeaponGun",
 +
        minQualityForArtistic = "Excellent",
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:RectTrigger"] = {
+
   ["ThingDef:BaseGunWithQuality"] = {
 
     _ = {
 
     _ = {
       ParentName = "EtherealThingBase",
+
      Name = "BaseGunWithQuality",
 +
      Abstract = true,
 +
       ParentName = "BaseGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RectTrigger",
+
     comps = {
    label = "rect trigger",
+
      {
     thingClass = "RectTrigger",
+
        compClass = "CompQuality",
 +
      },
 +
     },
 
   },
 
   },
  
   ["ThingDef:TriggerUnfogged"] = {
+
   ["ThingDef:BaseMakeableGun"] = {
 
     _ = {
 
     _ = {
       ParentName = "EtherealThingBase",
+
      Name = "BaseMakeableGun",
 +
       ParentName = "BaseGunWithQuality",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TriggerUnfogged",
+
     recipeMaker = {
    label = "trigger unfogged",
+
      workSpeedStat = "GeneralLaborSpeed",
    thingClass = "TriggerUnfogged",
+
      workSkill = "Crafting",
 +
      effectWorking = "Smith",
 +
      soundWorking = "Recipe_Smith",
 +
      recipeUsers = {
 +
        "TableMachining",
 +
      },
 +
      unfinishedThingDef = "UnfinishedGun",
 +
      researchPrerequisite = "Gunsmithing",
 +
    },
 
   },
 
   },
  
   ["ThingDef:Explosion"] = {
+
   ["ThingDef:BaseHumanMakeableGun"] = {
 
     _ = {
 
     _ = {
       ParentName = "EtherealThingBase",
+
      Name = "BaseHumanMakeableGun",
 +
       ParentName = "BaseMakeableGun",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Explosion",
+
     weaponTags = {
     label = "explosion",
+
      "Gun",
     thingClass = "Explosion",
+
     },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_BiocodableWeapon",
 +
        },
 +
      },
 +
     },
 
   },
 
   },
  
   ["ThingDef:Blight"] = {
+
   ["ThingDef:BaseBullet"] = {
 
     _ = {
 
     _ = {
       ParentName = "EtherealThingBase",
+
       Name = "BaseBullet",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Blight",
+
     category = "Projectile",
     label = "blight",
+
     altitudeLayer = "Projectile",
     thingClass = "Blight",
+
     thingClass = "Bullet",
 +
    label = "bullet",
 +
    useHitPoints = false,
 
   },
 
   },
  
   ["ThingDef:Tornado"] = {
+
   ["ThingDef:BaseMeleeWeapon"] = {
 
     _ = {
 
     _ = {
       ParentName = "EtherealThingBase",
+
      Name = "BaseMeleeWeapon",
 +
      Abstract = true,
 +
       ParentName = "BaseWeapon",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Tornado",
+
     smeltable = true,
     label = "tornado",
+
    thingCategories = {
    thingClass = "Tornado",
+
      "WeaponsMelee",
    comps = {
+
     },
       {
+
    recipeMaker = {
        _ = {
+
      workSpeedStat = "GeneralLaborSpeed",
          Class = "CompProperties_WindSource",
+
      workSkill = "Crafting",
         },
+
      effectWorking = "Smith",
 +
       soundWorking = "Recipe_Smith",
 +
      recipeUsers = {
 +
        "ElectricSmithy",
 +
         "FueledSmithy",
 
       },
 
       },
 +
      unfinishedThingDef = "UnfinishedWeapon",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TunnelHiveSpawner"] = {
+
   ["ThingDef:BaseMeleeWeapon_Sharp"] = {
 
     _ = {
 
     _ = {
       ParentName = "EtherealThingBase",
+
      Name = "BaseMeleeWeapon_Sharp",
 +
       ParentName = "BaseMeleeWeapon",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TunnelHiveSpawner",
+
     recipeMaker = {
    label = "tunnel",
+
      defaultIngredientFilter = {
    thingClass = "TunnelHiveSpawner",
+
        categories = {
 +
          "Root",
 +
        },
 +
        disallowedThingDefs = {
 +
          "Silver",
 +
          "Gold",
 +
          "WoodLog",
 +
        },
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:PawnFlyerBase"] = {
+
   ["ThingDef:BaseMeleeWeapon_Blunt"] = {
 
     _ = {
 
     _ = {
       Name = "PawnFlyerBase",
+
       Name = "BaseMeleeWeapon_Blunt",
 +
      ParentName = "BaseMeleeWeapon",
 
       Abstract = true,
 
       Abstract = true,
      ParentName = "EtherealThingBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Ethereal_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     label = "flying",
+
     recipeMaker = {
    thingClass = "PawnFlyer",
+
      defaultIngredientFilter = {
    useHitPoints = false,
+
        categories = {
     altitudeLayer = "Skyfaller",
+
          "Root",
 +
        },
 +
        disallowedThingDefs = {
 +
          "Silver",
 +
          "Gold",
 +
        },
 +
      },
 +
     },
 
   },
 
   },
  
   ["ThingDef:BaseFilth"] = {
+
   ["ThingDef:BaseMeleeWeapon_Sharp_Quality"] = {
 
     _ = {
 
     _ = {
       Name = "BaseFilth",
+
       Name = "BaseMeleeWeapon_Sharp_Quality",
 
       Abstract = true,
 
       Abstract = true,
 +
      ParentName = "BaseMeleeWeapon_Sharp",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Filth",
+
     comps = {
    category = "Filth",
+
      {
    altitudeLayer = "Filth",
+
        compClass = "CompQuality",
    useHitPoints = false,
+
      },
    statBases = {
+
      {
      Beauty = -15,
+
        _ = {
       Cleanliness = -5,
+
          Class = "CompProperties_Art",
 +
        },
 +
        nameMaker = "NamerArtWeaponMelee",
 +
        descriptionMaker = "ArtDescription_WeaponMelee",
 +
        minQualityForArtistic = "Excellent",
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Filth_Dirt"] = {
+
   ["ThingDef:BaseMeleeWeapon_Blunt_Quality"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
      Name = "BaseMeleeWeapon_Blunt_Quality",
 +
      Abstract = true,
 +
       ParentName = "BaseMeleeWeapon_Sharp",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "BaseWeapons.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_Dirt",
+
     comps = {
    label = "dirt",
+
      {
 +
        compClass = "CompQuality",
 +
      },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Art",
 +
        },
 +
        nameMaker = "NamerArtWeaponMelee",
 +
        descriptionMaker = "ArtDescription_WeaponMelee",
 +
        minQualityForArtistic = "Excellent",
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:Filth_AnimalFilth"] = {
+
   ["ThingDef:MeleeWeapon_Mace"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseMeleeWeapon_Blunt_Quality",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "MeleeMedieval.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_AnimalFilth",
+
     defName = "MeleeWeapon_Mace",
     label = "animal filth",
+
     label = "mace",
  },
+
    description = [[A refined club, engineered for efficient swinging and deadly impacts.]],
 
+
    statBases = {
  ["ThingDef:Filth_Trash"] = {
+
      WorkToMake = 6000,
     _ = {
+
      Mass = 1.25,
       ParentName = "BaseFilth",
+
    },
       DefCategory = "ThingDef",
+
    recipeMaker = {
      FileName = "Filth_Various.xml",
+
      skillRequirements = {
       GameVersion = "1.2.2753",
+
        Crafting = 3,
      DLC = "Core",
+
      },
 +
    },
 +
     weaponTags = {
 +
       "MedievalMeleeDecent",
 +
    },
 +
    tools = {
 +
       {
 +
        label = "handle",
 +
        capacities = {
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 15.7,
 +
        cooldownTime = 2,
 +
      },
 
     },
 
     },
    defName = "Filth_Trash",
 
    label = "trash",
 
 
   },
 
   },
  
   ["ThingDef:Filth_Sand"] = {
+
   ["ThingDef:MeleeWeapon_Gladius"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "MeleeMedieval.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_Sand",
+
     defName = "MeleeWeapon_Gladius",
     label = "sand",
+
     label = "gladius",
 +
    description = [[A short sword of ancient design. Good for stabbing or slashing. It's light and nimble, which sometimes lets it beat bigger, heavier weapons.]],
 +
    weaponTags = {
 +
      "MedievalMeleeDecent",
 +
    },
 +
    statBases = {
 +
      WorkToMake = 12000,
 +
      Mass = 0.85,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "handle",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "point",
 +
        capacities = {
 +
          "Stab",
 +
        },
 +
        power = 16,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "edge",
 +
        capacities = {
 +
          "Cut",
 +
        },
 +
        power = 16,
 +
        cooldownTime = 2,
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "Smithing",
 +
      skillRequirements = {
 +
        Crafting = 3,
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:Filth_RubbleRock"] = {
+
   ["ThingDef:MeleeWeapon_LongSword"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "MeleeMedieval.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_RubbleRock",
+
     defName = "MeleeWeapon_LongSword",
     label = "rock rubble",
+
     label = "longsword",
 +
    description = [[The ancient weapon of kings, the longsword can be used for slashing or stabbing.]],
 +
    weaponTags = {
 +
      "MedievalMeleeAdvanced",
 +
    },
 +
    statBases = {
 +
      WorkToMake = 18000,
 +
      Mass = 2,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "handle",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "point",
 +
        capacities = {
 +
          "Stab",
 +
        },
 +
        power = 23,
 +
        cooldownTime = 2.6,
 +
      },
 +
      {
 +
        label = "edge",
 +
        capacities = {
 +
          "Cut",
 +
        },
 +
        power = 23,
 +
        cooldownTime = 2.6,
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "LongBlades",
 +
      skillRequirements = {
 +
        Crafting = 5,
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:Filth_RubbleBuilding"] = {
+
   ["ThingDef:MeleeWeapon_Club"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseMeleeWeapon_Blunt",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "MeleeNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_RubbleBuilding",
+
     defName = "MeleeWeapon_Club",
     label = "building rubble",
+
     label = "club",
 +
    description = [[A shaped stick, heavy at one end, for bashing enemies to death. This weapon is so old it's part of human biology. Evolutionary biologists say that a major reason humans can tilt our wrists side-to-side (instead of just forward-and-back like other primates) is to be able to better swing a club.]],
 +
    weaponTags = {
 +
      "NeolithicMeleeBasic",
 +
    },
 +
    statBases = {
 +
      WorkToMake = 1200,
 +
      Mass = 2,
 +
    },
 +
    recipeMaker = {
 +
      recipeUsers = {
 +
        "CraftingSpot",
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "handle",
 +
        capacities = {
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 14,
 +
        cooldownTime = 2,
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:SlagRubble"] = {
+
   ["ThingDef:MeleeWeapon_Knife"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "MeleeNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SlagRubble",
+
     defName = "MeleeWeapon_Knife",
     label = "scattered slag",
+
     label = "knife",
  },
+
    description = [[One of mankind's oldest manufactured objects. The knife has taken many forms, but the concept has always remained the same: A handle for holding and a sharp edge for cutting.]],
 
+
    weaponTags = {
  ["ThingDef:SandbagRubble"] = {
+
      "MedievalMeleeBasic",
     _ = {
+
      "NeolithicMeleeBasic",
       ParentName = "BaseFilth",
+
    },
      DefCategory = "ThingDef",
+
    statBases = {
       FileName = "Filth_Various.xml",
+
      WorkToMake = 1800,
      GameVersion = "1.2.2753",
+
      Mass = 0.5,
       DLC = "Core",
+
    },
 +
     tools = {
 +
       {
 +
        label = "handle",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
       {
 +
        label = "blade",
 +
        capacities = {
 +
          "Cut",
 +
        },
 +
        power = 12,
 +
        cooldownTime = 1.5,
 +
      },
 +
      {
 +
        label = "point",
 +
        capacities = {
 +
          "Stab",
 +
        },
 +
        power = 13,
 +
        cooldownTime = 2,
 +
       },
 +
    },
 +
    recipeMaker = {
 +
      recipeUsers = {
 +
        "CraftingSpot",
 +
      },
 
     },
 
     },
    defName = "SandbagRubble",
 
    label = "scattered sandbags",
 
 
   },
 
   },
  
   ["ThingDef:Filth_Blood"] = {
+
   ["ThingDef:MeleeWeapon_Ikwa"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "MeleeNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_Blood",
+
     defName = "MeleeWeapon_Ikwa",
     label = "blood",
+
     label = "ikwa",
     statBases = {
+
    description = [[A short spearhandle attached to a long bladed point, designed to be driven into vital organs with a quick thrust.]],
       Beauty = -30,
+
    weaponTags = {
       Cleanliness = -10,
+
      "NeolithicMeleeDecent",
 +
    },
 +
     statBases = {
 +
       WorkToMake = 5000,
 +
      Mass = 1.1,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "handle",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Stab",
 +
        },
 +
        power = 15,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "edge",
 +
        capacities = {
 +
          "Cut",
 +
        },
 +
        power = 15,
 +
        cooldownTime = 2,
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "Smithing",
 +
       skillRequirements = {
 +
        Crafting = 3,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Filth_BloodInsect"] = {
+
   ["ThingDef:MeleeWeapon_Spear"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "MeleeNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_BloodInsect",
+
     defName = "MeleeWeapon_Spear",
     label = "bugblood",
+
     label = "spear",
 +
    description = [[A polearm tipped with a sharp point for stabbing opponents.]],
 +
    weaponTags = {
 +
      "NeolithicMeleeAdvanced",
 +
      "MedievalMeleeAdvanced",
 +
    },
 
     statBases = {
 
     statBases = {
       Beauty = -40,
+
       WorkToMake = 12000,
       Cleanliness = -15,
+
       Mass = 2,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "shaft",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 13,
 +
        cooldownTime = 2.6,
 +
      },
 +
      {
 +
        label = "point",
 +
        capacities = {
 +
          "Stab",
 +
        },
 +
        power = 23,
 +
        cooldownTime = 2.6,
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "LongBlades",
 +
      skillRequirements = {
 +
        Crafting = 4,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Filth_MachineBits"] = {
+
   ["ThingDef:Bullet_Revolver"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_MachineBits",
+
     defName = "Bullet_Revolver",
     label = "machine bits",
+
     label = "revolver bullet",
     statBases = {
+
     projectile = {
       Beauty = -10,
+
       damageDef = "Bullet",
       Cleanliness = -5,
+
      damageAmountBase = 12,
 +
      stoppingPower = 1,
 +
       speed = 55,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Filth_AmnioticFluid"] = {
+
   ["ThingDef:Gun_Revolver"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_AmnioticFluid",
+
     defName = "Gun_Revolver",
     label = "amniotic fluid",
+
     label = "revolver",
 +
    description = [[An ancient pattern double-action revolver. It's not very powerful, but has a decent range for a pistol and is quick on the draw.]],
 
     statBases = {
 
     statBases = {
       Beauty = -30,
+
       WorkToMake = 4000,
       Cleanliness = -5,
+
       Mass = 1.4,
 +
      AccuracyTouch = 0.80,
 +
      AccuracyShort = 0.75,
 +
      AccuracyMedium = 0.45,
 +
      AccuracyLong = 0.35,
 +
      RangedWeapon_Cooldown = 1.6,
 +
    },
 +
    weaponTags = {
 +
      "SimpleGun",
 +
      "Revolver",
 
     },
 
     },
  },
+
     costList = {
 
+
       Steel = 30,
  ["ThingDef:Filth_Slime"] = {
+
       ComponentIndustrial = 2,
     _ = {
 
       ParentName = "BaseFilth",
 
      DefCategory = "ThingDef",
 
       FileName = "Filth_Various.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "Filth_Slime",
+
     recipeMaker = {
    label = "slime",
+
      skillRequirements = {
    statBases = {
+
        Crafting = 3,
      Beauty = -25,
+
       },
       Cleanliness = -5,
 
 
     },
 
     },
  },
+
    verbs = {
 
+
      {
  ["ThingDef:Filth_Vomit"] = {
+
        verbClass = "Verb_Shoot",
    _ = {
+
        defaultProjectile = "Bullet_Revolver",
      ParentName = "BaseFilth",
+
        warmupTime = 0.3,
      DefCategory = "ThingDef",
+
        range = 25.9,
      FileName = "Filth_Various.xml",
+
       },
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "Filth_Vomit",
+
     tools = {
    label = "vomit",
+
      {
    statBases = {
+
        label = "grip",
      Beauty = -40,
+
        capacities = {
       Cleanliness = -15,
+
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Filth_FireFoam"] = {
+
   ["ThingDef:Gun_Autopistol"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_FireFoam",
+
     defName = "Gun_Autopistol",
     label = "firefoam",
+
     label = "autopistol",
     statBases = {
+
     description = [[An ancient pattern blowback-operated self-loading pistol. It lacks stopping power and range, but is quick to fire.]],
       Beauty = -25,
+
    recipeMaker = {
       Cleanliness = -5,
+
       researchPrerequisite = "BlowbackOperation",
 +
       skillRequirements = {
 +
        Crafting = 4,
 +
      },
 
     },
 
     },
  },
+
     weaponTags = {
 
+
       "SimpleGun",
  ["ThingDef:Filth_Fuel"] = {
 
     _ = {
 
       ParentName = "BaseFilth",
 
      DefCategory = "ThingDef",
 
      FileName = "Filth_Various.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
    defName = "Filth_Fuel",
 
    label = "chemfuel puddle",
 
    description = [[A puddle of flammable chemfuel.]],
 
    thingClass = "LiquidFuel",
 
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       Beauty = -10,
+
       WorkToMake = 5000,
       Cleanliness = -15,
+
       Mass = 1.2,
       MaxHitPoints = 150,
+
       AccuracyTouch = 0.80,
       Flammability = 2.0,
+
       AccuracyShort = 0.70,
 +
      AccuracyMedium = 0.40,
 +
      AccuracyLong = 0.30,
 +
      RangedWeapon_Cooldown = 1,
 +
    },
 +
    costList = {
 +
      Steel = 30,
 +
      ComponentIndustrial = 2,
 
     },
 
     },
  },
+
    verbs = {
 
+
      {
  ["ThingDef:Filth_CorpseBile"] = {
+
        verbClass = "Verb_Shoot",
    _ = {
+
        defaultProjectile = "Bullet_Autopistol",
      ParentName = "BaseFilth",
+
        warmupTime = 0.3,
      DefCategory = "ThingDef",
+
        range = 25.9,
      FileName = "Filth_Various.xml",
+
       },
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "Filth_CorpseBile",
+
     tools = {
    label = "corpse bile",
+
      {
    statBases = {
+
        label = "grip",
      Beauty = -50,
+
        capacities = {
       Cleanliness = -20,
+
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Filth_Ash"] = {
+
   ["ThingDef:Bullet_Autopistol"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_Ash",
+
     defName = "Bullet_Autopistol",
     label = "ash",
+
     label = "autopistol bullet",
     statBases = {
+
     projectile = {
       Beauty = -12,
+
       damageDef = "Bullet",
       Cleanliness = -15,
+
      damageAmountBase = 10,
 +
       speed = 55,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Filth_Water"] = {
+
   ["ThingDef:Gun_MachinePistol"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFilth",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Filth_Various.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Filth_Water",
+
     defName = "Gun_MachinePistol",
     label = "water puddle",
+
     label = "machine pistol",
     statBases = {
+
    description = [[A micro-submachine gun. It is short-ranged, but very light in the hands. Its rate of fire tends to make up for its weakness.]],
       Beauty = -10,
+
    recipeMaker = {
       Cleanliness = -5,
+
      researchPrerequisite = "BlowbackOperation",
 +
      skillRequirements = {
 +
        Crafting = 4,
 +
      },
 +
    },
 +
     statBases = {
 +
       WorkToMake = 11000,
 +
      Mass = 2.5,
 +
      AccuracyTouch = 0.90,
 +
      AccuracyShort = 0.65,
 +
      AccuracyMedium = 0.35,
 +
      AccuracyLong = 0.15,
 +
      RangedWeapon_Cooldown = 0.9,
 +
    },
 +
    costList = {
 +
      Steel = 45,
 +
       ComponentIndustrial = 3,
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_MachinePistol",
 +
        warmupTime = 0.5,
 +
        range = 19.9,
 +
        burstShotCount = 3,
 +
        ticksBetweenBurstShots = 7,
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "grip",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseGas"] = {
+
   ["ThingDef:Bullet_MachinePistol"] = {
 
     _ = {
 
     _ = {
       Name = "BaseGas",
+
       ParentName = "BaseBullet",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Gas_Various.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Gas",
+
     defName = "Bullet_MachinePistol",
     label = "gas",
+
     label = "machine pistol bullet",
     category = "Gas",
+
     projectile = {
    altitudeLayer = "Gas",
+
       damageDef = "Bullet",
    useHitPoints = false,
+
       damageAmountBase = 6,
  },
+
       speed = 55,
 
 
  ["ThingDef:Gas_Smoke"] = {
 
    _ = {
 
      ParentName = "BaseGas",
 
      DefCategory = "ThingDef",
 
       FileName = "Gas_Various.xml",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
    defName = "Gas_Smoke",
 
    label = "smoke",
 
 
   },
 
   },
  
   ["ThingDef:ActiveDropPod"] = {
+
   ["ThingDef:Gun_IncendiaryLauncher"] = {
 
     _ = {
 
     _ = {
 +
      ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Things_Special.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ActiveDropPod",
+
     defName = "Gun_IncendiaryLauncher",
     label = "drop pod",
+
     label = "incendiary launcher",
     category = "Item",
+
     description = [[A wide-barreled incendiary bolt launcher. The bolts create small incendiary explosions on impact, starting fires.]],
    thingClass = "ActiveDropPod",
 
    altitudeLayer = "Building",
 
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 500,
+
       WorkToMake = 20000,
       Flammability = 0,
+
       Mass = 3.4,
 +
      RangedWeapon_Cooldown = 3.5,
 +
    },
 +
    costList = {
 +
      Steel = 75,
 +
      ComponentIndustrial = 4,
 +
    },
 +
    recipeMaker = {
 +
      skillRequirements = {
 +
        Crafting = 4,
 +
      },
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_IncendiaryLauncher",
 +
        warmupTime = 3.5,
 +
        range = 23.9,
 +
        forcedMissRadius = 1.9,
 +
        burstShotCount = 1,
 +
        targetParams = {
 +
          canTargetLocations = true,
 +
        },
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Fire"] = {
+
   ["ThingDef:Bullet_IncendiaryLauncher"] = {
    _ = {
 
      DefCategory = "ThingDef",
 
      FileName = "Things_Special.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Fire",
 
    label = "fire",
 
    thingClass = "Fire",
 
    category = "Attachment",
 
    altitudeLayer = "PawnState",
 
    useHitPoints = false,
 
  },
 
 
 
  ["ThingDef:Spark"] = {
 
 
     _ = {
 
     _ = {
 +
      ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Things_Special.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Spark",
+
     defName = "Bullet_IncendiaryLauncher",
     label = "spark",
+
     label = "incendiary bolt",
    category = "Projectile",
+
     thingClass = "Projectile_Explosive",
     thingClass = "Spark",
 
    altitudeLayer = "Projectile",
 
    useHitPoints = false,
 
 
     projectile = {
 
     projectile = {
       alwaysFreeIntercept = true,
+
       speed = 40,
       speed = 1.5,
+
      damageDef = "Flame",
 +
      explosionRadius = 1.1,
 +
      preExplosionSpawnThingDef = "Filth_Fuel",
 +
      preExplosionSpawnChance = 0.6,
 +
      ai_IsIncendiary = true,
 +
       arcHeightFactor = 0.2,
 +
      shadowSize = 0.6,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ChunkBase"] = {
+
   ["ThingDef:Gun_SmokeLauncher"] = {
 
     _ = {
 
     _ = {
       Name = "ChunkBase",
+
       ParentName = "BaseHumanMakeableGun",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     category = "Item",
+
     defName = "Gun_SmokeLauncher",
     thingClass = "Thing",
+
     label = "smoke launcher",
     altitudeLayer = "Item",
+
     description = [[A wide-barreled smoke shell launcher. The shell will upon impact release a cloud of smoke, obscuring incoming shots and preventing turrets from locking on.]],
    passability = "PassThroughOnly",
 
    fillPercent = 0.50,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 300,
+
       WorkToMake = 30000,
       Flammability = 0,
+
       Mass = 3.4,
       Beauty = -8,
+
       RangedWeapon_Cooldown = 4.5,
       Cleanliness = -2,
+
    },
 +
    costList = {
 +
      Steel = 75,
 +
       ComponentIndustrial = 4,
 
     },
 
     },
     pathCost = 42,
+
     weaponTags = {
     pathCostIgnoreRepeat = true,
+
      _ = {
     stackLimit = 1,
+
        Inherit = false,
     tradeability = "None",
+
      },
   },
+
      "GrenadeSmoke",
 +
     },
 +
    recipeMaker = {
 +
      skillRequirements = {
 +
        Crafting = 4,
 +
      },
 +
    },
 +
     verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_SmokeLauncher",
 +
        warmupTime = 3.5,
 +
        range = 23.9,
 +
        forcedMissRadius = 1.9,
 +
        burstShotCount = 1,
 +
        targetParams = {
 +
          canTargetLocations = true,
 +
        },
 +
      },
 +
     },
 +
    tools = {
 +
      {
 +
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
    },
 +
   },
  
   ["ThingDef:ChunkRockBase"] = {
+
   ["ThingDef:Bullet_SmokeLauncher"] = {
 
     _ = {
 
     _ = {
       ParentName = "ChunkBase",
+
       ParentName = "BaseBullet",
      Name = "ChunkRockBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     description = [[A chunk of rock. Can be cut into usable stone blocks.]],
+
     defName = "Bullet_SmokeLauncher",
     thingCategories = {
+
    label = "smoke launcher shell",
       "StoneChunks",
+
    thingClass = "Projectile_Explosive",
 +
     projectile = {
 +
       speed = 40,
 +
      damageDef = "Smoke",
 +
      explosionRadius = 2.4,
 +
      postExplosionSpawnThingDef = "Gas_Smoke",
 +
      postExplosionSpawnChance = 1,
 +
      ai_IsIncendiary = true,
 +
      arcHeightFactor = 0.2,
 +
      shadowSize = 0.6,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StoneBlocksBase"] = {
+
   ["ThingDef:Gun_EmpLauncher"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "BaseHumanMakeableGun",
      Name = "StoneBlocksBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     description = [[Blocks of stone. Mostly useful for building long-lasting, simple structures.]],
+
    defName = "Gun_EmpLauncher",
     useHitPoints = false,
+
    label = "EMP launcher",
     tradeability = "Buyable",
+
     description = [[A wide-barreled EMP shell launcher. The shell will upon impact release a burst of electromagnetic energy, stunning mechanical targets (mechanoids, turrets, mortars) and depleting shields in the area of effect.]],
 +
     weaponTags = {
 +
      "GrenadeEMP",
 +
     },
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 200,
+
       WorkToMake = 30000,
       MarketValue = 0.9,
+
       Mass = 3.4,
       SharpDamageMultiplier = 0.6,
+
       RangedWeapon_Cooldown = 3.5,
      BluntDamageMultiplier = 1.0,
 
      Beauty = -12,
 
      ConstructionSpeedFactor = 0.8,
 
 
     },
 
     },
     thingCategories = {
+
     costList = {
       "StoneBlocks",
+
       Steel = 75,
 +
      ComponentIndustrial = 8,
 
     },
 
     },
     stuffProps = {
+
     recipeMaker = {
       categories = {
+
       skillRequirements = {
         "Stony",
+
         Crafting = 4,
 
       },
 
       },
       statOffsets = {
+
       researchPrerequisite = "MicroelectronicsBasics",
         WorkToBuild = 140,
+
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_EMPLauncher",
 +
        warmupTime = 3.5,
 +
        range = 23.9,
 +
        forcedMissRadius = 1.9,
 +
        burstShotCount = 1,
 +
        targetParams = {
 +
          canTargetLocations = true,
 +
        },
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
         cooldownTime = 2,
 
       },
 
       },
       statFactors = {
+
       {
         MarketValue = 0.4,
+
         label = "barrel",
         MaxHitPoints = 1.8,
+
         capacities = {
        Flammability = 0,
+
          "Blunt",
        WorkToBuild = 6.0,
+
          "Poke",
        WorkToMake = 1.3,
+
         },
         DoorOpenSpeed = 0.45,
+
         power = 9,
         BedRestEffectiveness = 0.9,
+
         cooldownTime = 2,
         MeleeWeapon_CooldownMultiplier = 1.30,
 
 
       },
 
       },
 
     },
 
     },
    terrainAffordanceNeeded = "Heavy",
 
 
   },
 
   },
  
   ["ThingDef:UglyRockBase"] = {
+
   ["ThingDef:Bullet_EMPLauncher"] = {
 
     _ = {
 
     _ = {
      Name = "UglyRockBase",
+
       ParentName = "BaseBullet",
       ParentName = "RockBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     statBases = {
+
     defName = "Bullet_EMPLauncher",
       Flammability = 0,
+
    label = "EMP launcher shell",
       Beauty = -2,
+
    thingClass = "Projectile_Explosive",
 +
    projectile = {
 +
       speed = 40,
 +
      damageDef = "EMP",
 +
      explosionRadius = 1.1,
 +
      ai_IsIncendiary = true,
 +
      arcHeightFactor = 0.2,
 +
       shadowSize = 0.6,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ChunkSlagSteel"] = {
+
   ["ThingDef:Gun_BoltActionRifle"] = {
 
     _ = {
 
     _ = {
       ParentName = "ChunkBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ChunkSlagSteel",
+
     defName = "Gun_BoltActionRifle",
     label = "steel slag chunk",
+
     label = "bolt-action rifle",
     description = [[A chunk of steel slag. While it's useless in its current form, it can be smelted to recover steel.]],
+
     description = [[An ancient pattern bolt-action rifle. With its long range, and low fire rate, it is unlikely to drive animals to revenge, which makes it a favorite weapon for hunting.]],
 
     statBases = {
 
     statBases = {
       Mass = 5,
+
      WorkToMake = 12000,
 +
       Mass = 3.5,
 +
      AccuracyTouch = 0.65,
 +
      AccuracyShort = 0.80,
 +
      AccuracyMedium = 0.90,
 +
      AccuracyLong = 0.80,
 +
      RangedWeapon_Cooldown = 1.5,
 
     },
 
     },
     thingCategories = {
+
     costList = {
       "Chunks",
+
       Steel = 60,
 +
      ComponentIndustrial = 3,
 
     },
 
     },
     smeltProducts = {
+
     recipeMaker = {
       Steel = 15,
+
       skillRequirements = {
 +
        Crafting = 5,
 +
      },
 
     },
 
     },
  },
+
     verbs = {
 
+
       {
  ["ThingDef:Sandstone"] = {
+
        verbClass = "Verb_Shoot",
     _ = {
+
        defaultProjectile = "Bullet_BoltActionRifle",
       ParentName = "UglyRockBase",
+
        warmupTime = 1.7,
      Name = "SandstoneBase",
+
        range = 36.9,
      DefCategory = "ThingDef",
+
       },
      FileName = "Various_Stone.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "Sandstone",
+
     tools = {
    label = "sandstone",
+
      {
    description = [[A sedimentary rock composed of sand particles compressed together.]],
+
        label = "stock",
    statBases = {
+
        capacities = {
      MaxHitPoints = 400,
+
          "Blunt",
    },
+
        },
    building = {
+
        power = 9,
       mineableThing = "ChunkSandstone",
+
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SmoothedSandstone"] = {
+
   ["ThingDef:Bullet_BoltActionRifle"] = {
 
     _ = {
 
     _ = {
       ParentName = "SandstoneBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SmoothedSandstone",
+
     defName = "Bullet_BoltActionRifle",
     label = "smoothed sandstone",
+
     label = "bolt-action rifle bullet",
     description = [[A sedimentary rock composed of sand particles compressed together. The sand layers have been polished to a flat, smooth surface.]],
+
     projectile = {
    statBases = {
+
       damageDef = "Bullet",
       Beauty = 1,
+
       damageAmountBase = 18,
       MarketValue = 18,
+
       stoppingPower = 1.5,
    },
+
       speed = 70,
    building = {
 
       isNaturalRock = false,
 
       artificialForMeditationPurposes = false,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ChunkSandstone"] = {
+
   ["ThingDef:Gun_PumpShotgun"] = {
 
     _ = {
 
     _ = {
       ParentName = "ChunkRockBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ChunkSandstone",
+
     defName = "Gun_PumpShotgun",
     label = "sandstone chunk",
+
     label = "pump shotgun",
 +
    description = [[An ancient design of shotgun that emits a tight-packed spray of pellets. Deadly, but short range.]],
 
     statBases = {
 
     statBases = {
       Mass = 20,
+
      WorkToMake = 12000,
 +
       Mass = 3.4,
 +
      AccuracyTouch = 0.80,
 +
      AccuracyShort = 0.87,
 +
      AccuracyMedium = 0.77,
 +
      AccuracyLong = 0.64,
 +
      RangedWeapon_Cooldown = 1.25,
 
     },
 
     },
  },
+
     costList = {
 
+
       Steel = 60,
  ["ThingDef:BlocksSandstone"] = {
+
       ComponentIndustrial = 3,
     _ = {
 
       ParentName = "StoneBlocksBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Various_Stone.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "BlocksSandstone",
+
     recipeMaker = {
    label = "sandstone blocks",
+
      skillRequirements = {
    description = [[Blocks of solid sandstone. Sandstone is a relatively soft rock and chips easily.]],
+
        Crafting = 5,
    statBases = {
+
       },
      Mass = 1,
 
       SharpDamageMultiplier = 0.5,
 
 
     },
 
     },
     stuffProps = {
+
     verbs = {
       statFactors = {
+
       {
         Beauty = 1.1,
+
        verbClass = "Verb_Shoot",
         MaxHitPoints = 1.4,
+
        defaultProjectile = "Bullet_Shotgun",
         WorkToBuild = 5.0,
+
         warmupTime = 0.9,
         WorkToMake = 1.1,
+
         range = 15.9,
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
         power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
         cooldownTime = 2,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Granite"] = {
+
   ["ThingDef:Bullet_Shotgun"] = {
 
     _ = {
 
     _ = {
       ParentName = "UglyRockBase",
+
       ParentName = "BaseBullet",
      Name = "GraniteBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Granite",
+
     defName = "Bullet_Shotgun",
     label = "granite",
+
     label = "shotgun blast",
     description = [[A very hard igneous rock.]],
+
     projectile = {
    statBases = {
+
      damageDef = "Bullet",
       MaxHitPoints = 900,
+
       damageAmountBase = 18,
    },
+
      stoppingPower = 3,
    building = {
+
      armorPenetrationBase = 0.14,
       mineableThing = "ChunkGranite",
+
       speed = 55,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SmoothedGranite"] = {
+
   ["ThingDef:Gun_ChainShotgun"] = {
 
     _ = {
 
     _ = {
       ParentName = "GraniteBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SmoothedGranite",
+
     defName = "Gun_ChainShotgun",
     label = "smoothed granite",
+
     label = "chain shotgun",
     description = [[A very hard igneous rock. The shining surface is filled with a mosaic of black, white, and pink speckles.]],
+
     description = [[A magazine-fed fully automatic shotgun. It is even shorter-ranged than a typical shotgun, but is extraordinarily dangerous due to burst fire.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "GasOperation",
 +
      skillRequirements = {
 +
        Crafting = 6,
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
       Beauty = 1,
+
       WorkToMake = 31000,
       MarketValue = 20,
+
      Mass = 4.5,
 +
      AccuracyTouch = 0.57,
 +
      AccuracyShort = 0.64,
 +
      AccuracyMedium = 0.55,
 +
      AccuracyLong = 0.45,
 +
       RangedWeapon_Cooldown = 1.35,
 
     },
 
     },
     building = {
+
     costList = {
       isNaturalRock = false,
+
       Steel = 70,
       artificialForMeditationPurposes = false,
+
       ComponentIndustrial = 5,
 
     },
 
     },
  },
+
    verbs = {
 
+
      {
  ["ThingDef:ChunkGranite"] = {
+
        verbClass = "Verb_Shoot",
    _ = {
+
        defaultProjectile = "Bullet_Shotgun",
      ParentName = "ChunkRockBase",
+
        warmupTime = 1.2,
      DefCategory = "ThingDef",
+
        range = 12.9,
      FileName = "Various_Stone.xml",
+
        burstShotCount = 3,
      GameVersion = "1.2.2753",
+
        ticksBetweenBurstShots = 10,
       DLC = "Core",
+
       },
 
     },
 
     },
     defName = "ChunkGranite",
+
     weaponTags = {
     label = "granite chunk",
+
      "IndustrialGunAdvanced",
    statBases = {
+
     },
       Mass = 25,
+
    tools = {
 +
      {
 +
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
       },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BlocksGranite"] = {
+
   ["ThingDef:Gun_HeavySMG"] = {
 
     _ = {
 
     _ = {
       ParentName = "StoneBlocksBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BlocksGranite",
+
     defName = "Gun_HeavySMG",
     label = "granite blocks",
+
     label = "heavy SMG",
     description = [[Blocks of solid granite. Granite is a very hard stone.]],
+
     description = [[A compact, wide-caliber slug-thrower. It's got a very short range, but it packs a punch and handles quite well.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "GasOperation",
 +
      skillRequirements = {
 +
        Crafting = 5,
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
       Mass = 1.25,
+
      WorkToMake = 24000,
       SharpDamageMultiplier = 0.65,
+
       Mass = 3.5,
 +
      AccuracyTouch = 0.85,
 +
      AccuracyShort = 0.65,
 +
      AccuracyMedium = 0.35,
 +
      AccuracyLong = 0.20,
 +
      RangedWeapon_Cooldown = 1.65,
 +
    },
 +
    costList = {
 +
       Steel = 75,
 +
      ComponentIndustrial = 4,
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_HeavySMG",
 +
        warmupTime = 0.9,
 +
        range = 22.9,
 +
        burstShotCount = 3,
 +
        ticksBetweenBurstShots = 11,
 +
      },
 +
    },
 +
    weaponTags = {
 +
      "IndustrialGunAdvanced",
 
     },
 
     },
     stuffProps = {
+
     tools = {
       statFactors = {
+
       {
         MaxHitPoints = 1.7,
+
        label = "grip",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
         cooldownTime = 2,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Limestone"] = {
+
   ["ThingDef:Bullet_HeavySMG"] = {
 
     _ = {
 
     _ = {
       ParentName = "UglyRockBase",
+
       ParentName = "BaseBullet",
      Name = "LimestoneBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Limestone",
+
     defName = "Bullet_HeavySMG",
     label = "limestone",
+
     label = "heavy SMG bullet",
     description = [[A sedimentary rock formed from the compacted remains of ancient seashells.]],
+
     projectile = {
    statBases = {
+
       damageDef = "Bullet",
       MaxHitPoints = 700,
+
      damageAmountBase = 12,
    },
+
       speed = 48,
    building = {
 
       mineableThing = "ChunkLimestone",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SmoothedLimestone"] = {
+
   ["ThingDef:Gun_LMG"] = {
 
     _ = {
 
     _ = {
       ParentName = "LimestoneBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SmoothedLimestone",
+
     defName = "Gun_LMG",
     label = "smoothed limestone",
+
     label = "LMG",
     description = [[A sedimentary rock formed from the compacted remains of ancient seashells. It glows a smooth white, with light patterns of impurities suspended within.]],
+
     description = [[A gas-operated light machine gun. While it is somewhat unwieldy and inaccurate, its long bursts of fire are effective against groups of enemies.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "GasOperation",
 +
      skillRequirements = {
 +
        Crafting = 6,
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
       Beauty = 1,
+
       WorkToMake = 34000,
       MarketValue = 20,
+
      Mass = 8.5,
 +
      AccuracyTouch = 0.40,
 +
      AccuracyShort = 0.48,
 +
      AccuracyMedium = 0.35,
 +
      AccuracyLong = 0.26,
 +
      RangedWeapon_Cooldown = 1.8,
 +
    },
 +
    costList = {
 +
      Steel = 75,
 +
       ComponentIndustrial = 5,
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_LMG",
 +
        warmupTime = 1.8,
 +
        range = 25.9,
 +
        ticksBetweenBurstShots = 7,
 +
        burstShotCount = 6,
 +
      },
 +
    },
 +
    weaponTags = {
 +
      "IndustrialGunAdvanced",
 
     },
 
     },
     building = {
+
     tools = {
       isNaturalRock = false,
+
       {
       artificialForMeditationPurposes = false,
+
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
       },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ChunkLimestone"] = {
+
   ["ThingDef:Bullet_LMG"] = {
 
     _ = {
 
     _ = {
       ParentName = "ChunkRockBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ChunkLimestone",
+
     defName = "Bullet_LMG",
     label = "limestone chunk",
+
     label = "LMG bullet",
     statBases = {
+
     projectile = {
       Mass = 22,
+
       damageDef = "Bullet",
 +
      damageAmountBase = 11,
 +
      stoppingPower = 1,
 +
      speed = 46,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BlocksLimestone"] = {
+
   ["ThingDef:Gun_AssaultRifle"] = {
 
     _ = {
 
     _ = {
       ParentName = "StoneBlocksBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BlocksLimestone",
+
     defName = "Gun_AssaultRifle",
     label = "limestone blocks",
+
     label = "assault rifle",
     description = [[Blocks of solid limestone.]],
+
     description = [[A general-purpose gas-operated assault rifle for field or urban combat. It has good range, decent power, and good accuracy.]],
     statBases = {
+
     recipeMaker = {
       Mass = 1.1,
+
       researchPrerequisite = "PrecisionRifling",
    },
+
       skillRequirements = {
    stuffProps = {
+
         Crafting = 6,
       statFactors = {
 
         MaxHitPoints = 1.55,
 
 
       },
 
       },
 
     },
 
     },
  },
 
 
  ["ThingDef:Slate"] = {
 
    _ = {
 
      ParentName = "UglyRockBase",
 
      Name = "SlateBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Various_Stone.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Slate",
 
    label = "slate",
 
    description = [[A dark-colored metamorphic rock. Its fine layers are emblematic of slaty cleavage.]],
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 500,
+
       WorkToMake = 40000,
 +
      Mass = 3.5,
 +
      AccuracyTouch = 0.60,
 +
      AccuracyShort = 0.70,
 +
      AccuracyMedium = 0.65,
 +
      AccuracyLong = 0.55,
 +
      RangedWeapon_Cooldown = 1.70,
 
     },
 
     },
     building = {
+
     costList = {
       mineableThing = "ChunkSlate",
+
       Steel = 60,
 +
      ComponentIndustrial = 7,
 
     },
 
     },
  },
+
    verbs = {
 
+
      {
  ["ThingDef:SmoothedSlate"] = {
+
        verbClass = "Verb_Shoot",
    _ = {
+
        defaultProjectile = "Bullet_AssaultRifle",
      ParentName = "SlateBase",
+
        warmupTime = 1.0,
      DefCategory = "ThingDef",
+
        range = 30.9,
      FileName = "Various_Stone.xml",
+
        burstShotCount = 3,
      GameVersion = "1.2.2753",
+
        ticksBetweenBurstShots = 10,
       DLC = "Core",
+
       },
 
     },
 
     },
     defName = "SmoothedSlate",
+
     weaponTags = {
    label = "smoothed slate",
+
      "IndustrialGunAdvanced",
    description = [[A dark-colored metamorphic rock. Its fine layers are emblematic of slaty cleavage. Interior strata are clearly visible through the polished surface.]],
 
    statBases = {
 
      Beauty = 1,
 
      MarketValue = 20,
 
 
     },
 
     },
     building = {
+
     tools = {
       isNaturalRock = false,
+
       {
       artificialForMeditationPurposes = false,
+
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
       },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ChunkSlate"] = {
+
   ["ThingDef:Bullet_AssaultRifle"] = {
 
     _ = {
 
     _ = {
       ParentName = "ChunkRockBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ChunkSlate",
+
     defName = "Bullet_AssaultRifle",
     label = "slate chunk",
+
     label = "assault rifle bullet",
     statBases = {
+
     projectile = {
       Mass = 18,
+
       damageDef = "Bullet",
 +
      damageAmountBase = 11,
 +
      speed = 70,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BlocksSlate"] = {
+
   ["ThingDef:Gun_SniperRifle"] = {
 
     _ = {
 
     _ = {
       ParentName = "StoneBlocksBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BlocksSlate",
+
     defName = "Gun_SniperRifle",
     label = "slate blocks",
+
     label = "sniper rifle",
     description = [[Blocks of solid slate. A dull-looking rock that chips easily.]],
+
     description = [[An ancient design of precision sniper rifle. Bolt action. It has an exceptionally long range, great accuracy and good power. Because it's so unwieldy, other weapons outclass it at close range.]],
 +
    recipeMaker = {
 +
      researchPrerequisite = "PrecisionRifling",
 +
      skillRequirements = {
 +
        Crafting = 7,
 +
      },
 +
    },
 
     statBases = {
 
     statBases = {
       Mass = 0.9,
+
      WorkToMake = 45000,
 +
       Mass = 4,
 +
      AccuracyTouch = 0.50,
 +
      AccuracyShort = 0.70,
 +
      AccuracyMedium = 0.86,
 +
      AccuracyLong = 0.88,
 +
      RangedWeapon_Cooldown = 2.3,
 +
    },
 +
    costList = {
 +
      Steel = 60,
 +
      ComponentIndustrial = 8,
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_SniperRifle",
 +
        warmupTime = 3.5,
 +
        range = 44.9,
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "stock",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 
     },
 
     },
     stuffProps = {
+
     weaponTags = {
       statFactors = {
+
       _ = {
         Beauty = 1.1,
+
         Inherit = false,
        MaxHitPoints = 1.3,
 
 
       },
 
       },
 +
      "SniperRifle",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Marble"] = {
+
   ["ThingDef:Bullet_SniperRifle"] = {
 
     _ = {
 
     _ = {
       ParentName = "UglyRockBase",
+
       ParentName = "BaseBullet",
      Name = "MarbleBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Marble",
+
     defName = "Bullet_SniperRifle",
     label = "marble",
+
     label = "sniper rifle bullet",
     description = [[A soft metamorphic rock.]],
+
     projectile = {
    statBases = {
+
      damageDef = "Bullet",
       MaxHitPoints = 450,
+
       damageAmountBase = 25,
       Beauty = -1,
+
       stoppingPower = 1.5,
    },
+
       speed = 100,
    building = {
 
       mineableThing = "ChunkMarble",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SmoothedMarble"] = {
+
   ["ThingDef:Gun_Minigun"] = {
 
     _ = {
 
     _ = {
       ParentName = "MarbleBase",
+
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SmoothedMarble",
+
     defName = "Gun_Minigun",
     label = "smoothed marble",
+
     label = "minigun",
     description = [[A soft metamorphic rock. This semi-transparent rock almost appears to glow with its own inner light.]],
+
     description = [[A multi-barrel machine gun. It's unwieldy, but once it starts firing it fires very fast. Where most self-loading guns are powered by the energy from the gunpowder, the minigun uses an electric motor to rapidly cycle cartridges through the weapon.]],
 
     statBases = {
 
     statBases = {
       Beauty = 2,
+
       WorkToMake = 60000,
       MarketValue = 25,
+
      Mass = 10,
 +
      AccuracyTouch = 0.15,
 +
      AccuracyShort = 0.25,
 +
       AccuracyMedium = 0.25,
 +
      AccuracyLong = 0.18,
 +
      RangedWeapon_Cooldown = 2.3,
 
     },
 
     },
     building = {
+
     costList = {
       isNaturalRock = false,
+
       Steel = 160,
       artificialForMeditationPurposes = false,
+
       ComponentIndustrial = 20,
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "MultibarrelWeapons",
 +
      skillRequirements = {
 +
        Crafting = 7,
 +
      },
 +
    },
 +
    weaponTags = {
 +
      "GunHeavy",
 +
    },
 +
    verbs = {
 +
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_Minigun",
 +
        warmupTime = 2.5,
 +
        range = 30.9,
 +
        burstShotCount = 25,
 +
        ticksBetweenBurstShots = 5,
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "barrels",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 11.7,
 +
        cooldownTime = 2.6,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ChunkMarble"] = {
+
   ["ThingDef:Bullet_Minigun"] = {
 
     _ = {
 
     _ = {
       ParentName = "ChunkRockBase",
+
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ChunkMarble",
+
     defName = "Bullet_Minigun",
     label = "marble chunk",
+
     label = "minigun bullet",
     statBases = {
+
     projectile = {
       Mass = 25,
+
       damageDef = "Bullet",
 +
      damageAmountBase = 10,
 +
      speed = 70,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BlocksMarble"] = {
+
   ["ThingDef:Gun_TripleRocket"] = {
 
     _ = {
 
     _ = {
       ParentName = "StoneBlocksBase",
+
       ParentName = "BaseGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Various_Stone.xml",
+
       FileName = "RangedIndustrialConsumable.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BlocksMarble",
+
     defName = "Gun_TripleRocket",
     label = "marble blocks",
+
     label = "triple rocket launcher",
     description = [[Blocks of solid marble. Marble is a soft, beautiful stone, known for being easy to sculpt.]],
+
     description = [[A single-use rocket launcher that fires three large-bore explosive rockets. Good against small groups of tough targets.\n\nBecause of its unwieldiness, single-use limitation, and the massive destruction it causes, it's said that one must be slightly crazy to use this weapon.]],
 
     statBases = {
 
     statBases = {
       Mass = 1.25,
+
      MarketValue = 1000,
 +
       Mass = 7,
 +
      RangedWeapon_Cooldown = 4.5,
 +
    },
 +
    weaponTags = {
 +
      "Gun",
 +
      "GunSingleUse",
 +
    },
 +
    tradeTags = {
 +
      "ExoticMisc",
 
     },
 
     },
     stuffProps = {
+
     verbs = {
       statFactors = {
+
       {
         Beauty = 1.35,
+
        verbClass = "Verb_ShootOneUse",
         MaxHitPoints = 1.2,
+
         defaultProjectile = "Bullet_Rocket",
         WorkToBuild = 5.5,
+
         forcedMissRadius = 2.9,
         WorkToMake = 1.15,
+
         warmupTime = 4.5,
 +
         range = 35.9,
 +
        ticksBetweenBurstShots = 20,
 +
        burstShotCount = 3,
 +
        onlyManualCast = true,
 +
        stopBurstWithoutLos = false,
 +
        targetParams = {
 +
          canTargetLocations = true,
 +
        },
 
       },
 
       },
       statOffsets = {
+
    },
         Beauty = 1,
+
    tools = {
 +
       {
 +
        label = "barrel",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 11.7,
 +
         cooldownTime = 2.6,
 
       },
 
       },
    },
 
  },
 
 
  ["ThingDef:BaseWeapon"] = {
 
    _ = {
 
      Abstract = true,
 
      Name = "BaseWeapon",
 
      DefCategory = "ThingDef",
 
      FileName = "BaseWeapons.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    thingClass = "ThingWithComps",
 
    category = "Item",
 
    altitudeLayer = "Item",
 
    useHitPoints = true,
 
    pathCost = 14,
 
    statBases = {
 
      MaxHitPoints = 100,
 
      Flammability = 1.0,
 
      DeteriorationRate = 2,
 
      Beauty = -3,
 
      SellPriceFactor = 0.20,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_Explosive",
 
         },
 
         },
 +
        explosiveRadius = 3.9,
 +
        explosiveDamageType = "Bomb",
 +
        requiredDamageTypeToExplode = "Flame",
 
       },
 
       },
 
       {
 
       {
         compClass = "CompEquippable",
+
         _ = {
 +
          Class = "CompProperties_BiocodableWeapon",
 +
        },
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseGun"] = {
+
   ["ThingDef:Bullet_Rocket"] = {
 
     _ = {
 
     _ = {
      Name = "BaseGun",
+
       ParentName = "BaseBullet",
      Abstract = true,
 
       ParentName = "BaseWeapon",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialConsumable.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     smeltable = true,
+
     defName = "Bullet_Rocket",
     thingCategories = {
+
     label = "rocket",
      "WeaponsRanged",
+
     thingClass = "Projectile_Explosive",
     },
+
     projectile = {
    statBases = {
+
       damageDef = "Bomb",
      Flammability = 0.5,
+
      explosionRadius = 3.9,
     },
+
      speed = 50,
    comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Art",
 
        },
 
        nameMaker = "NamerArtWeaponGun",
 
        descriptionMaker = "ArtDescription_WeaponGun",
 
        minQualityForArtistic = "Excellent",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseGunWithQuality"] = {
+
   ["ThingDef:Gun_DoomsdayRocket"] = {
 
     _ = {
 
     _ = {
      Name = "BaseGunWithQuality",
 
      Abstract = true,
 
 
       ParentName = "BaseGun",
 
       ParentName = "BaseGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialConsumable.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Gun_DoomsdayRocket",
 +
    label = "doomsday rocket launcher",
 +
    description = [[A single-use rocket launcher that fires a massive explosive projectile. Good against large groups of soft targets. Starts fires.\n\nBecause of its unwieldiness, single-use limitation, and the massive destruction it causes, it's said that one must be slightly crazy to use this weapon.]],
 +
    statBases = {
 +
      MarketValue = 1000,
 +
      Mass = 8,
 +
      RangedWeapon_Cooldown = 4.5,
 +
    },
 +
    weaponTags = {
 +
      "Gun",
 +
      "GunSingleUse",
 +
    },
 +
    tradeTags = {
 +
      "ExoticMisc",
 +
    },
 +
    verbs = {
 
       {
 
       {
         compClass = "CompQuality",
+
         verbClass = "Verb_ShootOneUse",
 +
        defaultProjectile = "Bullet_DoomsdayRocket",
 +
        forcedMissRadius = 1.9,
 +
        warmupTime = 4.5,
 +
        range = 35.9,
 +
        burstShotCount = 1,
 +
        onlyManualCast = true,
 +
        targetParams = {
 +
          canTargetLocations = true,
 +
        },
 
       },
 
       },
 
     },
 
     },
  },
+
    tools = {
 
+
      {
  ["ThingDef:BaseMakeableGun"] = {
+
        label = "barrel",
    _ = {
+
        capacities = {
      Name = "BaseMakeableGun",
+
          "Blunt",
      ParentName = "BaseGunWithQuality",
+
        },
      Abstract = true,
+
        power = 11.7,
      DefCategory = "ThingDef",
+
        cooldownTime = 2.6,
      FileName = "BaseWeapons.xml",
+
       },
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
     recipeMaker = {
+
     comps = {
       workSpeedStat = "GeneralLaborSpeed",
+
       {
      workSkill = "Crafting",
+
        _ = {
      effectWorking = "Smith",
+
          Class = "CompProperties_Explosive",
       soundWorking = "Recipe_Smith",
+
        },
       recipeUsers = {
+
        explosiveRadius = 7.8,
        "TableMachining",
+
        explosiveDamageType = "Bomb",
 +
        requiredDamageTypeToExplode = "Flame",
 +
       },
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_BiocodableWeapon",
 +
        },
 
       },
 
       },
      unfinishedThingDef = "UnfinishedGun",
 
      researchPrerequisite = "Gunsmithing",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseHumanMakeableGun"] = {
+
   ["ThingDef:Bullet_DoomsdayRocket"] = {
 
     _ = {
 
     _ = {
      Name = "BaseHumanMakeableGun",
+
       ParentName = "BaseBullet",
       ParentName = "BaseMakeableGun",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialConsumable.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     weaponTags = {
+
     defName = "Bullet_DoomsdayRocket",
      "Gun",
+
    label = "doomsday rocket",
     },
+
     thingClass = "Projectile_DoomsdayRocket",
     comps = {
+
     projectile = {
       {
+
       damageDef = "Bomb",
        _ = {
+
      explosionRadius = 7.8,
          Class = "CompProperties_BiocodableWeapon",
+
       speed = 50,
        },
 
       },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseBullet"] = {
+
   ["ThingDef:BaseGrenadeProjectile"] = {
 
     _ = {
 
     _ = {
       Name = "BaseBullet",
+
       Name = "BaseGrenadeProjectile",
 
       Abstract = true,
 
       Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
Line 18,382: Line 18,189:
 
     category = "Projectile",
 
     category = "Projectile",
 
     altitudeLayer = "Projectile",
 
     altitudeLayer = "Projectile",
     thingClass = "Bullet",
+
     thingClass = "Projectile_Explosive",
     label = "bullet",
+
     label = "projectile",
 
     useHitPoints = false,
 
     useHitPoints = false,
 +
    projectile = {
 +
      speed = 12,
 +
      arcHeightFactor = 2,
 +
      shadowSize = 0.4,
 +
    },
 
   },
 
   },
  
   ["ThingDef:BaseMeleeWeapon"] = {
+
   ["ThingDef:BaseMakeableGrenade"] = {
 
     _ = {
 
     _ = {
       Name = "BaseMeleeWeapon",
+
       Name = "BaseMakeableGrenade",
 +
      ParentName = "BaseWeapon",
 
       Abstract = true,
 
       Abstract = true,
      ParentName = "BaseWeapon",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
    },
 
    smeltable = true,
 
    thingCategories = {
 
      "WeaponsMelee",
 
 
     },
 
     },
 
     recipeMaker = {
 
     recipeMaker = {
Line 18,407: Line 18,215:
 
       soundWorking = "Recipe_Smith",
 
       soundWorking = "Recipe_Smith",
 
       recipeUsers = {
 
       recipeUsers = {
         "ElectricSmithy",
+
         "TableMachining",
        "FueledSmithy",
 
 
       },
 
       },
       unfinishedThingDef = "UnfinishedWeapon",
+
       unfinishedThingDef = "UnfinishedGun",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseMeleeWeapon_Sharp"] = {
+
   ["ThingDef:Weapon_GrenadeFrag"] = {
 
     _ = {
 
     _ = {
      Name = "BaseMeleeWeapon_Sharp",
+
       ParentName = "BaseMakeableGrenade",
       ParentName = "BaseMeleeWeapon",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Weapon_GrenadeFrag",
       defaultIngredientFilter = {
+
    label = "frag grenades",
         categories = {
+
    description = [[Old-school fragmentation grenades. They can be thrown a short distance, where they'll explode, damaging anything and anyone nearby.]],
           "Root",
+
    statBases = {
 +
       Mass = 1,
 +
      RangedWeapon_Cooldown = 2.66,
 +
      WorkToMake = 12000,
 +
    },
 +
    costList = {
 +
      Steel = 20,
 +
      Chemfuel = 80,
 +
    },
 +
    weaponTags = {
 +
      "GrenadeDestructive",
 +
    },
 +
    thingCategories = {
 +
      "Grenades",
 +
    },
 +
    verbs = {
 +
      {
 +
        label = "throw frag grenade",
 +
        verbClass = "Verb_LaunchProjectile",
 +
        range = 12.9,
 +
        forcedMissRadius = 1.9,
 +
         warmupTime = 1.5,
 +
        noiseRadius = 4,
 +
        targetParams = {
 +
           canTargetLocations = true,
 
         },
 
         },
         disallowedThingDefs = {
+
         defaultProjectile = "Proj_GrenadeFrag",
          "Silver",
+
      },
          "Gold",
+
    },
           "WoodLog",
+
    comps = {
 +
      {
 +
        _ = {
 +
           Class = "CompProperties_Explosive",
 
         },
 
         },
 +
        explosiveRadius = 2.66,
 +
        explosiveDamageType = "Bomb",
 +
        requiredDamageTypeToExplode = "Flame",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseMeleeWeapon_Blunt"] = {
+
   ["ThingDef:BaseFragGrenadeProjectile"] = {
 
     _ = {
 
     _ = {
       Name = "BaseMeleeWeapon_Blunt",
+
       Name = "BaseFragGrenadeProjectile",
       ParentName = "BaseMeleeWeapon",
+
       ParentName = "BaseGrenadeProjectile",
 
       Abstract = true,
 
       Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     thingClass = "Projectile_Explosive",
      defaultIngredientFilter = {
+
    projectile = {
        categories = {
+
      explosionRadius = 1.9,
          "Root",
+
      damageDef = "Bomb",
        },
+
       explosionDelay = 100,
        disallowedThingDefs = {
 
          "Silver",
 
          "Gold",
 
        },
 
       },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseMeleeWeapon_Sharp_Quality"] = {
+
   ["ThingDef:Proj_GrenadeFrag"] = {
 
     _ = {
 
     _ = {
      Name = "BaseMeleeWeapon_Sharp_Quality",
+
       ParentName = "BaseFragGrenadeProjectile",
      Abstract = true,
 
       ParentName = "BaseMeleeWeapon_Sharp",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Proj_GrenadeFrag",
      {
+
    label = "frag grenade",
        compClass = "CompQuality",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Art",
 
        },
 
        nameMaker = "NamerArtWeaponMelee",
 
        descriptionMaker = "ArtDescription_WeaponMelee",
 
        minQualityForArtistic = "Excellent",
 
      },
 
    },
 
 
   },
 
   },
  
   ["ThingDef:BaseMeleeWeapon_Blunt_Quality"] = {
+
   ["ThingDef:Weapon_GrenadeMolotov"] = {
 
     _ = {
 
     _ = {
      Name = "BaseMeleeWeapon_Blunt_Quality",
+
       ParentName = "BaseMakeableGrenade",
      Abstract = true,
 
       ParentName = "BaseMeleeWeapon_Sharp",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "BaseWeapons.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    comps = {
+
     defName = "Weapon_GrenadeMolotov",
      {
+
     label = "molotov cocktails",
        compClass = "CompQuality",
+
     description = [[Glass bottles filled with flammable liquid, with a burning cloth in the neck. A favorite weapon of hooligans and desperate warriors from rim to rim.]],
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Art",
 
        },
 
        nameMaker = "NamerArtWeaponMelee",
 
        descriptionMaker = "ArtDescription_WeaponMelee",
 
        minQualityForArtistic = "Excellent",
 
      },
 
    },
 
  },
 
 
 
  ["ThingDef:MeleeWeapon_Mace"] = {
 
    _ = {
 
      ParentName = "BaseMeleeWeapon_Blunt_Quality",
 
      DefCategory = "ThingDef",
 
      FileName = "MeleeMedieval.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
     defName = "MeleeWeapon_Mace",
 
     label = "mace",
 
     description = [[A refined club, engineered for efficient swinging and deadly impacts.]],
 
    costStuffCount = 50,
 
 
     statBases = {
 
     statBases = {
 +
      Mass = 1,
 +
      RangedWeapon_Cooldown = 2.66,
 
       WorkToMake = 6000,
 
       WorkToMake = 6000,
      Mass = 1.25,
 
 
     },
 
     },
     recipeMaker = {
+
     costList = {
       skillRequirements = {
+
       Cloth = 25,
        Crafting = 3,
+
       Chemfuel = 80,
       },
 
 
     },
 
     },
     stuffCategories = {
+
     weaponTags = {
       "Metallic",
+
       "GrenadeDestructive",
      "Woody",
 
 
     },
 
     },
     weaponTags = {
+
     thingCategories = {
       "MedievalMeleeDecent",
+
       "Grenades",
 
     },
 
     },
     tools = {
+
     verbs = {
 
       {
 
       {
         label = "handle",
+
         label = "throw molotov",
         capacities = {
+
         verbClass = "Verb_LaunchProjectile",
           "Poke",
+
        range = 12.9,
 +
        forcedMissRadius = 1.9,
 +
        warmupTime = 1.5,
 +
        noiseRadius = 4,
 +
        targetParams = {
 +
           canTargetLocations = true,
 
         },
 
         },
         power = 9,
+
         defaultProjectile = "Proj_GrenadeMolotov",
        cooldownTime = 2,
 
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
         label = "head",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_Explosive",
           "Blunt",
 
 
         },
 
         },
         power = 15.7,
+
         explosiveRadius = 2.66,
         cooldownTime = 2,
+
        explosiveDamageType = "Flame",
 +
         requiredDamageTypeToExplode = "Flame",
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MeleeWeapon_Gladius"] = {
+
   ["ThingDef:BaseIncendiaryProjectile"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
+
      Name = "BaseIncendiaryProjectile",
 +
       ParentName = "BaseGrenadeProjectile",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "MeleeMedieval.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MeleeWeapon_Gladius",
+
     projectile = {
    label = "gladius",
+
      explosionRadius = 1.1,
    description = [[A short sword of ancient design. Good for stabbing or slashing. It's light and nimble, which sometimes lets it beat bigger, heavier weapons.]],
+
      damageDef = "Flame",
    costStuffCount = 50,
+
      preExplosionSpawnThingDef = "Filth_Fuel",
    weaponTags = {
+
      ai_IsIncendiary = true,
      "MedievalMeleeDecent",
+
      shadowSize = 0.6,
 
     },
 
     },
     statBases = {
+
  },
       WorkToMake = 12000,
+
 
       Mass = 0.85,
+
  ["ThingDef:Proj_GrenadeMolotov"] = {
 +
     _ = {
 +
       ParentName = "BaseIncendiaryProjectile",
 +
      DefCategory = "ThingDef",
 +
      FileName = "RangedIndustrialGrenades.xml",
 +
       GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     stuffCategories = {
+
     defName = "Proj_GrenadeMolotov",
       "Metallic",
+
    label = "molotov cocktail",
       "Woody",
+
  },
 +
 
 +
  ["ThingDef:Weapon_GrenadeEMP"] = {
 +
    _ = {
 +
      ParentName = "BaseMakeableGrenade",
 +
      DefCategory = "ThingDef",
 +
      FileName = "RangedIndustrialGrenades.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Weapon_GrenadeEMP",
 +
    label = "EMP grenades",
 +
    description = [[Electromagnetic pulse grenades damaging to electronic equipment.]],
 +
    statBases = {
 +
      Mass = 1,
 +
      RangedWeapon_Cooldown = 2.66,
 +
      WorkToMake = 24000,
 +
    },
 +
    costList = {
 +
      Steel = 20,
 +
      ComponentIndustrial = 6,
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "MicroelectronicsBasics",
 +
    },
 +
    weaponTags = {
 +
       "GrenadeEMP",
 +
    },
 +
    thingCategories = {
 +
       "Grenades",
 
     },
 
     },
     tools = {
+
     verbs = {
 
       {
 
       {
         label = "handle",
+
         label = "throw EMP grenade",
         capacities = {
+
         verbClass = "Verb_LaunchProjectile",
           "Blunt",
+
        range = 12.9,
 +
        forcedMissRadius = 1.9,
 +
        warmupTime = 1.5,
 +
        noiseRadius = 4,
 +
        targetParams = {
 +
           canTargetLocations = true,
 
         },
 
         },
         power = 9,
+
         defaultProjectile = "Proj_GrenadeEMP",
        cooldownTime = 2,
 
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
         label = "point",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_Explosive",
           "Stab",
 
 
         },
 
         },
         power = 16,
+
         explosiveRadius = 2.66,
        cooldownTime = 2,
+
         explosiveDamageType = "EMP",
      },
+
         requiredDamageTypeToExplode = "Flame",
      {
 
         label = "edge",
 
         capacities = {
 
          "Cut",
 
        },
 
        power = 16,
 
        cooldownTime = 2,
 
 
       },
 
       },
 
     },
 
     },
     recipeMaker = {
+
     smeltProducts = {
       researchPrerequisite = "Smithing",
+
       Steel = 10,
      skillRequirements = {
 
        Crafting = 3,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MeleeWeapon_LongSword"] = {
+
   ["ThingDef:Proj_GrenadeEMP"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
+
       ParentName = "BaseGrenadeProjectile",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "MeleeMedieval.xml",
+
       FileName = "RangedIndustrialGrenades.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MeleeWeapon_LongSword",
+
     defName = "Proj_GrenadeEMP",
     label = "longsword",
+
     label = "EMP grenade",
     description = [[The ancient weapon of kings, the longsword can be used for slashing or stabbing.]],
+
     thingClass = "Projectile_Explosive",
     weaponTags = {
+
     projectile = {
       "MedievalMeleeAdvanced",
+
       explosionRadius = 3.5,
 +
      damageDef = "EMP",
 +
      explosionDelay = 100,
 
     },
 
     },
     costStuffCount = 100,
+
  },
    statBases = {
+
 
       WorkToMake = 18000,
+
  ["ThingDef:Bullet_ChargeBlasterHeavy"] = {
       Mass = 2,
+
     _ = {
 +
      ParentName = "BaseBullet",
 +
      DefCategory = "ThingDef",
 +
       FileName = "RangedMechanoid.xml",
 +
       GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     stuffCategories = {
+
     defName = "Bullet_ChargeBlasterHeavy",
      "Metallic",
+
     label = "charge blaster shot",
      "Woody",
+
    projectile = {
     },
+
       damageDef = "Bullet",
    tools = {
+
       damageAmountBase = 15,
      {
+
       speed = 90,
        label = "handle",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
      {
 
        label = "point",
 
        capacities = {
 
          "Stab",
 
        },
 
        power = 23,
 
        cooldownTime = 2.6,
 
      },
 
       {
 
        label = "edge",
 
        capacities = {
 
          "Cut",
 
        },
 
        power = 23,
 
        cooldownTime = 2.6,
 
      },
 
    },
 
    recipeMaker = {
 
       researchPrerequisite = "LongBlades",
 
       skillRequirements = {
 
        Crafting = 5,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MeleeWeapon_Club"] = {
+
   ["ThingDef:Gun_ChargeBlasterHeavyBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMeleeWeapon_Blunt",
+
      Abstract = true,
 +
       ParentName = "BaseGunWithQuality",
 +
      Name = "Gun_ChargeBlasterHeavyBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "MeleeNeolithic.xml",
+
       FileName = "RangedMechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "MeleeWeapon_Club",
+
     label = "heavy charge blaster",
     label = "club",
+
     description = [[A pulse-charged rapid-fire blaster for area suppressive fire. Heavy cooling allows long, deadly bursts.]],
     description = [[A shaped stick, heavy at one end, for bashing enemies to death. This weapon is so old it's part of human biology. Evolutionary biologists say that a major reason humans can tilt our wrists side-to-side (instead of just forward-and-back like other primates) is to be able to better swing a club.]],
 
    weaponTags = {
 
      "NeolithicMeleeBasic",
 
    },
 
    costStuffCount = 40,
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 1200,
+
       MarketValue = 1400,
       Mass = 2,
+
       Mass = 22,
    },
+
      AccuracyTouch = 0.18,
    stuffCategories = {
+
       AccuracyShort = 0.26,
      "Metallic",
+
       AccuracyMedium = 0.26,
       "Woody",
+
       AccuracyLong = 0.18,
       "Stony",
+
       RangedWeapon_Cooldown = 7.4,
    },
 
    recipeMaker = {
 
       recipeUsers = {
 
        "CraftingSpot",
 
       },
 
 
     },
 
     },
 +
    tradeability = "None",
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "handle",
+
         label = "barrel",
        capacities = {
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
      {
 
        label = "head",
 
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 14,
+
         power = 11.7,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MeleeWeapon_Knife"] = {
+
   ["ThingDef:Gun_ChargeBlasterHeavy"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
+
       ParentName = "Gun_ChargeBlasterHeavyBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "MeleeNeolithic.xml",
+
       FileName = "RangedMechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MeleeWeapon_Knife",
+
     defName = "Gun_ChargeBlasterHeavy",
     label = "knife",
+
     verbs = {
    description = [[One of mankind's oldest manufactured objects. The knife has taken many forms, but the concept has always remained the same: A handle for holding and a sharp edge for cutting.]],
+
      {
 +
        verbClass = "Verb_Shoot",
 +
        defaultProjectile = "Bullet_ChargeBlasterHeavy",
 +
        warmupTime = 1.25,
 +
        range = 26.9,
 +
        ticksBetweenBurstShots = 5,
 +
        burstShotCount = 24,
 +
      },
 +
    },
 
     weaponTags = {
 
     weaponTags = {
       "MedievalMeleeBasic",
+
       "MechanoidGunHeavy",
       "NeolithicMeleeBasic",
+
    },
 +
  },
 +
 
 +
  ["ThingDef:Bullet_InfernoCannon"] = {
 +
    _ = {
 +
      ParentName = "BaseBullet",
 +
      DefCategory = "ThingDef",
 +
      FileName = "RangedMechanoid.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Bullet_InfernoCannon",
 +
    label = "inferno cannon shell",
 +
    thingClass = "Projectile_Explosive",
 +
    projectile = {
 +
      damageDef = "Flame",
 +
      speed = 45,
 +
      explosionRadius = 2.4,
 +
      preExplosionSpawnThingDef = "Filth_Fuel",
 +
      preExplosionSpawnChance = 0.27,
 +
      ai_IsIncendiary = true,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:Gun_InfernoCannonBase"] = {
 +
    _ = {
 +
      Abstract = true,
 +
      ParentName = "BaseGunWithQuality",
 +
      Name = "Gun_InfernoCannonBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "RangedMechanoid.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     costStuffCount = 30,
+
     label = "inferno cannon",
 +
    description = [[An incendiary-shot mini-artillery device. It fires a large incendiary warhead.]],
 
     statBases = {
 
     statBases = {
       WorkToMake = 1800,
+
       MarketValue = 1400,
       Mass = 0.5,
+
       Mass = 18,
    },
+
      RangedWeapon_Cooldown = 8.4,
    stuffCategories = {
 
      "Metallic",
 
 
     },
 
     },
 +
    tradeability = "None",
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "handle",
+
         label = "barrel",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 9,
+
         power = 11.7,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
      },
 
      {
 
        label = "blade",
 
        capacities = {
 
          "Cut",
 
        },
 
        power = 12,
 
        cooldownTime = 1.5,
 
      },
 
      {
 
        label = "point",
 
        capacities = {
 
          "Stab",
 
        },
 
        power = 13,
 
        cooldownTime = 2,
 
      },
 
    },
 
    recipeMaker = {
 
      recipeUsers = {
 
        "CraftingSpot",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:MeleeWeapon_Ikwa"] = {
+
   ["ThingDef:Gun_InfernoCannon"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
+
       ParentName = "Gun_InfernoCannonBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "MeleeNeolithic.xml",
+
       FileName = "RangedMechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MeleeWeapon_Ikwa",
+
     defName = "Gun_InfernoCannon",
    label = "ikwa",
 
    description = [[A short spearhandle attached to a long bladed point, designed to be driven into vital organs with a quick thrust.]],
 
 
     weaponTags = {
 
     weaponTags = {
       "NeolithicMeleeDecent",
+
       "MechanoidGunHeavy",
 
     },
 
     },
     costStuffCount = 50,
+
     verbs = {
    statBases = {
 
      WorkToMake = 5000,
 
      Mass = 1.1,
 
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
    },
 
    tools = {
 
 
       {
 
       {
         label = "handle",
+
         verbClass = "Verb_Shoot",
         capacities = {
+
         defaultProjectile = "Bullet_InfernoCannon",
          "Blunt",
+
        forcedMissRadius = 3.5,
          "Poke",
+
         warmupTime = 1.25,
         },
+
         range = 26.9,
         power = 9,
+
         burstShotCount = 1,
         cooldownTime = 2,
 
 
       },
 
       },
      {
+
     },
        label = "head",
 
        capacities = {
 
          "Stab",
 
        },
 
        power = 15,
 
        cooldownTime = 2,
 
      },
 
      {
 
        label = "edge",
 
        capacities = {
 
          "Cut",
 
        },
 
        power = 15,
 
        cooldownTime = 2,
 
      },
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "Smithing",
 
      skillRequirements = {
 
        Crafting = 3,
 
      },
 
     },
 
 
   },
 
   },
  
   ["ThingDef:MeleeWeapon_Spear"] = {
+
   ["ThingDef:Gun_Needle"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMeleeWeapon_Sharp_Quality",
+
       ParentName = "BaseGunWithQuality",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "MeleeNeolithic.xml",
+
       FileName = "RangedMechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "MeleeWeapon_Spear",
+
     defName = "Gun_Needle",
     label = "spear",
+
     label = "needle gun",
     description = [[A polearm tipped with a sharp point for stabbing opponents.]],
+
     description = [[A long-range weapon used by mechanoids. Named after its needle-like projectiles, it fires single shots with great accuracy. While it does less damage than charge weapons, it can reach over very long distances.]],
 +
    tradeability = "None",
 +
    statBases = {
 +
      MarketValue = 1400,
 +
      Mass = 2.6,
 +
      AccuracyTouch = 0.60,
 +
      AccuracyShort = 0.80,
 +
      AccuracyMedium = 0.90,
 +
      AccuracyLong = 0.85,
 +
      RangedWeapon_Cooldown = 2.1,
 +
    },
 
     weaponTags = {
 
     weaponTags = {
       "NeolithicMeleeAdvanced",
+
       "MechanoidGunLongRange",
      "MedievalMeleeAdvanced",
 
 
     },
 
     },
     costStuffCount = 75,
+
     verbs = {
    statBases = {
+
      {
      WorkToMake = 12000,
+
        verbClass = "Verb_Shoot",
      Mass = 2,
+
        defaultProjectile = "Bullet_NeedleGun",
    },
+
        warmupTime = 2.5,
    stuffCategories = {
+
        range = 44.9,
      "Metallic",
+
       },
       "Woody",
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "shaft",
+
         label = "barrel",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
 
           "Poke",
 
           "Poke",
 
         },
 
         },
         power = 13,
+
         power = 9,
        cooldownTime = 2.6,
 
      },
 
      {
 
        label = "point",
 
        capacities = {
 
          "Stab",
 
        },
 
        power = 23,
 
 
         cooldownTime = 2.6,
 
         cooldownTime = 2.6,
      },
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "LongBlades",
 
      skillRequirements = {
 
        Crafting = 4,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Revolver"] = {
+
   ["ThingDef:Bullet_NeedleGun"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BaseBullet",
 
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedMechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Revolver",
+
     defName = "Bullet_NeedleGun",
     label = "revolver bullet",
+
     label = "needle shot",
 
     projectile = {
 
     projectile = {
 
       damageDef = "Bullet",
 
       damageDef = "Bullet",
       damageAmountBase = 12,
+
       damageAmountBase = 15,
       stoppingPower = 1,
+
      armorPenetrationBase = 0.35,
       speed = 55,
+
       stoppingPower = 1.5,
 +
       speed = 90,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_Revolver"] = {
+
   ["ThingDef:BaseWeaponNeolithic"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
      Name = "BaseWeaponNeolithic",
 +
      Abstract = true,
 +
       ParentName = "BaseWeapon",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_Revolver",
+
    weaponTags = {
     label = "revolver",
+
      "Neolithic",
     description = [[An ancient pattern double-action revolver. It's not very powerful, but has a decent range for a pistol and is quick on the draw.]],
+
    },
 +
    thingCategories = {
 +
      "WeaponsRanged",
 +
    },
 +
    comps = {
 +
      {
 +
        compClass = "CompQuality",
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      workSpeedStat = "GeneralLaborSpeed",
 +
      workSkill = "Crafting",
 +
      recipeUsers = {
 +
        "ElectricSmithy",
 +
        "FueledSmithy",
 +
      },
 +
      effectWorking = "Smelt",
 +
      soundWorking = "Recipe_MakeBow",
 +
      unfinishedThingDef = "UnfinishedWeapon",
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:BaseProjectileNeolithic"] = {
 +
    _ = {
 +
      Name = "BaseProjectileNeolithic",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "RangedNeolithic.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    category = "Projectile",
 +
    altitudeLayer = "Projectile",
 +
    thingClass = "Bullet",
 +
    label = "arrow",
 +
    useHitPoints = false,
 +
  },
 +
 
 +
  ["ThingDef:Bow_Short"] = {
 +
    _ = {
 +
      ParentName = "BaseWeaponNeolithic",
 +
      DefCategory = "ThingDef",
 +
      FileName = "RangedNeolithic.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
     defName = "Bow_Short",
 +
     label = "short bow",
 +
     description = [[A simple short selfbow made from a single piece of wood.]],
 +
    costList = {
 +
      WoodLog = 30,
 +
    },
 
     statBases = {
 
     statBases = {
       WorkToMake = 4000,
+
       WorkToMake = 2400,
       Mass = 1.4,
+
       Mass = 0.8,
       AccuracyTouch = 0.80,
+
       AccuracyTouch = 0.75,
       AccuracyShort = 0.75,
+
       AccuracyShort = 0.65,
 
       AccuracyMedium = 0.45,
 
       AccuracyMedium = 0.45,
       AccuracyLong = 0.35,
+
       AccuracyLong = 0.25,
       RangedWeapon_Cooldown = 1.6,
+
       RangedWeapon_Cooldown = 1.65,
 
     },
 
     },
 
     weaponTags = {
 
     weaponTags = {
       "SimpleGun",
+
       "NeolithicRangedBasic",
      "Revolver",
 
    },
 
    costList = {
 
      Steel = 30,
 
      ComponentIndustrial = 2,
 
 
     },
 
     },
 
     recipeMaker = {
 
     recipeMaker = {
 +
      recipeUsers = {
 +
        "CraftingSpot",
 +
      },
 
       skillRequirements = {
 
       skillRequirements = {
         Crafting = 3,
+
         Crafting = 2,
 
       },
 
       },
 
     },
 
     },
Line 18,941: Line 18,763:
 
       {
 
       {
 
         verbClass = "Verb_Shoot",
 
         verbClass = "Verb_Shoot",
         defaultProjectile = "Bullet_Revolver",
+
         defaultProjectile = "Arrow_Short",
         warmupTime = 0.3,
+
         warmupTime = 1.35,
         range = 25.9,
+
         range = 22.9,
 
       },
 
       },
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "grip",
+
         label = "limb",
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
      {
 
        label = "barrel",
 
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
Line 18,967: Line 18,781:
 
   },
 
   },
  
   ["ThingDef:Gun_Autopistol"] = {
+
   ["ThingDef:Arrow_Short"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "BaseProjectileNeolithic",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_Autopistol",
+
     defName = "Arrow_Short",
     label = "autopistol",
+
     label = "shortbow arrow",
     description = [[An ancient pattern blowback-operated self-loading pistol. It lacks stopping power and range, but is quick to fire.]],
+
     projectile = {
     recipeMaker = {
+
      damageDef = "Arrow",
       researchPrerequisite = "BlowbackOperation",
+
      damageAmountBase = 11,
       skillRequirements = {
+
      speed = 44,
        Crafting = 4,
+
    },
       },
+
  },
 +
 
 +
  ["ThingDef:Pila"] = {
 +
     _ = {
 +
       ParentName = "BaseWeaponNeolithic",
 +
       DefCategory = "ThingDef",
 +
      FileName = "RangedNeolithic.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     weaponTags = {
+
     defName = "Pila",
       "SimpleGun",
+
    label = "pila",
 +
    description = [[Pila are spears for throwing. They take a long time to throw, but one hit can do heavy damage. This weapon represents a bundle of pila and can be thrown over and over. The singular of pila is pilum.]],
 +
    costList = {
 +
       WoodLog = 70,
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       WorkToMake = 5000,
+
       WorkToMake = 7000,
       Mass = 1.2,
+
       Mass = 4,
       AccuracyTouch = 0.80,
+
       AccuracyTouch = 0.50,
       AccuracyShort = 0.70,
+
       AccuracyShort = 0.71,
       AccuracyMedium = 0.40,
+
       AccuracyMedium = 0.50,
       AccuracyLong = 0.30,
+
       AccuracyLong = 0.32,
       RangedWeapon_Cooldown = 1,
+
       RangedWeapon_Cooldown = 4,
 +
    },
 +
    weaponTags = {
 +
      "NeolithicRangedHeavy",
 
     },
 
     },
     costList = {
+
     recipeMaker = {
       Steel = 30,
+
       skillRequirements = {
       ComponentIndustrial = 2,
+
        Crafting = 3,
 +
       },
 
     },
 
     },
 
     verbs = {
 
     verbs = {
 
       {
 
       {
 
         verbClass = "Verb_Shoot",
 
         verbClass = "Verb_Shoot",
         defaultProjectile = "Bullet_Autopistol",
+
         defaultProjectile = "Pilum_Thrown",
         warmupTime = 0.3,
+
         warmupTime = 4,
         range = 25.9,
+
         range = 18.9,
 
       },
 
       },
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "grip",
+
         label = "shaft",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
Line 19,018: Line 18,847:
 
       },
 
       },
 
       {
 
       {
         label = "barrel",
+
         label = "point",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Stab",
          "Poke",
 
 
         },
 
         },
 
         power = 9,
 
         power = 9,
Line 19,029: Line 18,857:
 
   },
 
   },
  
   ["ThingDef:Bullet_Autopistol"] = {
+
   ["ThingDef:Pilum_Thrown"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "BaseProjectileNeolithic",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Autopistol",
+
     defName = "Pilum_Thrown",
     label = "autopistol bullet",
+
     label = "pilum",
 
     projectile = {
 
     projectile = {
       damageDef = "Bullet",
+
       damageDef = "RangedStab",
       damageAmountBase = 10,
+
       damageAmountBase = 25,
       speed = 55,
+
      stoppingPower = 2.5,
 +
      armorPenetrationBase = 0.10,
 +
       speed = 26,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_MachinePistol"] = {
+
   ["ThingDef:Bow_Recurve"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "BaseWeaponNeolithic",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_MachinePistol",
+
     defName = "Bow_Recurve",
     label = "machine pistol",
+
     label = "recurve bow",
     description = [[A micro-submachine gun. It is short-ranged, but very light in the hands. Its rate of fire tends to make up for its weakness.]],
+
     description = [[A recurve bow. Its construction behaves like a tuned spring, storing energy more efficiently and delivering a faster shot.]],
     recipeMaker = {
+
     costList = {
       researchPrerequisite = "BlowbackOperation",
+
       WoodLog = 40,
      skillRequirements = {
 
        Crafting = 4,
 
      },
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       WorkToMake = 11000,
+
       WorkToMake = 5000,
       Mass = 2.5,
+
       Mass = 1.3,
       AccuracyTouch = 0.90,
+
       AccuracyTouch = 0.70,
       AccuracyShort = 0.65,
+
       AccuracyShort = 0.78,
       AccuracyMedium = 0.35,
+
       AccuracyMedium = 0.65,
       AccuracyLong = 0.15,
+
       AccuracyLong = 0.35,
       RangedWeapon_Cooldown = 0.9,
+
       RangedWeapon_Cooldown = 1.65,
 +
    },
 +
    weaponTags = {
 +
      "NeolithicRangedDecent",
 
     },
 
     },
     costList = {
+
     recipeMaker = {
       Steel = 45,
+
       recipeUsers = {
       ComponentIndustrial = 3,
+
        "CraftingSpot",
 +
      },
 +
       researchPrerequisite = "RecurveBow",
 +
      skillRequirements = {
 +
        Crafting = 5,
 +
      },
 
     },
 
     },
 
     verbs = {
 
     verbs = {
 
       {
 
       {
 
         verbClass = "Verb_Shoot",
 
         verbClass = "Verb_Shoot",
         defaultProjectile = "Bullet_MachinePistol",
+
         defaultProjectile = "Arrow_Recurve",
         warmupTime = 0.5,
+
         warmupTime = 1.45,
         range = 19.9,
+
         range = 25.9,
        burstShotCount = 3,
 
        ticksBetweenBurstShots = 7,
 
 
       },
 
       },
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "grip",
+
         label = "limb",
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
      {
 
        label = "barrel",
 
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
Line 19,107: Line 18,932:
 
   },
 
   },
  
   ["ThingDef:Bullet_MachinePistol"] = {
+
   ["ThingDef:Arrow_Recurve"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "BaseProjectileNeolithic",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_MachinePistol",
+
     defName = "Arrow_Recurve",
     label = "machine pistol bullet",
+
     label = "recurve bow arrow",
 
     projectile = {
 
     projectile = {
       damageDef = "Bullet",
+
       damageDef = "ArrowHighVelocity",
       damageAmountBase = 6,
+
       damageAmountBase = 14,
       speed = 55,
+
      stoppingPower = 1,
 +
       speed = 56,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_IncendiaryLauncher"] = {
+
   ["ThingDef:Bow_Great"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "BaseWeaponNeolithic",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_IncendiaryLauncher",
+
     defName = "Bow_Great",
     label = "incendiary launcher",
+
     label = "greatbow",
     description = [[A wide-barreled incendiary bolt launcher. The bolts create small incendiary explosions on impact, starting fires.]],
+
     description = [[A powerful greatbow. Fires a heavy arrow long distances.]],
 +
    costList = {
 +
      WoodLog = 60,
 +
    },
 
     statBases = {
 
     statBases = {
       WorkToMake = 20000,
+
       WorkToMake = 9000,
       Mass = 3.4,
+
       Mass = 3.0,
       RangedWeapon_Cooldown = 3.5,
+
      AccuracyTouch = 0.65,
 +
      AccuracyShort = 0.85,
 +
      AccuracyMedium = 0.75,
 +
      AccuracyLong = 0.50,
 +
       RangedWeapon_Cooldown = 1.5,
 
     },
 
     },
     costList = {
+
     weaponTags = {
       Steel = 75,
+
       "NeolithicRangedHeavy",
      ComponentIndustrial = 4,
+
       "NeolithicRangedChief",
    },
 
    recipeMaker = {
 
      skillRequirements = {
 
        Crafting = 4,
 
       },
 
 
     },
 
     },
 
     verbs = {
 
     verbs = {
 
       {
 
       {
 
         verbClass = "Verb_Shoot",
 
         verbClass = "Verb_Shoot",
         defaultProjectile = "Bullet_IncendiaryLauncher",
+
         defaultProjectile = "Arrow_Great",
         warmupTime = 3.5,
+
         warmupTime = 2.0,
         range = 23.9,
+
         range = 29.9,
        forcedMissRadius = 1.9,
 
        burstShotCount = 1,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
 
       },
 
       },
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "stock",
+
         label = "limb",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
 +
          "Poke",
 
         },
 
         },
 
         power = 9,
 
         power = 9,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
       },
 
       },
       {
+
    },
         label = "barrel",
+
    recipeMaker = {
        capacities = {
+
       recipeUsers = {
          "Blunt",
+
         "CraftingSpot",
          "Poke",
+
      },
        },
+
      researchPrerequisite = "Greatbow",
        power = 9,
+
      skillRequirements = {
         cooldownTime = 2,
+
         Crafting = 6,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_IncendiaryLauncher"] = {
+
   ["ThingDef:Arrow_Great"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "BaseProjectileNeolithic",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedNeolithic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_IncendiaryLauncher",
+
     defName = "Arrow_Great",
     label = "incendiary bolt",
+
     label = "greatbow arrow",
    thingClass = "Projectile_Explosive",
 
 
     projectile = {
 
     projectile = {
      speed = 40,
+
       damageDef = "Arrow",
       damageDef = "Flame",
+
       damageAmountBase = 17,
       explosionRadius = 1.1,
+
       stoppingPower = 1.5,
       preExplosionSpawnThingDef = "Filth_Fuel",
+
       armorPenetrationBase = 0.15,
      preExplosionSpawnChance = 0.6,
+
       speed = 49,
       ai_IsIncendiary = true,
 
      arcHeightFactor = 0.2,
 
       shadowSize = 0.6,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_SmokeLauncher"] = {
+
   ["ThingDef:Gun_ChargeRifle"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BaseHumanMakeableGun",
 
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpacer.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_SmokeLauncher",
+
     defName = "Gun_ChargeRifle",
     label = "smoke launcher",
+
     label = "charge rifle",
     description = [[A wide-barreled smoke shell launcher. The shell will upon impact release a cloud of smoke, obscuring incoming shots and preventing turrets from locking on.]],
+
     description = [[A charged-shot assault rifle. Pulse-charge technology charges each shot with unstable energy as it leaves the barrel. Released on impact, the charged energy greatly increases the damage done.]],
 
     statBases = {
 
     statBases = {
       WorkToMake = 30000,
+
       WorkToMake = 45000,
       Mass = 3.4,
+
       Mass = 4.6,
       RangedWeapon_Cooldown = 4.5,
+
      AccuracyTouch = 0.55,
 +
      AccuracyShort = 0.64,
 +
      AccuracyMedium = 0.55,
 +
      AccuracyLong = 0.45,
 +
       RangedWeapon_Cooldown = 2.00,
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "ChargedShot",
 +
      skillRequirements = {
 +
        Crafting = 7,
 +
      },
 +
      recipeUsers = {
 +
        _ = {
 +
          Inherit = false,
 +
        },
 +
        "FabricationBench",
 +
      },
 
     },
 
     },
 
     costList = {
 
     costList = {
       Steel = 75,
+
       Plasteel = 50,
       ComponentIndustrial = 4,
+
       ComponentSpacer = 2,
 
     },
 
     },
 
     weaponTags = {
 
     weaponTags = {
      _ = {
+
       "SpacerGun",
        Inherit = false,
 
      },
 
       "GrenadeSmoke",
 
    },
 
    recipeMaker = {
 
      skillRequirements = {
 
        Crafting = 4,
 
      },
 
 
     },
 
     },
 
     verbs = {
 
     verbs = {
 
       {
 
       {
 
         verbClass = "Verb_Shoot",
 
         verbClass = "Verb_Shoot",
         defaultProjectile = "Bullet_SmokeLauncher",
+
         defaultProjectile = "Bullet_ChargeRifle",
         warmupTime = 3.5,
+
         warmupTime = 1.0,
         range = 23.9,
+
         range = 25.9,
         forcedMissRadius = 1.9,
+
         ticksBetweenBurstShots = 12,
         burstShotCount = 1,
+
         burstShotCount = 3,
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
 
       },
 
       },
 
     },
 
     },
Line 19,271: Line 19,096:
 
   },
 
   },
  
   ["ThingDef:Bullet_SmokeLauncher"] = {
+
   ["ThingDef:Bullet_ChargeRifle"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BaseBullet",
 
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpacer.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_SmokeLauncher",
+
     defName = "Bullet_ChargeRifle",
     label = "smoke launcher shell",
+
     label = "charge shot",
    thingClass = "Projectile_Explosive",
 
 
     projectile = {
 
     projectile = {
      speed = 40,
+
       damageDef = "Bullet",
       damageDef = "Smoke",
+
       damageAmountBase = 15,
       explosionRadius = 2.4,
+
       armorPenetrationBase = 0.35,
      postExplosionSpawnThingDef = "Gas_Smoke",
+
       speed = 70,
       postExplosionSpawnChance = 1,
 
      ai_IsIncendiary = true,
 
      arcHeightFactor = 0.2,
 
       shadowSize = 0.6,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_EmpLauncher"] = {
+
   ["ThingDef:Gun_ChargeLance"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BaseHumanMakeableGun",
 
       ParentName = "BaseHumanMakeableGun",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpacer.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_EmpLauncher",
+
     defName = "Gun_ChargeLance",
     label = "EMP launcher",
+
     label = "charge lance",
     description = [[A wide-barreled EMP shell launcher. The shell will upon impact release a burst of electromagnetic energy, stunning mechanical targets (mechanoids, turrets, mortars) and depleting shields in the area of effect.]],
+
     description = [[A pulse-charged rail-assisted lance weapon. It fires a single shot at high velocity, charging it with unstable energy as it leaves the acceleration rail.]],
    weaponTags = {
 
      "GrenadeEMP",
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 30000,
+
       Mass = 8,
       Mass = 3.4,
+
       AccuracyTouch = 0.65,
       RangedWeapon_Cooldown = 3.5,
+
       AccuracyShort = 0.85,
    },
+
      AccuracyMedium = 0.85,
    costList = {
+
      AccuracyLong = 0.75,
       Steel = 75,
+
       RangedWeapon_Cooldown = 2.7,
       ComponentIndustrial = 8,
+
       WorkToMake = 60000,
 
     },
 
     },
 
     recipeMaker = {
 
     recipeMaker = {
 +
      researchPrerequisite = "ChargedShot",
 
       skillRequirements = {
 
       skillRequirements = {
         Crafting = 4,
+
         Crafting = 9,
 +
      },
 +
      recipeUsers = {
 +
        _ = {
 +
          Inherit = false,
 +
        },
 +
        "FabricationBench",
 
       },
 
       },
       researchPrerequisite = "MicroelectronicsBasics",
+
    },
 +
    costList = {
 +
      Plasteel = 60,
 +
       ComponentSpacer = 3,
 +
    },
 +
    weaponTags = {
 +
      "MechanoidGunMedium",
 +
      "SpacerGun",
 
     },
 
     },
 
     verbs = {
 
     verbs = {
 
       {
 
       {
 
         verbClass = "Verb_Shoot",
 
         verbClass = "Verb_Shoot",
         defaultProjectile = "Bullet_EMPLauncher",
+
         defaultProjectile = "Bullet_ChargeLance",
         warmupTime = 3.5,
+
         warmupTime = 1.7,
         range = 23.9,
+
         range = 29.9,
        forcedMissRadius = 1.9,
 
        burstShotCount = 1,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
 
       },
 
       },
 
     },
 
     },
 
     tools = {
 
     tools = {
      {
 
        label = "stock",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
 
       {
 
       {
 
         label = "barrel",
 
         label = "barrel",
Line 19,357: Line 19,175:
 
   },
 
   },
  
   ["ThingDef:Bullet_EMPLauncher"] = {
+
   ["ThingDef:Bullet_ChargeLance"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BaseBullet",
 
       ParentName = "BaseBullet",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpacer.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_EMPLauncher",
+
     defName = "Bullet_ChargeLance",
     label = "EMP launcher shell",
+
     label = "charge lance shot",
    thingClass = "Projectile_Explosive",
 
 
     projectile = {
 
     projectile = {
      speed = 40,
+
       damageDef = "Bullet",
       damageDef = "EMP",
+
       damageAmountBase = 30,
       explosionRadius = 1.1,
+
       stoppingPower = 1.5,
       ai_IsIncendiary = true,
+
       speed = 120,
      arcHeightFactor = 0.2,
 
       shadowSize = 0.6,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_BoltActionRifle"] = {
+
   ["ThingDef:OrbitalWeaponBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "BaseWeapon",
 +
      Name = "OrbitalWeaponBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpecial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_BoltActionRifle",
+
     thingCategories = {
    label = "bolt-action rifle",
+
      "WeaponsRanged",
     description = [[An ancient pattern bolt-action rifle. With its long range, and low fire rate, it is unlikely to drive animals to revenge, which makes it a favorite weapon for hunting.]],
+
     },
 
     statBases = {
 
     statBases = {
       WorkToMake = 12000,
+
       MarketValue = 1200,
       Mass = 3.5,
+
       Mass = 0.2,
       AccuracyTouch = 0.65,
+
      Beauty = -3,
       AccuracyShort = 0.80,
+
      Flammability = 0.5,
       AccuracyMedium = 0.90,
+
    },
       AccuracyLong = 0.80,
+
    tradeability = "Sellable",
       RangedWeapon_Cooldown = 1.5,
+
    tradeTags = {
 +
       "ExoticMisc",
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:OrbitalUtilityBase"] = {
 +
    _ = {
 +
      ParentName = "ApparelNoQualityBase",
 +
      Name = "OrbitalUtilityBase",
 +
       Abstract = true,
 +
       DefCategory = "ThingDef",
 +
       FileName = "RangedSpecial.xml",
 +
       GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     costList = {
+
     thingCategories = {
       Steel = 60,
+
       "ApparelUtility",
      ComponentIndustrial = 3,
 
 
     },
 
     },
     recipeMaker = {
+
     statBases = {
       skillRequirements = {
+
       MarketValue = 1200,
        Crafting = 5,
+
      Mass = 0.2,
       },
+
      Beauty = -3,
 +
       Flammability = 0.5,
 
     },
 
     },
     verbs = {
+
     tradeability = "Sellable",
      {
+
    tradeTags = {
        verbClass = "Verb_Shoot",
+
      "ExoticMisc",
        defaultProjectile = "Bullet_BoltActionRifle",
 
        warmupTime = 1.7,
 
        range = 36.9,
 
      },
 
 
     },
 
     },
     tools = {
+
     apparel = {
       {
+
       bodyPartGroups = {
         label = "stock",
+
         "Waist",
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
       {
+
       layers = {
         label = "barrel",
+
         "Belt",
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_BoltActionRifle"] = {
+
   ["ThingDef:OrbitalTargeterBombardment"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "OrbitalUtilityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpecial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_BoltActionRifle",
+
     defName = "OrbitalTargeterBombardment",
     label = "bolt-action rifle bullet",
+
     label = "orbital bombardment targeter",
     projectile = {
+
     description = [[An ancient targeting apparatus for an orbital bombardment system. This unit designates a target and transmits the coordinates to a network of satellites, which then bombard the target area with kinetic impactors. This unit has been reprogrammed to accept unauthorized users, but once it is used, the network will detect the incursion and cut off the link permanently.]],
       damageDef = "Bullet",
+
    verbs = {
       damageAmountBase = 18,
+
       {
      stoppingPower = 1.5,
+
        verbClass = "Verb_Bombardment",
       speed = 70,
+
        warmupTime = 3,
 +
        range = 44.9,
 +
        burstShotCount = 1,
 +
        onlyManualCast = true,
 +
        targetParams = {
 +
          canTargetLocations = true,
 +
        },
 +
      },
 +
    },
 +
    comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_Reloadable",
 +
        },
 +
        maxCharges = 1,
 +
        destroyOnEmpty = true,
 +
        hotKey = "Misc4",
 +
        chargeNoun = "charge",
 +
        displayGizmoWhileUndrafted = false,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_PumpShotgun"] = {
+
   ["ThingDef:OrbitalTargeterPowerBeam"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "OrbitalUtilityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpecial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_PumpShotgun",
+
     defName = "OrbitalTargeterPowerBeam",
     label = "pump shotgun",
+
     label = "orbital power beam targeter",
     description = [[An ancient design of shotgun that emits a tight-packed spray of pellets. Deadly, but short range.]],
+
     description = [[An ancient targeting unit for a network of power-collection satellites. Once aimed at a target, it directs ancient satellites to begin beaming power down in a massive column of electromagnetic energy. This power can safely be collected in a giant absorption dish. Since you have no absorption dish, you'll be aiming it at enemies, at which point the power column will turn the area into a thousand-degree inferno. This will last until the satellites detect the unsafe targeting, shut themselves down, and permanently deactivate the targeter.]],
    statBases = {
 
      WorkToMake = 12000,
 
      Mass = 3.4,
 
      AccuracyTouch = 0.80,
 
      AccuracyShort = 0.87,
 
      AccuracyMedium = 0.77,
 
      AccuracyLong = 0.64,
 
      RangedWeapon_Cooldown = 1.25,
 
    },
 
    costList = {
 
      Steel = 60,
 
      ComponentIndustrial = 3,
 
    },
 
    recipeMaker = {
 
      skillRequirements = {
 
        Crafting = 5,
 
      },
 
    },
 
 
     verbs = {
 
     verbs = {
 
       {
 
       {
         verbClass = "Verb_Shoot",
+
         verbClass = "Verb_PowerBeam",
         defaultProjectile = "Bullet_Shotgun",
+
         warmupTime = 3,
         warmupTime = 0.9,
+
         range = 44.9,
         range = 15.9,
+
         burstShotCount = 1,
 +
        onlyManualCast = true,
 +
        targetParams = {
 +
          canTargetLocations = true,
 +
        },
 
       },
 
       },
 
     },
 
     },
     tools = {
+
     comps = {
 
       {
 
       {
         label = "stock",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_Reloadable",
           "Blunt",
 
 
         },
 
         },
         power = 9,
+
         maxCharges = 1,
         cooldownTime = 2,
+
         destroyOnEmpty = true,
      },
+
         hotKey = "Misc4",
      {
+
         chargeNoun = "charge",
         label = "barrel",
+
         displayGizmoWhileUndrafted = false,
         capacities = {
 
          "Blunt",
 
          "Poke",
 
         },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Shotgun"] = {
+
   ["ThingDef:TornadoGenerator"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "OrbitalUtilityBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "RangedSpecial.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Shotgun",
+
     defName = "TornadoGenerator",
     label = "shotgun blast",
+
     label = "tornado generator",
    projectile = {
+
     description = [[An ancient control unit for a network of weather-control satellites. This device has had certain failsafes bypassed; it is capable of causing a massive air current disturbance, which will generate a tornado at a chosen location. The weather network will detect this unauthorized intrusion and lock out the device after use, but the tornado will be left to spend its energy normally.]],
      damageDef = "Bullet",
 
      damageAmountBase = 18,
 
      stoppingPower = 3,
 
      armorPenetrationBase = 0.14,
 
      speed = 55,
 
    },
 
  },
 
 
 
  ["ThingDef:Gun_ChainShotgun"] = {
 
    _ = {
 
      ParentName = "BaseHumanMakeableGun",
 
      DefCategory = "ThingDef",
 
      FileName = "RangedIndustrial.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Gun_ChainShotgun",
 
    label = "chain shotgun",
 
     description = [[A magazine-fed fully automatic shotgun. It is even shorter-ranged than a typical shotgun, but is extraordinarily dangerous due to burst fire.]],
 
    recipeMaker = {
 
      researchPrerequisite = "GasOperation",
 
      skillRequirements = {
 
        Crafting = 6,
 
      },
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 31000,
+
       MarketValue = 800,
      Mass = 4.5,
 
      AccuracyTouch = 0.57,
 
      AccuracyShort = 0.64,
 
      AccuracyMedium = 0.55,
 
      AccuracyLong = 0.45,
 
      RangedWeapon_Cooldown = 1.35,
 
    },
 
    costList = {
 
      Steel = 70,
 
      ComponentIndustrial = 5,
 
 
     },
 
     },
 
     verbs = {
 
     verbs = {
 
       {
 
       {
         verbClass = "Verb_Shoot",
+
         verbClass = "Verb_Spawn",
         defaultProjectile = "Bullet_Shotgun",
+
         warmupTime = 3,
         warmupTime = 1.2,
+
        spawnDef = "Tornado",
         range = 12.9,
+
         colonyWideTaleDef = "TornadoFromItem",
         burstShotCount = 3,
+
         range = 44.9,
         ticksBetweenBurstShots = 10,
+
         burstShotCount = 1,
 +
        onlyManualCast = true,
 +
         targetParams = {
 +
          canTargetLocations = true,
 +
        },
 
       },
 
       },
 
     },
 
     },
     weaponTags = {
+
     comps = {
      "IndustrialGunAdvanced",
 
    },
 
    tools = {
 
 
       {
 
       {
         label = "stock",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_Reloadable",
           "Blunt",
 
 
         },
 
         },
         power = 9,
+
         maxCharges = 1,
         cooldownTime = 2,
+
         destroyOnEmpty = true,
      },
+
         hotKey = "Misc4",
      {
+
         chargeNoun = "charge",
         label = "barrel",
+
         displayGizmoWhileUndrafted = false,
         capacities = {
 
          "Blunt",
 
          "Poke",
 
         },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_HeavySMG"] = {
+
   ["ThingDef:PlantBaseNonEdible"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       Name = "PlantBaseNonEdible",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Bases.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_HeavySMG",
+
     category = "Plant",
     label = "heavy SMG",
+
     thingClass = "Plant",
     description = [[A compact, wide-caliber slug-thrower. It's got a very short range, but it packs a punch and handles quite well.]],
+
     altitudeLayer = "LowPlant",
     recipeMaker = {
+
     useHitPoints = true,
      researchPrerequisite = "GasOperation",
+
    statBases = {
      skillRequirements = {
+
      Flammability = 1,
        Crafting = 5,
 
      },
 
 
     },
 
     },
     statBases = {
+
     pathCostIgnoreRepeat = false,
      WorkToMake = 24000,
+
    plant = {
      Mass = 3.5,
+
       fertilityMin = 0.7,
       AccuracyTouch = 0.85,
+
       fertilitySensitivity = 1.0,
       AccuracyShort = 0.65,
+
       sowWork = 170,
      AccuracyMedium = 0.35,
+
       harvestWork = 200,
       AccuracyLong = 0.20,
 
       RangedWeapon_Cooldown = 1.65,
 
 
     },
 
     },
     costList = {
+
  },
       Steel = 75,
+
 
       ComponentIndustrial = 4,
+
  ["ThingDef:PlantBase"] = {
 +
     _ = {
 +
       ParentName = "PlantBaseNonEdible",
 +
      Name = "PlantBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "Plants_Bases.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     verbs = {
+
     ingestible = {
       {
+
       foodType = {
        verbClass = "Verb_Shoot",
+
         "Plant",
        defaultProjectile = "Bullet_HeavySMG",
 
        warmupTime = 0.9,
 
        range = 22.9,
 
        burstShotCount = 3,
 
        ticksBetweenBurstShots = 11,
 
      },
 
    },
 
    weaponTags = {
 
      "IndustrialGunAdvanced",
 
    },
 
    tools = {
 
      {
 
        label = "grip",
 
        capacities = {
 
          "Blunt",
 
         },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
      {
 
        label = "barrel",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
 +
      preferability = "RawBad",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_HeavySMG"] = {
+
   ["ThingDef:BushBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "PlantBase",
 +
      Name = "BushBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Bases.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_HeavySMG",
+
     statBases = {
     label = "heavy SMG bullet",
+
      MaxHitPoints = 120,
     projectile = {
+
      Nutrition = 0.3,
      damageDef = "Bullet",
+
     },
       damageAmountBase = 12,
+
    fillPercent = 0.20,
       speed = 48,
+
     pathCost = 30,
 +
    plant = {
 +
       fertilitySensitivity = 0.5,
 +
       growDays = 3,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_LMG"] = {
+
   ["ThingDef:TreeBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "PlantBase",
 +
      Name = "TreeBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Bases.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
    },
 
    defName = "Gun_LMG",
 
    label = "LMG",
 
    description = [[A gas-operated light machine gun. While it is somewhat unwieldy and inaccurate, its long bursts of fire are effective against groups of enemies.]],
 
    recipeMaker = {
 
      researchPrerequisite = "GasOperation",
 
      skillRequirements = {
 
        Crafting = 6,
 
      },
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       WorkToMake = 34000,
+
       MaxHitPoints = 200,
       Mass = 8.5,
+
       Flammability = 0.8,
      AccuracyTouch = 0.40,
+
       Nutrition = 1.7,
      AccuracyShort = 0.48,
 
       AccuracyMedium = 0.35,
 
      AccuracyLong = 0.26,
 
      RangedWeapon_Cooldown = 1.8,
 
 
     },
 
     },
     costList = {
+
     altitudeLayer = "Building",
      Steel = 75,
+
    fillPercent = 0.25,
      ComponentIndustrial = 5,
+
    passability = "PassThroughOnly",
     },
+
     pathCost = 42,
     verbs = {
+
     ingestible = {
       {
+
       foodType = {
         verbClass = "Verb_Shoot",
+
         "Tree",
        defaultProjectile = "Bullet_LMG",
 
        warmupTime = 1.8,
 
        range = 25.9,
 
        ticksBetweenBurstShots = 7,
 
        burstShotCount = 6,
 
 
       },
 
       },
 +
      preferability = "RawBad",
 
     },
 
     },
     weaponTags = {
+
     plant = {
       "IndustrialGunAdvanced",
+
       lifespanDaysPerGrowDays = 9,
    },
+
      fertilitySensitivity = 0.5,
    tools = {
+
      sowWork = 4000,
       {
+
       sowMinSkill = 6,
        label = "stock",
+
      sowResearchPrerequisites = {
        capacities = {
+
        "TreeSowing",
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
       {
+
       harvestWork = 800,
        label = "barrel",
+
      harvestedThingDef = "WoodLog",
        capacities = {
+
      harvestYield = 25,
          "Blunt",
+
      harvestTag = "Wood",
          "Poke",
+
      harvestMinGrowth = 0.40,
        },
+
      harvestFailable = false,
        power = 9,
+
      blockAdjacentSow = true,
         cooldownTime = 2,
+
      sowTags = {
 +
         "Ground",
 
       },
 
       },
 +
      interferesWithRoof = true,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_LMG"] = {
+
   ["ThingDef:CavePlantBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
      Name = "CavePlantBase",
 +
       ParentName = "PlantBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Cave.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_LMG",
+
     plant = {
    label = "LMG bullet",
+
       growMinGlow = 0,
    projectile = {
+
       growOptimalGlow = 0,
       damageDef = "Bullet",
+
       cavePlant = true,
      damageAmountBase = 11,
 
       stoppingPower = 1,
 
       speed = 46,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_AssaultRifle"] = {
+
   ["ThingDef:Glowstool"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "CavePlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Cave.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_AssaultRifle",
+
     defName = "Glowstool",
     label = "assault rifle",
+
     label = "glowstool",
     description = [[A general-purpose gas-operated assault rifle for field or urban combat. It has good range, decent power, and good accuracy.]],
+
     description = [[A small brown mushroom typically found in caves. It smells like an old, dirty rag pulled from the stomach of a rotting muffalo - but it tastes surprisingly good when cooked. Dies when exposed to light.]],
    recipeMaker = {
 
      researchPrerequisite = "PrecisionRifling",
 
      skillRequirements = {
 
        Crafting = 6,
 
      },
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 40000,
+
       MaxHitPoints = 100,
       Mass = 3.5,
+
       Beauty = 2,
      AccuracyTouch = 0.60,
+
       Nutrition = 0.35,
      AccuracyShort = 0.70,
 
      AccuracyMedium = 0.65,
 
       AccuracyLong = 0.55,
 
      RangedWeapon_Cooldown = 1.70,
 
 
     },
 
     },
     costList = {
+
     pathCost = 14,
       Steel = 60,
+
    plant = {
       ComponentIndustrial = 7,
+
       fertilityMin = 0.01,
 +
      fertilitySensitivity = 0.15,
 +
      growDays = 40,
 +
      harvestYield = 20,
 +
      harvestTag = "Standard",
 +
       harvestedThingDef = "RawFungus",
 
     },
 
     },
     verbs = {
+
     comps = {
 
       {
 
       {
         verbClass = "Verb_Shoot",
+
         _ = {
        defaultProjectile = "Bullet_AssaultRifle",
+
          Class = "CompProperties_Glower",
        warmupTime = 1.0,
 
        range = 30.9,
 
        burstShotCount = 3,
 
        ticksBetweenBurstShots = 10,
 
      },
 
    },
 
    weaponTags = {
 
      "IndustrialGunAdvanced",
 
    },
 
    tools = {
 
      {
 
        label = "stock",
 
        capacities = {
 
          "Blunt",
 
 
         },
 
         },
         power = 9,
+
         glowRadius = 10,
         cooldownTime = 2,
+
         glowColor = {5, 25, 32, 0},
      },
 
      {
 
        label = "barrel",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_AssaultRifle"] = {
+
   ["ThingDef:Agarilux"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "CavePlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Cave.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_AssaultRifle",
+
     defName = "Agarilux",
     label = "assault rifle bullet",
+
     label = "agarilux",
     projectile = {
+
     description = [[An enormous purple mushroom. Its size and glowing protrusions make this fungus beautiful to look at. It dies when exposed to light.]],
       damageDef = "Bullet",
+
    statBases = {
       damageAmountBase = 11,
+
       MaxHitPoints = 150,
       speed = 70,
+
      Beauty = 4,
 +
      Nutrition = 0.5,
 +
    },
 +
    pathCost = 30,
 +
    plant = {
 +
      fertilityMin = 0.01,
 +
      fertilitySensitivity = 0.15,
 +
      growDays = 60,
 +
      harvestYield = 35,
 +
      harvestTag = "Standard",
 +
       harvestedThingDef = "RawFungus",
 +
    },
 +
    comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_Glower",
 +
        },
 +
        glowRadius = 10,
 +
        glowColor = {23, 15, 30, 0},
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_SniperRifle"] = {
+
   ["ThingDef:Bryolux"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "CavePlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Cave.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_SniperRifle",
+
     defName = "Bryolux",
     label = "sniper rifle",
+
     label = "bryolux",
     description = [[An ancient design of precision sniper rifle. Bolt action. It has an exceptionally long range, great accuracy and good power. Because it's so unwieldy, other weapons outclass it at close range.]],
+
     description = [[A blue moss typically found in deep, dark caves. It is sticky, with tangled fibers, which slows anyone walking over it. Dies when exposed to light.]],
     recipeMaker = {
+
     statBases = {
       researchPrerequisite = "PrecisionRifling",
+
       MaxHitPoints = 100,
       skillRequirements = {
+
       Beauty = 1,
        Crafting = 7,
+
       Nutrition = 0.15,
       },
 
 
     },
 
     },
     statBases = {
+
     pathCost = 30,
      WorkToMake = 45000,
+
    plant = {
      Mass = 4,
+
       fertilityMin = 0.01,
      AccuracyTouch = 0.50,
+
       fertilitySensitivity = 0.15,
      AccuracyShort = 0.70,
+
       growDays = 60,
       AccuracyMedium = 0.86,
 
       AccuracyLong = 0.88,
 
       RangedWeapon_Cooldown = 2.3,
 
 
     },
 
     },
     costList = {
+
     comps = {
      Steel = 60,
 
      ComponentIndustrial = 8,
 
    },
 
    verbs = {
 
 
       {
 
       {
         verbClass = "Verb_Shoot",
+
         _ = {
        defaultProjectile = "Bullet_SniperRifle",
+
          Class = "CompProperties_Glower",
        warmupTime = 3.5,
 
        range = 44.9,
 
      },
 
    },
 
    tools = {
 
      {
 
        label = "stock",
 
        capacities = {
 
          "Blunt",
 
 
         },
 
         },
         power = 9,
+
         glowRadius = 10,
         cooldownTime = 2,
+
         glowColor = {5, 5, 25, 0},
      },
 
      {
 
        label = "barrel",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
    },
 
    weaponTags = {
 
      _ = {
 
        Inherit = false,
 
      },
 
      "SniperRifle",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_SniperRifle"] = {
+
   ["ThingDef:Plant_Rose"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Cultivated_Decorative.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_SniperRifle",
+
     defName = "Plant_Rose",
     label = "sniper rifle bullet",
+
     label = "rose",
     projectile = {
+
     description = [[A beautiful cultivated flower, the rose has been a symbol of love since Earth's ancient era.]],
       damageDef = "Bullet",
+
    statBases = {
       damageAmountBase = 25,
+
      MaxHitPoints = 85,
       stoppingPower = 1.5,
+
      Beauty = 14,
       speed = 100,
+
      Nutrition = 0.05,
 +
    },
 +
    altitudeLayer = "Item",
 +
    ingestible = {
 +
      canAutoSelectAsFoodForCaravan = false,
 +
    },
 +
    plant = {
 +
       harvestTag = "Standard",
 +
      sowWork = 750,
 +
      sowTags = {
 +
        "Ground",
 +
        "Decorative",
 +
       },
 +
      growMinGlow = 0.3,
 +
       growDays = 1.5,
 +
       lifespanDaysPerGrowDays = 5,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_Minigun"] = {
+
   ["ThingDef:Plant_Daylily"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Cultivated_Decorative.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_Minigun",
+
     defName = "Plant_Daylily",
     label = "minigun",
+
     label = "daylily",
     description = [[A multi-barrel machine gun. It's unwieldy, but once it starts firing it fires very fast. Where most self-loading guns are powered by the energy from the gunpowder, the minigun uses an electric motor to rapidly cycle cartridges through the weapon.]],
+
     description = [[A cultivated flower with wide petals and a short lifespan. Daylilies are very beautiful, but must be replanted often.]],
 
     statBases = {
 
     statBases = {
       WorkToMake = 60000,
+
       MaxHitPoints = 85,
       Mass = 10,
+
       Beauty = 18,
       AccuracyTouch = 0.15,
+
       Nutrition = 0.05,
      AccuracyShort = 0.25,
 
      AccuracyMedium = 0.25,
 
      AccuracyLong = 0.18,
 
      RangedWeapon_Cooldown = 2.3,
 
 
     },
 
     },
     costList = {
+
     altitudeLayer = "Item",
      Steel = 160,
+
    ingestible = {
       ComponentIndustrial = 20,
+
       canAutoSelectAsFoodForCaravan = false,
 
     },
 
     },
     recipeMaker = {
+
     plant = {
       researchPrerequisite = "MultibarrelWeapons",
+
       harvestTag = "Standard",
       skillRequirements = {
+
       sowWork = 540,
        Crafting = 7,
+
       sowTags = {
       },
+
         "Ground",
    },
+
         "Decorative",
    weaponTags = {
 
      "GunHeavy",
 
    },
 
    verbs = {
 
      {
 
         verbClass = "Verb_Shoot",
 
         defaultProjectile = "Bullet_Minigun",
 
        warmupTime = 2.5,
 
        range = 30.9,
 
        burstShotCount = 25,
 
        ticksBetweenBurstShots = 5,
 
      },
 
    },
 
    tools = {
 
      {
 
        label = "barrels",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 11.7,
 
        cooldownTime = 2.6,
 
 
       },
 
       },
 +
      growMinGlow = 0.3,
 +
      growDays = 1.5,
 +
      lifespanDaysPerGrowDays = 3,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Minigun"] = {
+
   ["ThingDef:Plant_Rice"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrial.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Minigun",
+
     defName = "Plant_Rice",
     label = "minigun bullet",
+
     label = "rice plant",
     projectile = {
+
     description = [[A short, fast-growing crop that yields small edible grains. Its great nutritional ouput and ease of cultivation has made it the economic core of many great civilizations. While rice grows quickly, it is sensitive to soil fertility and will not fare well in poor soil.]],
       damageDef = "Bullet",
+
    statBases = {
       damageAmountBase = 10,
+
      MaxHitPoints = 85,
       speed = 70,
+
      Nutrition = 0.18,
 +
    },
 +
    pathCost = 14,
 +
    plant = {
 +
       harvestTag = "Standard",
 +
      harvestedThingDef = "RawRice",
 +
       harvestYield = 6,
 +
      sowTags = {
 +
        "Ground",
 +
        "Hydroponic",
 +
      },
 +
       growDays = 3,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_TripleRocket"] = {
+
   ["ThingDef:Plant_Potato"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseGun",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialConsumable.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_TripleRocket",
+
     defName = "Plant_Potato",
     label = "triple rocket launcher",
+
     label = "potato plant",
     description = [[A single-use rocket launcher that fires three large-bore explosive rockets. Good against small groups of tough targets.\n\nBecause of its unwieldiness, single-use limitation, and the massive destruction it causes, it's said that one must be slightly crazy to use this weapon.]],
+
     description = [[A highly nutritious tuber. Potatoes grow well even in somewhat poor soil, and form a delicious crispy outer coating when fried in oil.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1000,
+
       MaxHitPoints = 85,
       Mass = 7,
+
       Nutrition = 0.2,
      RangedWeapon_Cooldown = 4.5,
 
 
     },
 
     },
     weaponTags = {
+
     pathCost = 14,
      "Gun",
+
     plant = {
      "GunSingleUse",
+
       fertilitySensitivity = 0.4,
    },
+
       harvestTag = "Standard",
    tradeTags = {
+
      harvestedThingDef = "RawPotatoes",
      "ExoticMisc",
+
      harvestYield = 11,
    },
+
       sowTags = {
     verbs = {
+
         "Ground",
       {
+
         "Hydroponic",
        verbClass = "Verb_ShootOneUse",
 
        defaultProjectile = "Bullet_Rocket",
 
        forcedMissRadius = 2.9,
 
        warmupTime = 4.5,
 
        range = 35.9,
 
        ticksBetweenBurstShots = 20,
 
        burstShotCount = 3,
 
        onlyManualCast = true,
 
        stopBurstWithoutLos = false,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
       },
 
    },
 
    tools = {
 
      {
 
        label = "barrel",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 11.7,
 
        cooldownTime = 2.6,
 
       },
 
    },
 
    comps = {
 
      {
 
         _ = {
 
          Class = "CompProperties_Explosive",
 
         },
 
        explosiveRadius = 3.9,
 
        explosiveDamageType = "Bomb",
 
        requiredDamageTypeToExplode = "Flame",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_BiocodableWeapon",
 
        },
 
 
       },
 
       },
 +
      growDays = 5.8,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_Rocket"] = {
+
   ["ThingDef:Plant_Corn"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialConsumable.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_Rocket",
+
     defName = "Plant_Corn",
     label = "rocket",
+
     label = "corn plant",
     thingClass = "Projectile_Explosive",
+
     description = [[A tall grain plant which produces ears of soft, edible seeds. While corn takes a long time to grow, it yields lots of food compared to other crops. Harvested corn takes a long time to spoil.]],
     projectile = {
+
    statBases = {
       damageDef = "Bomb",
+
      MaxHitPoints = 150,
       explosionRadius = 3.9,
+
      Nutrition = 0.3,
       speed = 50,
+
    },
 +
    pathCost = 14,
 +
     plant = {
 +
       fertilityMin = 0.70,
 +
      harvestTag = "Standard",
 +
      harvestedThingDef = "RawCorn",
 +
       harvestYield = 22,
 +
      sowTags = {
 +
        "Ground",
 +
      },
 +
       growDays = 11.3,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_DoomsdayRocket"] = {
+
   ["ThingDef:Plant_Strawberry"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseGun",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialConsumable.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_DoomsdayRocket",
+
     defName = "Plant_Strawberry",
     label = "doomsday rocket launcher",
+
     label = "strawberry plant",
     description = [[A single-use rocket launcher that fires a massive explosive projectile. Good against large groups of soft targets. Starts fires.\n\nBecause of its unwieldiness, single-use limitation, and the massive destruction it causes, it's said that one must be slightly crazy to use this weapon.]],
+
     description = [[A low bush-like plant that yields fragile but delicious strawberries. While it isn't quite as productive calorie-for-calorie as other crops, strawberries are delicious even when raw.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1000,
+
       MaxHitPoints = 85,
       Mass = 8,
+
       Nutrition = 0.2,
      RangedWeapon_Cooldown = 4.5,
 
 
     },
 
     },
     weaponTags = {
+
     pathCost = 14,
      "Gun",
+
     plant = {
      "GunSingleUse",
+
       growDays = 4.6,
     },
+
       harvestTag = "Standard",
    tradeTags = {
+
      harvestedThingDef = "RawBerries",
       "ExoticMisc",
+
      harvestYield = 8,
    },
+
      sowMinSkill = 5,
    verbs = {
+
       sowTags = {
      {
+
         "Ground",
        verbClass = "Verb_ShootOneUse",
+
         "Hydroponic",
        defaultProjectile = "Bullet_DoomsdayRocket",
 
        forcedMissRadius = 1.9,
 
        warmupTime = 4.5,
 
        range = 35.9,
 
        burstShotCount = 1,
 
        onlyManualCast = true,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
      },
 
    },
 
    tools = {
 
       {
 
        label = "barrel",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 11.7,
 
        cooldownTime = 2.6,
 
       },
 
    },
 
    comps = {
 
      {
 
         _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 7.8,
 
        explosiveDamageType = "Bomb",
 
        requiredDamageTypeToExplode = "Flame",
 
      },
 
      {
 
         _ = {
 
          Class = "CompProperties_BiocodableWeapon",
 
        },
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_DoomsdayRocket"] = {
+
   ["ThingDef:Plant_Haygrass"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialConsumable.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_DoomsdayRocket",
+
     defName = "Plant_Haygrass",
     label = "doomsday rocket",
+
     label = "haygrass",
     thingClass = "Projectile_DoomsdayRocket",
+
     description = [[A mixture of nutrient-rich grasses which yield large amounts of hay. Hay is edible for animals, but not humans.]],
     projectile = {
+
    statBases = {
       damageDef = "Bomb",
+
      MaxHitPoints = 85,
       explosionRadius = 7.8,
+
      Flammability = 1.3,
       speed = 50,
+
      Nutrition = 0.2,
 +
    },
 +
    pathCost = 14,
 +
     plant = {
 +
       fertilitySensitivity = 0.6,
 +
      growDays = 7,
 +
      harvestTag = "Standard",
 +
       harvestedThingDef = "Hay",
 +
      harvestYield = 18,
 +
       sowTags = {
 +
        "Ground",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseGrenadeProjectile"] = {
+
   ["ThingDef:Plant_Cotton"] = {
 
     _ = {
 
     _ = {
       Name = "BaseGrenadeProjectile",
+
       ParentName = "PlantBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     category = "Projectile",
+
     defName = "Plant_Cotton",
     altitudeLayer = "Projectile",
+
     label = "cotton plant",
     thingClass = "Projectile_Explosive",
+
     description = [[A mid-size crop that yields fine white cotton fibers. These are used to make cloth.]],
     label = "projectile",
+
     statBases = {
     useHitPoints = false,
+
      MaxHitPoints = 85,
     projectile = {
+
      Nutrition = 0.2,
       speed = 12,
+
    },
       arcHeightFactor = 2,
+
     pathCost = 14,
       shadowSize = 0.4,
+
     plant = {
 +
       growDays = 8,
 +
      harvestTag = "Standard",
 +
      harvestedThingDef = "Cloth",
 +
       harvestYield = 10,
 +
       sowTags = {
 +
        "Ground",
 +
        "Hydroponic",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseMakeableGrenade"] = {
+
   ["ThingDef:Plant_Devilstrand"] = {
 
     _ = {
 
     _ = {
      Name = "BaseMakeableGrenade",
+
       ParentName = "PlantBase",
       ParentName = "BaseWeapon",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Plant_Devilstrand",
       workSpeedStat = "GeneralLaborSpeed",
+
    label = "devilstrand",
       workSkill = "Crafting",
+
    description = [[This fragile mushroom was genetically engineered to produce a silk net that is both difficult to tear and soft to the touch. While the mushroom takes a very long time to grow, only exotic ultra-tech fabrics outperform its devilstrand fibers.\n\nSome say it's called devilstrand because of its red color. Others think it owes its name to the greed it inspires in people.]],
       effectWorking = "Smith",
+
    statBases = {
       soundWorking = "Recipe_Smith",
+
      MaxHitPoints = 85,
       recipeUsers = {
+
      Nutrition = 0.15,
         "TableMachining",
+
    },
 +
    pathCost = 14,
 +
    plant = {
 +
       growDays = 22.5,
 +
      sowWork = 400,
 +
      harvestTag = "Standard",
 +
       harvestedThingDef = "DevilstrandCloth",
 +
       harvestYield = 6,
 +
      sowTags = {
 +
        "Ground",
 +
       },
 +
      sowMinSkill = 10,
 +
       sowResearchPrerequisites = {
 +
         "Devilstrand",
 
       },
 
       },
      unfinishedThingDef = "UnfinishedGun",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Weapon_GrenadeFrag"] = {
+
   ["ThingDef:HealrootBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMakeableGrenade",
+
       ParentName = "PlantBase",
 +
      Name = "HealrootBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Weapon_GrenadeFrag",
 
    label = "frag grenades",
 
    description = [[Old-school fragmentation grenades. They can be thrown a short distance, where they'll explode, damaging anything and anyone nearby.]],
 
 
     statBases = {
 
     statBases = {
       Mass = 1,
+
       MaxHitPoints = 60,
       RangedWeapon_Cooldown = 2.66,
+
       Nutrition = 0.15,
      WorkToMake = 12000,
 
 
     },
 
     },
     costList = {
+
     pathCost = 14,
       Steel = 20,
+
    plant = {
       Chemfuel = 80,
+
       growDays = 10,
 +
      harvestWork = 400,
 +
      harvestTag = "Standard",
 +
      harvestedThingDef = "MedicineHerbal",
 +
       harvestYield = 1,
 
     },
 
     },
     weaponTags = {
+
  },
       "GrenadeDestructive",
+
 
 +
  ["ThingDef:Plant_Healroot"] = {
 +
     _ = {
 +
       ParentName = "HealrootBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Plants_Cultivated_Farm.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     defName = "Plant_Healroot",
       "Grenades",
+
    label = "healroot",
 +
    description = [[A slow-growing plant which yields herbal medicine when harvested. Sowing and harvesting healroot are both very labor-intensive tasks because of its delicate shoots.\n\nHealroot was selectively bred for centuries by settlers. It is sometimes also called "healer's hand" by tribespeople - a nickname it owes to its five major medicinal virtues.]],
 +
    plant = {
 +
       growDays = 7,
 +
      sowWork = 800,
 +
      sowMinSkill = 8,
 +
      sowTags = {
 +
        "Ground",
 +
        "Hydroponic",
 +
      },
 
     },
 
     },
    verbs = {
+
   },
      {
 
        label = "throw frag grenade",
 
        verbClass = "Verb_LaunchProjectile",
 
        range = 12.9,
 
        forcedMissRadius = 1.9,
 
        warmupTime = 1.5,
 
        noiseRadius = 4,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
        defaultProjectile = "Proj_GrenadeFrag",
 
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 2.66,
 
        explosiveDamageType = "Bomb",
 
        requiredDamageTypeToExplode = "Flame",
 
      },
 
    },
 
   },
 
  
   ["ThingDef:BaseFragGrenadeProjectile"] = {
+
   ["ThingDef:Plant_Hops"] = {
 
     _ = {
 
     _ = {
      Name = "BaseFragGrenadeProjectile",
+
       ParentName = "PlantBase",
       ParentName = "BaseGrenadeProjectile",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Projectile_Explosive",
+
     defName = "Plant_Hops",
     projectile = {
+
     label = "hop plant",
       explosionRadius = 1.9,
+
    description = [[A flowering crop that yields hops, an essential ingredient in beer.]],
       damageDef = "Bomb",
+
    statBases = {
       explosionDelay = 100,
+
       MaxHitPoints = 85,
 +
      Nutrition = 0.2,
 +
    },
 +
    pathCost = 14,
 +
    plant = {
 +
       fertilitySensitivity = 0.7,
 +
      growDays = 5,
 +
      harvestTag = "Standard",
 +
       harvestedThingDef = "RawHops",
 +
      harvestYield = 8,
 +
      sowMinSkill = 3,
 +
      sowTags = {
 +
        "Ground",
 +
        "Hydroponic",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Proj_GrenadeFrag"] = {
+
   ["ThingDef:Plant_Smokeleaf"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseFragGrenadeProjectile",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Proj_GrenadeFrag",
+
     defName = "Plant_Smokeleaf",
     label = "frag grenade",
+
     label = "smokeleaf plant",
 +
    description = [[A leafy crop grown for the psychological effects of chemicals in its leaves. Smokeleaf leaves can be prepared into joints at the crafting spot. Smokeleaf makes a user feel relaxed, but reduces motivation, and can be addictive.]],
 +
    statBases = {
 +
      MaxHitPoints = 85,
 +
      Nutrition = 0.15,
 +
    },
 +
    pathCost = 14,
 +
    plant = {
 +
      growDays = 7.50,
 +
      harvestTag = "Standard",
 +
      harvestedThingDef = "SmokeleafLeaves",
 +
      harvestYield = 9,
 +
      sowMinSkill = 4,
 +
      sowTags = {
 +
        "Ground",
 +
        "Hydroponic",
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:Weapon_GrenadeMolotov"] = {
+
   ["ThingDef:Plant_Psychoid"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseMakeableGrenade",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Weapon_GrenadeMolotov",
+
     defName = "Plant_Psychoid",
     label = "molotov cocktails",
+
     label = "psychoid plant",
     description = [[Glass bottles filled with flammable liquid, with a burning cloth in the neck. A favorite weapon of hooligans and desperate warriors from rim to rim.]],
+
     description = [[A leafy plant which generates the chemical compound psychite. Originally evolved as a defense mechanism to ward off plant-eating animals by overstimulating and sickening them, the psychite drug can be extracted and refined into various forms for recreational use. It is addictive.]],
 
     statBases = {
 
     statBases = {
       Mass = 1,
+
       MaxHitPoints = 85,
       RangedWeapon_Cooldown = 2.66,
+
       Nutrition = 0.15,
      WorkToMake = 6000,
 
 
     },
 
     },
     costList = {
+
     pathCost = 14,
      Cloth = 25,
+
     plant = {
      Chemfuel = 80,
+
       growDays = 9.00,
    },
+
       harvestTag = "Standard",
     weaponTags = {
+
      harvestedThingDef = "PsychoidLeaves",
       "GrenadeDestructive",
+
      harvestYield = 8,
    },
+
      sowMinSkill = 6,
    thingCategories = {
+
       sowTags = {
      "Grenades",
+
         "Ground",
    },
+
         "Hydroponic",
    verbs = {
 
       {
 
        label = "throw molotov",
 
        verbClass = "Verb_LaunchProjectile",
 
        range = 12.9,
 
        forcedMissRadius = 1.9,
 
        warmupTime = 1.5,
 
        noiseRadius = 4,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
        defaultProjectile = "Proj_GrenadeMolotov",
 
       },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 2.66,
 
         explosiveDamageType = "Flame",
 
         requiredDamageTypeToExplode = "Flame",
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseIncendiaryProjectile"] = {
+
   ["ThingDef:Plant_TreeCocoa"] = {
 
     _ = {
 
     _ = {
      Name = "BaseIncendiaryProjectile",
+
       ParentName = "TreeBase",
       ParentName = "BaseGrenadeProjectile",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Cultivated_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     projectile = {
+
     defName = "Plant_TreeCocoa",
      explosionRadius = 1.1,
+
    label = "cocoa tree",
      damageDef = "Flame",
+
    description = [[A tropical tree that produces chocolate, genetically engineered to sweeten its own product, and survive in slightly less-warm climates.]],
      preExplosionSpawnThingDef = "Filth_Fuel",
+
    statBases = {
       ai_IsIncendiary = true,
+
       Beauty = 2,
       shadowSize = 0.6,
+
       Nutrition = 1.25,
 
     },
 
     },
  },
+
    plant = {
 
+
      growDays = 16,
  ["ThingDef:Proj_GrenadeMolotov"] = {
+
      sowMinSkill = 8,
    _ = {
+
      sowTags = {
      ParentName = "BaseIncendiaryProjectile",
+
        "Ground",
       DefCategory = "ThingDef",
+
      },
       FileName = "RangedIndustrialGrenades.xml",
+
      sowResearchPrerequisites = {
       GameVersion = "1.2.2753",
+
        _ = {
       DLC = "Core",
+
          Inherit = false,
 +
        },
 +
        "Cocoa",
 +
       },
 +
      harvestWork = 400,
 +
      harvestTag = "Standard",
 +
       harvestYield = 20,
 +
       harvestedThingDef = "Chocolate",
 +
       harvestFailable = true,
 
     },
 
     },
    defName = "Proj_GrenadeMolotov",
 
    label = "molotov cocktail",
 
 
   },
 
   },
  
   ["ThingDef:Weapon_GrenadeEMP"] = {
+
   ["ThingDef:BurnedTree"] = {
 
     _ = {
 
     _ = {
      ParentName = "BaseMakeableGrenade",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Weapon_GrenadeEMP",
+
     defName = "BurnedTree",
     label = "EMP grenades",
+
     label = "burned tree",
     description = [[Electromagnetic pulse grenades damaging to electronic equipment.]],
+
     description = [[A burned tree stump. It's ugly and yields no usable wood.]],
 +
    category = "Plant",
 +
    thingClass = "DeadPlant",
 +
    altitudeLayer = "Building",
 +
    useHitPoints = true,
 
     statBases = {
 
     statBases = {
       Mass = 1,
+
       MaxHitPoints = 100,
       RangedWeapon_Cooldown = 2.66,
+
       Flammability = 0,
       WorkToMake = 24000,
+
       DeteriorationRate = 4,
 +
      Beauty = -8,
 
     },
 
     },
     costList = {
+
     fillPercent = 0.20,
      Steel = 20,
+
     pathCostIgnoreRepeat = false,
      ComponentIndustrial = 6,
+
     passability = "PassThroughOnly",
    },
+
     pathCost = 14,
     recipeMaker = {
+
     plant = {
      researchPrerequisite = "MicroelectronicsBasics",
+
       harvestWork = 180,
    },
+
      harvestYield = 0,
     weaponTags = {
+
      fertilityMin = 0.01,
      "GrenadeEMP",
+
      fertilitySensitivity = 0,
     },
+
      blockAdjacentSow = true,
    thingCategories = {
+
      harvestedThingDef = "WoodLog",
      "Grenades",
+
       harvestFailable = false,
    },
+
       harvestTag = "Wood",
     verbs = {
+
      growDays = 30,
       {
+
      growMinGlow = 0,
        label = "throw EMP grenade",
+
       lifespanDaysPerGrowDays = 0,
        verbClass = "Verb_LaunchProjectile",
 
        range = 12.9,
 
        forcedMissRadius = 1.9,
 
        warmupTime = 1.5,
 
        noiseRadius = 4,
 
        targetParams = {
 
          canTargetLocations = true,
 
        },
 
        defaultProjectile = "Proj_GrenadeEMP",
 
       },
 
    },
 
    comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Explosive",
 
        },
 
        explosiveRadius = 2.66,
 
        explosiveDamageType = "EMP",
 
        requiredDamageTypeToExplode = "Flame",
 
      },
 
    },
 
    smeltProducts = {
 
       Steel = 10,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Proj_GrenadeEMP"] = {
+
   ["ThingDef:Plant_Ambrosia"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseGrenadeProjectile",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedIndustrialGrenades.xml",
+
       FileName = "Plants_Special.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Proj_GrenadeEMP",
+
     defName = "Plant_Ambrosia",
     label = "EMP grenade",
+
     label = "ambrosia bush",
     thingClass = "Projectile_Explosive",
+
     description = [[A rare wild bush which yields the ambrosia fruit. Ambrosia fruit is delicious and produces a drug-like mood boost. Ambrosia cannot be farmed, which makes wild ambrosia groves very valuable.\n\nIts rarity, beauty, and desirability are why ambrosia was named after the food of the ancient Greek gods.]],
     projectile = {
+
    statBases = {
       explosionRadius = 3.5,
+
      MaxHitPoints = 100,
       damageDef = "EMP",
+
      Nutrition = 0.35,
       explosionDelay = 100,
+
    },
 +
    pathCost = 14,
 +
     plant = {
 +
       fertilitySensitivity = 0.15,
 +
      growDays = 6,
 +
      harvestYield = 4,
 +
       harvestTag = "Standard",
 +
       harvestedThingDef = "Ambrosia",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_ChargeBlasterHeavy"] = {
+
   ["ThingDef:Plant_Agave"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_ChargeBlasterHeavy",
+
     defName = "Plant_Agave",
     label = "charge blaster shot",
+
     label = "agave",
     projectile = {
+
     description = [[A large-leafed desert plant with edible flowers and stalks.]],
       damageDef = "Bullet",
+
    statBases = {
       damageAmountBase = 15,
+
       MaxHitPoints = 120,
       speed = 90,
+
      Nutrition = 0.2,
 +
    },
 +
    fillPercent = 0.20,
 +
    pathCost = 30,
 +
    plant = {
 +
      fertilitySensitivity = 0.5,
 +
      growDays = 6,
 +
      harvestTag = "Standard",
 +
      harvestedThingDef = "RawAgave",
 +
       harvestYield = 10,
 +
       harvestWork = 300,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_ChargeBlasterHeavyBase"] = {
+
   ["ThingDef:Plant_PincushionCactus"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "PlantBase",
       ParentName = "BaseGunWithQuality",
 
      Name = "Gun_ChargeBlasterHeavyBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     label = "heavy charge blaster",
+
    defName = "Plant_PincushionCactus",
     description = [[A pulse-charged rapid-fire blaster for area suppressive fire. Heavy cooling allows long, deadly bursts.]],
+
     label = "pincushion cactus",
 +
     description = [[A short cactus. It is so named because it resembles a pincushion.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1400,
+
       MaxHitPoints = 150,
       Mass = 22,
+
       Nutrition = 0.25,
      AccuracyTouch = 0.18,
 
      AccuracyShort = 0.26,
 
      AccuracyMedium = 0.26,
 
      AccuracyLong = 0.18,
 
      RangedWeapon_Cooldown = 7.4,
 
 
     },
 
     },
     tradeability = "None",
+
     pathCost = 30,
     tools = {
+
     plant = {
       {
+
       fertilityMin = 0.05,
        label = "barrel",
+
      fertilitySensitivity = 0,
        capacities = {
+
      growDays = 2.5,
          "Blunt",
 
        },
 
        power = 11.7,
 
        cooldownTime = 2.6,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_ChargeBlasterHeavy"] = {
+
   ["ThingDef:Plant_SaguaroCactus"] = {
 
     _ = {
 
     _ = {
       ParentName = "Gun_ChargeBlasterHeavyBase",
+
       ParentName = "TreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_ChargeBlasterHeavy",
+
     defName = "Plant_SaguaroCactus",
     verbs = {
+
     label = "saguaro cactus",
      {
+
    description = [[A large cactus native to arid Earth environments. Though it is not a tree, it yields a small amount of fibrous material that can be used like wood.]],
        verbClass = "Verb_Shoot",
+
    statBases = {
        defaultProjectile = "Bullet_ChargeBlasterHeavy",
+
      MaxHitPoints = 130,
        warmupTime = 1.25,
+
       Nutrition = 1.5,
        range = 26.9,
 
        ticksBetweenBurstShots = 5,
 
        burstShotCount = 24,
 
       },
 
 
     },
 
     },
     weaponTags = {
+
     fillPercent = 0.35,
       "MechanoidGunHeavy",
+
    plant = {
 +
       lifespanDaysPerGrowDays = 40,
 +
      fertilityMin = 0.05,
 +
      fertilitySensitivity = 0,
 +
      growDays = 5,
 +
      harvestWork = 300,
 +
      harvestYield = 15,
 +
      harvestMinGrowth = 0.2,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_InfernoCannon"] = {
+
   ["ThingDef:Plant_TreeDrago"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "TreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_InfernoCannon",
+
     defName = "Plant_TreeDrago",
     label = "inferno cannon shell",
+
     label = "drago tree",
     thingClass = "Projectile_Explosive",
+
     description = [[A hardy desert tree topped with thick, pointed leaves.]],
     projectile = {
+
     statBases = {
       damageDef = "Flame",
+
       Beauty = 1,
       speed = 45,
+
       Nutrition = 1,
      explosionRadius = 2.4,
+
    },
       preExplosionSpawnThingDef = "Filth_Fuel",
+
    plant = {
       preExplosionSpawnChance = 0.27,
+
       growDays = 15,
       ai_IsIncendiary = true,
+
       harvestWork = 750,
 +
       harvestYield = 25,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_InfernoCannonBase"] = {
+
   ["ThingDef:Plant_Grass"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "PlantBase",
       ParentName = "BaseGunWithQuality",
 
      Name = "Gun_InfernoCannonBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_General.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     label = "inferno cannon",
+
    defName = "Plant_Grass",
     description = [[An incendiary-shot mini-artillery device. It fires a large incendiary warhead.]],
+
     label = "grass",
 +
     description = [[Wild grass. Grows anywhere there is a little light and minimally fertile ground.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1400,
+
       MaxHitPoints = 85,
       Mass = 18,
+
       Flammability = 1.3,
       RangedWeapon_Cooldown = 8.4,
+
       Nutrition = 0.25,
 
     },
 
     },
     tradeability = "None",
+
     plant = {
    tools = {
+
       fertilityMin = 0.05,
       {
+
      fertilitySensitivity = 0.3,
        label = "barrel",
+
      growDays = 2.5,
        capacities = {
+
       harvestWork = 40,
          "Blunt",
 
        },
 
        power = 11.7,
 
        cooldownTime = 2.6,
 
       },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_InfernoCannon"] = {
+
   ["ThingDef:Plant_TallGrass"] = {
 
     _ = {
 
     _ = {
       ParentName = "Gun_InfernoCannonBase",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_General.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_InfernoCannon",
+
     defName = "Plant_TallGrass",
     weaponTags = {
+
     label = "tall grass",
       "MechanoidGunHeavy",
+
    description = [[Wild tall grass. Slows down anyone moving over it.]],
 +
    statBases = {
 +
       MaxHitPoints = 90,
 +
      Flammability = 1.3,
 +
      Nutrition = 0.30,
 
     },
 
     },
     verbs = {
+
     pathCost = 14,
      {
+
    plant = {
        verbClass = "Verb_Shoot",
+
      fertilitySensitivity = 0.7,
        defaultProjectile = "Bullet_InfernoCannon",
+
      growDays = 3,
        forcedMissRadius = 3.5,
+
      harvestWork = 60,
        warmupTime = 1.25,
 
        range = 26.9,
 
        burstShotCount = 1,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_Needle"] = {
+
   ["ThingDef:Plant_Bush"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseGunWithQuality",
+
       ParentName = "BushBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_General.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_Needle",
+
     defName = "Plant_Bush",
     label = "needle gun",
+
     label = "bush",
     description = [[A long-range weapon used by mechanoids. Named after its needle-like projectiles, it fires single shots with great accuracy. While it does less damage than charge weapons, it can reach over very long distances.]],
+
     description = [[A short shrub. Does not typically talk.]],
     tradeability = "None",
+
     plant = {
    statBases = {
+
       growDays = 3,
       MarketValue = 1400,
 
      Mass = 2.6,
 
      AccuracyTouch = 0.60,
 
      AccuracyShort = 0.80,
 
      AccuracyMedium = 0.90,
 
      AccuracyLong = 0.85,
 
      RangedWeapon_Cooldown = 2.1,
 
 
     },
 
     },
     weaponTags = {
+
  },
       "MechanoidGunLongRange",
+
 
 +
  ["ThingDef:Plant_Brambles"] = {
 +
     _ = {
 +
       ParentName = "PlantBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Plants_Wild_General.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     verbs = {
+
     defName = "Plant_Brambles",
      {
+
    label = "brambles",
        verbClass = "Verb_Shoot",
+
    description = [[Tangled, thorny, woody shoots covered with leaves. Brambles grow in clusters, and slow down anyone moving over them.]],
        defaultProjectile = "Bullet_NeedleGun",
+
    statBases = {
        warmupTime = 2.5,
+
      MaxHitPoints = 100,
        range = 44.9,
+
       Nutrition = 0.2,
       },
 
 
     },
 
     },
     tools = {
+
     pathCost = 14,
      {
+
    plant = {
        label = "barrel",
+
      fertilitySensitivity = 0.7,
        capacities = {
+
      growDays = 3,
          "Blunt",
+
       harvestWork = 60,
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2.6,
 
       },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_NeedleGun"] = {
+
   ["ThingDef:Plant_HealrootWild"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "HealrootBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedMechanoid.xml",
+
       FileName = "Plants_Wild_General.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_NeedleGun",
+
     defName = "Plant_HealrootWild",
     label = "needle shot",
+
     label = "wild healroot",
     projectile = {
+
     description = [[A slow-growing plant which yields herbal medicine when harvested.\n\nThis wild breed of healroot is hardier than domesticated healroot, but too difficult to cultivate. It is prized by tribespeople in colder climates.]],
      damageDef = "Bullet",
 
      damageAmountBase = 15,
 
      armorPenetrationBase = 0.35,
 
      stoppingPower = 1.5,
 
      speed = 90,
 
    },
 
 
   },
 
   },
  
   ["ThingDef:BaseWeaponNeolithic"] = {
+
   ["ThingDef:Plant_TreeWillow"] = {
 
     _ = {
 
     _ = {
      Name = "BaseWeaponNeolithic",
+
       ParentName = "DeciduousTreeBase",
      Abstract = true,
 
       ParentName = "BaseWeapon",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Swamp.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     weaponTags = {
+
     defName = "Plant_TreeWillow",
       "Neolithic",
+
    label = "willow tree",
 +
    description = [[One of the fastest growing shade trees, willows provide a beautiful, leafy canopy. It doesn't yield much usable wood.]],
 +
    statBases = {
 +
       Beauty = 2,
 
     },
 
     },
     thingCategories = {
+
     plant = {
       "WeaponsRanged",
+
       growDays = 13,
    },
+
       harvestWork = 800,
    comps = {
+
       harvestYield = 27,
      {
 
        compClass = "CompQuality",
 
      },
 
    },
 
    recipeMaker = {
 
      workSpeedStat = "GeneralLaborSpeed",
 
      workSkill = "Crafting",
 
      recipeUsers = {
 
        "ElectricSmithy",
 
        "FueledSmithy",
 
      },
 
      effectWorking = "Smelt",
 
       soundWorking = "Recipe_MakeBow",
 
       unfinishedThingDef = "UnfinishedWeapon",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseProjectileNeolithic"] = {
+
   ["ThingDef:Plant_TreeCypress"] = {
 
     _ = {
 
     _ = {
       Name = "BaseProjectileNeolithic",
+
       ParentName = "DeciduousTreeBase",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Swamp.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     category = "Projectile",
+
     defName = "Plant_TreeCypress",
     altitudeLayer = "Projectile",
+
     label = "cypress tree",
     thingClass = "Bullet",
+
     description = [[A tall coniferous tree often found in swamps. Despite its slow growth, planting these trees can be profitable as a low-effort, long-term investment because they yield so much usable wood.]],
     label = "arrow",
+
     statBases = {
     useHitPoints = false,
+
      Beauty = 1,
   },
+
    },
 
+
     plant = {
   ["ThingDef:Bow_Short"] = {
+
      growDays = 35,
 +
      harvestWork = 1800,
 +
      harvestYield = 60,
 +
    },
 +
   },
 +
 
 +
   ["ThingDef:Plant_TreeMaple"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeaponNeolithic",
+
       ParentName = "DeciduousTreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Swamp.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bow_Short",
+
     defName = "Plant_TreeMaple",
     label = "short bow",
+
     label = "maple tree",
     description = [[A simple short selfbow made from a single piece of wood.]],
+
     description = [[A common medium-sized tree, easily identifiable by its distinct three-pointed leaf.]],
    costList = {
 
      WoodLog = 30,
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 2400,
+
       Beauty = 2,
      Mass = 0.8,
 
      AccuracyTouch = 0.75,
 
      AccuracyShort = 0.65,
 
      AccuracyMedium = 0.45,
 
      AccuracyLong = 0.25,
 
      RangedWeapon_Cooldown = 1.65,
 
 
     },
 
     },
     weaponTags = {
+
     plant = {
       "NeolithicRangedBasic",
+
       growDays = 27,
    },
+
       harvestWork = 800,
    recipeMaker = {
+
       harvestYield = 27,
      recipeUsers = {
 
        "CraftingSpot",
 
      },
 
       skillRequirements = {
 
        Crafting = 2,
 
      },
 
    },
 
    verbs = {
 
       {
 
        verbClass = "Verb_Shoot",
 
        defaultProjectile = "Arrow_Short",
 
        warmupTime = 1.35,
 
        range = 22.9,
 
      },
 
    },
 
    tools = {
 
      {
 
        label = "limb",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Arrow_Short"] = {
+
   ["ThingDef:Plant_Chokevine"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseProjectileNeolithic",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Swamp.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Arrow_Short",
+
     defName = "Plant_Chokevine",
     label = "shortbow arrow",
+
     label = "chokevine",
     projectile = {
+
     description = [[Tangled masses of cord-like, spiky vines which coil in great masses along the ground. Chokevine greatky slows down anyone who moves over it. Multiple tribes have independently generated stories of chokevine strangling children to death in the night, as a way to scare kids into coming home before dark.]],
       damageDef = "Arrow",
+
    statBases = {
       damageAmountBase = 11,
+
       MaxHitPoints = 100,
       speed = 44,
+
      Nutrition = 0.25,
 +
    },
 +
    pathCost = 42,
 +
    plant = {
 +
      fertilitySensitivity = 0.7,
 +
       growDays = 5,
 +
       harvestWork = 150,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Pila"] = {
+
   ["ThingDef:Plant_Dandelion"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeaponNeolithic",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Pila",
+
     defName = "Plant_Dandelion",
     label = "pila",
+
     label = "dandelions",
     description = [[Pila are spears for throwing. They take a long time to throw, but one hit can do heavy damage. This weapon represents a bundle of pila and can be thrown over and over. The singular of pila is pilum.]],
+
     description = [[A tiny yellow flower which grows in large clusters. Though it is often considered a weed, dandelions in bloom are quite beautiful.]],
    costList = {
 
      WoodLog = 70,
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 7000,
+
       MaxHitPoints = 85,
       Mass = 4,
+
       Beauty = 4,
       AccuracyTouch = 0.50,
+
       Nutrition = 0.18,
      AccuracyShort = 0.71,
 
      AccuracyMedium = 0.50,
 
      AccuracyLong = 0.32,
 
      RangedWeapon_Cooldown = 4,
 
 
     },
 
     },
     weaponTags = {
+
     plant = {
       "NeolithicRangedHeavy",
+
       fertilitySensitivity = 0.0,
    },
+
       growDays = 2.5,
    recipeMaker = {
+
       sowTags = {
      skillRequirements = {
+
         "Ground",
        Crafting = 3,
 
       },
 
    },
 
    verbs = {
 
      {
 
        verbClass = "Verb_Shoot",
 
        defaultProjectile = "Pilum_Thrown",
 
        warmupTime = 4,
 
        range = 18.9,
 
       },
 
    },
 
    tools = {
 
      {
 
         label = "shaft",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
      {
 
        label = "point",
 
        capacities = {
 
          "Stab",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
 
       },
 
       },
 +
      fertilityMin = 0.05,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Pilum_Thrown"] = {
+
   ["ThingDef:Plant_Astragalus"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseProjectileNeolithic",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Pilum_Thrown",
+
     defName = "Plant_Astragalus",
     label = "pilum",
+
     label = "astragalus",
     projectile = {
+
     description = [[A small perennial wildflower that grows in alpine climates.]],
       damageDef = "RangedStab",
+
    statBases = {
       damageAmountBase = 25,
+
       MaxHitPoints = 85,
       stoppingPower = 2.5,
+
       Beauty = 4,
       armorPenetrationBase = 0.10,
+
       Nutrition = 0.18,
       speed = 26,
+
    },
 +
    plant = {
 +
       fertilityMin = 0.05,
 +
      fertilitySensitivity = 0,
 +
       growDays = 2.5,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bow_Recurve"] = {
+
   ["ThingDef:Plant_Moss"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeaponNeolithic",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bow_Recurve",
+
     defName = "Plant_Moss",
     label = "recurve bow",
+
     label = "moss",
     description = [[A recurve bow. Its construction behaves like a tuned spring, storing energy more efficiently and delivering a faster shot.]],
+
     description = [[Wild moss that grows in clumps in areas of low light and cool temperatures. Moss takes a long time to grow, but is very frost-resistant.]],
     costList = {
+
     statBases = {
       WoodLog = 40,
+
       MaxHitPoints = 120,
 +
      Flammability = 0.6,
 +
      Nutrition = 0.15,
 
     },
 
     },
     statBases = {
+
     plant = {
       WorkToMake = 5000,
+
       fertilityMin = 0.05,
      Mass = 1.3,
+
       fertilitySensitivity = 0,
      AccuracyTouch = 0.70,
+
       growDays = 15,
       AccuracyShort = 0.78,
+
       harvestWork = 60,
       AccuracyMedium = 0.65,
 
       AccuracyLong = 0.35,
 
      RangedWeapon_Cooldown = 1.65,
 
 
     },
 
     },
     weaponTags = {
+
  },
       "NeolithicRangedDecent",
+
 
 +
  ["ThingDef:Plant_Berry"] = {
 +
     _ = {
 +
       ParentName = "PlantBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Plants_Wild_Temperate.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Plant_Berry",
      recipeUsers = {
+
    label = "berry bush",
        "CraftingSpot",
+
    description = [[A bushy wild plant which yields delicious berries. Berries can be cooked, but they're also good to eat even when raw.]],
      },
+
    statBases = {
      researchPrerequisite = "RecurveBow",
+
      MaxHitPoints = 120,
      skillRequirements = {
+
       Nutrition = 0.35,
        Crafting = 5,
 
       },
 
 
     },
 
     },
     verbs = {
+
     fillPercent = 0.20,
      {
+
    pathCost = 30,
        verbClass = "Verb_Shoot",
+
    plant = {
        defaultProjectile = "Arrow_Recurve",
+
      fertilityMin = 0.5,
        warmupTime = 1.45,
+
      fertilitySensitivity = 0.5,
        range = 25.9,
+
       growDays = 6,
       },
+
      harvestYield = 10,
    },
+
      harvestWork = 250,
    tools = {
+
       harvestTag = "Standard",
       {
+
      harvestedThingDef = "RawBerries",
        label = "limb",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Arrow_Recurve"] = {
+
   ["ThingDef:Plant_TreeOak"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseProjectileNeolithic",
+
       ParentName = "DeciduousTreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Arrow_Recurve",
+
     defName = "Plant_TreeOak",
     label = "recurve bow arrow",
+
     label = "oak tree",
     projectile = {
+
     description = [[A hardwood tree. Oaks take a long time to grow, but their wood is so strong that 'oak' is used as a metaphor for strength across many cultures.]],
       damageDef = "ArrowHighVelocity",
+
    statBases = {
       damageAmountBase = 14,
+
       Beauty = 2,
       stoppingPower = 1,
+
    },
       speed = 56,
+
    plant = {
 +
       growDays = 30,
 +
       harvestWork = 1400,
 +
       harvestYield = 46,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bow_Great"] = {
+
   ["ThingDef:Plant_TreePoplar"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeaponNeolithic",
+
       ParentName = "DeciduousTreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bow_Great",
+
     defName = "Plant_TreePoplar",
     label = "greatbow",
+
     label = "poplar tree",
     description = [[A powerful greatbow. Fires a heavy arrow long distances.]],
+
     description = [[A softwood tree that grows very fast. Unfortunately, its wood is weak and so it yields less useful material than hardwood trees.]],
    costList = {
 
      WoodLog = 60,
 
    },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 9000,
+
       Beauty = 1,
      Mass = 3.0,
+
       Nutrition = 1,
      AccuracyTouch = 0.65,
 
      AccuracyShort = 0.85,
 
      AccuracyMedium = 0.75,
 
      AccuracyLong = 0.50,
 
       RangedWeapon_Cooldown = 1.5,
 
 
     },
 
     },
     weaponTags = {
+
     plant = {
       "NeolithicRangedHeavy",
+
       growDays = 15.05,
       "NeolithicRangedChief",
+
      harvestWork = 800,
 +
       harvestYield = 27,
 
     },
 
     },
     verbs = {
+
  },
       {
+
 
        verbClass = "Verb_Shoot",
+
  ["ThingDef:Plant_TreePine"] = {
        defaultProjectile = "Arrow_Great",
+
     _ = {
        warmupTime = 2.0,
+
       ParentName = "TreeBase",
        range = 29.9,
+
      DefCategory = "ThingDef",
       },
+
      FileName = "Plants_Wild_Temperate.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     tools = {
+
     defName = "Plant_TreePine",
      {
+
    label = "pine tree",
        label = "limb",
+
    description = [[A large conifer covered with prickly pine cones. It grows in a distinctive conical shape.]],
        capacities = {
+
    statBases = {
          "Blunt",
+
      Beauty = 2,
          "Poke",
+
       Nutrition = 1.25,
        },
 
        power = 9,
 
        cooldownTime = 2,
 
       },
 
 
     },
 
     },
     recipeMaker = {
+
     plant = {
       recipeUsers = {
+
       growDays = 20,
        "CraftingSpot",
+
       harvestWork = 800,
      },
+
       harvestYield = 27,
       researchPrerequisite = "Greatbow",
 
       skillRequirements = {
 
        Crafting = 6,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Arrow_Great"] = {
+
   ["ThingDef:Plant_TreeBirch"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseProjectileNeolithic",
+
       ParentName = "DeciduousTreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedNeolithic.xml",
+
       FileName = "Plants_Wild_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Arrow_Great",
+
     defName = "Plant_TreeBirch",
     label = "greatbow arrow",
+
     label = "birch tree",
     projectile = {
+
     description = [[A temperate-biome tree known for its thin, white, paper-like bark.]],
       damageDef = "Arrow",
+
    statBases = {
       damageAmountBase = 17,
+
       Beauty = 2,
       stoppingPower = 1.5,
+
       Nutrition = 1.25,
       armorPenetrationBase = 0.15,
+
    },
       speed = 49,
+
    plant = {
 +
       growDays = 20,
 +
       harvestWork = 800,
 +
       harvestYield = 27,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_ChargeRifle"] = {
+
   ["ThingDef:Plant_ShrubLow"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "PlantBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpacer.xml",
+
       FileName = "Plants_Wild_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_ChargeRifle",
+
     defName = "Plant_ShrubLow",
     label = "charge rifle",
+
     label = "low shrubs",
     description = [[A charged-shot assault rifle. Pulse-charge technology charges each shot with unstable energy as it leaves the barrel. Released on impact, the charged energy greatly increases the damage done.]],
+
     description = [[Various low broadleaf shrubs. These grow in clusters and slow down movement.]],
 
     statBases = {
 
     statBases = {
       WorkToMake = 45000,
+
       MaxHitPoints = 90,
       Mass = 4.6,
+
       Nutrition = 0.2,
      AccuracyTouch = 0.55,
 
      AccuracyShort = 0.64,
 
      AccuracyMedium = 0.55,
 
      AccuracyLong = 0.45,
 
      RangedWeapon_Cooldown = 2.00,
 
 
     },
 
     },
     recipeMaker = {
+
     pathCost = 14,
      researchPrerequisite = "ChargedShot",
+
    plant = {
      skillRequirements = {
+
      fertilitySensitivity = 0.7,
        Crafting = 7,
+
       growDays = 3,
       },
+
       harvestWork = 60,
       recipeUsers = {
 
        _ = {
 
          Inherit = false,
 
        },
 
        "FabricationBench",
 
      },
 
 
     },
 
     },
     costList = {
+
  },
       Plasteel = 50,
+
 
       ComponentSpacer = 2,
+
  ["ThingDef:Plant_Alocasia"] = {
 +
     _ = {
 +
       ParentName = "BushBase",
 +
      DefCategory = "ThingDef",
 +
       FileName = "Plants_Wild_Tropical.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     weaponTags = {
+
     defName = "Plant_Alocasia",
       "SpacerGun",
+
    label = "alocasia",
 +
    description = [[A tropical plant. Its extremely broad leaves are a commonly-recognized signifier of tropical forests.]],
 +
  },
 +
 
 +
  ["ThingDef:Plant_Clivia"] = {
 +
    _ = {
 +
      ParentName = "BushBase",
 +
      DefCategory = "ThingDef",
 +
       FileName = "Plants_Wild_Tropical.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     verbs = {
+
     defName = "Plant_Clivia",
      {
+
    label = "clivia",
        verbClass = "Verb_Shoot",
+
    description = [[An unusual plant with tall, pretty flowers. Some call it the 'bush lily'.]],
        defaultProjectile = "Bullet_ChargeRifle",
+
     statBases = {
        warmupTime = 1.0,
+
       Beauty = 2,
        range = 25.9,
 
        ticksBetweenBurstShots = 12,
 
        burstShotCount = 3,
 
      },
 
    },
 
     tools = {
 
      {
 
        label = "stock",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
       },
 
      {
 
        label = "barrel",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_ChargeRifle"] = {
+
   ["ThingDef:Plant_Rafflesia"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "BushBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpacer.xml",
+
       FileName = "Plants_Wild_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_ChargeRifle",
+
     defName = "Plant_Rafflesia",
     label = "charge shot",
+
     label = "giant rafflesia",
     projectile = {
+
     description = [[A rare, giant flower which can be found deep in steaming jungles. You would think a giant flower would be beautiful, but this one looks and smells like rotting flesh.]],
      damageDef = "Bullet",
+
    statBases = {
      damageAmountBase = 15,
+
       Beauty = -6,
      armorPenetrationBase = 0.35,
 
       speed = 70,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gun_ChargeLance"] = {
+
   ["ThingDef:Plant_TreeTeak"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseHumanMakeableGun",
+
       ParentName = "DeciduousTreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpacer.xml",
+
       FileName = "Plants_Wild_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gun_ChargeLance",
+
     defName = "Plant_TreeTeak",
     label = "charge lance",
+
     label = "teak tree",
     description = [[A pulse-charged rail-assisted lance weapon. It fires a single shot at high velocity, charging it with unstable energy as it leaves the acceleration rail.]],
+
     description = [[An exceptionally strong hardwood tree that grows in warm climates. Because teak wood is so durable and water-resistant, it was used to form the keel of wooden sailing ships in ancient times.]],
 
     statBases = {
 
     statBases = {
       Mass = 8,
+
       Beauty = 2,
      AccuracyTouch = 0.65,
+
     },
      AccuracyShort = 0.85,
+
     plant = {
      AccuracyMedium = 0.85,
+
       growDays = 32.5,
      AccuracyLong = 0.75,
+
       harvestWork = 1800,
      RangedWeapon_Cooldown = 2.7,
+
       harvestYield = 60,
      WorkToMake = 60000,
 
     },
 
     recipeMaker = {
 
       researchPrerequisite = "ChargedShot",
 
       skillRequirements = {
 
        Crafting = 9,
 
       },
 
      recipeUsers = {
 
        _ = {
 
          Inherit = false,
 
        },
 
        "FabricationBench",
 
      },
 
    },
 
    costList = {
 
      Plasteel = 60,
 
      ComponentSpacer = 3,
 
    },
 
    weaponTags = {
 
      "MechanoidGunMedium",
 
      "SpacerGun",
 
    },
 
    verbs = {
 
      {
 
        verbClass = "Verb_Shoot",
 
        defaultProjectile = "Bullet_ChargeLance",
 
        warmupTime = 1.7,
 
        range = 29.9,
 
      },
 
    },
 
    tools = {
 
      {
 
        label = "barrel",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bullet_ChargeLance"] = {
+
   ["ThingDef:Plant_TreeCecropia"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseBullet",
+
       ParentName = "TreeBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpacer.xml",
+
       FileName = "Plants_Wild_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bullet_ChargeLance",
+
     defName = "Plant_TreeCecropia",
     label = "charge lance shot",
+
     label = "cecropia tree",
     projectile = {
+
     description = [[One of the most common rainforest trees. Cecropia grows very fast, but yields little usable wood.]],
       damageDef = "Bullet",
+
    statBases = {
       damageAmountBase = 30,
+
       Beauty = 1,
       stoppingPower = 1.5,
+
      Nutrition = 1.2,
       speed = 120,
+
    },
 +
    plant = {
 +
       growDays = 14,
 +
       harvestWork = 600,
 +
       harvestYield = 18,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:OrbitalWeaponBase"] = {
+
   ["ThingDef:Plant_TreePalm"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseWeapon",
+
       ParentName = "TreeBase",
      Name = "OrbitalWeaponBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpecial.xml",
+
       FileName = "Plants_Wild_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     defName = "Plant_TreePalm",
      "WeaponsRanged",
+
    label = "palm tree",
     },
+
     description = [[A tropical tree with a tall, naked trunk topped by a cluster of very broad leaves. Unfortunately, this variety doesn't produce any edible coconuts.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1200,
+
       Beauty = 1,
       Mass = 0.2,
+
       Nutrition = 1.2,
      Beauty = -3,
 
      Flammability = 0.5,
 
 
     },
 
     },
     tradeability = "Sellable",
+
     plant = {
    tradeTags = {
+
      growDays = 14,
       "ExoticMisc",
+
      harvestWork = 600,
 +
       harvestYield = 18,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:OrbitalUtilityBase"] = {
+
   ["ThingDef:Plant_TreeBamboo"] = {
 
     _ = {
 
     _ = {
       ParentName = "ApparelNoQualityBase",
+
       ParentName = "TreeBase",
      Name = "OrbitalUtilityBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpecial.xml",
+
       FileName = "Plants_Wild_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     defName = "Plant_TreeBamboo",
      "ApparelUtility",
+
    label = "bamboo tree",
     },
+
     description = [[A fast-growing tree-like plant that grows in dense groves. Bamboo can be harvested for a wood-like material. The plant itself is not beautiful.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 1200,
+
       Nutrition = 1.2,
      Mass = 0.2,
 
      Beauty = -3,
 
      Flammability = 0.5,
 
 
     },
 
     },
     tradeability = "Sellable",
+
     plant = {
    tradeTags = {
+
       growDays = 12,
       "ExoticMisc",
+
       harvestWork = 550,
    },
+
       harvestYield = 10,
    apparel = {
 
       bodyPartGroups = {
 
        "Waist",
 
       },
 
      layers = {
 
        "Belt",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:OrbitalTargeterBombardment"] = {
+
   ["ThingDef:Muffalo"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrbitalUtilityBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpecial.xml",
+
       FileName = "Races_Animal_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "OrbitalTargeterBombardment",
+
     defName = "Muffalo",
     label = "orbital bombardment targeter",
+
     label = "muffalo",
     description = [[An ancient targeting apparatus for an orbital bombardment system. This unit designates a target and transmits the coordinates to a network of satellites, which then bombard the target area with kinetic impactors. This unit has been reprogrammed to accept unauthorized users, but once it is used, the network will detect the incursion and cut off the link permanently.]],
+
     description = [[A large herding herbivore descended from buffalo and adapted for both cold and warm environments. While enraged muffalo are deadly, tamed muffalo are quite docile and can be used as pack animals.\n\nNobody is quite sure why they're blue - it might even be some early genetic modification test that just never got changed.]],
     verbs = {
+
     statBases = {
 +
      MoveSpeed = 4.5,
 +
      MarketValue = 300,
 +
      ComfyTemperatureMin = -55,
 +
      ComfyTemperatureMax = 45,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 13,
 +
        cooldownTime = 2.6,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
      },
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 
       {
 
       {
         verbClass = "Verb_Bombardment",
+
         capacities = {
        warmupTime = 3,
+
           "Bite",
        range = 44.9,
 
        burstShotCount = 1,
 
        onlyManualCast = true,
 
        targetParams = {
 
           canTargetLocations = true,
 
 
         },
 
         },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.5,
 
       },
 
       },
 
     },
 
     },
Line 21,259: Line 20,790:
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Reloadable",
+
           Class = "CompProperties_Shearable",
 
         },
 
         },
         maxCharges = 1,
+
         woolDef = "WoolMuffalo",
        destroyOnEmpty = true,
+
         shearIntervalDays = 25,
        hotKey = "Misc4",
+
         woolAmount = 100,
         chargeNoun = "charge",
 
         displayGizmoWhileUndrafted = false,
 
 
       },
 
       },
 
     },
 
     },
  },
+
     race = {
 
+
       herdAnimal = true,
  ["ThingDef:OrbitalTargeterPowerBeam"] = {
+
       baseBodySize = 2.1,
     _ = {
+
       foodType = {
       ParentName = "OrbitalUtilityBase",
+
        "VegetarianRoughAnimal",
       DefCategory = "ThingDef",
+
       },
       FileName = "RangedSpecial.xml",
+
       leatherDef = "Leather_Bluefur",
       GameVersion = "1.2.2753",
+
      gestationPeriodDays = 28,
       DLC = "Core",
+
      wildness = 0.6,
    },
+
      trainability = "Simple",
    defName = "OrbitalTargeterPowerBeam",
+
      lifeExpectancy = 15,
    label = "orbital power beam targeter",
+
      lifeStageAges = {
    description = [[An ancient targeting unit for a network of power-collection satellites. Once aimed at a target, it directs ancient satellites to begin beaming power down in a massive column of electromagnetic energy. This power can safely be collected in a giant absorption dish. Since you have no absorption dish, you'll be aiming it at enemies, at which point the power column will turn the area into a thousand-degree inferno. This will last until the satellites detect the unsafe targeting, shut themselves down, and permanently deactivate the targeter.]],
+
        {
    verbs = {
+
          def = "AnimalBaby",
      {
+
          minAge = 0,
        verbClass = "Verb_PowerBeam",
+
         },
         warmupTime = 3,
+
         {
         range = 44.9,
+
          def = "AnimalJuvenile",
        burstShotCount = 1,
+
          minAge = 0.25,
         onlyManualCast = true,
+
         },
         targetParams = {
+
         {
           canTargetLocations = true,
+
          def = "AnimalAdult",
 +
           minAge = 0.5,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     comps = {
+
     tradeTags = {
       {
+
       "AnimalCommon",
        _ = {
+
      "AnimalFarm",
          Class = "CompProperties_Reloadable",
 
        },
 
        maxCharges = 1,
 
        destroyOnEmpty = true,
 
        hotKey = "Misc4",
 
        chargeNoun = "charge",
 
        displayGizmoWhileUndrafted = false,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TornadoGenerator"] = {
+
   ["ThingDef:Gazelle"] = {
 
     _ = {
 
     _ = {
       ParentName = "OrbitalUtilityBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "RangedSpecial.xml",
+
       FileName = "Races_Animal_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TornadoGenerator",
+
     defName = "Gazelle",
     label = "tornado generator",
+
     label = "gazelle",
     description = [[An ancient control unit for a network of weather-control satellites. This device has had certain failsafes bypassed; it is capable of causing a massive air current disturbance, which will generate a tornado at a chosen location. The weather network will detect this unauthorized intrusion and lock out the device after use, but the tornado will be left to spend its energy normally.]],
+
     description = [[A small, extremely quick antelope known for its amazingly long leap.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 800,
+
      MoveSpeed = 6.0,
 +
      ComfyTemperatureMin = -10,
 +
       MarketValue = 150,
 
     },
 
     },
     verbs = {
+
     tools = {
 
       {
 
       {
         verbClass = "Verb_Spawn",
+
         label = "left hoof",
         warmupTime = 3,
+
         capacities = {
        spawnDef = "Tornado",
+
          "Blunt",
        colonyWideTaleDef = "TornadoFromItem",
+
          "Poke",
        range = 44.9,
 
        burstShotCount = 1,
 
        onlyManualCast = true,
 
        targetParams = {
 
          canTargetLocations = true,
 
 
         },
 
         },
 +
        power = 5.5,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 
       },
 
       },
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "right hoof",
           Class = "CompProperties_Reloadable",
+
        capacities = {
 +
           "Blunt",
 +
          "Poke",
 
         },
 
         },
         maxCharges = 1,
+
         power = 5.5,
         destroyOnEmpty = true,
+
        cooldownTime = 1.5,
         hotKey = "Misc4",
+
        linkedBodyPartsGroup = "FrontRightLeg",
         chargeNoun = "charge",
+
      },
         displayGizmoWhileUndrafted = false,
+
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
         linkedBodyPartsGroup = "Teeth",
 +
         chanceFactor = 0.7,
 +
      },
 +
      {
 +
        label = "head",
 +
         capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
         chanceFactor = 0.2,
 
       },
 
       },
 
     },
 
     },
  },
+
     race = {
 
+
       herdAnimal = true,
  ["ThingDef:PlantBaseNonEdible"] = {
+
       baseBodySize = 0.7,
     _ = {
 
       Name = "PlantBaseNonEdible",
 
      Abstract = true,
 
       DefCategory = "ThingDef",
 
      FileName = "Plants_Bases.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    category = "Plant",
 
    thingClass = "Plant",
 
    altitudeLayer = "LowPlant",
 
    useHitPoints = true,
 
    statBases = {
 
      Flammability = 1,
 
    },
 
    pathCostIgnoreRepeat = false,
 
    plant = {
 
      fertilityMin = 0.7,
 
      fertilitySensitivity = 1.0,
 
      sowWork = 170,
 
      harvestWork = 200,
 
    },
 
  },
 
 
 
  ["ThingDef:PlantBase"] = {
 
    _ = {
 
      ParentName = "PlantBaseNonEdible",
 
      Name = "PlantBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Plants_Bases.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    ingestible = {
 
 
       foodType = {
 
       foodType = {
         "Plant",
+
         "VegetarianRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Plain",
 +
      wildness = 0.75,
 +
      gestationPeriodDays = 22,
 +
      lifeExpectancy = 12,
 +
      manhunterOnTameFailChance = 0,
 +
      manhunterOnDamageChance = 0,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.20,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.4,
 +
        },
 
       },
 
       },
       preferability = "RawBad",
+
    },
 +
    tradeTags = {
 +
       "AnimalCommon",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BushBase"] = {
+
   ["ThingDef:Iguana"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
      Name = "BushBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Bases.xml",
+
       FileName = "Races_Animal_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Iguana",
 +
    label = "iguana",
 +
    description = [[These large lizards normally feed on plant matter. However, when angered, their tough hide and sharp claws make them quite dangerous.\n\nResting iguanas hold their heads high, giving them an amusing 'proud' look. But they're not proud; they're just trying to see predators so they don't get eaten.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 120,
+
       MoveSpeed = 3.0,
       Nutrition = 0.3,
+
      MarketValue = 100,
 +
       ComfyTemperatureMin = 0,
 +
      ComfyTemperatureMax = 60,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "left claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftClaws",
 +
      },
 +
      {
 +
        label = "right claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightClaws",
 +
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2.6,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 5,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
     fillPercent = 0.20,
+
     comps = {
     pathCost = 30,
+
      {
    plant = {
+
        _ = {
       fertilitySensitivity = 0.5,
+
          Class = "CompProperties_EggLayer",
       growDays = 3,
+
        },
 +
        eggFertilizedDef = "EggIguanaFertilized",
 +
        eggFertilizationCountMax = 1,
 +
        eggLayIntervalDays = 15,
 +
        eggProgressUnfertilizedMax = 0.5,
 +
        eggCountRange = { ["<"]=1, [">"]=2 },
 +
      },
 +
    },
 +
     race = {
 +
      baseBodySize = 0.20,
 +
      foodType = {
 +
        "OmnivoreRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Lizard",
 +
       wildness = 0.5,
 +
       trainability = "None",
 +
      petness = 0.15,
 +
      lifeExpectancy = 12,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.09,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.25,
 +
        },
 +
      },
 +
    },
 +
    tradeTags = {
 +
      "AnimalUncommon",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:TreeBase"] = {
+
   ["ThingDef:Dromedary"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
      Name = "TreeBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Bases.xml",
+
       FileName = "Races_Animal_Arid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Dromedary",
 +
    label = "dromedary",
 +
    description = [[A large land mammal adapted to arid environments. Domesticated since ancient times, its wool and leather are both exceptionally good at insulating against the desert heat, and its milk is quite nourishing. It can be used as a pack animal, but its bouncing gait makes it too uncomfortable to ride for any distance.\n\nBy storing water in its large humps and reclaiming moisture from its breath as it exhales, it can go weeks without drinking.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 200,
+
       MoveSpeed = 4.3,
       Flammability = 0.8,
+
       MarketValue = 300,
       Nutrition = 1.7,
+
      ComfyTemperatureMin = -22,
 +
       ComfyTemperatureMax = 60,
 
     },
 
     },
     altitudeLayer = "Building",
+
     comps = {
     fillPercent = 0.25,
+
      {
    passability = "PassThroughOnly",
+
        _ = {
    pathCost = 42,
+
          Class = "CompProperties_Milkable",
    ingestible = {
+
        },
       foodType = {
+
        milkDef = "Milk",
         "Tree",
+
        milkIntervalDays = 2,
 +
        milkAmount = 12,
 +
      },
 +
     },
 +
    tools = {
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
         linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 
       },
 
       },
      preferability = "RawBad",
 
 
     },
 
     },
     plant = {
+
     race = {
       lifespanDaysPerGrowDays = 9,
+
       herdAnimal = true,
       fertilitySensitivity = 0.5,
+
       baseBodySize = 2.0,
      sowWork = 4000,
+
       foodType = {
      sowMinSkill = 6,
+
         "VegetarianRoughAnimal",
       sowResearchPrerequisites = {
 
         "TreeSowing",
 
 
       },
 
       },
       harvestWork = 800,
+
       leatherDef = "Leather_Camel",
       harvestedThingDef = "WoodLog",
+
      wildness = 0.25,
       harvestYield = 25,
+
       trainability = "Simple",
       harvestTag = "Wood",
+
       gestationPeriodDays = 28,
       harvestMinGrowth = 0.40,
+
       lifeExpectancy = 45,
       harvestFailable = false,
+
       manhunterOnTameFailChance = 0,
       blockAdjacentSow = true,
+
       manhunterOnDamageChance = 0,
      sowTags = {
+
       lifeStageAges = {
         "Ground",
+
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.25,
 +
         },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.5,
 +
        },
 
       },
 
       },
       interferesWithRoof = true,
+
    },
 +
    tradeTags = {
 +
       "AnimalCommon",
 +
      "AnimalFarm",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:CavePlantBase"] = {
+
   ["ThingDef:BasePawn"] = {
 
     _ = {
 
     _ = {
       Name = "CavePlantBase",
+
       Name = "BasePawn",
      ParentName = "PlantBase",
 
 
       Abstract = true,
 
       Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cave.xml",
+
       FileName = "Races_Animal_Base.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     plant = {
+
     thingClass = "Pawn",
      growMinGlow = 0,
+
     category = "Pawn",
      growOptimalGlow = 0,
+
     altitudeLayer = "Pawn",
      cavePlant = true,
+
     useHitPoints = false,
    },
 
  },
 
 
 
  ["ThingDef:Glowstool"] = {
 
    _ = {
 
      ParentName = "CavePlantBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Plants_Cave.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
     },
 
    defName = "Glowstool",
 
     label = "glowstool",
 
     description = [[A small brown mushroom typically found in caves. It smells like an old, dirty rag pulled from the stomach of a rotting muffalo - but it tastes surprisingly good when cooked. Dies when exposed to light.]],
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       Mass = 60,
       Beauty = 2,
+
       Flammability = 0.7,
      Nutrition = 0.35,
 
    },
 
    pathCost = 14,
 
    plant = {
 
      fertilityMin = 0.01,
 
      fertilitySensitivity = 0.15,
 
      growDays = 40,
 
      harvestYield = 20,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "RawFungus",
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
         _ = {
+
         compClass = "CompAttachBase",
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 10,
 
        glowColor = {5, 25, 32, 0},
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Agarilux"] = {
+
   ["ThingDef:AnimalThingBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "CavePlantBase",
+
       ParentName = "BasePawn",
 +
      Name = "AnimalThingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cave.xml",
+
       FileName = "Races_Animal_Base.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Agarilux",
 
    label = "agarilux",
 
    description = [[An enormous purple mushroom. Its size and glowing protrusions make this fungus beautiful to look at. It dies when exposed to light.]],
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 150,
+
       LeatherAmount = 30,
      Beauty = 4,
 
      Nutrition = 0.5,
 
 
     },
 
     },
     pathCost = 30,
+
     race = {
    plant = {
+
       manhunterOnDamageChance = 0.02,
       fertilityMin = 0.01,
+
       manhunterOnTameFailChance = 0.013,
       fertilitySensitivity = 0.15,
+
       trainability = "Intermediate",
       growDays = 60,
 
      harvestYield = 35,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "RawFungus",
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 10,
 
        glowColor = {23, 15, 30, 0},
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bryolux"] = {
+
   ["ThingDef:BaseBear"] = {
 
     _ = {
 
     _ = {
       ParentName = "CavePlantBase",
+
      Abstract = true,
 +
       ParentName = "AnimalThingBase",
 +
      Name = "BaseBear",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cave.xml",
+
       FileName = "Races_Animal_Bears.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Bryolux",
 
    label = "bryolux",
 
    description = [[A blue moss typically found in deep, dark caves. It is sticky, with tangled fibers, which slows anyone walking over it. Dies when exposed to light.]],
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MoveSpeed = 4.6,
       Beauty = 1,
+
       ComfyTemperatureMin = -40,
       Nutrition = 0.15,
+
       MarketValue = 700,
 
     },
 
     },
     pathCost = 30,
+
     tools = {
    plant = {
+
      {
       fertilityMin = 0.01,
+
        label = "left claw",
       fertilitySensitivity = 0.15,
+
        capacities = {
       growDays = 60,
+
          "Scratch",
 +
        },
 +
        power = 17,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftPaw",
 +
      },
 +
      {
 +
        label = "right claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 17,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightPaw",
 +
      },
 +
       {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 23.6,
 +
        cooldownTime = 2.6,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.5,
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 11,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
       },
 
     },
 
     },
     comps = {
+
     race = {
       {
+
       herdAnimal = false,
         _ = {
+
      baseBodySize = 2.15,
           Class = "CompProperties_Glower",
+
      foodType = {
 +
        "OmnivoreAnimal",
 +
        "OvivoreAnimal",
 +
      },
 +
      leatherDef = "Leather_Bear",
 +
      gestationPeriodDays = 30,
 +
      wildness = 0.80,
 +
      lifeExpectancy = 22,
 +
      trainability = "Advanced",
 +
      manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 +
      lifeStageAges = {
 +
         {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.4,
 +
        },
 +
        {
 +
           def = "AnimalAdult",
 +
          minAge = 0.8,
 
         },
 
         },
        glowRadius = 10,
 
        glowColor = {5, 5, 25, 0},
 
 
       },
 
       },
 +
    },
 +
    tradeTags = {
 +
      "AnimalUncommon",
 +
      "AnimalFighter",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Rose"] = {
+
   ["ThingDef:Bear_Grizzly"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "BaseBear",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Decorative.xml",
+
       FileName = "Races_Animal_Bears.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Rose",
+
     defName = "Bear_Grizzly",
     label = "rose",
+
     label = "grizzly bear",
     description = [[A beautiful cultivated flower, the rose has been a symbol of love since Earth's ancient era.]],
+
     description = [[A huge omnivorous mammal adapted for cold climates. Bears' thick blubber and fur keeps them warm in winter.\n\nWhile their usual diet consists of fish, berries, honey, and scavenged meat, the grizzly is capable of using its massive strength and deadly claws to kill live prey. They are startlingly quick for such lumbering creatures.]],
     statBases = {
+
     race = {
       MaxHitPoints = 85,
+
       wildness = 0.80,
      Beauty = 14,
 
      Nutrition = 0.05,
 
 
     },
 
     },
    altitudeLayer = "Item",
+
   },
    ingestible = {
+
 
      canAutoSelectAsFoodForCaravan = false,
+
   ["ThingDef:Bear_Polar"] = {
    },
+
     _ = {
    plant = {
+
       ParentName = "BaseBear",
      harvestTag = "Standard",
 
      sowWork = 750,
 
      sowTags = {
 
        "Ground",
 
        "Decorative",
 
      },
 
      growMinGlow = 0.3,
 
      growDays = 1.5,
 
      lifespanDaysPerGrowDays = 5,
 
    },
 
   },
 
 
 
   ["ThingDef:Plant_Daylily"] = {
 
     _ = {
 
       ParentName = "PlantBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Decorative.xml",
+
       FileName = "Races_Animal_Bears.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Daylily",
+
     defName = "Bear_Polar",
     label = "daylily",
+
     label = "polar bear",
     description = [[A cultivated flower with wide petals and a short lifespan. Daylilies are very beautiful, but must be replanted often.]],
+
     description = [[A great white bear adapted for frozen climates. Their thick blubber and fur keep them warm in winter.\n\nWhile their usual diet consists of fish and scavenged meat, the polar bear can also use its massive strength and deadly claws to kill live prey. They are startlingly quick for such lumbering creatures.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 85,
+
       ComfyTemperatureMin = -55,
      Beauty = 18,
 
      Nutrition = 0.05,
 
 
     },
 
     },
     altitudeLayer = "Item",
+
     race = {
    ingestible = {
+
       wildness = 0.85,
      canAutoSelectAsFoodForCaravan = false,
 
    },
 
    plant = {
 
      harvestTag = "Standard",
 
      sowWork = 540,
 
      sowTags = {
 
        "Ground",
 
        "Decorative",
 
      },
 
       growMinGlow = 0.3,
 
      growDays = 1.5,
 
      lifespanDaysPerGrowDays = 3,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Rice"] = {
+
   ["ThingDef:BigCatThingBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 +
      Name = "BigCatThingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_BigCats.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Plant_Rice",
 
    label = "rice plant",
 
    description = [[A short, fast-growing crop that yields small edible grains. Its great nutritional ouput and ease of cultivation has made it the economic core of many great civilizations. While rice grows quickly, it is sensitive to soil fertility and will not fare well in poor soil.]],
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 85,
+
       MoveSpeed = 5.0,
       Nutrition = 0.18,
+
       MarketValue = 400,
 
     },
 
     },
     pathCost = 14,
+
     tools = {
    plant = {
+
      {
       harvestTag = "Standard",
+
        label = "left claw",
       harvestedThingDef = "RawRice",
+
        capacities = {
       harvestYield = 6,
+
          "Scratch",
       sowTags = {
+
        },
         "Ground",
+
        power = 11,
         "Hydroponic",
+
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontLeftPaw",
 +
      },
 +
       {
 +
        label = "right claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 11,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontRightPaw",
 +
       },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 16,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
       },
 +
       {
 +
         label = "head",
 +
         capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 
       },
 
       },
      growDays = 3,
 
    },
 
  },
 
 
  ["ThingDef:Plant_Potato"] = {
 
    _ = {
 
      ParentName = "PlantBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Plants_Cultivated_Farm.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Plant_Potato",
 
    label = "potato plant",
 
    description = [[A highly nutritious tuber. Potatoes grow well even in somewhat poor soil, and form a delicious crispy outer coating when fried in oil.]],
 
    statBases = {
 
      MaxHitPoints = 85,
 
      Nutrition = 0.2,
 
 
     },
 
     },
     pathCost = 14,
+
     race = {
    plant = {
+
      herdAnimal = false,
       fertilitySensitivity = 0.4,
+
      baseBodySize = 1.4,
       harvestTag = "Standard",
+
      foodType = {
       harvestedThingDef = "RawPotatoes",
+
        "CarnivoreAnimal",
       harvestYield = 11,
+
        "OvivoreAnimal",
       sowTags = {
+
       },
         "Ground",
+
      leatherDef = "Leather_Panthera",
         "Hydroponic",
+
      wildness = 0.80,
 +
       trainability = "Advanced",
 +
       manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 +
      gestationPeriodDays = 26,
 +
       lifeExpectancy = 13,
 +
       lifeStageAges = {
 +
         {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
         },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.25,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.5,
 +
        },
 
       },
 
       },
       growDays = 5.8,
+
    },
 +
    tradeTags = {
 +
       "AnimalUncommon",
 +
      "AnimalFighter",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Corn"] = {
+
   ["ThingDef:Cougar"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "BigCatThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_BigCats.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Corn",
+
     defName = "Cougar",
     label = "corn plant",
+
     label = "cougar",
     description = [[A tall grain plant which produces ears of soft, edible seeds. While corn takes a long time to grow, it yields lots of food compared to other crops. Harvested corn takes a long time to spoil.]],
+
     description = [[One of the most dangerous big cats, cougars are solitary hunters with long, sharp teeth and claws. They stalk prey from hidden positions before pouncing.\n\nWhile humans are not their normal diet, they won't turn down a meal of vulnerable human meat.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 150,
+
       ComfyTemperatureMin = -25,
      Nutrition = 0.3,
 
    },
 
    pathCost = 14,
 
    plant = {
 
      fertilityMin = 0.70,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "RawCorn",
 
      harvestYield = 22,
 
      sowTags = {
 
        "Ground",
 
      },
 
      growDays = 11.3,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Strawberry"] = {
+
   ["ThingDef:Panther"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "BigCatThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_BigCats.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Strawberry",
+
     defName = "Panther",
     label = "strawberry plant",
+
     label = "panther",
     description = [[A low bush-like plant that yields fragile but delicious strawberries. While it isn't quite as productive calorie-for-calorie as other crops, strawberries are delicious even when raw.]],
+
     description = [[An agile and powerful big cat native to the jungles of old Earth. As solitary ambush predators, panthers are masters of taking down both large and small prey. Onlookers tend to focus on their graceful movements, while those in closer contact usually notice their skull-crushing strength.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 85,
+
       ComfyTemperatureMin = -8,
      Nutrition = 0.2,
+
       ComfyTemperatureMax = 50,
    },
 
    pathCost = 14,
 
    plant = {
 
      growDays = 4.6,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "RawBerries",
 
      harvestYield = 8,
 
       sowMinSkill = 5,
 
      sowTags = {
 
        "Ground",
 
        "Hydroponic",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Haygrass"] = {
+
   ["ThingDef:Lynx"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_BigCats.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Haygrass",
+
     defName = "Lynx",
     label = "haygrass",
+
     label = "lynx",
     description = [[A mixture of nutrient-rich grasses which yield large amounts of hay. Hay is edible for animals, but not humans.]],
+
     description = [[A wildcat larger than a housecat, but smaller than a cougar. Lynxes survive on a diet of small birds and animals. Their very warm fur keeps them safe from the brutally cold temperatures of their frozen territories.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 85,
+
       MoveSpeed = 5.0,
       Flammability = 1.3,
+
       ComfyTemperatureMin = -50,
       Nutrition = 0.2,
+
       MarketValue = 250,
 
     },
 
     },
     pathCost = 14,
+
     tools = {
    plant = {
+
      {
      fertilitySensitivity = 0.6,
+
        label = "left claw",
       growDays = 7,
+
        capacities = {
      harvestTag = "Standard",
+
          "Scratch",
      harvestedThingDef = "Hay",
+
        },
       harvestYield = 18,
+
        power = 9,
       sowTags = {
+
        cooldownTime = 1.5,
         "Ground",
+
        linkedBodyPartsGroup = "FrontLeftPaw",
 +
       },
 +
      {
 +
        label = "right claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontRightPaw",
 +
       },
 +
       {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
         power = 12,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 
       },
 
       },
    },
+
      {
  },
+
        label = "head",
 
+
        capacities = {
  ["ThingDef:Plant_Cotton"] = {
+
          "Blunt",
    _ = {
+
        },
      ParentName = "PlantBase",
+
        power = 6,
      DefCategory = "ThingDef",
+
        cooldownTime = 2,
      FileName = "Plants_Cultivated_Farm.xml",
+
        linkedBodyPartsGroup = "HeadAttackTool",
      GameVersion = "1.2.2753",
+
        chanceFactor = 0.2,
      DLC = "Core",
 
    },
 
    defName = "Plant_Cotton",
 
    label = "cotton plant",
 
    description = [[A mid-size crop that yields fine white cotton fibers. These are used to make cloth.]],
 
    statBases = {
 
      MaxHitPoints = 85,
 
      Nutrition = 0.2,
 
    },
 
    pathCost = 14,
 
    plant = {
 
      growDays = 8,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "Cloth",
 
      harvestYield = 10,
 
      sowTags = {
 
        "Ground",
 
        "Hydroponic",
 
 
       },
 
       },
 
     },
 
     },
  },
+
     race = {
 
+
       herdAnimal = false,
  ["ThingDef:Plant_Devilstrand"] = {
+
       baseBodySize = 0.8,
     _ = {
+
       foodType = {
       ParentName = "PlantBase",
+
        "CarnivoreAnimal",
       DefCategory = "ThingDef",
+
         "OvivoreAnimal",
      FileName = "Plants_Cultivated_Farm.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Plant_Devilstrand",
 
    label = "devilstrand",
 
    description = [[This fragile mushroom was genetically engineered to produce a silk net that is both difficult to tear and soft to the touch. While the mushroom takes a very long time to grow, only exotic ultra-tech fabrics outperform its devilstrand fibers.\n\nSome say it's called devilstrand because of its red color. Others think it owes its name to the greed it inspires in people.]],
 
    statBases = {
 
      MaxHitPoints = 85,
 
       Nutrition = 0.15,
 
    },
 
    pathCost = 14,
 
    plant = {
 
      growDays = 22.5,
 
      sowWork = 400,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "DevilstrandCloth",
 
      harvestYield = 6,
 
      sowTags = {
 
         "Ground",
 
 
       },
 
       },
       sowMinSkill = 10,
+
       leatherDef = "Leather_Panthera",
       sowResearchPrerequisites = {
+
      wildness = 0.80,
         "Devilstrand",
+
      manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 +
       gestationPeriodDays = 26,
 +
      lifeExpectancy = 9,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.2,
 +
        },
 +
         {
 +
          def = "AnimalAdult",
 +
          minAge = 0.4,
 +
        },
 
       },
 
       },
 +
    },
 +
    tradeTags = {
 +
      "AnimalUncommon",
 +
      "AnimalFighter",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:HealrootBase"] = {
+
   ["ThingDef:BigBirdThingBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
       Name = "HealrootBase",
+
       Name = "BigBirdThingBase",
 
       Abstract = true,
 
       Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_Birds.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     statBases = {
+
     race = {
       MaxHitPoints = 60,
+
       leatherDef = "Leather_Bird",
       Nutrition = 0.15,
+
       gestationPeriodDays = 24,
    },
+
      lifeStageAges = {
    pathCost = 14,
+
        {
    plant = {
+
          def = "AnimalBabyTiny",
      growDays = 10,
+
          minAge = 0,
      harvestWork = 400,
+
        },
      harvestTag = "Standard",
+
        {
      harvestedThingDef = "MedicineHerbal",
+
          def = "AnimalJuvenile",
       harvestYield = 1,
+
          minAge = 0.22,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.45,
 +
        },
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Healroot"] = {
+
   ["ThingDef:Cassowary"] = {
 
     _ = {
 
     _ = {
       ParentName = "HealrootBase",
+
       ParentName = "BigBirdThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_Birds.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Healroot",
+
     defName = "Cassowary",
     label = "healroot",
+
     label = "cassowary",
     description = [[A slow-growing plant which yields herbal medicine when harvested. Sowing and harvesting healroot are both very labor-intensive tasks because of its delicate shoots.\n\nHealroot was selectively bred for centuries by settlers. It is sometimes also called "healer's hand" by tribespeople - a nickname it owes to its five major medicinal virtues.]],
+
     description = [[A large flightless bird with brightly-colored feathers. While it looks beautiful, its kick is vicious. It's known for being quick to aggression when harmed by violence or confronted by incompetent animal tamers.]],
     plant = {
+
     statBases = {
       growDays = 7,
+
       MoveSpeed = 4.6,
       sowWork = 800,
+
       MarketValue = 200,
       sowMinSkill = 8,
+
       ComfyTemperatureMin = -8,
       sowTags = {
+
       ComfyTemperatureMax = 50,
        "Ground",
+
    },
         "Hydroponic",
+
    race = {
 +
      herdAnimal = false,
 +
      baseBodySize = 0.8,
 +
      foodType = {
 +
         "VegetarianRoughAnimal",
 
       },
 
       },
 +
      wildness = 0.80,
 +
      lifeExpectancy = 45,
 +
      manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 
     },
 
     },
  },
+
    comps = {
 
+
      {
  ["ThingDef:Plant_Hops"] = {
+
        _ = {
    _ = {
+
          Class = "CompProperties_EggLayer",
      ParentName = "PlantBase",
+
        },
      DefCategory = "ThingDef",
+
        eggFertilizedDef = "EggCassowaryFertilized",
      FileName = "Plants_Cultivated_Farm.xml",
+
        eggFertilizationCountMax = 1,
      GameVersion = "1.2.2753",
+
        eggLayIntervalDays = 17,
       DLC = "Core",
+
        eggProgressUnfertilizedMax = 0.5,
 +
        eggCountRange = 1,
 +
       },
 
     },
 
     },
     defName = "Plant_Hops",
+
     tools = {
    label = "hop plant",
+
      {
    description = [[A flowering crop that yields hops, an essential ingredient in beer.]],
+
        label = "claws",
    statBases = {
+
        capacities = {
       MaxHitPoints = 85,
+
          "Scratch",
      Nutrition = 0.2,
+
        },
 +
        power = 7,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "Feet",
 +
      },
 +
      {
 +
        label = "beak",
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Beak",
 +
       },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
     pathCost = 14,
+
     tradeTags = {
    plant = {
+
       "AnimalUncommon",
       fertilitySensitivity = 0.7,
 
      growDays = 5,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "RawHops",
 
      harvestYield = 8,
 
      sowMinSkill = 3,
 
      sowTags = {
 
        "Ground",
 
        "Hydroponic",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Smokeleaf"] = {
+
   ["ThingDef:Emu"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "BigBirdThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_Birds.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Smokeleaf",
+
     defName = "Emu",
     label = "smokeleaf plant",
+
     label = "emu",
     description = [[A leafy crop grown for the psychological effects of chemicals in its leaves. Smokeleaf leaves can be prepared into joints at the crafting spot. Smokeleaf makes a user feel relaxed, but reduces motivation, and can be addictive.]],
+
     description = [[A large flightless bird with beady eyes on its ugly face. With its bad attitude, it is the jerk of the natural world. Bother it, and it is guaranteed to seek revenge.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 85,
+
       MoveSpeed = 5.5,
       Nutrition = 0.15,
+
      MarketValue = 200,
 +
       ComfyTemperatureMin = -8,
 +
      ComfyTemperatureMax = 50,
 
     },
 
     },
     pathCost = 14,
+
     race = {
    plant = {
+
       herdAnimal = false,
       growDays = 7.50,
+
       baseBodySize = 0.8,
       harvestTag = "Standard",
+
       foodType = {
      harvestedThingDef = "SmokeleafLeaves",
+
         "VegetarianRoughAnimal",
      harvestYield = 9,
 
       sowMinSkill = 4,
 
      sowTags = {
 
         "Ground",
 
        "Hydroponic",
 
 
       },
 
       },
 +
      wildness = 0.95,
 +
      lifeExpectancy = 45,
 +
      manhunterOnTameFailChance = 1.00,
 +
      manhunterOnDamageChance = 1.00,
 
     },
 
     },
  },
+
    comps = {
 
+
      {
  ["ThingDef:Plant_Psychoid"] = {
+
        _ = {
    _ = {
+
          Class = "CompProperties_EggLayer",
      ParentName = "PlantBase",
+
        },
      DefCategory = "ThingDef",
+
        eggFertilizedDef = "EggEmuFertilized",
      FileName = "Plants_Cultivated_Farm.xml",
+
        eggFertilizationCountMax = 1,
      GameVersion = "1.2.2753",
+
        eggLayIntervalDays = 17,
       DLC = "Core",
+
        eggProgressUnfertilizedMax = 0.5,
 +
        eggCountRange = 1,
 +
       },
 
     },
 
     },
     defName = "Plant_Psychoid",
+
     tools = {
    label = "psychoid plant",
+
      {
    description = [[A leafy plant which generates the chemical compound psychite. Originally evolved as a defense mechanism to ward off plant-eating animals by overstimulating and sickening them, the psychite drug can be extracted and refined into various forms for recreational use. It is addictive.]],
+
        label = "claws",
    statBases = {
+
        capacities = {
       MaxHitPoints = 85,
+
          "Scratch",
      Nutrition = 0.15,
+
        },
 +
        power = 8,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "Feet",
 +
      },
 +
      {
 +
        label = "beak",
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Beak",
 +
       },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
     pathCost = 14,
+
     tradeTags = {
    plant = {
+
       "AnimalUncommon",
       growDays = 9.00,
 
      harvestTag = "Standard",
 
      harvestedThingDef = "PsychoidLeaves",
 
      harvestYield = 8,
 
      sowMinSkill = 6,
 
      sowTags = {
 
        "Ground",
 
        "Hydroponic",
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TreeCocoa"] = {
+
   ["ThingDef:Ostrich"] = {
 
     _ = {
 
     _ = {
       ParentName = "TreeBase",
+
       ParentName = "BigBirdThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Cultivated_Farm.xml",
+
       FileName = "Races_Animal_Birds.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TreeCocoa",
+
     defName = "Ostrich",
     label = "cocoa tree",
+
     label = "ostrich",
     description = [[A tropical tree that produces chocolate, genetically engineered to sweeten its own product, and survive in slightly less-warm climates.]],
+
     description = [[The largest unmodified bird species, ostriches are known for their fast run, huge eggs, and powerful kick. It is easily angered.]],
 
     statBases = {
 
     statBases = {
       Beauty = 2,
+
       MoveSpeed = 6.0,
       Nutrition = 1.25,
+
      MarketValue = 250,
 +
       ComfyTemperatureMin = -8,
 +
      ComfyTemperatureMax = 50,
 
     },
 
     },
     plant = {
+
     race = {
       growDays = 16,
+
       herdAnimal = false,
       sowMinSkill = 8,
+
       baseBodySize = 1.0,
       sowTags = {
+
       foodType = {
         "Ground",
+
         "VegetarianRoughAnimal",
 
       },
 
       },
       sowResearchPrerequisites = {
+
       wildness = 0.95,
 +
      lifeExpectancy = 45,
 +
      manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 +
    },
 +
    comps = {
 +
      {
 
         _ = {
 
         _ = {
           Inherit = false,
+
           Class = "CompProperties_EggLayer",
 +
        },
 +
        eggFertilizedDef = "EggOstrichFertilized",
 +
        eggFertilizationCountMax = 1,
 +
        eggLayIntervalDays = 19,
 +
        eggProgressUnfertilizedMax = 0.5,
 +
        eggCountRange = 1,
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "claws",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 11,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "Feet",
 +
      },
 +
      {
 +
        label = "beak",
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 11,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Beak",
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 
         },
 
         },
         "Cocoa",
+
         power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 
       },
 
       },
      harvestWork = 400,
+
    },
      harvestTag = "Standard",
+
    tradeTags = {
       harvestYield = 20,
+
       "AnimalUncommon",
      harvestedThingDef = "Chocolate",
 
      harvestFailable = true,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BurnedTree"] = {
+
   ["ThingDef:Turkey"] = {
 
     _ = {
 
     _ = {
 +
      ParentName = "BigBirdThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Special.xml",
+
       FileName = "Races_Animal_Birds.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BurnedTree",
+
     defName = "Turkey",
     label = "burned tree",
+
     label = "turkey",
     description = [[A burned tree stump. It's ugly and yields no usable wood.]],
+
     description = [[A short, fat, flightless bird known for its hilarious 'gobbling' call. It has been long domesticated, but also lives in the wild.]],
    category = "Plant",
 
    thingClass = "DeadPlant",
 
    altitudeLayer = "Building",
 
    useHitPoints = true,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MoveSpeed = 3.6,
       Flammability = 0,
+
       MarketValue = 100,
      DeteriorationRate = 4,
+
       ComfyTemperatureMin = -8,
       Beauty = -8,
 
 
     },
 
     },
     fillPercent = 0.20,
+
     race = {
    pathCostIgnoreRepeat = false,
+
       herdAnimal = false,
    passability = "PassThroughOnly",
+
       baseBodySize = 0.6,
    pathCost = 14,
+
       foodType = {
    plant = {
+
        "VegetarianRoughAnimal",
       harvestWork = 180,
+
       },
       harvestYield = 0,
+
       wildness = 0.45,
      fertilityMin = 0.01,
+
       trainability = "None",
       fertilitySensitivity = 0,
+
       lifeExpectancy = 9,
      blockAdjacentSow = true,
+
       manhunterOnTameFailChance = 0,
       harvestedThingDef = "WoodLog",
+
       manhunterOnDamageChance = 0,
       harvestFailable = false,
 
       harvestTag = "Wood",
 
       growDays = 30,
 
       growMinGlow = 0,
 
       lifespanDaysPerGrowDays = 0,
 
 
     },
 
     },
  },
+
    comps = {
 
+
      {
  ["ThingDef:Plant_Ambrosia"] = {
+
        _ = {
    _ = {
+
          Class = "CompProperties_EggLayer",
      ParentName = "PlantBase",
+
        },
      DefCategory = "ThingDef",
+
        eggFertilizedDef = "EggTurkeyFertilized",
      FileName = "Plants_Special.xml",
+
        eggFertilizationCountMax = 1,
      GameVersion = "1.2.2753",
+
        eggLayIntervalDays = 11,
       DLC = "Core",
+
        eggProgressUnfertilizedMax = 0.5,
 +
        eggCountRange = { ["<"]=1, [">"]=1 },
 +
       },
 
     },
 
     },
     defName = "Plant_Ambrosia",
+
     tools = {
    label = "ambrosia bush",
+
      {
    description = [[A rare wild bush which yields the ambrosia fruit. Ambrosia fruit is delicious and produces a drug-like mood boost. Ambrosia cannot be farmed, which makes wild ambrosia groves very valuable.\n\nIts rarity, beauty, and desirability are why ambrosia was named after the food of the ancient Greek gods.]],
+
        label = "claws",
    statBases = {
+
        capacities = {
       MaxHitPoints = 100,
+
          "Scratch",
      Nutrition = 0.35,
+
        },
 +
        power = 5,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "Feet",
 +
      },
 +
      {
 +
        label = "beak",
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Beak",
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 4,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
     pathCost = 14,
+
     tradeTags = {
    plant = {
+
       "AnimalCommon",
       fertilitySensitivity = 0.15,
+
       "AnimalFarm",
      growDays = 6,
 
      harvestYield = 4,
 
      harvestTag = "Standard",
 
       harvestedThingDef = "Ambrosia",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Agave"] = {
+
   ["ThingDef:Chicken"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Arid.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Agave",
+
     defName = "Chicken",
     label = "agave",
+
     label = "chicken",
     description = [[A large-leafed desert plant with edible flowers and stalks.]],
+
     description = [[The most traditional farm bird, the chicken is raised for its eggs and meat. It grows very quickly and lays eggs very often.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 120,
+
       MoveSpeed = 2.1,
       Nutrition = 0.2,
+
      MarketValue = 50,
 +
       LeatherAmount = 0,
 +
      ComfyTemperatureMin = -10,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "claws",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 2,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "Feet",
 +
      },
 +
      {
 +
        label = "beak",
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 3,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Beak",
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 1,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_EggLayer",
 +
        },
 +
        eggUnfertilizedDef = "EggChickenUnfertilized",
 +
        eggFertilizedDef = "EggChickenFertilized",
 +
        eggFertilizationCountMax = 1,
 +
        eggLayIntervalDays = 2,
 +
        eggCountRange = 1,
 +
      },
 
     },
 
     },
     fillPercent = 0.20,
+
     race = {
    pathCost = 30,
+
      baseBodySize = 0.18,
    plant = {
+
      foodType = {
       fertilitySensitivity = 0.5,
+
        "VegetarianRoughAnimal",
       growDays = 6,
+
      },
       harvestTag = "Standard",
+
      trainability = "None",
      harvestedThingDef = "RawAgave",
+
      wildness = 0,
       harvestYield = 10,
+
      manhunterOnTameFailChance = 0,
       harvestWork = 300,
+
       manhunterOnDamageChance = 0,
 +
       mateMtbHours = 8,
 +
      lifeExpectancy = 6,
 +
       lifeStageAges = {
 +
        {
 +
          def = "AnimalBabyTiny",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.12,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.3,
 +
        },
 +
       },
 +
    },
 +
    tradeTags = {
 +
      "AnimalCommon",
 +
       "AnimalFarm",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_PincushionCactus"] = {
+
   ["ThingDef:Pig"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Arid.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_PincushionCactus",
+
     defName = "Pig",
     label = "pincushion cactus",
+
     label = "pig",
     description = [[A short cactus. It is so named because it resembles a pincushion.]],
+
     description = [[The pig was one of the first animals domesticated by humans. It is commonly raised for meat, and is easy to feed because of its omnivorous diet. Though pigs are self-serving by disposition, they can be trained in complex tasks.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 150,
+
       MoveSpeed = 3.9,
       Nutrition = 0.25,
+
      ComfyTemperatureMin = -5,
 +
       MarketValue = 200,
 
     },
 
     },
     pathCost = 30,
+
     tools = {
    plant = {
+
      {
      fertilityMin = 0.05,
+
        capacities = {
       fertilitySensitivity = 0,
+
          "Bite",
      growDays = 2.5,
+
        },
 +
        power = 7.3,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
  },
+
    race = {
 
+
      baseBodySize = 0.75,
  ["ThingDef:Plant_SaguaroCactus"] = {
+
      foodType = {
    _ = {
+
        "OmnivoreRoughAnimal",
       ParentName = "TreeBase",
+
      },
       DefCategory = "ThingDef",
+
      leatherDef = "Leather_Pig",
       FileName = "Plants_Wild_Arid.xml",
+
      wildness = 0.07,
       GameVersion = "1.2.2753",
+
       trainability = "Advanced",
      DLC = "Core",
+
       manhunterOnTameFailChance = 0,
 +
      manhunterOnDamageChance = 0,
 +
       gestationPeriodDays = 17,
 +
       litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {1.7, 1},
 +
          {2.0, 0},
 +
        },
 +
      },
 +
      lifeExpectancy = 12,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.1,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.4,
 +
        },
 +
      },
 
     },
 
     },
     defName = "Plant_SaguaroCactus",
+
     tradeTags = {
    label = "saguaro cactus",
+
      "AnimalCommon",
    description = [[A large cactus native to arid Earth environments. Though it is not a tree, it yields a small amount of fibrous material that can be used like wood.]],
+
      "AnimalFarm",
    statBases = {
 
      MaxHitPoints = 130,
 
      Nutrition = 1.5,
 
    },
 
    fillPercent = 0.35,
 
    plant = {
 
      lifespanDaysPerGrowDays = 40,
 
      fertilityMin = 0.05,
 
      fertilitySensitivity = 0,
 
      growDays = 5,
 
      harvestWork = 300,
 
      harvestYield = 15,
 
      harvestMinGrowth = 0.2,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TreeDrago"] = {
+
   ["ThingDef:Cow"] = {
 
     _ = {
 
     _ = {
       ParentName = "TreeBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Arid.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TreeDrago",
+
     defName = "Cow",
     label = "drago tree",
+
     label = "cow",
     description = [[A hardy desert tree topped with thick, pointed leaves.]],
+
     description = [[A large domesticated ungulate, cows have been bred for millennia to produce huge amounts of milk, meat, and leather. They are exceptionally gentle creatures and will never seek revenge, no matter how many times they are harmed. Most of them are so adapted to farm life that they cannot survive in the wild.]],
 
     statBases = {
 
     statBases = {
       Beauty = 1,
+
       MoveSpeed = 3.2,
       Nutrition = 1,
+
       ComfyTemperatureMin = -10,
 +
      MarketValue = 300,
 
     },
 
     },
     plant = {
+
     comps = {
       growDays = 15,
+
       {
       harvestWork = 750,
+
        _ = {
       harvestYield = 25,
+
          Class = "CompProperties_Milkable",
 +
        },
 +
        milkDef = "Milk",
 +
        milkIntervalDays = 1,
 +
        milkAmount = 18,
 +
      },
 +
    },
 +
    tools = {
 +
       {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 8.8,
 +
        cooldownTime = 2.6,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 +
    },
 +
    race = {
 +
      herdAnimal = true,
 +
      baseBodySize = 2.0,
 +
      foodType = {
 +
        "VegetarianRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Plain",
 +
      wildness = 0.05,
 +
      trainability = "None",
 +
      gestationPeriodDays = 20,
 +
      lifeExpectancy = 22,
 +
      manhunterOnDamageChance = 0,
 +
      manhunterOnTameFailChance = 0,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.2,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.45,
 +
        },
 +
      },
 +
    },
 +
    tradeTags = {
 +
      "AnimalCommon",
 +
      "AnimalFarm",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Grass"] = {
+
   ["ThingDef:Alpaca"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_General.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Grass",
+
     defName = "Alpaca",
     label = "grass",
+
     label = "alpaca",
     description = [[Wild grass. Grows anywhere there is a little light and minimally fertile ground.]],
+
     description = [[A medium-sized ungulate closely related to the llama, the alpaca is usually raised for its remarkably soft and insulating wool. Alpacas have also been used as pack animals since they hauled cargo on the rugged mountain trails of ancient South America]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 85,
+
       MoveSpeed = 4.1,
       Flammability = 1.3,
+
       ComfyTemperatureMin = -18,
       Nutrition = 0.25,
+
      MarketValue = 350,
 +
       ComfyTemperatureMax = 45,
 
     },
 
     },
     plant = {
+
     tools = {
       fertilityMin = 0.05,
+
       {
       fertilitySensitivity = 0.3,
+
        label = "left hoof",
       growDays = 2.5,
+
        capacities = {
       harvestWork = 40,
+
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 7.3,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 7.3,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Shearable",
 +
        },
 +
        woolDef = "WoolAlpaca",
 +
        shearIntervalDays = 15,
 +
        woolAmount = 100,
 +
      },
 +
    },
 +
    race = {
 +
      herdAnimal = true,
 +
      baseBodySize = 1.0,
 +
      foodType = {
 +
        "VegetarianRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Camel",
 +
      wildness = 0.25,
 +
      manhunterOnTameFailChance = 0,
 +
      manhunterOnDamageChance = 0,
 +
      gestationPeriodDays = 25,
 +
      lifeExpectancy = 15,
 +
       lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.2,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.45,
 +
        },
 +
       },
 +
    },
 +
    tradeTags = {
 +
      "AnimalCommon",
 +
      "AnimalFarm",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TallGrass"] = {
+
   ["ThingDef:Duck"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_General.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TallGrass",
+
     defName = "Duck",
     label = "tall grass",
+
     label = "duck",
     description = [[Wild tall grass. Slows down anyone moving over it.]],
+
     description = [[A very common type of farm bird, also appearing in the wild, the duck is raised for its delicious meat. It grows quick but lays eggs quite rarely.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 90,
+
       MoveSpeed = 2.1,
       Flammability = 1.3,
+
       MarketValue = 60,
       Nutrition = 0.30,
+
       LeatherAmount = 0,
 +
      ComfyTemperatureMin = -10,
 
     },
 
     },
     pathCost = 14,
+
     tools = {
    plant = {
+
      {
       fertilitySensitivity = 0.7,
+
        label = "claws",
       growDays = 3,
+
        capacities = {
       harvestWork = 60,
+
          "Scratch",
 +
        },
 +
        power = 3,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "Feet",
 +
      },
 +
      {
 +
        label = "beak",
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 4,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Beak",
 +
       },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 2,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
       },
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_EggLayer",
 +
        },
 +
        eggUnfertilizedDef = "EggDuckUnfertilized",
 +
        eggFertilizedDef = "EggDuckFertilized",
 +
        eggFertilizationCountMax = 1,
 +
        eggLayIntervalDays = 3.5,
 +
        eggCountRange = 1,
 +
       },
 
     },
 
     },
  },
+
    race = {
 
+
      baseBodySize = 0.18,
  ["ThingDef:Plant_Bush"] = {
+
      foodType = {
    _ = {
+
        "VegetarianRoughAnimal",
       ParentName = "BushBase",
+
      },
       DefCategory = "ThingDef",
+
      trainability = "None",
      FileName = "Plants_Wild_General.xml",
+
      wildness = 0,
      GameVersion = "1.2.2753",
+
      manhunterOnTameFailChance = 0,
      DLC = "Core",
+
      manhunterOnDamageChance = 0,
 +
      mateMtbHours = 8,
 +
       lifeExpectancy = 6,
 +
       lifeStageAges = {
 +
        {
 +
          def = "AnimalBabyTiny",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.12,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.3,
 +
        },
 +
      },
 
     },
 
     },
     defName = "Plant_Bush",
+
     tradeTags = {
    label = "bush",
+
      "AnimalCommon",
    description = [[A short shrub. Does not typically talk.]],
+
      "AnimalFarm",
    plant = {
 
      growDays = 3,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Brambles"] = {
+
   ["ThingDef:Bison"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_General.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Brambles",
+
     defName = "Bison",
     label = "brambles",
+
     label = "bison",
     description = [[Tangled, thorny, woody shoots covered with leaves. Brambles grow in clusters, and slow down anyone moving over them.]],
+
     description = [[A large plant eating mammal appearing in the savannah wilderness. Tamed are quite docile, but enraged are fast and dangerous.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MoveSpeed = 4.7,
       Nutrition = 0.2,
+
      MarketValue = 350,
 +
      ComfyTemperatureMin = -55,
 +
      ComfyTemperatureMax = 45,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 15,
 +
        cooldownTime = 2.9,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
      },
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.5,
 +
      },
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Shearable",
 +
        },
 +
        woolDef = "WoolBison",
 +
        shearIntervalDays = 25,
 +
        woolAmount = 100,
 +
       },
 +
    },
 +
    race = {
 +
      herdAnimal = true,
 +
      baseBodySize = 2.1,
 +
      foodType = {
 +
        "VegetarianRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Plain",
 +
      gestationPeriodDays = 28,
 +
      wildness = 0.6,
 +
      trainability = "Simple",
 +
      manhunterOnDamageChance = 0.1,
 +
      lifeExpectancy = 15,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.25,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.5,
 +
        },
 +
      },
 
     },
 
     },
     pathCost = 14,
+
     tradeTags = {
    plant = {
+
       "AnimalCommon",
       fertilitySensitivity = 0.7,
+
       "AnimalFarm",
       growDays = 3,
 
      harvestWork = 60,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_HealrootWild"] = {
+
   ["ThingDef:Goat"] = {
 
     _ = {
 
     _ = {
       ParentName = "HealrootBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_General.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_HealrootWild",
+
     defName = "Goat",
     label = "wild healroot",
+
     label = "goat",
     description = [[A slow-growing plant which yields herbal medicine when harvested.\n\nThis wild breed of healroot is hardier than domesticated healroot, but too difficult to cultivate. It is prized by tribespeople in colder climates.]],
+
     description = [[Naturally curious about the world, goats are among the friendliest domesticated creature bred by mankind.]],
  },
+
    statBases = {
 
+
      MoveSpeed = 3.9,
  ["ThingDef:Plant_TreeWillow"] = {
+
      ComfyTemperatureMin = -20,
     _ = {
+
      MarketValue = 200,
       ParentName = "DeciduousTreeBase",
+
    },
      DefCategory = "ThingDef",
+
    comps = {
       FileName = "Plants_Wild_Swamp.xml",
+
      {
      GameVersion = "1.2.2753",
+
        _ = {
      DLC = "Core",
+
          Class = "CompProperties_Milkable",
 +
        },
 +
        milkDef = "Milk",
 +
        milkIntervalDays = 2,
 +
        milkAmount = 12,
 +
      },
 +
    },
 +
     tools = {
 +
       {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 7.3,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
       },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
     defName = "Plant_TreeWillow",
+
     race = {
    label = "willow tree",
+
      baseBodySize = 0.75,
    description = [[One of the fastest growing shade trees, willows provide a beautiful, leafy canopy. It doesn't yield much usable wood.]],
+
      foodType = {
    statBases = {
+
        "VegetarianRoughAnimal",
       Beauty = 2,
+
      },
 +
      leatherDef = "Leather_Plain",
 +
      wildness = 0.07,
 +
      trainability = "None",
 +
      manhunterOnTameFailChance = 0,
 +
      manhunterOnDamageChance = 0,
 +
      gestationPeriodDays = 17,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {1.7, 1},
 +
          {2.0, 0},
 +
        },
 +
      },
 +
      lifeExpectancy = 12,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.1,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.4,
 +
        },
 +
       },
 
     },
 
     },
     plant = {
+
     tradeTags = {
       growDays = 13,
+
       "AnimalCommon",
      harvestWork = 800,
+
       "AnimalFarm",
       harvestYield = 27,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TreeCypress"] = {
+
   ["ThingDef:Goose"] = {
 
     _ = {
 
     _ = {
       ParentName = "DeciduousTreeBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Swamp.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TreeCypress",
+
     defName = "Goose",
     label = "cypress tree",
+
     label = "goose",
     description = [[A tall coniferous tree often found in swamps. Despite its slow growth, planting these trees can be profitable as a low-effort, long-term investment because they yield so much usable wood.]],
+
     description = [[A domesticated bird kept by humans as poultry for it's eggs and meat. Lays eggs very often, however they take a long time to hatch.]],
 
     statBases = {
 
     statBases = {
       Beauty = 1,
+
       MoveSpeed = 2.3,
     },
+
      MarketValue = 90,
     plant = {
+
      LeatherAmount = 36,
       growDays = 35,
+
      ComfyTemperatureMin = -10,
       harvestWork = 1800,
+
     },
       harvestYield = 60,
+
     tools = {
 +
       {
 +
        label = "claws",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 3,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "Feet",
 +
      },
 +
       {
 +
        label = "beak",
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 5.6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Beak",
 +
      },
 +
       {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 2,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
  },
+
    comps = {
 
+
      {
  ["ThingDef:Plant_TreeMaple"] = {
+
        _ = {
    _ = {
+
          Class = "CompProperties_EggLayer",
      ParentName = "DeciduousTreeBase",
+
        },
      DefCategory = "ThingDef",
+
        eggUnfertilizedDef = "EggGooseUnfertilized",
      FileName = "Plants_Wild_Swamp.xml",
+
        eggFertilizedDef = "EggGooseFertilized",
      GameVersion = "1.2.2753",
+
        eggFertilizationCountMax = 1,
       DLC = "Core",
+
        eggLayIntervalDays = 1.6,
 +
        eggCountRange = 1,
 +
       },
 
     },
 
     },
     defName = "Plant_TreeMaple",
+
     race = {
    label = "maple tree",
+
      baseBodySize = 0.40,
    description = [[A common medium-sized tree, easily identifiable by its distinct three-pointed leaf.]],
+
      foodType = {
    statBases = {
+
        "VegetarianRoughAnimal",
       Beauty = 2,
+
      },
 +
      leatherDef = "Leather_Bird",
 +
      trainability = "None",
 +
      wildness = 0.6,
 +
      manhunterOnTameFailChance = 0.2,
 +
      manhunterOnDamageChance = 0.25,
 +
      mateMtbHours = 8,
 +
      lifeExpectancy = 8,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBabyTiny",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.12,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.3,
 +
        },
 +
       },
 
     },
 
     },
     plant = {
+
     tradeTags = {
       growDays = 27,
+
       "AnimalCommon",
      harvestWork = 800,
+
       "AnimalFarm",
       harvestYield = 27,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Chokevine"] = {
+
   ["ThingDef:Sheep"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Swamp.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Chokevine",
+
     defName = "Sheep",
     label = "chokevine",
+
     label = "sheep",
     description = [[Tangled masses of cord-like, spiky vines which coil in great masses along the ground. Chokevine greatky slows down anyone who moves over it. Multiple tribes have independently generated stories of chokevine strangling children to death in the night, as a way to scare kids into coming home before dark.]],
+
     description = [[Sheep husbandry is practised throughout the majority of the inhabited worlds, however only recently it has been introduced to the rimworlds. Domestic sheep are relatively small herbivores, usually with yellowish wool and medium sized horns.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MoveSpeed = 4.8,
       Nutrition = 0.25,
+
      MarketValue = 210,
 +
       ComfyTemperatureMin = -55,
 +
      ComfyTemperatureMax = 45,
 
     },
 
     },
     pathCost = 42,
+
     tools = {
    plant = {
+
      {
       fertilitySensitivity = 0.7,
+
        label = "head",
       growDays = 5,
+
        capacities = {
       harvestWork = 150,
+
          "Blunt",
 +
        },
 +
        power = 14,
 +
        cooldownTime = 2.9,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
      },
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
       {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 +
       {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.5,
 +
       },
 
     },
 
     },
  },
+
    comps = {
 
+
      {
  ["ThingDef:Plant_Dandelion"] = {
+
        _ = {
    _ = {
+
          Class = "CompProperties_Shearable",
      ParentName = "PlantBase",
+
        },
      DefCategory = "ThingDef",
+
        woolDef = "WoolSheep",
      FileName = "Plants_Wild_Temperate.xml",
+
        shearIntervalDays = 10,
      GameVersion = "1.2.2753",
+
        woolAmount = 45,
       DLC = "Core",
+
       },
 
     },
 
     },
     defName = "Plant_Dandelion",
+
     race = {
    label = "dandelions",
+
      herdAnimal = true,
    description = [[A tiny yellow flower which grows in large clusters. Though it is often considered a weed, dandelions in bloom are quite beautiful.]],
+
      baseBodySize = 0.75,
    statBases = {
+
      foodType = {
       MaxHitPoints = 85,
+
        "VegetarianRoughAnimal",
       Beauty = 4,
+
      },
       Nutrition = 0.18,
+
      leatherDef = "Leather_Plain",
    },
+
      gestationPeriodDays = 17,
    plant = {
+
      litterSizeCurve = {
      fertilitySensitivity = 0.0,
+
        points = {
      growDays = 2.5,
+
          {0.5, 0},
      sowTags = {
+
          {1, 1},
        "Ground",
+
          {1.7, 1},
 +
          {2.0, 0},
 +
        },
 +
      },
 +
       wildness = 0,
 +
       trainability = "None",
 +
       manhunterOnDamageChance = 0.0,
 +
      lifeExpectancy = 12,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.25,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.5,
 +
        },
 
       },
 
       },
      fertilityMin = 0.05,
 
    },
 
  },
 
 
  ["ThingDef:Plant_Astragalus"] = {
 
    _ = {
 
      ParentName = "PlantBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Plants_Wild_Temperate.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "Plant_Astragalus",
+
     tradeTags = {
    label = "astragalus",
+
      "AnimalCommon",
    description = [[A small perennial wildflower that grows in alpine climates.]],
+
      "AnimalFarm",
    statBases = {
 
      MaxHitPoints = 85,
 
      Beauty = 4,
 
      Nutrition = 0.18,
 
    },
 
    plant = {
 
      fertilityMin = 0.05,
 
      fertilitySensitivity = 0,
 
      growDays = 2.5,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_Moss"] = {
+
   ["ThingDef:Horse"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Temperate.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Moss",
+
     defName = "Horse",
     label = "moss",
+
     label = "horse",
     description = [[Wild moss that grows in clumps in areas of low light and cool temperatures. Moss takes a long time to grow, but is very frost-resistant.]],
+
     description = [[A large hoofed mammal with a short coat, a long mane, and a long tail. Horses have been domesticated since ancient times.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 120,
+
       MoveSpeed = 5.8,
       Flammability = 0.6,
+
       MarketValue = 550,
       Nutrition = 0.15,
+
      ComfyTemperatureMin = -35,
 +
       ComfyTemperatureMax = 45,
 
     },
 
     },
     plant = {
+
     tools = {
       fertilityMin = 0.05,
+
       {
       fertilitySensitivity = 0,
+
        label = "head",
       growDays = 15,
+
        capacities = {
       harvestWork = 60,
+
          "Blunt",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2.9,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
       },
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
       {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 +
       {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 5,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.5,
 +
      },
 
     },
 
     },
  },
+
    race = {
 
+
      herdAnimal = true,
  ["ThingDef:Plant_Berry"] = {
+
      baseBodySize = 2.0,
    _ = {
+
      foodType = {
       ParentName = "PlantBase",
+
        "VegetarianRoughAnimal",
       DefCategory = "ThingDef",
+
      },
      FileName = "Plants_Wild_Temperate.xml",
+
      leatherDef = "Leather_Plain",
      GameVersion = "1.2.2753",
+
      gestationPeriodDays = 28,
      DLC = "Core",
+
      wildness = 0.5,
 +
      petness = 0.6,
 +
       trainability = "Advanced",
 +
       manhunterOnDamageChance = 0.1,
 +
      lifeExpectancy = 30,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.25,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.5,
 +
        },
 +
      },
 
     },
 
     },
     defName = "Plant_Berry",
+
     tradeTags = {
    label = "berry bush",
+
       "AnimalCommon",
    description = [[A bushy wild plant which yields delicious berries. Berries can be cooked, but they're also good to eat even when raw.]],
+
       "AnimalFarm",
    statBases = {
 
       MaxHitPoints = 120,
 
      Nutrition = 0.35,
 
    },
 
    fillPercent = 0.20,
 
    pathCost = 30,
 
    plant = {
 
      fertilityMin = 0.5,
 
      fertilitySensitivity = 0.5,
 
      growDays = 6,
 
      harvestYield = 10,
 
      harvestWork = 250,
 
      harvestTag = "Standard",
 
       harvestedThingDef = "RawBerries",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TreeOak"] = {
+
   ["ThingDef:Yak"] = {
 
     _ = {
 
     _ = {
       ParentName = "DeciduousTreeBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Temperate.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TreeOak",
+
     defName = "Yak",
     label = "oak tree",
+
     label = "yak",
     description = [[A hardwood tree. Oaks take a long time to grow, but their wood is so strong that 'oak' is used as a metaphor for strength across many cultures.]],
+
     description = [[Yaks are robust cattle with a bulky frame, short but thick legs, and rounded cloven hooves that are splayed to help them walk in snow.]],
 
     statBases = {
 
     statBases = {
       Beauty = 2,
+
       MoveSpeed = 3.2,
 +
      ComfyTemperatureMin = -45,
 +
      MarketValue = 320,
 
     },
 
     },
     plant = {
+
     comps = {
       growDays = 30,
+
       {
      harvestWork = 1400,
+
        _ = {
       harvestYield = 46,
+
          Class = "CompProperties_Milkable",
 +
        },
 +
        milkDef = "Milk",
 +
        milkIntervalDays = 2,
 +
        milkAmount = 12,
 +
       },
 
     },
 
     },
  },
+
    tools = {
 
+
      {
  ["ThingDef:Plant_TreePoplar"] = {
+
        capacities = {
    _ = {
+
          "Bite",
       ParentName = "DeciduousTreeBase",
+
        },
      DefCategory = "ThingDef",
+
        power = 8.8,
       FileName = "Plants_Wild_Temperate.xml",
+
        cooldownTime = 2.6,
      GameVersion = "1.2.2753",
+
        linkedBodyPartsGroup = "Teeth",
      DLC = "Core",
+
        chanceFactor = 0.7,
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 +
       {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
       },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 
     },
 
     },
     defName = "Plant_TreePoplar",
+
     race = {
    label = "poplar tree",
+
      herdAnimal = true,
    description = [[A softwood tree that grows very fast. Unfortunately, its wood is weak and so it yields less useful material than hardwood trees.]],
+
      baseBodySize = 1.9,
    statBases = {
+
      foodType = {
       Beauty = 1,
+
        "VegetarianRoughAnimal",
       Nutrition = 1,
+
      },
 +
      leatherDef = "Leather_Plain",
 +
      wildness = 0.11,
 +
      petness = 0.3,
 +
      trainability = "None",
 +
      gestationPeriodDays = 20,
 +
      lifeExpectancy = 22,
 +
      manhunterOnDamageChance = 0.05,
 +
       manhunterOnTameFailChance = 0.02,
 +
       lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.2,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.45,
 +
        },
 +
      },
 
     },
 
     },
     plant = {
+
     tradeTags = {
       growDays = 15.05,
+
       "AnimalCommon",
      harvestWork = 800,
+
       "AnimalFarm",
       harvestYield = 27,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TreePine"] = {
+
   ["ThingDef:GuineaPig"] = {
 
     _ = {
 
     _ = {
       ParentName = "TreeBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Temperate.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TreePine",
+
     defName = "GuineaPig",
     label = "pine tree",
+
     label = "guinea pig",
     description = [[A large conifer covered with prickly pine cones. It grows in a distinctive conical shape.]],
+
     description = [[Neither a pig or a creature from Guinea, these little rodents are bred to be a household pet and a delicious dinner.]],
 
     statBases = {
 
     statBases = {
       Beauty = 2,
+
       MoveSpeed = 5.0,
       Nutrition = 1.25,
+
      MarketValue = 150,
 +
       ComfyTemperatureMin = -15,
 +
      ComfyTemperatureMax = 55,
 
     },
 
     },
     plant = {
+
     tools = {
       growDays = 20,
+
       {
      harvestWork = 800,
+
        label = "left claw",
      harvestYield = 27,
+
        capacities = {
    },
+
          "Scratch",
  },
+
        },
 
+
        power = 3.6,
  ["ThingDef:Plant_TreeBirch"] = {
+
        cooldownTime = 1.5,
    _ = {
+
        linkedBodyPartsGroup = "FrontLeftPaw",
      ParentName = "DeciduousTreeBase",
+
      },
      DefCategory = "ThingDef",
+
      {
       FileName = "Plants_Wild_Temperate.xml",
+
        label = "right claw",
      GameVersion = "1.2.2753",
+
        capacities = {
      DLC = "Core",
+
          "Scratch",
 +
        },
 +
        power = 3.6,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontRightPaw",
 +
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 5.8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
       },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 2,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
     defName = "Plant_TreeBirch",
+
     race = {
    label = "birch tree",
+
      baseBodySize = 0.28,
    description = [[A temperate-biome tree known for its thin, white, paper-like bark.]],
+
      foodType = {
    statBases = {
+
        "VegetarianRoughAnimal",
       Beauty = 2,
+
      },
       Nutrition = 1.25,
+
      leatherDef = "Leather_GuineaPig",
 +
      wildness = 0.60,
 +
      trainability = "None",
 +
      petness = 0.30,
 +
      mateMtbHours = 8,
 +
      nuzzleMtbHours = 24,
 +
      gestationPeriodDays = 14,
 +
      manhunterOnTameFailChance = 0.02,
 +
      manhunterOnDamageChance = 0,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2.5, 1},
 +
          {3, 0},
 +
        },
 +
      },
 +
       lifeExpectancy = 4,
 +
       lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.15,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.30,
 +
        },
 +
      },
 
     },
 
     },
     plant = {
+
     tradeTags = {
       growDays = 20,
+
       "AnimalPet",
       harvestWork = 800,
+
       "AnimalUncommon",
       harvestYield = 27,
+
       "AnimalFarm",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_ShrubLow"] = {
+
   ["ThingDef:Donkey"] = {
 
     _ = {
 
     _ = {
       ParentName = "PlantBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Tropical.xml",
+
       FileName = "Races_Animal_Farm.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_ShrubLow",
+
     defName = "Donkey",
     label = "low shrubs",
+
     label = "donkey",
     description = [[Various low broadleaf shrubs. These grow in clusters and slow down movement.]],
+
     description = [[A small relative of the horse, domesticated in ancient times for farm work. Its goofy call is simultaneously annoying and endearing.]],
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 90,
+
       MoveSpeed = 5.3,
       Nutrition = 0.2,
+
      MarketValue = 320,
 +
      ComfyTemperatureMin = -25,
 +
      ComfyTemperatureMax = 45,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 12,
 +
        cooldownTime = 2.9,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
       },
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 8,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.5,
 +
      },
 
     },
 
     },
     pathCost = 14,
+
     race = {
    plant = {
+
      herdAnimal = true,
       fertilitySensitivity = 0.7,
+
      baseBodySize = 1.5,
       growDays = 3,
+
      foodType = {
       harvestWork = 60,
+
        "VegetarianRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Plain",
 +
      gestationPeriodDays = 28,
 +
      wildness = 0.03,
 +
      petness = 0.60,
 +
       trainability = "Advanced",
 +
      manhunterOnDamageChance = 0.05,
 +
       lifeExpectancy = 24,
 +
       lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.25,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.5,
 +
        },
 +
      },
 
     },
 
     },
  },
+
     tradeTags = {
 
+
       "AnimalUncommon",
  ["ThingDef:Plant_Alocasia"] = {
+
       "AnimalFarm",
     _ = {
 
       ParentName = "BushBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Plants_Wild_Tropical.xml",
 
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
 
     },
 
     },
    defName = "Plant_Alocasia",
 
    label = "alocasia",
 
    description = [[A tropical plant. Its extremely broad leaves are a commonly-recognized signifier of tropical forests.]],
 
 
   },
 
   },
  
   ["ThingDef:Plant_Clivia"] = {
+
   ["ThingDef:Rhinoceros"] = {
 
     _ = {
 
     _ = {
       ParentName = "BushBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Tropical.xml",
+
       FileName = "Races_Animal_Giant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_Clivia",
+
     defName = "Rhinoceros",
     label = "clivia",
+
     label = "rhinoceros",
     description = [[An unusual plant with tall, pretty flowers. Some call it the 'bush lily'.]],
+
     description = [[Despite being herbivorous, this large mammal is very easy to enrage. Once angered, its massive strength and sharp horn make it a brutal opponent. It has more muscle in one leg than most humans do in their whole body.]],
 
     statBases = {
 
     statBases = {
       Beauty = 2,
+
       MoveSpeed = 5.0,
 +
      MarketValue = 700,
 +
      ComfyTemperatureMin = -8,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "horn",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 19,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HornAttackTool",
 +
      },
 +
      {
 +
        label = "horn",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 19,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HornAttackTool",
 +
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 19,
 +
        cooldownTime = 2.6,
 +
        linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 15,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
  },
+
    race = {
 
+
      baseBodySize = 3.0,
  ["ThingDef:Plant_Rafflesia"] = {
+
       foodType = {
    _ = {
+
        "VegetarianRoughAnimal",
       ParentName = "BushBase",
+
       },
       DefCategory = "ThingDef",
+
      leatherDef = "Leather_Rhinoceros",
       FileName = "Plants_Wild_Tropical.xml",
+
       wildness = 0.90,
       GameVersion = "1.2.2753",
+
       manhunterOnTameFailChance = 0.10,
      DLC = "Core",
+
      manhunterOnDamageChance = 0.10,
 +
      gestationPeriodDays = 43,
 +
      lifeExpectancy = 45,
 +
      herdAnimal = true,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.3,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 1.0,
 +
        },
 +
      },
 
     },
 
     },
     defName = "Plant_Rafflesia",
+
     tradeTags = {
    label = "giant rafflesia",
+
      "AnimalUncommon",
    description = [[A rare, giant flower which can be found deep in steaming jungles. You would think a giant flower would be beautiful, but this one looks and smells like rotting flesh.]],
+
      "AnimalFighter",
    statBases = {
 
      Beauty = -6,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TreeTeak"] = {
+
   ["ThingDef:Elephant"] = {
 
     _ = {
 
     _ = {
       ParentName = "DeciduousTreeBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Tropical.xml",
+
       FileName = "Races_Animal_Giant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TreeTeak",
+
     defName = "Elephant",
     label = "teak tree",
+
     label = "elephant",
     description = [[An exceptionally strong hardwood tree that grows in warm climates. Because teak wood is so durable and water-resistant, it was used to form the keel of wooden sailing ships in ancient times.]],
+
     description = [[The largest unmodified land animal. Elephants has a long trunk they use to manipulate objects, and sharp tusks they use to gore attackers. A dead elephant's valuable tusks can be recovered by butchering it.\n\nIntelligent creatures with complex social relationships, elephants can be used as pack animals or trained to carry out the most complex of tasks. They live a long time, and are known to remember events and relationships from many decades before.]],
 
     statBases = {
 
     statBases = {
       Beauty = 2,
+
       MoveSpeed = 4.8,
    },
+
       MarketValue = 600,
    plant = {
+
       ComfyTemperatureMin = -12,
       growDays = 32.5,
+
       ComfyTemperatureMax = 50,
       harvestWork = 1800,
 
       harvestYield = 60,
 
 
     },
 
     },
  },
+
    tools = {
 
+
      {
  ["ThingDef:Plant_TreeCecropia"] = {
+
        label = "tusk",
    _ = {
+
        capacities = {
      ParentName = "TreeBase",
+
          "Scratch",
       DefCategory = "ThingDef",
+
          "Stab",
      FileName = "Plants_Wild_Tropical.xml",
+
        },
       GameVersion = "1.2.2753",
+
        power = 25,
       DLC = "Core",
+
        cooldownTime = 2.6,
 +
        linkedBodyPartsGroup = "TuskAttackTool",
 +
       },
 +
      {
 +
        label = "left foot",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 16.9,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
       },
 +
      {
 +
        label = "right foot",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 16.9,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
       },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 14,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 
     },
 
     },
     defName = "Plant_TreeCecropia",
+
     race = {
    label = "cecropia tree",
+
      herdAnimal = true,
    description = [[One of the most common rainforest trees. Cecropia grows very fast, but yields little usable wood.]],
+
      baseBodySize = 4.0,
    statBases = {
+
      foodType = {
      Beauty = 1,
+
        "VegetarianRoughAnimal",
      Nutrition = 1.2,
+
      },
 +
      leatherDef = "Leather_Elephant",
 +
      gestationPeriodDays = 48,
 +
      wildness = 0.75,
 +
      nuzzleMtbHours = 24,
 +
      trainability = "Advanced",
 +
      lifeExpectancy = 50,
 +
      manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.8,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 2.0,
 +
        },
 +
      },
 
     },
 
     },
     plant = {
+
     tradeTags = {
       growDays = 14,
+
       "AnimalUncommon",
      harvestWork = 600,
 
      harvestYield = 18,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Plant_TreePalm"] = {
+
   ["ThingDef:Megasloth"] = {
 
     _ = {
 
     _ = {
       ParentName = "TreeBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Plants_Wild_Tropical.xml",
+
       FileName = "Races_Animal_Giant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Plant_TreePalm",
+
     defName = "Megasloth",
     label = "palm tree",
+
     label = "megasloth",
     description = [[A tropical tree with a tall, naked trunk topped by a cluster of very broad leaves. Unfortunately, this variety doesn't produce any edible coconuts.]],
+
     description = [[A giant, solitary herbivore with two giant claws for warding off threats. Long extinct after being wiped out by the natives of Earth's American continent, the megasloth was later brought back using advanced cloning and artificial gestators. Its thick hide is exceptionally strong and insulating, and makes a great leather for cold-weather clothing. It is peaceful if left alone, but will shred anyone who disturbs it with its giant claws.]],
 
     statBases = {
 
     statBases = {
      Beauty = 1,
+
       MoveSpeed = 4.8,
      Nutrition = 1.2,
+
       MarketValue = 700,
    },
 
    plant = {
 
      growDays = 14,
 
      harvestWork = 600,
 
      harvestYield = 18,
 
    },
 
  },
 
 
 
  ["ThingDef:Plant_TreeBamboo"] = {
 
    _ = {
 
      ParentName = "TreeBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Plants_Wild_Tropical.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Plant_TreeBamboo",
 
    label = "bamboo tree",
 
    description = [[A fast-growing tree-like plant that grows in dense groves. Bamboo can be harvested for a wood-like material. The plant itself is not beautiful.]],
 
    statBases = {
 
      Nutrition = 1.2,
 
    },
 
    plant = {
 
      growDays = 12,
 
      harvestWork = 550,
 
      harvestYield = 10,
 
    },
 
  },
 
 
 
  ["ThingDef:Muffalo"] = {
 
    _ = {
 
      ParentName = "AnimalThingBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_Arid.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Muffalo",
 
    label = "muffalo",
 
    description = [[A large herding herbivore descended from buffalo and adapted for both cold and warm environments. While enraged muffalo are deadly, tamed muffalo are quite docile and can be used as pack animals.\n\nNobody is quite sure why they're blue - it might even be some early genetic modification test that just never got changed.]],
 
    statBases = {
 
       MoveSpeed = 4.5,
 
       MarketValue = 300,
 
 
       ComfyTemperatureMin = -55,
 
       ComfyTemperatureMin = -55,
      ComfyTemperatureMax = 45,
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "head",
+
         label = "left claw",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Scratch",
 
         },
 
         },
         power = 13,
+
         power = 21,
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
      },
 
      {
 
        label = "left hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 10,
 
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         linkedBodyPartsGroup = "FrontLeftPaw",
 
       },
 
       },
 
       {
 
       {
         label = "right hoof",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Scratch",
          "Poke",
 
 
         },
 
         },
         power = 10,
+
         power = 21,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontRightLeg",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
Line 22,763: Line 23,280:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 10,
+
         power = 22,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
         chanceFactor = 0.5,
+
         chanceFactor = 0.7,
 
       },
 
       },
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "head",
           Class = "CompProperties_Shearable",
+
        capacities = {
 +
           "Blunt",
 
         },
 
         },
         woolDef = "WoolMuffalo",
+
         power = 15,
         shearIntervalDays = 25,
+
        cooldownTime = 2,
         woolAmount = 100,
+
         linkedBodyPartsGroup = "HeadAttackTool",
 +
         chanceFactor = 0.2,
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
      herdAnimal = true,
+
       baseBodySize = 4.0,
       baseBodySize = 2.1,
 
 
       foodType = {
 
       foodType = {
 
         "VegetarianRoughAnimal",
 
         "VegetarianRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_Bluefur",
+
       leatherDef = "Leather_Heavy",
       gestationPeriodDays = 28,
+
       gestationPeriodDays = 55,
       wildness = 0.6,
+
       wildness = 0.97,
       trainability = "Simple",
+
       trainability = "Advanced",
       lifeExpectancy = 15,
+
      nuzzleMtbHours = 60,
 +
       lifeExpectancy = 20,
 +
      manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 22,797: Line 23,316:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.25,
+
           minAge = 1.0,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.5,
+
           minAge = 3.0,
 +
        },
 +
      },
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Shearable",
 
         },
 
         },
 +
        woolDef = "WoolMegasloth",
 +
        shearIntervalDays = 50,
 +
        woolAmount = 400,
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "AnimalUncommon",
       "AnimalFarm",
+
       "AnimalFighter",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Gazelle"] = {
+
   ["ThingDef:Thrumbo"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Arid.xml",
+
       FileName = "Races_Animal_Giant.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Gazelle",
+
     defName = "Thrumbo",
     label = "gazelle",
+
     label = "thrumbo",
     description = [[A small, extremely quick antelope known for its amazingly long leap.]],
+
     description = [[A gigantic, graceful creature of unknown origin. The thrumbo is gentle by nature, but extremely dangerous when enraged. While its long fur is exceptionally beautiful, its hide is also incredibly resistant to damage. Its razor-sharp horn fetches a huge price.\n\nLegends say that an old thrumbo is the wisest creature in the universe - it simply chooses not to speak.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 6.0,
+
       MoveSpeed = 5.5,
       ComfyTemperatureMin = -10,
+
      MarketValue = 4000,
       MarketValue = 150,
+
       ComfyTemperatureMin = -65,
 +
       ComfyTemperatureMax = 50,
 +
      ArmorRating_Sharp = 0.60,
 +
      ArmorRating_Blunt = 0.40,
 +
      ArmorRating_Heat = 0.30,
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "left hoof",
+
         label = "horn",
 +
        capacities = {
 +
          "Scratch",
 +
          "Stab",
 +
        },
 +
        power = 23,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HornAttackTool",
 +
      },
 +
      {
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Bite",
          "Poke",
 
 
         },
 
         },
         power = 5.5,
+
         power = 28,
         cooldownTime = 1.5,
+
         cooldownTime = 2.6,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 
       },
 
       },
 
       {
 
       {
         label = "right hoof",
+
         label = "left foot",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
          "Poke",
 
 
         },
 
         },
         power = 5.5,
+
         power = 19,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontRightLeg",
+
         linkedBodyPartsGroup = "FrontLeftLeg",
 
       },
 
       },
 
       {
 
       {
 +
        label = "right foot",
 
         capacities = {
 
         capacities = {
           "Bite",
+
           "Blunt",
 
         },
 
         },
         power = 7,
+
         power = 19,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Teeth",
+
         linkedBodyPartsGroup = "FrontRightLeg",
        chanceFactor = 0.7,
 
 
       },
 
       },
 
       {
 
       {
Line 22,862: Line 23,403:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 7,
+
         power = 17,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 22,869: Line 23,410:
 
     },
 
     },
 
     race = {
 
     race = {
      herdAnimal = true,
+
       baseBodySize = 4,
       baseBodySize = 0.7,
 
 
       foodType = {
 
       foodType = {
 
         "VegetarianRoughAnimal",
 
         "VegetarianRoughAnimal",
 +
        "DendrovoreAnimal",
 
       },
 
       },
       leatherDef = "Leather_Plain",
+
       leatherDef = "Leather_Thrumbo",
       wildness = 0.75,
+
       trainability = "Advanced",
       gestationPeriodDays = 22,
+
       gestationPeriodDays = 60,
       lifeExpectancy = 12,
+
       manhunterOnDamageChance = 1.00,
       manhunterOnTameFailChance = 0,
+
       wildness = 0.985,
       manhunterOnDamageChance = 0,
+
       lifeExpectancy = 220,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 22,887: Line 23,428:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.20,
+
           minAge = 2.0,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.4,
+
           minAge = 4.0,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "AnimalExotic",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Iguana"] = {
+
   ["ThingDef:BaseHare"] = {
 
     _ = {
 
     _ = {
 +
      Abstract = true,
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 +
      Name = "BaseHare",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Arid.xml",
+
       FileName = "Races_Animal_Hares.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Iguana",
 
    label = "iguana",
 
    description = [[These large lizards normally feed on plant matter. However, when angered, their tough hide and sharp claws make them quite dangerous.\n\nResting iguanas hold their heads high, giving them an amusing 'proud' look. But they're not proud; they're just trying to see predators so they don't get eaten.]],
 
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.0,
+
       MoveSpeed = 6.0,
       MarketValue = 100,
+
       MarketValue = 50,
       ComfyTemperatureMin = 0,
+
       ComfyTemperatureMin = -30,
      ComfyTemperatureMax = 60,
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
        label = "left claw",
 
 
         capacities = {
 
         capacities = {
           "Scratch",
+
           "Bite",
 
         },
 
         },
         power = 8,
+
         power = 3.4,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
        linkedBodyPartsGroup = "FrontLeftClaws",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightClaws",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 10,
 
        cooldownTime = 2.6,
 
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
        chanceFactor = 0.7,
 
 
       },
 
       },
 
       {
 
       {
Line 22,950: Line 23,470:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 5,
+
         power = 1.5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         chanceFactor = 0.2,
 
         chanceFactor = 0.2,
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_EggLayer",
 
        },
 
        eggFertilizedDef = "EggIguanaFertilized",
 
        eggFertilizationCountMax = 1,
 
        eggLayIntervalDays = 15,
 
        eggProgressUnfertilizedMax = 0.5,
 
        eggCountRange = { ["<"]=1, [">"]=2 },
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 0.20,
+
       baseBodySize = 0.2,
 
       foodType = {
 
       foodType = {
         "OmnivoreRoughAnimal",
+
         "VegetarianRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_Lizard",
+
       leatherDef = "Leather_Light",
       wildness = 0.5,
+
       wildness = 0.75,
 
       trainability = "None",
 
       trainability = "None",
       petness = 0.15,
+
       petness = 0.08,
       lifeExpectancy = 12,
+
      mateMtbHours = 8,
 +
      nuzzleMtbHours = 36,
 +
      gestationPeriodDays = 13,
 +
      manhunterOnTameFailChance = 0,
 +
      manhunterOnDamageChance = 0,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {1.0, 0},
 +
          {1.5, 1},
 +
          {2.0, 1},
 +
          {2.5, 0},
 +
        },
 +
      },
 +
       lifeExpectancy = 8,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 22,985: Line 23,506:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.09,
+
           minAge = 0.1,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.25,
+
           minAge = 0.3,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalUncommon",
+
       "AnimalCommon",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Dromedary"] = {
+
   ["ThingDef:Hare"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BaseHare",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Arid.xml",
+
       FileName = "Races_Animal_Hares.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Hare",
 +
    label = "hare",
 +
    description = [[This small, solitary herbivore can swiftly hop away from danger.]],
 +
  },
 +
 
 +
  ["ThingDef:Snowhare"] = {
 +
    _ = {
 +
      ParentName = "BaseHare",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Races_Animal_Hares.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Snowhare",
 +
    label = "snowhare",
 +
    description = [[This hardy animal survives the brutal winters of its homelands by burrowing through snow to find edible plants.]],
 +
    statBases = {
 +
      ComfyTemperatureMin = -55,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:BaseInsect"] = {
 +
    _ = {
 +
      Abstract = true,
 +
      ParentName = "AnimalThingBase",
 +
      Name = "BaseInsect",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Races_Animal_Insect.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Dromedary",
 
    label = "dromedary",
 
    description = [[A large land mammal adapted to arid environments. Domesticated since ancient times, its wool and leather are both exceptionally good at insulating against the desert heat, and its milk is quite nourishing. It can be used as a pack animal, but its bouncing gait makes it too uncomfortable to ride for any distance.\n\nBy storing water in its large humps and reclaiming moisture from its breath as it exhales, it can go weeks without drinking.]],
 
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.3,
+
       ToxicSensitivity = 0,
      MarketValue = 300,
 
      ComfyTemperatureMin = -22,
 
 
       ComfyTemperatureMax = 60,
 
       ComfyTemperatureMax = 60,
 
     },
 
     },
     comps = {
+
     race = {
       {
+
       foodType = {
         _ = {
+
         "OmnivoreAnimal",
          Class = "CompProperties_Milkable",
+
         "AnimalProduct",
         },
 
        milkDef = "Milk",
 
        milkIntervalDays = 2,
 
        milkAmount = 12,
 
 
       },
 
       },
 +
      manhunterOnDamageChance = 0.35,
 +
      manhunterOnTameFailChance = 0.20,
 +
    },
 +
  },
 +
 +
  ["ThingDef:Megascarab"] = {
 +
    _ = {
 +
      ParentName = "BaseInsect",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Races_Animal_Insect.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Megascarab",
 +
    label = "megascarab",
 +
    description = [[A large, genetically-engineered beetle. Once the worker caste of an artifical ecosystem of insectoids designed to fight mechanoid invasions, it is now often seen without its deadlier insectoid cousins. Still, its size and hard shell make it dangerous when it attacks. A eusocial creature, it cannot reproduce individually.]],
 +
    statBases = {
 +
      MoveSpeed = 3.75,
 +
      ArmorRating_Blunt = 0.18,
 +
      ArmorRating_Sharp = 0.72,
 +
      ComfyTemperatureMin = 0,
 +
      MarketValue = 100,
 +
      LeatherAmount = 0,
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "left hoof",
+
         label = "mandibles",
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftLeg",
 
      },
 
      {
 
        label = "right hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
      },
 
      {
 
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 10,
+
         power = 5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Teeth",
+
         linkedBodyPartsGroup = "Mouth",
        chanceFactor = 0.7,
 
 
       },
 
       },
 
       {
 
       {
Line 23,060: Line 23,606:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 7,
+
         power = 4,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
         chanceFactor = 0.2,
+
         chanceFactor = 0.1,
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
      herdAnimal = true,
+
       baseBodySize = 0.2,
       baseBodySize = 2.0,
+
       wildness = 0.95,
      foodType = {
+
       lifeExpectancy = 10,
        "VegetarianRoughAnimal",
 
      },
 
      leatherDef = "Leather_Camel",
 
       wildness = 0.25,
 
      trainability = "Simple",
 
      gestationPeriodDays = 28,
 
       lifeExpectancy = 45,
 
      manhunterOnTameFailChance = 0,
 
      manhunterOnDamageChance = 0,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
           def = "AnimalBaby",
+
           def = "EusocialInsectLarva",
 
           minAge = 0,
 
           minAge = 0,
 
         },
 
         },
 
         {
 
         {
           def = "AnimalJuvenile",
+
           def = "EusocialInsectJuvenile",
           minAge = 0.25,
+
           minAge = 0.03,
 
         },
 
         },
 
         {
 
         {
           def = "AnimalAdult",
+
           def = "EusocialInsectAdult",
           minAge = 0.5,
+
           minAge = 0.4,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "AnimalInsect",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BasePawn"] = {
+
   ["ThingDef:Spelopede"] = {
 
     _ = {
 
     _ = {
       Name = "BasePawn",
+
       ParentName = "BaseInsect",
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Base.xml",
+
       FileName = "Races_Animal_Insect.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Pawn",
+
     defName = "Spelopede",
     category = "Pawn",
+
     label = "spelopede",
     altitudeLayer = "Pawn",
+
     description = [[A medium-sized bioengineered insectoid the size of a sheep. The spelopede is the middle caste of a hive, taking care of most work tasks as well as fighting with its digging claws. It's dangerous in combat, but slow on open ground.]],
    useHitPoints = false,
 
 
     statBases = {
 
     statBases = {
       Mass = 60,
+
       MoveSpeed = 3.65,
       Flammability = 0.7,
+
      ComfyTemperatureMin = -25,
 +
      MarketValue = 200,
 +
      LeatherAmount = 0,
 +
      ArmorRating_Blunt = 0.18,
 +
       ArmorRating_Sharp = 0.18,
 
     },
 
     },
     comps = {
+
     tools = {
 +
      {
 +
        label = "head claw",
 +
        capacities = {
 +
          "Cut",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadClaw",
 +
      },
 
       {
 
       {
         compClass = "CompAttachBase",
+
         label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 +
    },
 +
    race = {
 +
      baseBodySize = 0.8,
 +
      gestationPeriodDays = 12,
 +
      wildness = 0.95,
 +
      lifeExpectancy = 6,
 +
      lifeStageAges = {
 +
        {
 +
          def = "EusocialInsectLarva",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "EusocialInsectJuvenile",
 +
          minAge = 0.03,
 +
        },
 +
        {
 +
          def = "EusocialInsectAdult",
 +
          minAge = 0.2,
 +
        },
 
       },
 
       },
 +
    },
 +
    tradeTags = {
 +
      "AnimalInsect",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:AnimalThingBase"] = {
+
   ["ThingDef:Megaspider"] = {
 
     _ = {
 
     _ = {
       ParentName = "BasePawn",
+
       ParentName = "BaseInsect",
      Name = "AnimalThingBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Base.xml",
+
       FileName = "Races_Animal_Insect.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Megaspider",
 +
    label = "megaspider",
 +
    description = [[Not actually a spider, the megaspider is a genetically-engineered giant insectoid the size of a bear. Designed for heavy work and combat, its thick chitinous armor makes it hard to kill, while its long ripper-blades make it deadly at close quarters. It is, however, quite slow in open terrain.]],
 
     statBases = {
 
     statBases = {
       LeatherAmount = 30,
+
      MoveSpeed = 3.60,
     },
+
      ComfyTemperatureMin = -40,
 +
      MarketValue = 500,
 +
       LeatherAmount = 0,
 +
      ArmorRating_Blunt = 0.18,
 +
      ArmorRating_Sharp = 0.27,
 +
    },
 +
    tools = {
 +
      {
 +
        label = "head claw",
 +
        capacities = {
 +
          "Cut",
 +
        },
 +
        power = 12,
 +
        cooldownTime = 2.6,
 +
        linkedBodyPartsGroup = "HeadClaw",
 +
      },
 +
      {
 +
        label = "head",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 +
      },
 +
     },
 
     race = {
 
     race = {
       manhunterOnDamageChance = 0.02,
+
       baseBodySize = 1.2,
       manhunterOnTameFailChance = 0.013,
+
      gestationPeriodDays = 12,
       trainability = "Intermediate",
+
      wildness = 0.95,
 +
       lifeExpectancy = 6,
 +
      lifeStageAges = {
 +
        {
 +
          def = "EusocialInsectLarva",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "EusocialInsectJuvenile",
 +
          minAge = 0.03,
 +
        },
 +
        {
 +
          def = "EusocialInsectAdult",
 +
          minAge = 0.2,
 +
        },
 +
       },
 +
    },
 +
    tradeTags = {
 +
      "AnimalInsect",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseBear"] = {
+
   ["ThingDef:YorkshireTerrier"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
 
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
      Name = "BaseBear",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Bears.xml",
+
       FileName = "Races_Animal_Pet.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "YorkshireTerrier",
 +
    label = "yorkshire terrier",
 +
    description = [[A small, even-tempered dog. Originally bred to hunt rats, it later became a show and companionship animal. Some consider it useless, but the mood boost it gives by nuzzling can outweight the cost of feeding it.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.6,
+
       MoveSpeed = 3.1,
       ComfyTemperatureMin = -40,
+
       MarketValue = 100,
       MarketValue = 700,
+
       ComfyTemperatureMin = -15,
 
     },
 
     },
 
     tools = {
 
     tools = {
Line 23,165: Line 23,788:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 17,
+
         power = 3.6,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontLeftPaw",
 
         linkedBodyPartsGroup = "FrontLeftPaw",
Line 23,174: Line 23,797:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 17,
+
         power = 3.6,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontRightPaw",
 
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
 +
        label = "cute little teeth",
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 23.6,
+
         power = 4.8,
         cooldownTime = 2.6,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
         chanceFactor = 0.5,
+
         chanceFactor = 0.7,
 
       },
 
       },
 
       {
 
       {
Line 23,192: Line 23,816:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 11,
+
         power = 2,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 23,199: Line 23,823:
 
     },
 
     },
 
     race = {
 
     race = {
       herdAnimal = false,
+
       petness = 1,
       baseBodySize = 2.15,
+
       baseBodySize = 0.3,
 
       foodType = {
 
       foodType = {
 
         "OmnivoreAnimal",
 
         "OmnivoreAnimal",
 
         "OvivoreAnimal",
 
         "OvivoreAnimal",
 
       },
 
       },
       leatherDef = "Leather_Bear",
+
       leatherDef = "Leather_Dog",
       gestationPeriodDays = 30,
+
       trainability = "Intermediate",
       wildness = 0.80,
+
       wildness = 0,
       lifeExpectancy = 22,
+
       nuzzleMtbHours = 12,
       trainability = "Advanced",
+
       gestationPeriodDays = 24,
       manhunterOnTameFailChance = 0.10,
+
       litterSizeCurve = {
       manhunterOnDamageChance = 0.10,
+
        points = {
       lifeStageAges = {
+
          {0.5, 0},
         {
+
          {1, 1},
           def = "AnimalBaby",
+
          {2, 1.7},
 +
          {3, 0.7},
 +
          {3.5, 0},
 +
        },
 +
      },
 +
       lifeExpectancy = 15,
 +
       lifeStageAges = {
 +
         {
 +
           def = "AnimalBaby",
 
           minAge = 0,
 
           minAge = 0,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.4,
+
           minAge = 0.1,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.8,
+
           minAge = 0.3,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalUncommon",
+
       "AnimalCommon",
       "AnimalFighter",
+
       "AnimalPet",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bear_Grizzly"] = {
+
   ["ThingDef:Husky"] = {
    _ = {
 
      ParentName = "BaseBear",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_Bears.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Bear_Grizzly",
 
    label = "grizzly bear",
 
    description = [[A huge omnivorous mammal adapted for cold climates. Bears' thick blubber and fur keeps them warm in winter.\n\nWhile their usual diet consists of fish, berries, honey, and scavenged meat, the grizzly is capable of using its massive strength and deadly claws to kill live prey. They are startlingly quick for such lumbering creatures.]],
 
    race = {
 
      wildness = 0.80,
 
    },
 
  },
 
 
 
  ["ThingDef:Bear_Polar"] = {
 
    _ = {
 
      ParentName = "BaseBear",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_Bears.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Bear_Polar",
 
    label = "polar bear",
 
    description = [[A great white bear adapted for frozen climates. Their thick blubber and fur keep them warm in winter.\n\nWhile their usual diet consists of fish and scavenged meat, the polar bear can also use its massive strength and deadly claws to kill live prey. They are startlingly quick for such lumbering creatures.]],
 
    statBases = {
 
      ComfyTemperatureMin = -55,
 
    },
 
    race = {
 
      wildness = 0.85,
 
    },
 
  },
 
 
 
  ["ThingDef:BigCatThingBase"] = {
 
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
      Name = "BigCatThingBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_BigCats.xml",
+
       FileName = "Races_Animal_Pet.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Husky",
 +
    label = "husky",
 +
    description = [[A large, energetic dog with a thick fur coat for remaining comfortable in arctic environments.]],
 
     statBases = {
 
     statBases = {
 
       MoveSpeed = 5.0,
 
       MoveSpeed = 5.0,
       MarketValue = 400,
+
       MarketValue = 250,
 +
      ComfyTemperatureMin = -50,
 
     },
 
     },
 
     tools = {
 
     tools = {
Line 23,288: Line 23,887:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 11,
+
         power = 9.7,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontLeftPaw",
 
         linkedBodyPartsGroup = "FrontLeftPaw",
 
       },
 
       },
Line 23,297: Line 23,896:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 11,
+
         power = 9.7,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontRightPaw",
 
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
Line 23,305: Line 23,904:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 16,
+
         power = 14.2,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
 
         chanceFactor = 0.7,
 
         chanceFactor = 0.7,
Line 23,315: Line 23,914:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 9,
+
         power = 6,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 23,322: Line 23,921:
 
     },
 
     },
 
     race = {
 
     race = {
       herdAnimal = false,
+
       petness = 1,
       baseBodySize = 1.4,
+
       baseBodySize = 0.86,
 
       foodType = {
 
       foodType = {
         "CarnivoreAnimal",
+
         "OmnivoreAnimal",
 
         "OvivoreAnimal",
 
         "OvivoreAnimal",
 
       },
 
       },
       leatherDef = "Leather_Panthera",
+
       leatherDef = "Leather_Dog",
      wildness = 0.80,
 
 
       trainability = "Advanced",
 
       trainability = "Advanced",
       manhunterOnTameFailChance = 0.10,
+
       wildness = 0,
       manhunterOnDamageChance = 0.10,
+
       nuzzleMtbHours = 12,
       gestationPeriodDays = 26,
+
      gestationPeriodDays = 25,
       lifeExpectancy = 13,
+
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2, 1.7},
 +
          {2.5, 0.7},
 +
          {3, 0},
 +
        },
 +
       },
 +
       lifeExpectancy = 12,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 23,351: Line 23,958:
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalUncommon",
+
       "AnimalCommon",
       "AnimalFighter",
+
       "AnimalPet",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Cougar"] = {
+
   ["ThingDef:LabradorRetriever"] = {
    _ = {
 
      ParentName = "BigCatThingBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_BigCats.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Cougar",
 
    label = "cougar",
 
    description = [[One of the most dangerous big cats, cougars are solitary hunters with long, sharp teeth and claws. They stalk prey from hidden positions before pouncing.\n\nWhile humans are not their normal diet, they won't turn down a meal of vulnerable human meat.]],
 
    statBases = {
 
      ComfyTemperatureMin = -25,
 
    },
 
  },
 
 
 
  ["ThingDef:Panther"] = {
 
    _ = {
 
      ParentName = "BigCatThingBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_BigCats.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Panther",
 
    label = "panther",
 
    description = [[An agile and powerful big cat native to the jungles of old Earth. As solitary ambush predators, panthers are masters of taking down both large and small prey. Onlookers tend to focus on their graceful movements, while those in closer contact usually notice their skull-crushing strength.]],
 
    statBases = {
 
      ComfyTemperatureMin = -8,
 
      ComfyTemperatureMax = 50,
 
    },
 
  },
 
 
 
  ["ThingDef:Lynx"] = {
 
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_BigCats.xml",
+
       FileName = "Races_Animal_Pet.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Lynx",
+
     defName = "LabradorRetriever",
     label = "lynx",
+
     label = "labrador retriever",
     description = [[A wildcat larger than a housecat, but smaller than a cougar. Lynxes survive on a diet of small birds and animals. Their very warm fur keeps them safe from the brutally cold temperatures of their frozen territories.]],
+
     description = [[A very versatile, medium-sized dog. Originally bred to retrieve birds shot on the hunt, the lab is also an excellent guard dog, play pal, and family friend.]],
 
     statBases = {
 
     statBases = {
 
       MoveSpeed = 5.0,
 
       MoveSpeed = 5.0,
      ComfyTemperatureMin = -50,
 
 
       MarketValue = 250,
 
       MarketValue = 250,
 +
      ComfyTemperatureMin = -30,
 
     },
 
     },
 
     tools = {
 
     tools = {
Line 23,411: Line 23,985:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 9,
+
         power = 8.5,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontLeftPaw",
 
         linkedBodyPartsGroup = "FrontLeftPaw",
 
       },
 
       },
Line 23,420: Line 23,994:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 9,
+
         power = 8.5,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontRightPaw",
 
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
Line 23,428: Line 24,002:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 12,
+
         power = 14.2,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
 
         chanceFactor = 0.7,
 
         chanceFactor = 0.7,
Line 23,438: Line 24,012:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 6,
+
         power = 5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 23,445: Line 24,019:
 
     },
 
     },
 
     race = {
 
     race = {
       herdAnimal = false,
+
       petness = 1,
       baseBodySize = 0.8,
+
       baseBodySize = 0.75,
 
       foodType = {
 
       foodType = {
         "CarnivoreAnimal",
+
         "OmnivoreAnimal",
 
         "OvivoreAnimal",
 
         "OvivoreAnimal",
 
       },
 
       },
       leatherDef = "Leather_Panthera",
+
       leatherDef = "Leather_Dog",
      wildness = 0.80,
 
      manhunterOnTameFailChance = 0.10,
 
      manhunterOnDamageChance = 0.10,
 
 
       gestationPeriodDays = 26,
 
       gestationPeriodDays = 26,
       lifeExpectancy = 9,
+
      trainability = "Advanced",
 +
      wildness = 0,
 +
      nuzzleMtbHours = 12,
 +
      manhunterOnDamageChance = 0,
 +
      manhunterOnTameFailChance = 0,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2, 1.7},
 +
          {3, 0.7},
 +
          {3.5, 0},
 +
        },
 +
      },
 +
       lifeExpectancy = 12,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 23,464: Line 24,049:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.2,
+
           minAge = 0.25,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.4,
+
           minAge = 0.5,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalUncommon",
+
       "AnimalCommon",
       "AnimalFighter",
+
       "AnimalPet",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BigBirdThingBase"] = {
+
   ["ThingDef:Cat"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
      Name = "BigBirdThingBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Birds.xml",
+
       FileName = "Races_Animal_Pet.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    race = {
+
     defName = "Cat",
      leatherDef = "Leather_Bird",
+
     label = "cat",
      gestationPeriodDays = 24,
+
     description = [[One of mankind's first pets, the cat is a small mammal which hunts vermin. Known for their aloofness, cats are nevertheless popular companions because of their independence, calm disposition, and fine, pettable fur.]],
      lifeStageAges = {
 
        {
 
          def = "AnimalBabyTiny",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.22,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.45,
 
        },
 
      },
 
    },
 
  },
 
 
 
  ["ThingDef:Cassowary"] = {
 
    _ = {
 
      ParentName = "BigBirdThingBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_Birds.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
     defName = "Cassowary",
 
     label = "cassowary",
 
     description = [[A large flightless bird with brightly-colored feathers. While it looks beautiful, its kick is vicious. It's known for being quick to aggression when harmed by violence or confronted by incompetent animal tamers.]],
 
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.6,
+
       MoveSpeed = 4.4,
       MarketValue = 200,
+
       MarketValue = 100,
       ComfyTemperatureMin = -8,
+
       ComfyTemperatureMin = -25,
      ComfyTemperatureMax = 50,
 
 
     },
 
     },
     race = {
+
     tools = {
      herdAnimal = false,
 
      baseBodySize = 0.8,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      wildness = 0.80,
 
      lifeExpectancy = 45,
 
      manhunterOnTameFailChance = 0.10,
 
      manhunterOnDamageChance = 0.10,
 
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "left claw",
           Class = "CompProperties_EggLayer",
+
        capacities = {
 +
           "Scratch",
 
         },
 
         },
         eggFertilizedDef = "EggCassowaryFertilized",
+
         power = 6,
         eggFertilizationCountMax = 1,
+
         cooldownTime = 1.5,
        eggLayIntervalDays = 17,
+
         linkedBodyPartsGroup = "FrontLeftPaw",
        eggProgressUnfertilizedMax = 0.5,
 
         eggCountRange = 1,
 
 
       },
 
       },
    },
 
    tools = {
 
 
       {
 
       {
         label = "claws",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 7,
+
         power = 6,
 
         cooldownTime = 1.5,
 
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "Feet",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
        label = "beak",
 
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 8,
+
         power = 7,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Beak",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 
       },
 
       },
 
       {
 
       {
Line 23,572: Line 24,112:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 6,
+
         power = 3,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 23,578: Line 24,118:
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
    race = {
       "AnimalUncommon",
+
      baseBodySize = 0.255,
     },
+
      foodType = {
   },
+
        "CarnivoreAnimal",
 
+
        "OvivoreAnimal",
   ["ThingDef:Emu"] = {
+
      },
     _ = {
+
      leatherDef = "Leather_Light",
       ParentName = "BigBirdThingBase",
+
      wildness = 0.2,
       DefCategory = "ThingDef",
+
      petness = 1,
       FileName = "Races_Animal_Birds.xml",
+
      trainability = "None",
 +
      nuzzleMtbHours = 12,
 +
      gestationPeriodDays = 24,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2, 1.7},
 +
          {3, 0.7},
 +
          {3.5, 0},
 +
        },
 +
      },
 +
      lifeExpectancy = 10,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.15,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.4,
 +
        },
 +
      },
 +
    },
 +
     tradeTags = {
 +
       "AnimalCommon",
 +
      "AnimalPet",
 +
     },
 +
   },
 +
 
 +
   ["ThingDef:Squirrel"] = {
 +
     _ = {
 +
       ParentName = "AnimalThingBase",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Races_Animal_Rodentlike.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Emu",
+
     defName = "Squirrel",
     label = "emu",
+
     label = "squirrel",
     description = [[A large flightless bird with beady eyes on its ugly face. With its bad attitude, it is the jerk of the natural world. Bother it, and it is guaranteed to seek revenge.]],
+
     description = [[One of the many hardy rodent species that follows humankind everywhere it spreads. Squirrels are distinguished by their bushy tails, which they use as umbrellas in bad weather.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 5.5,
+
       MoveSpeed = 5.1,
       MarketValue = 200,
+
       MarketValue = 35,
       ComfyTemperatureMin = -8,
+
       ComfyTemperatureMin = -35,
      ComfyTemperatureMax = 50,
 
 
     },
 
     },
     race = {
+
     tools = {
      herdAnimal = false,
 
      baseBodySize = 0.8,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      wildness = 0.95,
 
      lifeExpectancy = 45,
 
      manhunterOnTameFailChance = 1.00,
 
      manhunterOnDamageChance = 1.00,
 
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "left claw",
           Class = "CompProperties_EggLayer",
+
        capacities = {
 +
           "Scratch",
 
         },
 
         },
         eggFertilizedDef = "EggEmuFertilized",
+
         power = 4,
         eggFertilizationCountMax = 1,
+
         cooldownTime = 2,
         eggLayIntervalDays = 17,
+
         linkedBodyPartsGroup = "FrontLeftPaw",
        eggProgressUnfertilizedMax = 0.5,
 
        eggCountRange = 1,
 
 
       },
 
       },
    },
 
    tools = {
 
 
       {
 
       {
         label = "claws",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 8,
+
         power = 4,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "Feet",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
        label = "beak",
 
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 9,
+
         power = 5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Beak",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 
       },
 
       },
 
       {
 
       {
Line 23,647: Line 24,210:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 6,
+
         power = 2,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 23,653: Line 24,216:
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
    race = {
       "AnimalUncommon",
+
      baseBodySize = 0.15,
     },
+
      foodType = {
   },
+
        "VegetarianRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Light",
 +
      wildness = 0.75,
 +
      trainability = "None",
 +
      gestationPeriodDays = 13,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {1.8, 1},
 +
          {2.4, 0},
 +
        },
 +
      },
 +
      lifeExpectancy = 8,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.11,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.26,
 +
        },
 +
      },
 +
    },
 +
     tradeTags = {
 +
       "AnimalCommon",
 +
     },
 +
   },
  
   ["ThingDef:Ostrich"] = {
+
   ["ThingDef:Alphabeaver"] = {
 
     _ = {
 
     _ = {
       ParentName = "BigBirdThingBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Birds.xml",
+
       FileName = "Races_Animal_Rodentlike.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ostrich",
+
     defName = "Alphabeaver",
     label = "ostrich",
+
     label = "alphabeaver",
     description = [[The largest unmodified bird species, ostriches are known for their fast run, huge eggs, and powerful kick. It is easily angered.]],
+
     description = [[A large beaver-like creature genetically engineered to harvest wood with machine-like efficiency. In the absence of specialized feed, these animals will enter a manic state that compels them to eat trees whole, and are likely to attack if disturbed.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 6.0,
+
       MoveSpeed = 3.7,
 
       MarketValue = 250,
 
       MarketValue = 250,
       ComfyTemperatureMin = -8,
+
       ComfyTemperatureMin = -40,
      ComfyTemperatureMax = 50,
 
 
     },
 
     },
     race = {
+
     tools = {
      herdAnimal = false,
 
      baseBodySize = 1.0,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      wildness = 0.95,
 
      lifeExpectancy = 45,
 
      manhunterOnTameFailChance = 0.10,
 
      manhunterOnDamageChance = 0.10,
 
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "left claw",
           Class = "CompProperties_EggLayer",
+
        capacities = {
 +
           "Scratch",
 
         },
 
         },
         eggFertilizedDef = "EggOstrichFertilized",
+
         power = 7.2,
         eggFertilizationCountMax = 1,
+
         cooldownTime = 2,
         eggLayIntervalDays = 19,
+
         linkedBodyPartsGroup = "FrontLeftPaw",
        eggProgressUnfertilizedMax = 0.5,
 
        eggCountRange = 1,
 
 
       },
 
       },
    },
 
    tools = {
 
 
       {
 
       {
         label = "claws",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 11,
+
         power = 7.2,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "Feet",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
        label = "beak",
 
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 11,
+
         power = 8.5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Beak",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 
       },
 
       },
 
       {
 
       {
Line 23,722: Line 24,303:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 6,
+
         power = 3,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 23,728: Line 24,309:
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
    race = {
       "AnimalUncommon",
+
      herdAnimal = true,
     },
+
      baseBodySize = 0.45,
   },
+
      foodType = {
 +
        "DendrovoreAnimal",
 +
      },
 +
      leatherDef = "Leather_Light",
 +
      wildness = 0.75,
 +
      gestationPeriodDays = 17,
 +
      manhunterOnTameFailChance = 0.10,
 +
      manhunterOnDamageChance = 0.10,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {3, 1},
 +
          {3.5, 0},
 +
        },
 +
      },
 +
      lifeExpectancy = 12,
 +
      lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.15,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.35,
 +
        },
 +
      },
 +
    },
 +
     tradeTags = {
 +
       "AnimalUncommon",
 +
     },
 +
   },
  
   ["ThingDef:Turkey"] = {
+
   ["ThingDef:Capybara"] = {
 
     _ = {
 
     _ = {
       ParentName = "BigBirdThingBase",
+
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Birds.xml",
+
       FileName = "Races_Animal_Rodentlike.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Turkey",
+
     defName = "Capybara",
     label = "turkey",
+
     label = "capybara",
     description = [[A short, fat, flightless bird known for its hilarious 'gobbling' call. It has been long domesticated, but also lives in the wild.]],
+
     description = [[The largest natural rodent, the capybara is well-adapted for steaming jungle environments.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.6,
+
       MoveSpeed = 3.9,
       MarketValue = 100,
+
       MarketValue = 150,
       ComfyTemperatureMin = -8,
+
       ComfyTemperatureMin = -10,
 +
      ComfyTemperatureMax = 50,
 
     },
 
     },
     race = {
+
     tools = {
      herdAnimal = false,
 
      baseBodySize = 0.6,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      wildness = 0.45,
 
      trainability = "None",
 
      lifeExpectancy = 9,
 
      manhunterOnTameFailChance = 0,
 
      manhunterOnDamageChance = 0,
 
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "left claw",
           Class = "CompProperties_EggLayer",
+
        capacities = {
 +
           "Scratch",
 
         },
 
         },
         eggFertilizedDef = "EggTurkeyFertilized",
+
         power = 8.4,
         eggFertilizationCountMax = 1,
+
         cooldownTime = 2,
         eggLayIntervalDays = 11,
+
         linkedBodyPartsGroup = "FrontLeftPaw",
        eggProgressUnfertilizedMax = 0.5,
 
        eggCountRange = { ["<"]=1, [">"]=1 },
 
 
       },
 
       },
    },
 
    tools = {
 
 
       {
 
       {
         label = "claws",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 5,
+
         power = 8.4,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "Feet",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
        label = "beak",
 
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 6,
+
         power = 8.5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Beak",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 
       },
 
       },
 
       {
 
       {
Line 23,803: Line 24,405:
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
     race = {
       "AnimalCommon",
+
      herdAnimal = true,
       "AnimalFarm",
+
      baseBodySize = 0.50,
 +
      foodType = {
 +
        "VegetarianRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Light",
 +
      wildness = 0.75,
 +
      petness = 0.08,
 +
      nuzzleMtbHours = 60,
 +
      gestationPeriodDays = 20,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {1.5, 1},
 +
          {2, 0},
 +
        },
 +
      },
 +
      lifeExpectancy = 12,
 +
       lifeStageAges = {
 +
        {
 +
          def = "AnimalBaby",
 +
          minAge = 0,
 +
        },
 +
        {
 +
          def = "AnimalJuvenile",
 +
          minAge = 0.2,
 +
        },
 +
        {
 +
          def = "AnimalAdult",
 +
          minAge = 0.4,
 +
        },
 +
      },
 +
    },
 +
    tradeTags = {
 +
       "AnimalUncommon",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Chicken"] = {
+
   ["ThingDef:Chinchilla"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Rodentlike.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Chicken",
+
     defName = "Chinchilla",
     label = "chicken",
+
     label = "chinchilla",
     description = [[The most traditional farm bird, the chicken is raised for its eggs and meat. It grows very quickly and lays eggs very often.]],
+
     description = [[A small, nimble rodent. Its fur is softer than just about anything in the universe, making it very valuable as a trade good.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 2.1,
+
       MoveSpeed = 5.0,
       MarketValue = 50,
+
       MarketValue = 150,
       LeatherAmount = 0,
+
       ComfyTemperatureMin = -15,
       ComfyTemperatureMin = -10,
+
       ComfyTemperatureMax = 55,
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "claws",
+
         label = "left claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 3.6,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontLeftPaw",
 +
      },
 +
      {
 +
        label = "right claw",
 
         capacities = {
 
         capacities = {
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 2,
+
         power = 3.6,
 
         cooldownTime = 1.5,
 
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "Feet",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
        label = "beak",
 
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 3,
+
         power = 5.8,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Beak",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.7,
 
       },
 
       },
 
       {
 
       {
Line 23,850: Line 24,495:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 1,
+
         power = 2,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         chanceFactor = 0.2,
 
         chanceFactor = 0.2,
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_EggLayer",
 
        },
 
        eggUnfertilizedDef = "EggChickenUnfertilized",
 
        eggFertilizedDef = "EggChickenFertilized",
 
        eggFertilizationCountMax = 1,
 
        eggLayIntervalDays = 2,
 
        eggCountRange = 1,
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 0.18,
+
       baseBodySize = 0.21,
 
       foodType = {
 
       foodType = {
 
         "VegetarianRoughAnimal",
 
         "VegetarianRoughAnimal",
 
       },
 
       },
 +
      leatherDef = "Leather_Chinchilla",
 +
      wildness = 0.60,
 
       trainability = "None",
 
       trainability = "None",
       wildness = 0,
+
       petness = 0.20,
 +
      mateMtbHours = 8,
 +
      nuzzleMtbHours = 24,
 +
      gestationPeriodDays = 14,
 
       manhunterOnTameFailChance = 0,
 
       manhunterOnTameFailChance = 0,
 
       manhunterOnDamageChance = 0,
 
       manhunterOnDamageChance = 0,
       mateMtbHours = 8,
+
       litterSizeCurve = {
       lifeExpectancy = 6,
+
        points = {
       lifeStageAges = {
+
          {0.5, 0},
 +
          {1, 1},
 +
          {2.5, 1},
 +
          {3, 0},
 +
        },
 +
      },
 +
       lifeExpectancy = 9,
 +
       lifeStageAges = {
 
         {
 
         {
           def = "AnimalBabyTiny",
+
           def = "AnimalBaby",
 
           minAge = 0,
 
           minAge = 0,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.12,
+
           minAge = 0.15,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.3,
+
           minAge = 0.30,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "AnimalUncommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Pig"] = {
+
   ["ThingDef:Boomrat"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Rodentlike.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Pig",
+
     defName = "Boomrat",
     label = "pig",
+
     label = "boomrat",
     description = [[The pig was one of the first animals domesticated by humans. It is commonly raised for meat, and is easy to feed because of its omnivorous diet. Though pigs are self-serving by disposition, they can be trained in complex tasks.]],
+
     description = [[Either by deliberate genetic weaponization, or as an unusual defense mechanism, these rodent-like creatures create a powerful fire-starting explosion when killed.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.9,
+
       MoveSpeed = 4.6,
       ComfyTemperatureMin = -5,
+
       MarketValue = 100,
       MarketValue = 200,
+
       ComfyTemperatureMin = -15,
 
     },
 
     },
 
     tools = {
 
     tools = {
 +
      {
 +
        label = "left claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 5.4,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontLeftPaw",
 +
      },
 +
      {
 +
        label = "right claw",
 +
        capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 5.4,
 +
        cooldownTime = 1.5,
 +
        linkedBodyPartsGroup = "FrontRightPaw",
 +
      },
 
       {
 
       {
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 7.3,
+
         power = 4.9,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
Line 23,931: Line 24,593:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 6,
+
         power = 3,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 23,938: Line 24,600:
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 0.75,
+
       baseBodySize = 0.2,
 
       foodType = {
 
       foodType = {
 
         "OmnivoreRoughAnimal",
 
         "OmnivoreRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_Pig",
+
       leatherDef = "Leather_Light",
       wildness = 0.07,
+
       wildness = 0.75,
       trainability = "Advanced",
+
       petness = 0.20,
       manhunterOnTameFailChance = 0,
+
       mateMtbHours = 8,
       manhunterOnDamageChance = 0,
+
       nuzzleMtbHours = 60,
       gestationPeriodDays = 17,
+
       gestationPeriodDays = 14,
 
       litterSizeCurve = {
 
       litterSizeCurve = {
 
         points = {
 
         points = {
 
           {0.5, 0},
 
           {0.5, 0},
 
           {1, 1},
 
           {1, 1},
           {1.7, 1},
+
           {2.5, 1},
           {2.0, 0},
+
           {3, 0},
 
         },
 
         },
 
       },
 
       },
       lifeExpectancy = 12,
+
       lifeExpectancy = 8,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 23,968: Line 24,630:
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.4,
+
           minAge = 0.35,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "AnimalUncommon",
       "AnimalFarm",
+
       "AnimalFighter",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Cow"] = {
+
   ["ThingDef:Raccoon"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Rodentlike.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Cow",
+
     defName = "Raccoon",
     label = "cow",
+
     label = "raccoon",
     description = [[A large domesticated ungulate, cows have been bred for millennia to produce huge amounts of milk, meat, and leather. They are exceptionally gentle creatures and will never seek revenge, no matter how many times they are harmed. Most of them are so adapted to farm life that they cannot survive in the wild.]],
+
     description = [[A small, hardy animal that ranges wide across forests and shrubland. It is happy to break into your garbage container, or your kitchen, to eat almost anything.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.2,
+
       MoveSpeed = 4.1,
       ComfyTemperatureMin = -10,
+
       MarketValue = 100,
       MarketValue = 300,
+
       ComfyTemperatureMin = -30,
 
     },
 
     },
     comps = {
+
     tools = {
 
       {
 
       {
         _ = {
+
         label = "left claw",
           Class = "CompProperties_Milkable",
+
        capacities = {
 +
           "Scratch",
 
         },
 
         },
         milkDef = "Milk",
+
         power = 6,
         milkIntervalDays = 1,
+
        cooldownTime = 2,
         milkAmount = 18,
+
        linkedBodyPartsGroup = "FrontLeftPaw",
 +
      },
 +
      {
 +
         label = "right claw",
 +
         capacities = {
 +
          "Scratch",
 +
        },
 +
        power = 6,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
    },
 
    tools = {
 
 
       {
 
       {
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 8.8,
+
         power = 7,
         cooldownTime = 2.6,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
 
         chanceFactor = 0.7,
 
         chanceFactor = 0.7,
Line 24,019: Line 24,689:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 7,
+
         power = 3,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         chanceFactor = 0.2,
 
         chanceFactor = 0.2,
      },
 
      {
 
        label = "left hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftLeg",
 
      },
 
      {
 
        label = "right hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
      herdAnimal = true,
+
       baseBodySize = 0.3,
       baseBodySize = 2.0,
 
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "OmnivoreRoughAnimal",
 +
      },
 +
      leatherDef = "Leather_Light",
 +
      wildness = 0.75,
 +
      mateMtbHours = 8,
 +
      gestationPeriodDays = 14,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2, 1},
 +
          {2.5, 0},
 +
        },
 
       },
 
       },
      leatherDef = "Leather_Plain",
+
       lifeExpectancy = 8,
      wildness = 0.05,
 
      trainability = "None",
 
      gestationPeriodDays = 20,
 
       lifeExpectancy = 22,
 
      manhunterOnDamageChance = 0,
 
      manhunterOnTameFailChance = 0,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 24,065: Line 24,720:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.2,
+
           minAge = 0.15,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.45,
+
           minAge = 0.4,
 
         },
 
         },
 
       },
 
       },
Line 24,075: Line 24,730:
 
     tradeTags = {
 
     tradeTags = {
 
       "AnimalCommon",
 
       "AnimalCommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Alpaca"] = {
+
   ["ThingDef:Rat"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Rodentlike.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Alpaca",
+
     defName = "Rat",
     label = "alpaca",
+
     label = "rat",
     description = [[A medium-sized ungulate closely related to the llama, the alpaca is usually raised for its remarkably soft and insulating wool. Alpacas have also been used as pack animals since they hauled cargo on the rugged mountain trails of ancient South America]],
+
     description = [[A widely-hated rodent known for soiling kitchens and spreading disease, rats have a way of following humans everywhere they go. It eats almost anything and lives almost anywhere.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.1,
+
       MoveSpeed = 4.0,
      ComfyTemperatureMin = -18,
+
       MarketValue = 35,
       MarketValue = 350,
+
       ComfyTemperatureMin = -30,
       ComfyTemperatureMax = 45,
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "left hoof",
+
         label = "left claw",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Scratch",
          "Poke",
 
 
         },
 
         },
         power = 7.3,
+
         power = 3.6,
         cooldownTime = 2,
+
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         linkedBodyPartsGroup = "FrontLeftPaw",
 
       },
 
       },
 
       {
 
       {
         label = "right hoof",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Scratch",
          "Poke",
 
 
         },
 
         },
         power = 7.3,
+
         power = 3.6,
         cooldownTime = 2,
+
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "FrontRightLeg",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
Line 24,121: Line 24,772:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 8,
+
         power = 6,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
Line 24,131: Line 24,782:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 7,
+
         power = 2,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         chanceFactor = 0.2,
 
         chanceFactor = 0.2,
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Shearable",
 
        },
 
        woolDef = "WoolAlpaca",
 
        shearIntervalDays = 15,
 
        woolAmount = 100,
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
      herdAnimal = true,
+
       baseBodySize = 0.15,
       baseBodySize = 1.0,
 
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "OmnivoreRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_Camel",
+
       leatherDef = "Leather_Light",
       wildness = 0.25,
+
       wildness = 0.50,
 +
      trainability = "None",
 +
      petness = 0.15,
 
       manhunterOnTameFailChance = 0,
 
       manhunterOnTameFailChance = 0,
 
       manhunterOnDamageChance = 0,
 
       manhunterOnDamageChance = 0,
       gestationPeriodDays = 25,
+
      mateMtbHours = 8,
       lifeExpectancy = 15,
+
       gestationPeriodDays = 12,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2.2, 1},
 +
          {2.8, 0},
 +
        },
 +
      },
 +
       lifeExpectancy = 8,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 24,166: Line 24,817:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.2,
+
           minAge = 0.07,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.45,
+
           minAge = 0.3,
 
         },
 
         },
 
       },
 
       },
Line 24,176: Line 24,827:
 
     tradeTags = {
 
     tradeTags = {
 
       "AnimalCommon",
 
       "AnimalCommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Duck"] = {
+
   ["ThingDef:Deer"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Duck",
+
     defName = "Deer",
     label = "duck",
+
     label = "deer",
     description = [[A very common type of farm bird, also appearing in the wild, the duck is raised for its delicious meat. It grows quick but lays eggs quite rarely.]],
+
     description = [[A medium-sized herding herbivore which prefers to live in mixed forests and plains. Deer are very quick.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 2.1,
+
       MoveSpeed = 5.5,
       MarketValue = 60,
+
       MarketValue = 250,
      LeatherAmount = 0,
+
       ComfyTemperatureMin = -30,
       ComfyTemperatureMin = -10,
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "claws",
+
         label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 7,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 
         capacities = {
 
         capacities = {
           "Scratch",
+
           "Blunt",
 +
          "Poke",
 
         },
 
         },
         power = 3,
+
         power = 7,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "Feet",
+
         linkedBodyPartsGroup = "FrontRightLeg",
 
       },
 
       },
 
       {
 
       {
         label = "beak",
+
         label = "teeth",
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 4,
+
         power = 8,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Beak",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.5,
 
       },
 
       },
 
       {
 
       {
Line 24,221: Line 24,882:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 2,
+
         power = 5,
         cooldownTime = 1.5,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         chanceFactor = 0.2,
 
         chanceFactor = 0.2,
 
       },
 
       },
 
     },
 
     },
     comps = {
+
     race = {
       {
+
       herdAnimal = true,
        _ = {
+
       baseBodySize = 0.9,
          Class = "CompProperties_EggLayer",
 
        },
 
        eggUnfertilizedDef = "EggDuckUnfertilized",
 
        eggFertilizedDef = "EggDuckFertilized",
 
        eggFertilizationCountMax = 1,
 
        eggLayIntervalDays = 3.5,
 
        eggCountRange = 1,
 
      },
 
    },
 
    race = {
 
       baseBodySize = 0.18,
 
 
       foodType = {
 
       foodType = {
 
         "VegetarianRoughAnimal",
 
         "VegetarianRoughAnimal",
 
       },
 
       },
       trainability = "None",
+
       leatherDef = "Leather_Plain",
       wildness = 0,
+
       wildness = 0.75,
 +
      nuzzleMtbHours = 60,
 +
      gestationPeriodDays = 24,
 +
      lifeExpectancy = 15,
 +
      manhunterOnDamageChance = 0,
 
       manhunterOnTameFailChance = 0,
 
       manhunterOnTameFailChance = 0,
      manhunterOnDamageChance = 0,
 
      mateMtbHours = 8,
 
      lifeExpectancy = 6,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
           def = "AnimalBabyTiny",
+
           def = "AnimalBaby",
 
           minAge = 0,
 
           minAge = 0,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.12,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.3,
+
           minAge = 0.5,
 
         },
 
         },
 
       },
 
       },
Line 24,267: Line 24,918:
 
     tradeTags = {
 
     tradeTags = {
 
       "AnimalCommon",
 
       "AnimalCommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Bison"] = {
+
   ["ThingDef:Ibex"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bison",
+
     defName = "Ibex",
     label = "bison",
+
     label = "ibex",
     description = [[A large plant eating mammal appearing in the savannah wilderness. Tamed are quite docile, but enraged are fast and dangerous.]],
+
     description = [[The wild ancestor of the domesticated goat. Ibexes live on marginal territory where most antelopes couldn't survive, eating lichens and sparse mountain plants. They're famous for dextrously hopping across bare cliff faces - and for their violent ramming attack.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.7,
+
       MoveSpeed = 4.6,
       MarketValue = 350,
+
       MarketValue = 250,
       ComfyTemperatureMin = -55,
+
       ComfyTemperatureMin = -30,
      ComfyTemperatureMax = 45,
 
 
     },
 
     },
 
     tools = {
 
     tools = {
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 15,
 
        cooldownTime = 2.9,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
      },
 
 
       {
 
       {
 
         label = "left hoof",
 
         label = "left hoof",
Line 24,304: Line 24,944:
 
           "Poke",
 
           "Poke",
 
         },
 
         },
         power = 10,
+
         power = 8,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontLeftLeg",
 
         linkedBodyPartsGroup = "FrontLeftLeg",
Line 24,314: Line 24,954:
 
           "Poke",
 
           "Poke",
 
         },
 
         },
         power = 10,
+
         power = 8,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontRightLeg",
 
         linkedBodyPartsGroup = "FrontRightLeg",
Line 24,322: Line 24,962:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 10,
+
         power = 8,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
 
         chanceFactor = 0.5,
 
         chanceFactor = 0.5,
 
       },
 
       },
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "head",
           Class = "CompProperties_Shearable",
+
        capacities = {
 +
           "Blunt",
 
         },
 
         },
         woolDef = "WoolBison",
+
         power = 10,
         shearIntervalDays = 25,
+
         cooldownTime = 2.6,
         woolAmount = 100,
+
         linkedBodyPartsGroup = "HeadAttackTool",
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
 
       herdAnimal = true,
 
       herdAnimal = true,
       baseBodySize = 2.1,
+
       baseBodySize = 0.85,
 
       foodType = {
 
       foodType = {
 
         "VegetarianRoughAnimal",
 
         "VegetarianRoughAnimal",
 
       },
 
       },
 
       leatherDef = "Leather_Plain",
 
       leatherDef = "Leather_Plain",
      gestationPeriodDays = 28,
+
       wildness = 0.55,
       wildness = 0.6,
+
       gestationPeriodDays = 24,
       trainability = "Simple",
 
      manhunterOnDamageChance = 0.1,
 
 
       lifeExpectancy = 15,
 
       lifeExpectancy = 15,
 
       lifeStageAges = {
 
       lifeStageAges = {
Line 24,357: Line 24,994:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.25,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
Line 24,367: Line 25,004:
 
     tradeTags = {
 
     tradeTags = {
 
       "AnimalCommon",
 
       "AnimalCommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Goat"] = {
+
   ["ThingDef:Elk"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Goat",
+
     defName = "Elk",
     label = "goat",
+
     label = "elk",
     description = [[Naturally curious about the world, goats are among the friendliest domesticated creature bred by mankind.]],
+
     description = [[A large member of the deer family, well-adapted to life in cold climates. Domesticated elk can be milked, but refuse to carry packs.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.9,
+
       MoveSpeed = 5,
       ComfyTemperatureMin = -20,
+
       MarketValue = 300,
       MarketValue = 200,
+
       ComfyTemperatureMin = -50,
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 24,398: Line 25,034:
 
     },
 
     },
 
     tools = {
 
     tools = {
 +
      {
 +
        label = "left hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "right hoof",
 +
        capacities = {
 +
          "Blunt",
 +
          "Poke",
 +
        },
 +
        power = 10,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontRightLeg",
 +
      },
 
       {
 
       {
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 7.3,
+
         power = 10,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
         chanceFactor = 0.7,
+
         chanceFactor = 0.5,
 
       },
 
       },
 
       {
 
       {
Line 24,412: Line 25,068:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 6,
+
         power = 13,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
        chanceFactor = 0.2,
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 0.75,
+
      herdAnimal = true,
 +
       baseBodySize = 2.1,
 
       foodType = {
 
       foodType = {
 
         "VegetarianRoughAnimal",
 
         "VegetarianRoughAnimal",
 
       },
 
       },
 
       leatherDef = "Leather_Plain",
 
       leatherDef = "Leather_Plain",
       wildness = 0.07,
+
       wildness = 0.75,
      trainability = "None",
+
       gestationPeriodDays = 25,
      manhunterOnTameFailChance = 0,
+
       lifeExpectancy = 18,
      manhunterOnDamageChance = 0,
 
       gestationPeriodDays = 17,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {1.7, 1},
 
          {2.0, 0},
 
        },
 
      },
 
       lifeExpectancy = 12,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 24,445: Line 25,090:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.1,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.4,
+
           minAge = 0.6,
 
         },
 
         },
 
       },
 
       },
Line 24,459: Line 25,104:
 
   },
 
   },
  
   ["ThingDef:Goose"] = {
+
   ["ThingDef:Caribou"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Goose",
+
     defName = "Caribou",
     label = "goose",
+
     label = "caribou",
     description = [[A domesticated bird kept by humans as poultry for it's eggs and meat. Lays eggs very often, however they take a long time to hatch.]],
+
     description = [[A large member of the deer family, well-adapted to life in cold climates. Caribou can be milked, but refuse to carry packs.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 2.3,
+
       MoveSpeed = 5,
       MarketValue = 90,
+
       MarketValue = 300,
      LeatherAmount = 36,
+
       ComfyTemperatureMin = -50,
       ComfyTemperatureMin = -10,
 
 
     },
 
     },
     tools = {
+
     comps = {
 
       {
 
       {
         label = "claws",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_Milkable",
           "Scratch",
 
 
         },
 
         },
         power = 3,
+
         milkDef = "Milk",
         cooldownTime = 1.5,
+
         milkIntervalDays = 2,
         linkedBodyPartsGroup = "Feet",
+
         milkAmount = 12,
 
       },
 
       },
 +
    },
 +
    tools = {
 
       {
 
       {
         label = "beak",
+
         label = "left hoof",
 
         capacities = {
 
         capacities = {
           "Bite",
+
           "Blunt",
 +
          "Poke",
 
         },
 
         },
         power = 5.6,
+
         power = 10,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Beak",
+
         linkedBodyPartsGroup = "FrontLeftLeg",
 
       },
 
       },
 
       {
 
       {
         label = "head",
+
         label = "right hoof",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
 +
          "Poke",
 
         },
 
         },
         power = 2,
+
         power = 10,
         cooldownTime = 1.5,
+
        cooldownTime = 2,
         linkedBodyPartsGroup = "HeadAttackTool",
+
        linkedBodyPartsGroup = "FrontRightLeg",
         chanceFactor = 0.2,
+
      },
 +
      {
 +
        capacities = {
 +
          "Bite",
 +
        },
 +
        power = 10,
 +
         cooldownTime = 2,
 +
         linkedBodyPartsGroup = "Teeth",
 +
         chanceFactor = 0.5,
 
       },
 
       },
    },
 
    comps = {
 
 
       {
 
       {
         _ = {
+
         label = "head",
           Class = "CompProperties_EggLayer",
+
        capacities = {
 +
           "Blunt",
 
         },
 
         },
         eggUnfertilizedDef = "EggGooseUnfertilized",
+
         power = 13,
        eggFertilizedDef = "EggGooseFertilized",
+
         cooldownTime = 2.6,
         eggFertilizationCountMax = 1,
+
         linkedBodyPartsGroup = "HeadAttackTool",
        eggLayIntervalDays = 1.6,
 
         eggCountRange = 1,
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 0.40,
+
      herdAnimal = true,
 +
       baseBodySize = 2.1,
 
       foodType = {
 
       foodType = {
 
         "VegetarianRoughAnimal",
 
         "VegetarianRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_Bird",
+
       leatherDef = "Leather_Plain",
      trainability = "None",
+
       wildness = 0.75,
       wildness = 0.6,
+
       gestationPeriodDays = 25,
      manhunterOnTameFailChance = 0.2,
+
       lifeExpectancy = 18,
       manhunterOnDamageChance = 0.25,
 
      mateMtbHours = 8,
 
       lifeExpectancy = 8,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
           def = "AnimalBabyTiny",
+
           def = "AnimalBaby",
 
           minAge = 0,
 
           minAge = 0,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.12,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.3,
+
           minAge = 0.45,
 
         },
 
         },
 
       },
 
       },
Line 24,551: Line 25,201:
 
   },
 
   },
  
   ["ThingDef:Sheep"] = {
+
   ["ThingDef:WildBoar"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Sheep",
+
     defName = "WildBoar",
     label = "sheep",
+
     label = "wild boar",
     description = [[Sheep husbandry is practised throughout the majority of the inhabited worlds, however only recently it has been introduced to the rimworlds. Domestic sheep are relatively small herbivores, usually with yellowish wool and medium sized horns.]],
+
     description = [[This hairy omnivore is descended from escaped pigs and evolved for living in the wild.\n\nIts tusks make it a better fighter than its domesticated pig cousins. Unfortunately, it is too unruly to be trained in the most complex tasks.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.8,
+
       MoveSpeed = 4.6,
       MarketValue = 210,
+
       MarketValue = 200,
       ComfyTemperatureMin = -55,
+
       ComfyTemperatureMin = -23,
      ComfyTemperatureMax = 45,
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "head",
+
         label = "tusk",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Scratch",
 +
          "Stab",
 
         },
 
         },
         power = 14,
+
         power = 9.7,
         cooldownTime = 2.9,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "HeadAttackTool",
+
         linkedBodyPartsGroup = "TuskAttackTool",
 
       },
 
       },
 
       {
 
       {
        label = "left hoof",
 
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Bite",
          "Poke",
 
 
         },
 
         },
         power = 6,
+
         power = 8.5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.6,
 
       },
 
       },
 
       {
 
       {
         label = "right hoof",
+
         label = "head",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
          "Poke",
 
 
         },
 
         },
         power = 6,
+
         power = 5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontRightLeg",
+
         linkedBodyPartsGroup = "HeadAttackTool",
      },
+
         chanceFactor = 0.2,
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
         chanceFactor = 0.5,
 
 
       },
 
       },
 
     },
 
     },
    comps = {
+
     race = {
      {
 
        _ = {
 
          Class = "CompProperties_Shearable",
 
        },
 
        woolDef = "WoolSheep",
 
        shearIntervalDays = 10,
 
        woolAmount = 45,
 
      },
 
    },
 
     race = {
 
 
       herdAnimal = true,
 
       herdAnimal = true,
       baseBodySize = 0.75,
+
       baseBodySize = 0.8,
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "OmnivoreRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_Plain",
+
      wildness = 0.50,
       gestationPeriodDays = 17,
+
      trainability = "Intermediate",
 +
       leatherDef = "Leather_Pig",
 +
       gestationPeriodDays = 18,
 
       litterSizeCurve = {
 
       litterSizeCurve = {
 
         points = {
 
         points = {
 
           {0.5, 0},
 
           {0.5, 0},
 
           {1, 1},
 
           {1, 1},
           {1.7, 1},
+
           {1.5, 1},
 
           {2.0, 0},
 
           {2.0, 0},
 
         },
 
         },
 
       },
 
       },
      wildness = 0,
 
      trainability = "None",
 
      manhunterOnDamageChance = 0.0,
 
 
       lifeExpectancy = 12,
 
       lifeExpectancy = 12,
 
       lifeStageAges = {
 
       lifeStageAges = {
Line 24,645: Line 25,274:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.25,
+
           minAge = 0.1,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.5,
+
           minAge = 0.4,
 
         },
 
         },
 
       },
 
       },
Line 24,655: Line 25,284:
 
     tradeTags = {
 
     tradeTags = {
 
       "AnimalCommon",
 
       "AnimalCommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Horse"] = {
+
   ["ThingDef:Tortoise"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Temperate.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Horse",
+
     defName = "Tortoise",
     label = "horse",
+
     label = "tortoise",
     description = [[A large hoofed mammal with a short coat, a long mane, and a long tail. Horses have been domesticated since ancient times.]],
+
     description = [[This heavily armored land-dwelling reptile is known for its slow moving speed and surprisingly vicious bite. Because of its natural armor, it is tough to kill and can do serious damage during drawn-out melee fights.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 5.8,
+
       MoveSpeed = 1.0,
       MarketValue = 550,
+
       MarketValue = 200,
       ComfyTemperatureMin = -35,
+
      ArmorRating_Blunt = 0.35,
       ComfyTemperatureMax = 45,
+
      ArmorRating_Sharp = 0.50,
 +
       ComfyTemperatureMin = 0,
 +
       ComfyTemperatureMax = 50,
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "head",
+
         label = "beak",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Bite",
 
         },
 
         },
         power = 10,
+
         power = 8,
         cooldownTime = 2.9,
+
         cooldownTime = 2.6,
         linkedBodyPartsGroup = "HeadAttackTool",
+
         linkedBodyPartsGroup = "TurtleBeakAttackTool",
 
       },
 
       },
 
       {
 
       {
         label = "left hoof",
+
         label = "head",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
          "Poke",
 
 
         },
 
         },
         power = 7,
+
         power = 3,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
         label = "right hoof",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_EggLayer",
           "Blunt",
 
          "Poke",
 
 
         },
 
         },
         power = 7,
+
         eggFertilizedDef = "EggTortoiseFertilized",
         cooldownTime = 2,
+
         eggFertilizationCountMax = 1,
         linkedBodyPartsGroup = "FrontRightLeg",
+
         eggLayIntervalDays = 20,
      },
+
        eggProgressUnfertilizedMax = 0.5,
      {
+
         eggCountRange = { ["<"]=1, [">"]=3 },
         capacities = {
 
          "Bite",
 
        },
 
        power = 5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.5,
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
      herdAnimal = true,
+
       baseBodySize = 0.5,
       baseBodySize = 2.0,
 
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "OmnivoreRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_Plain",
+
       leatherDef = "Leather_Lizard",
      gestationPeriodDays = 28,
+
       wildness = 0.75,
       wildness = 0.5,
+
       lifeExpectancy = 180,
      petness = 0.6,
 
      trainability = "Advanced",
 
      manhunterOnDamageChance = 0.1,
 
       lifeExpectancy = 30,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 24,736: Line 25,354:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.25,
+
           minAge = 0.15,
 
         },
 
         },
 
         {
 
         {
Line 24,745: Line 25,363:
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "AnimalUncommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Yak"] = {
+
   ["ThingDef:Cobra"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Yak",
+
     defName = "Cobra",
     label = "yak",
+
     label = "cobra",
     description = [[Yaks are robust cattle with a bulky frame, short but thick legs, and rounded cloven hooves that are splayed to help them walk in snow.]],
+
     description = [[A large predatory snake. Cobras can be highly aggressive if provoked, and their bite injects toxic venom into the victim.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.2,
+
       MoveSpeed = 3.5,
       ComfyTemperatureMin = -45,
+
       MarketValue = 150,
       MarketValue = 320,
+
       ComfyTemperatureMin = 0,
    },
+
       ComfyTemperatureMax = 60,
    comps = {
 
       {
 
        _ = {
 
          Class = "CompProperties_Milkable",
 
        },
 
        milkDef = "Milk",
 
        milkIntervalDays = 2,
 
        milkAmount = 12,
 
      },
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
 +
        label = "venom-fangs",
 
         capacities = {
 
         capacities = {
           "Bite",
+
           "ToxicBite",
 
         },
 
         },
         power = 8.8,
+
         power = 12,
         cooldownTime = 2.6,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "Teeth",
+
         linkedBodyPartsGroup = "Mouth",
        chanceFactor = 0.7,
 
 
       },
 
       },
 
       {
 
       {
Line 24,791: Line 25,399:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 9,
+
         power = 3,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         chanceFactor = 0.2,
 
         chanceFactor = 0.2,
 
       },
 
       },
 +
    },
 +
    comps = {
 
       {
 
       {
         label = "left hoof",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_EggLayer",
           "Blunt",
 
          "Poke",
 
 
         },
 
         },
         power = 8,
+
         eggFertilizedDef = "EggCobraFertilized",
         cooldownTime = 2,
+
         eggFertilizationCountMax = 1,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         eggLayIntervalDays = 20.0,
      },
+
         eggProgressUnfertilizedMax = 0.5,
      {
+
         eggCountRange = { ["<"]=1, [">"]=2 },
         label = "right hoof",
 
         capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
      herdAnimal = true,
+
       baseBodySize = 0.25,
       baseBodySize = 1.9,
 
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "CarnivoreAnimal",
 +
        "OvivoreAnimal",
 
       },
 
       },
       leatherDef = "Leather_Plain",
+
       leatherDef = "Leather_Lizard",
       wildness = 0.11,
+
       wildness = 0.75,
       petness = 0.3,
+
       petness = 0.05,
       trainability = "None",
+
       manhunterOnTameFailChance = 0.10,
      gestationPeriodDays = 20,
+
       manhunterOnDamageChance = 0.10,
      lifeExpectancy = 22,
+
       lifeExpectancy = 20,
       manhunterOnDamageChance = 0.05,
 
       manhunterOnTameFailChance = 0.02,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 24,838: Line 25,436:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.2,
+
           minAge = 0.15,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.45,
+
           minAge = 0.5,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "AnimalUncommon",
       "AnimalFarm",
+
       "AnimalFighter",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:GuineaPig"] = {
+
   ["ThingDef:Monkey"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GuineaPig",
+
     defName = "Monkey",
     label = "guinea pig",
+
     label = "monkey",
     description = [[Neither a pig or a creature from Guinea, these little rodents are bred to be a household pet and a delicious dinner.]],
+
     description = [[A small primate, the monkey can use its curly tail to grab on to branches, leaving its hands free to do other things. Monkeys are selfish but clever, and can be trained to carry out fairly complex tasks.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 5.0,
+
       MoveSpeed = 4.3,
       MarketValue = 150,
+
       MarketValue = 100,
       ComfyTemperatureMin = -15,
+
       ComfyTemperatureMin = -5,
       ComfyTemperatureMax = 55,
+
       ComfyTemperatureMax = 50,
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "left claw",
+
         label = "left fist",
 
         capacities = {
 
         capacities = {
           "Scratch",
+
           "Blunt",
 
         },
 
         },
 
         power = 3.6,
 
         power = 3.6,
 
         cooldownTime = 1.5,
 
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "FrontLeftPaw",
+
         linkedBodyPartsGroup = "LeftHand",
 
       },
 
       },
 
       {
 
       {
         label = "right claw",
+
         label = "right fist",
 
         capacities = {
 
         capacities = {
           "Scratch",
+
           "Blunt",
 
         },
 
         },
 
         power = 3.6,
 
         power = 3.6,
 
         cooldownTime = 1.5,
 
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "FrontRightPaw",
+
         linkedBodyPartsGroup = "RightHand",
 
       },
 
       },
 
       {
 
       {
Line 24,892: Line 25,490:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 5.8,
+
         power = 4,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
Line 24,909: Line 25,507:
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 0.28,
+
      petness = 0.50,
 +
      herdAnimal = true,
 +
       baseBodySize = 0.35,
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "OmnivoreRoughAnimal",
 
       },
 
       },
       leatherDef = "Leather_GuineaPig",
+
       leatherDef = "Leather_Light",
 +
      trainability = "Advanced",
 
       wildness = 0.60,
 
       wildness = 0.60,
      trainability = "None",
 
      petness = 0.30,
 
      mateMtbHours = 8,
 
 
       nuzzleMtbHours = 24,
 
       nuzzleMtbHours = 24,
       gestationPeriodDays = 14,
+
       gestationPeriodDays = 16,
      manhunterOnTameFailChance = 0.02,
+
       lifeExpectancy = 30,
      manhunterOnDamageChance = 0,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2.5, 1},
 
          {3, 0},
 
        },
 
      },
 
       lifeExpectancy = 4,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 24,938: Line 25,526:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.15,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 0.30,
+
           minAge = 0.4,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
      "AnimalPet",
 
 
       "AnimalUncommon",
 
       "AnimalUncommon",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Donkey"] = {
+
   ["ThingDef:Boomalope"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Farm.xml",
+
       FileName = "Races_Animal_Tropical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Donkey",
+
     defName = "Boomalope",
     label = "donkey",
+
     label = "boomalope",
     description = [[A small relative of the horse, domesticated in ancient times for farm work. Its goofy call is simultaneously annoying and endearing.]],
+
     description = [[Engineered for chemicals production, the boomalope grows a large sac of volatile chemicals on its back. Though it is weak and fragile for its size, other animals have learned to avoid it because of the huge explosion it produces when it dies. It can be milked to produce chemfuel - very carefully.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 5.3,
+
       MoveSpeed = 3.4,
       MarketValue = 320,
+
       MarketValue = 350,
       ComfyTemperatureMin = -25,
+
       ComfyTemperatureMin = -15,
       ComfyTemperatureMax = 45,
+
    },
 +
    comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_Milkable",
 +
        },
 +
        milkDef = "Chemfuel",
 +
        milkIntervalDays = 2,
 +
        milkAmount = 12,
 +
        milkFemaleOnly = false,
 +
      },
 
     },
 
     },
 
     tools = {
 
     tools = {
Line 24,976: Line 25,572:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 12,
+
         power = 7,
         cooldownTime = 2.9,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 
       },
 
       },
 
       {
 
       {
Line 24,986: Line 25,583:
 
           "Poke",
 
           "Poke",
 
         },
 
         },
         power = 8,
+
         power = 9,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontLeftLeg",
 
         linkedBodyPartsGroup = "FrontLeftLeg",
Line 24,996: Line 25,593:
 
           "Poke",
 
           "Poke",
 
         },
 
         },
         power = 8,
+
         power = 9,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontRightLeg",
 
         linkedBodyPartsGroup = "FrontRightLeg",
Line 25,004: Line 25,601:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 6,
+
         power = 10,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
Line 25,017: Line 25,614:
 
       },
 
       },
 
       leatherDef = "Leather_Plain",
 
       leatherDef = "Leather_Plain",
 +
      wildness = 0.6,
 
       gestationPeriodDays = 28,
 
       gestationPeriodDays = 28,
      wildness = 0.03,
+
       lifeExpectancy = 15,
      petness = 0.60,
 
      trainability = "Advanced",
 
      manhunterOnDamageChance = 0.05,
 
       lifeExpectancy = 24,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 25,030: Line 25,624:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.25,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
Line 25,040: Line 25,634:
 
     tradeTags = {
 
     tradeTags = {
 
       "AnimalUncommon",
 
       "AnimalUncommon",
       "AnimalFarm",
+
       "AnimalFighter",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Rhinoceros"] = {
+
   ["ThingDef:Warg"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Giant.xml",
+
       FileName = "Races_Animal_WildCanines.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Rhinoceros",
+
     defName = "Warg",
     label = "rhinoceros",
+
     label = "warg",
     description = [[Despite being herbivorous, this large mammal is very easy to enrage. Once angered, its massive strength and sharp horn make it a brutal opponent. It has more muscle in one leg than most humans do in their whole body.]],
+
     description = [[Heavily-muscled wolf-like creatures with vicious unnatural claws and an absurdly powerful bite. They will only eat meat or corpses. If disturbed in the wild, they are very likely to attack.\n\nScientists say wargs are the descendants of weaponized military animals created for population suppression. The superstitious see them as the tools of an angry god.]],
 
     statBases = {
 
     statBases = {
 
       MoveSpeed = 5.0,
 
       MoveSpeed = 5.0,
       MarketValue = 700,
+
       MarketValue = 450,
       ComfyTemperatureMin = -8,
+
       ComfyTemperatureMin = -40,
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "horn",
+
         label = "left claw",
 
         capacities = {
 
         capacities = {
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 19,
+
         power = 13,
         cooldownTime = 2,
+
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "HornAttackTool",
+
         linkedBodyPartsGroup = "FrontLeftPaw",
 
       },
 
       },
 
       {
 
       {
         label = "horn",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Scratch",
 
         },
 
         },
         power = 19,
+
         power = 13,
         cooldownTime = 2,
+
         cooldownTime = 1.5,
         linkedBodyPartsGroup = "HornAttackTool",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 
       },
 
       },
 
       {
 
       {
 +
        label = "razorfangs",
 
         capacities = {
 
         capacities = {
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 19,
+
         power = 15,
         cooldownTime = 2.6,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
         chanceFactor = 0.7,
+
         chanceFactor = 0.9,
 
       },
 
       },
 
       {
 
       {
Line 25,093: Line 25,688:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 15,
+
         power = 5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 25,100: Line 25,695:
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 3.0,
+
      petness = 0.5,
 +
       baseBodySize = 1.0,
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "CarnivoreAnimalStrict",
 +
      },
 +
      leatherDef = "Leather_Wolf",
 +
      gestationPeriodDays = 26,
 +
      trainability = "Advanced",
 +
      wildness = 0.60,
 +
      manhunterOnTameFailChance = 0.35,
 +
      manhunterOnDamageChance = 0.35,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2, 1.7},
 +
          {2.5, 0.7},
 +
          {3, 0},
 +
        },
 
       },
 
       },
      leatherDef = "Leather_Rhinoceros",
+
       lifeExpectancy = 15,
      wildness = 0.90,
 
      manhunterOnTameFailChance = 0.10,
 
      manhunterOnDamageChance = 0.10,
 
      gestationPeriodDays = 43,
 
       lifeExpectancy = 45,
 
      herdAnimal = true,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 25,118: Line 25,723:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.3,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 1.0,
+
           minAge = 0.45,
 
         },
 
         },
 
       },
 
       },
Line 25,132: Line 25,737:
 
   },
 
   },
  
   ["ThingDef:Elephant"] = {
+
   ["ThingDef:ThingBaseWolf"] = {
 
     _ = {
 
     _ = {
 +
      Name = "ThingBaseWolf",
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Giant.xml",
+
       FileName = "Races_Animal_WildCanines.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Elephant",
 
    label = "elephant",
 
    description = [[The largest unmodified land animal. Elephants has a long trunk they use to manipulate objects, and sharp tusks they use to gore attackers. A dead elephant's valuable tusks can be recovered by butchering it.\n\nIntelligent creatures with complex social relationships, elephants can be used as pack animals or trained to carry out the most complex of tasks. They live a long time, and are known to remember events and relationships from many decades before.]],
 
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.8,
+
       MoveSpeed = 5.0,
       MarketValue = 600,
+
       MarketValue = 350,
       ComfyTemperatureMin = -12,
+
       ComfyTemperatureMin = -40,
      ComfyTemperatureMax = 50,
 
 
     },
 
     },
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "tusk",
+
         label = "left claw",
 
         capacities = {
 
         capacities = {
 
           "Scratch",
 
           "Scratch",
          "Stab",
 
 
         },
 
         },
         power = 25,
+
         power = 10.9,
         cooldownTime = 2.6,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "TuskAttackTool",
+
         linkedBodyPartsGroup = "FrontLeftPaw",
 +
        chanceFactor = 0.5,
 
       },
 
       },
 
       {
 
       {
         label = "left foot",
+
         label = "right claw",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Scratch",
 
         },
 
         },
         power = 16.9,
+
         power = 10.9,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         linkedBodyPartsGroup = "FrontRightPaw",
 +
        chanceFactor = 0.5,
 
       },
 
       },
 
       {
 
       {
        label = "right foot",
 
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Bite",
 
         },
 
         },
         power = 16.9,
+
         power = 12,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontRightLeg",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.9,
 
       },
 
       },
 
       {
 
       {
Line 25,183: Line 25,787:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 14,
+
         power = 6,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 25,190: Line 25,794:
 
     },
 
     },
 
     race = {
 
     race = {
       herdAnimal = true,
+
       petness = 0.1,
       baseBodySize = 4.0,
+
       baseBodySize = 0.85,
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "CarnivoreAnimal",
 
       },
 
       },
       leatherDef = "Leather_Elephant",
+
       leatherDef = "Leather_Wolf",
      gestationPeriodDays = 48,
 
      wildness = 0.75,
 
      nuzzleMtbHours = 24,
 
 
       trainability = "Advanced",
 
       trainability = "Advanced",
       lifeExpectancy = 50,
+
       wildness = 0.85,
 +
      nuzzleMtbHours = 120,
 
       manhunterOnTameFailChance = 0.10,
 
       manhunterOnTameFailChance = 0.10,
 
       manhunterOnDamageChance = 0.10,
 
       manhunterOnDamageChance = 0.10,
 +
      gestationPeriodDays = 26,
 +
      litterSizeCurve = {
 +
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2, 1.7},
 +
          {2.5, 0.7},
 +
          {3, 0},
 +
        },
 +
      },
 +
      lifeExpectancy = 12,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 25,210: Line 25,823:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 0.8,
+
           minAge = 0.2,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 2.0,
+
           minAge = 0.45,
 
         },
 
         },
 
       },
 
       },
Line 25,220: Line 25,833:
 
     tradeTags = {
 
     tradeTags = {
 
       "AnimalUncommon",
 
       "AnimalUncommon",
 +
      "AnimalFighter",
 +
    },
 +
  },
 +
 +
  ["ThingDef:Wolf_Timber"] = {
 +
    _ = {
 +
      ParentName = "ThingBaseWolf",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Races_Animal_WildCanines.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
 +
    defName = "Wolf_Timber",
 +
    label = "timber wolf",
 +
    description = [[A rugged predator long feared by many ancient Earth cultures. As pack hunters, wolves have complex social lives and are fiercely intelligent.]],
 
   },
 
   },
  
   ["ThingDef:Megasloth"] = {
+
   ["ThingDef:Wolf_Arctic"] = {
 +
    _ = {
 +
      ParentName = "ThingBaseWolf",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Races_Animal_WildCanines.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Wolf_Arctic",
 +
    label = "arctic wolf",
 +
    description = [[An arctic variant of the old Earth wolf. As pack hunters, wolves have a complex social life and are fiercely intelligent.]],
 +
    statBases = {
 +
      ComfyTemperatureMin = -55,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:ThingBaseFox"] = {
 
     _ = {
 
     _ = {
 +
      Name = "ThingBaseFox",
 
       ParentName = "AnimalThingBase",
 
       ParentName = "AnimalThingBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Giant.xml",
+
       FileName = "Races_Animal_WildCanines.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
    defName = "Megasloth",
 
    label = "megasloth",
 
    description = [[A giant, solitary herbivore with two giant claws for warding off threats. Long extinct after being wiped out by the natives of Earth's American continent, the megasloth was later brought back using advanced cloning and artificial gestators. Its thick hide is exceptionally strong and insulating, and makes a great leather for cold-weather clothing. It is peaceful if left alone, but will shred anyone who disturbs it with its giant claws.]],
 
 
     statBases = {
 
     statBases = {
       MoveSpeed = 4.8,
+
       MoveSpeed = 4.6,
       MarketValue = 700,
+
       ComfyTemperatureMin = -35,
       ComfyTemperatureMin = -55,
+
       MarketValue = 200,
 
     },
 
     },
 
     tools = {
 
     tools = {
Line 25,245: Line 25,887:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 21,
+
         power = 8,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontLeftPaw",
 
         linkedBodyPartsGroup = "FrontLeftPaw",
Line 25,254: Line 25,896:
 
           "Scratch",
 
           "Scratch",
 
         },
 
         },
         power = 21,
+
         power = 8,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "FrontRightPaw",
 
         linkedBodyPartsGroup = "FrontRightPaw",
Line 25,262: Line 25,904:
 
           "Bite",
 
           "Bite",
 
         },
 
         },
         power = 22,
+
         power = 9,
         cooldownTime = 2.6,
+
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "Teeth",
 
         linkedBodyPartsGroup = "Teeth",
         chanceFactor = 0.7,
+
         chanceFactor = 0.9,
 
       },
 
       },
 
       {
 
       {
Line 25,272: Line 25,914:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 15,
+
         power = 4,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 25,279: Line 25,921:
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 4.0,
+
      petness = 0.1,
 +
       baseBodySize = 0.55,
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "CarnivoreAnimal",
 
       },
 
       },
       leatherDef = "Leather_Heavy",
+
       leatherDef = "Leather_Fox",
      gestationPeriodDays = 55,
 
      wildness = 0.97,
 
 
       trainability = "Advanced",
 
       trainability = "Advanced",
 +
      wildness = 0.75,
 
       nuzzleMtbHours = 60,
 
       nuzzleMtbHours = 60,
       lifeExpectancy = 20,
+
       gestationPeriodDays = 21,
       manhunterOnTameFailChance = 0.10,
+
       litterSizeCurve = {
       manhunterOnDamageChance = 0.10,
+
        points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {2, 1.7},
 +
          {2.5, 0.7},
 +
          {3, 0},
 +
        },
 +
      },
 +
       lifeExpectancy = 9,
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
Line 25,298: Line 25,948:
 
         {
 
         {
 
           def = "AnimalJuvenile",
 
           def = "AnimalJuvenile",
           minAge = 1.0,
+
           minAge = 0.15,
 
         },
 
         },
 
         {
 
         {
 
           def = "AnimalAdult",
 
           def = "AnimalAdult",
           minAge = 3.0,
+
           minAge = 0.35,
 
         },
 
         },
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Shearable",
 
        },
 
        woolDef = "WoolMegasloth",
 
        shearIntervalDays = 50,
 
        woolAmount = 400,
 
 
       },
 
       },
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalUncommon",
+
       "AnimalCommon",
      "AnimalFighter",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Thrumbo"] = {
+
   ["ThingDef:Fox_Fennec"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "ThingBaseFox",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Giant.xml",
+
       FileName = "Races_Animal_WildCanines.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Thrumbo",
+
     defName = "Fox_Fennec",
     label = "thrumbo",
+
     label = "fennec fox",
     description = [[A gigantic, graceful creature of unknown origin. The thrumbo is gentle by nature, but extremely dangerous when enraged. While its long fur is exceptionally beautiful, its hide is also incredibly resistant to damage. Its razor-sharp horn fetches a huge price.\n\nLegends say that an old thrumbo is the wisest creature in the universe - it simply chooses not to speak.]],
+
     description = [[A small fox originally from the northern part of Earth's Africa continent. It hunts small creatures and has very large ears for cooling itself in the heat.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 5.5,
+
       ComfyTemperatureMin = -30,
      MarketValue = 4000,
+
    },
       ComfyTemperatureMin = -65,
+
  },
       ComfyTemperatureMax = 50,
+
 
       ArmorRating_Sharp = 0.60,
+
  ["ThingDef:Fox_Red"] = {
       ArmorRating_Blunt = 0.40,
+
    _ = {
       ArmorRating_Heat = 0.30,
+
       ParentName = "ThingBaseFox",
 +
       DefCategory = "ThingDef",
 +
       FileName = "Races_Animal_WildCanines.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     tools = {
+
     defName = "Fox_Red",
       {
+
    label = "red fox",
        label = "horn",
+
    description = [[A small solitary canine evolved for hunting small prey in temperate climates. Chicken farmers hate foxes because of their ability to destroy a whole coop in minutes.]],
        capacities = {
+
  },
          "Scratch",
+
 
          "Stab",
+
  ["ThingDef:Fox_Arctic"] = {
        },
+
    _ = {
        power = 23,
+
       ParentName = "ThingBaseFox",
        cooldownTime = 2,
+
      DefCategory = "ThingDef",
        linkedBodyPartsGroup = "HornAttackTool",
+
      FileName = "Races_Animal_WildCanines.xml",
       },
+
      GameVersion = "1.2.2753",
       {
+
      DLC = "Core",
         capacities = {
+
    },
           "Bite",
+
    defName = "Fox_Arctic",
         },
+
    label = "arctic fox",
         power = 28,
+
    description = [[A small predator adapted for cold climates. It usually hunts small game like mice and voles, sometimes burrowing through a meter of snow to reach its prey.]],
         cooldownTime = 2.6,
+
    statBases = {
         linkedBodyPartsGroup = "Teeth",
+
      ComfyTemperatureMin = -50,
        chanceFactor = 0.7,
+
    },
 +
  },
 +
 
 +
  ["ThingDef:Human"] = {
 +
    _ = {
 +
      ParentName = "BasePawn",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Races_Humanlike.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Human",
 +
    label = "human",
 +
    description = [[A baseline human, mostly unmodified by gene engineering and mostly unchanged by evolutionary pressures on non-Earth planets.]],
 +
    statBases = {
 +
      MarketValue = 1750,
 +
      MoveSpeed = 4.6,
 +
      ComfyTemperatureMin = 16,
 +
      ComfyTemperatureMax = 26,
 +
      LeatherAmount = 50,
 +
       RoyalFavorValue = 3,
 +
    },
 +
    tools = {
 +
       {
 +
        label = "left fist",
 +
         capacities = {
 +
           "Blunt",
 +
         },
 +
         power = 8.2,
 +
         cooldownTime = 2,
 +
         linkedBodyPartsGroup = "LeftHand",
 
       },
 
       },
 
       {
 
       {
         label = "left foot",
+
         label = "right fist",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 19,
+
         power = 8.2,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontLeftLeg",
+
         linkedBodyPartsGroup = "RightHand",
 
       },
 
       },
 
       {
 
       {
         label = "right foot",
+
         label = "teeth",
 
         capacities = {
 
         capacities = {
           "Blunt",
+
           "Bite",
 
         },
 
         },
         power = 19,
+
         power = 8.2,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "FrontRightLeg",
+
         linkedBodyPartsGroup = "Teeth",
 +
        chanceFactor = 0.07,
 
       },
 
       },
 
       {
 
       {
Line 25,385: Line 26,059:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 17,
+
         power = 5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 25,392: Line 26,066:
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 4,
+
      lifeExpectancy = 80,
 +
      leatherDef = "Leather_Human",
 +
       baseBodySize = 1,
 
       foodType = {
 
       foodType = {
         "VegetarianRoughAnimal",
+
         "OmnivoreHuman",
         "DendrovoreAnimal",
+
      },
 +
      gestationPeriodDays = 45,
 +
      manhunterOnDamageChance = 0.20,
 +
      manhunterOnTameFailChance = 0.02,
 +
      litterSizeCurve = {
 +
         points = {
 +
          {0.5, 0},
 +
          {1, 1},
 +
          {1.01, 0.02},
 +
          {3.5, 0},
 +
        },
 
       },
 
       },
      leatherDef = "Leather_Thrumbo",
 
      trainability = "Advanced",
 
      gestationPeriodDays = 60,
 
      manhunterOnDamageChance = 1.00,
 
      wildness = 0.985,
 
      lifeExpectancy = 220,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
           def = "AnimalBaby",
+
           def = "HumanlikeBaby",
 
           minAge = 0,
 
           minAge = 0,
 
         },
 
         },
 
         {
 
         {
           def = "AnimalJuvenile",
+
           def = "HumanlikeToddler",
           minAge = 2.0,
+
           minAge = 1.2,
 
         },
 
         },
 
         {
 
         {
           def = "AnimalAdult",
+
           def = "HumanlikeChild",
           minAge = 4.0,
+
           minAge = 4,
 
         },
 
         },
      },
+
        {
    },
+
          def = "HumanlikeTeenager",
    tradeTags = {
+
          minAge = 13,
      "AnimalExotic",
+
        },
 +
        {
 +
          def = "HumanlikeAdult",
 +
          minAge = 18,
 +
        },
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BaseHare"] = {
+
   ["ThingDef:BaseMechanoid"] = {
 
     _ = {
 
     _ = {
 +
      ParentName = "BasePawn",
 +
      Name = "BaseMechanoid",
 
       Abstract = true,
 
       Abstract = true,
      ParentName = "AnimalThingBase",
 
      Name = "BaseHare",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Hares.xml",
+
       FileName = "Races_Mechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       MoveSpeed = 6.0,
+
       PsychicSensitivity = 0.5,
       MarketValue = 50,
+
      ToxicSensitivity = 0,
       ComfyTemperatureMin = -30,
+
       Flammability = 0,
 +
       ComfyTemperatureMin = -100,
 +
      ComfyTemperatureMax = 250,
 +
      MeatAmount = 0,
 +
      ArmorRating_Heat = 2.00,
 +
    },
 +
    race = {
 +
      foodType = {
 +
        "None",
 +
      },
 +
      lifeExpectancy = 2500,
 
     },
 
     },
     tools = {
+
     comps = {
 
       {
 
       {
         capacities = {
+
         _ = {
           "Bite",
+
           Class = "CompProperties_CanBeDormant",
 
         },
 
         },
        power = 3.4,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
 
       },
 
       },
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_WakeUpDormant",
 +
        },
 +
        wakeUpOnDamage = true,
 +
        anyColonistCloseCheckRadius = 30,
 +
        wakeUpSound = "MechanoidsWakeUp",
 +
      },
 +
    },
 +
  },
 +
 +
  ["ThingDef:Mech_Centipede"] = {
 +
    _ = {
 +
      ParentName = "BaseMechanoid",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Races_Mechanoid.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Mech_Centipede",
 +
    label = "centipede",
 +
    description = [[Heavy combat mechanoids that glide on dozens of tiny legs. Their thick carpace and firepower makes them very effective against bunched-up static defenders. They are somewhat vulnerable to mobile hit-and-run tactics.]],
 +
    statBases = {
 +
      MoveSpeed = 1.9,
 +
      ArmorRating_Blunt = 0.22,
 +
      ArmorRating_Sharp = 0.72,
 +
      PsychicSensitivity = 0.75,
 +
    },
 +
    tools = {
 
       {
 
       {
 
         label = "head",
 
         label = "head",
Line 25,452: Line 26,173:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 1.5,
+
         power = 17,
         cooldownTime = 2,
+
         cooldownTime = 2.6,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
        chanceFactor = 0.2,
 
 
       },
 
       },
 
     },
 
     },
 
     race = {
 
     race = {
       baseBodySize = 0.2,
+
       baseBodySize = 1.8,
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      leatherDef = "Leather_Light",
 
      wildness = 0.75,
 
      trainability = "None",
 
      petness = 0.08,
 
      mateMtbHours = 8,
 
      nuzzleMtbHours = 36,
 
      gestationPeriodDays = 13,
 
      manhunterOnTameFailChance = 0,
 
      manhunterOnDamageChance = 0,
 
      litterSizeCurve = {
 
        points = {
 
          {1.0, 0},
 
          {1.5, 1},
 
          {2.0, 1},
 
          {2.5, 0},
 
        },
 
      },
 
      lifeExpectancy = 8,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 
         {
 
         {
           def = "AnimalBaby",
+
           def = "MechanoidFullyFormed",
 
           minAge = 0,
 
           minAge = 0,
 
         },
 
         },
        {
+
       },
          def = "AnimalJuvenile",
+
     },
          minAge = 0.1,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.3,
 
        },
 
       },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
     },
 
 
   },
 
   },
  
   ["ThingDef:Hare"] = {
+
   ["ThingDef:BaseMechanoidWalker"] = {
    _ = {
 
      ParentName = "BaseHare",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_Hares.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Hare",
 
    label = "hare",
 
    description = [[This small, solitary herbivore can swiftly hop away from danger.]],
 
  },
 
 
 
  ["ThingDef:Snowhare"] = {
 
    _ = {
 
      ParentName = "BaseHare",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_Hares.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Snowhare",
 
    label = "snowhare",
 
    description = [[This hardy animal survives the brutal winters of its homelands by burrowing through snow to find edible plants.]],
 
    statBases = {
 
      ComfyTemperatureMin = -55,
 
    },
 
  },
 
 
 
  ["ThingDef:BaseInsect"] = {
 
 
     _ = {
 
     _ = {
 +
      ParentName = "BaseMechanoid",
 +
      Name = "BaseMechanoidWalker",
 
       Abstract = true,
 
       Abstract = true,
      ParentName = "AnimalThingBase",
 
      Name = "BaseInsect",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Insect.xml",
+
       FileName = "Races_Mechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       ToxicSensitivity = 0,
+
       MoveSpeed = 4.7,
       ComfyTemperatureMax = 60,
+
      ArmorRating_Blunt = 0.20,
 +
       ArmorRating_Sharp = 0.40,
 
     },
 
     },
 
     race = {
 
     race = {
       foodType = {
+
       baseBodySize = 1.0,
         "OmnivoreAnimal",
+
      lifeStageAges = {
         "AnimalProduct",
+
         {
 +
          def = "MechanoidFullyFormed",
 +
          minAge = 0,
 +
         },
 
       },
 
       },
      manhunterOnDamageChance = 0.35,
 
      manhunterOnTameFailChance = 0.20,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Megascarab"] = {
+
   ["ThingDef:Mech_Lancer"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseInsect",
+
       ParentName = "BaseMechanoidWalker",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Insect.xml",
+
       FileName = "Races_Mechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Megascarab",
+
     defName = "Mech_Lancer",
     label = "megascarab",
+
     label = "lancer",
     description = [[A large, genetically-engineered beetle. Once the worker caste of an artifical ecosystem of insectoids designed to fight mechanoid invasions, it is now often seen without its deadlier insectoid cousins. Still, its size and hard shell make it dangerous when it attacks. A eusocial creature, it cannot reproduce individually.]],
+
     description = [[Fast human-sized combat mechanoids built for medium and long-range combat. Their bodies are light, making them vulnerable targets at close range - especially in melee combat.]],
    statBases = {
 
      MoveSpeed = 3.75,
 
      ArmorRating_Blunt = 0.18,
 
      ArmorRating_Sharp = 0.72,
 
      ComfyTemperatureMin = 0,
 
      MarketValue = 100,
 
      LeatherAmount = 0,
 
    },
 
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "mandibles",
+
         label = "left fist",
 
         capacities = {
 
         capacities = {
           "Bite",
+
           "Blunt",
 
         },
 
         },
         power = 5,
+
         power = 12.0,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "Mouth",
+
         linkedBodyPartsGroup = "LeftHand",
 
       },
 
       },
 
       {
 
       {
         label = "head",
+
         label = "right fist",
 
         capacities = {
 
         capacities = {
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 4,
+
         power = 12.0,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "HeadAttackTool",
+
         linkedBodyPartsGroup = "RightHand",
        chanceFactor = 0.1,
 
 
       },
 
       },
    },
+
       {
    race = {
+
         label = "head",
      baseBodySize = 0.2,
+
         capacities = {
      wildness = 0.95,
+
           "Blunt",
      lifeExpectancy = 10,
 
       lifeStageAges = {
 
         {
 
          def = "EusocialInsectLarva",
 
          minAge = 0,
 
        },
 
         {
 
          def = "EusocialInsectJuvenile",
 
          minAge = 0.03,
 
        },
 
        {
 
           def = "EusocialInsectAdult",
 
          minAge = 0.4,
 
 
         },
 
         },
 +
        power = 8.5,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "HeadAttackTool",
 +
        chanceFactor = 0.2,
 
       },
 
       },
    },
 
    tradeTags = {
 
      "AnimalInsect",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Spelopede"] = {
+
   ["ThingDef:Mech_Scyther"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseInsect",
+
       ParentName = "BaseMechanoidWalker",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Insect.xml",
+
       FileName = "Races_Mechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Spelopede",
+
     defName = "Mech_Scyther",
     label = "spelopede",
+
     label = "scyther",
     description = [[A medium-sized bioengineered insectoid the size of a sheep. The spelopede is the middle caste of a hive, taking care of most work tasks as well as fighting with its digging claws. It's dangerous in combat, but slow on open ground.]],
+
     description = [[Fast, spindly, human-sized combat mechanoids specializing in rapid approach and close-range combat. Their bodies are covered in points and blades, but their mostly use two arm blades to lop off limbs or gut their victims alive.]],
    statBases = {
 
      MoveSpeed = 3.65,
 
      ComfyTemperatureMin = -25,
 
      MarketValue = 200,
 
      LeatherAmount = 0,
 
      ArmorRating_Blunt = 0.18,
 
      ArmorRating_Sharp = 0.18,
 
    },
 
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "head claw",
+
         label = "left blade",
 +
        capacities = {
 +
          "Cut",
 +
          "Stab",
 +
        },
 +
        power = 20,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "LeftBlade",
 +
      },
 +
      {
 +
        label = "right blade",
 
         capacities = {
 
         capacities = {
 
           "Cut",
 
           "Cut",
 +
          "Stab",
 
         },
 
         },
         power = 7,
+
         power = 20,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
         linkedBodyPartsGroup = "HeadClaw",
+
         linkedBodyPartsGroup = "RightBlade",
 
       },
 
       },
 
       {
 
       {
Line 25,652: Line 26,295:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 6,
+
         power = 9,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         chanceFactor = 0.2,
 
         chanceFactor = 0.2,
 
       },
 
       },
    },
 
    race = {
 
      baseBodySize = 0.8,
 
      gestationPeriodDays = 12,
 
      wildness = 0.95,
 
      lifeExpectancy = 6,
 
      lifeStageAges = {
 
        {
 
          def = "EusocialInsectLarva",
 
          minAge = 0,
 
        },
 
        {
 
          def = "EusocialInsectJuvenile",
 
          minAge = 0.03,
 
        },
 
        {
 
          def = "EusocialInsectAdult",
 
          minAge = 0.2,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalInsect",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Megaspider"] = {
+
   ["ThingDef:Mech_Pikeman"] = {
 
     _ = {
 
     _ = {
       ParentName = "BaseInsect",
+
       ParentName = "BaseMechanoidWalker",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Insect.xml",
+
       FileName = "Races_Mechanoid.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Megaspider",
+
     defName = "Mech_Pikeman",
     label = "megaspider",
+
     label = "pikeman",
     description = [[Not actually a spider, the megaspider is a genetically-engineered giant insectoid the size of a bear. Designed for heavy work and combat, its thick chitinous armor makes it hard to kill, while its long ripper-blades make it deadly at close quarters. It is, however, quite slow in open terrain.]],
+
     description = [[A clunky multi-legged combat mechanoid specialized as a long-range weapons platform. While effective at distance, it is weak in close-range fights and in melee combat.\n\nVeterans of mechanoid wars know that often, the safest place to be around a pikeman is touching it.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.60,
+
       MoveSpeed = 2.5,
      ComfyTemperatureMin = -40,
+
     },
      MarketValue = 500,
 
      LeatherAmount = 0,
 
      ArmorRating_Blunt = 0.18,
 
      ArmorRating_Sharp = 0.27,
 
     },
 
 
     tools = {
 
     tools = {
 
       {
 
       {
         label = "head claw",
+
         label = "front left leg",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 12.0,
 +
        cooldownTime = 2,
 +
        linkedBodyPartsGroup = "FrontLeftLeg",
 +
      },
 +
      {
 +
        label = "front right leg",
 
         capacities = {
 
         capacities = {
           "Cut",
+
           "Blunt",
 
         },
 
         },
         power = 12,
+
         power = 12.0,
         cooldownTime = 2.6,
+
         cooldownTime = 2,
         linkedBodyPartsGroup = "HeadClaw",
+
         linkedBodyPartsGroup = "FrontRightLeg",
 
       },
 
       },
 
       {
 
       {
Line 25,717: Line 26,341:
 
           "Blunt",
 
           "Blunt",
 
         },
 
         },
         power = 7,
+
         power = 8.5,
 
         cooldownTime = 2,
 
         cooldownTime = 2,
 
         linkedBodyPartsGroup = "HeadAttackTool",
 
         linkedBodyPartsGroup = "HeadAttackTool",
Line 25,724: Line 26,348:
 
     },
 
     },
 
     race = {
 
     race = {
      baseBodySize = 1.2,
 
      gestationPeriodDays = 12,
 
      wildness = 0.95,
 
      lifeExpectancy = 6,
 
 
       lifeStageAges = {
 
       lifeStageAges = {
 +
        _ = {
 +
          Inherit = false,
 +
        },
 
         {
 
         {
           def = "EusocialInsectLarva",
+
           def = "MechanoidFullyFormed",
 
           minAge = 0,
 
           minAge = 0,
        },
 
        {
 
          def = "EusocialInsectJuvenile",
 
          minAge = 0.03,
 
        },
 
        {
 
          def = "EusocialInsectAdult",
 
          minAge = 0.2,
 
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     tradeTags = {
+
  },
       "AnimalInsect",
+
 
 +
  ["ThingDef:PsychicSensitizer"] = {
 +
     _ = {
 +
       ParentName = "BodyPartRoyalBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Archotech_EmpireRoyal.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Royalty",
 +
    },
 +
    defName = "PsychicSensitizer",
 +
    label = "psychic sensitizer",
 +
    description = [[This brain implant stimulates growth in the regions of the brain related to psychic interaction, thus increasing psychic sensitivity.]],
 +
    statBases = {
 +
      MarketValue = 1000,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:YorkshireTerrier"] = {
+
   ["ThingDef:PsychicHarmonizer"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartRoyalBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Pet.xml",
+
       FileName = "Hediffs_BodyParts_Archotech_EmpireRoyal.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "YorkshireTerrier",
+
     defName = "PsychicHarmonizer",
     label = "yorkshire terrier",
+
     label = "psychic harmonizer",
     description = [[A small, even-tempered dog. Originally bred to hunt rats, it later became a show and companionship animal. Some consider it useless, but the mood boost it gives by nuzzling can outweight the cost of feeding it.]],
+
     description = [[This brain implant projects the user's mood in a spherical psychic field, forcing others nearby to feel a blurred, simplified version of their emotions. It can be a powerful tool to keep morale high, but if the user becomes unhappy, it can lead to collective disaster.]],
 
     statBases = {
 
     statBases = {
       MoveSpeed = 3.1,
+
       MarketValue = 800,
       MarketValue = 100,
+
    },
       ComfyTemperatureMin = -15,
+
  },
 +
 
 +
  ["ThingDef:PsychicReader"] = {
 +
    _ = {
 +
      ParentName = "BodyPartRoyalBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Archotech_EmpireRoyal.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Royalty",
 
     },
 
     },
     tools = {
+
     defName = "PsychicReader",
      {
+
    label = "psychic reader",
        label = "left claw",
+
    description = [[Gives limited mind-reading ability, improving the user's ability to get the upper hand in negotiations and social situations. The effect is proportional to the user's psychic sensitivity.]],
        capacities = {
+
    statBases = {
          "Scratch",
+
       MarketValue = 1000,
        },
 
        power = 3.6,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 3.6,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        label = "cute little teeth",
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 4.8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
       },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
 
     },
 
     },
    race = {
+
  },
      petness = 1,
+
 
      baseBodySize = 0.3,
+
  ["ThingDef:BodyPartProstheticImperialBase"] = {
      foodType = {
+
    _ = {
        "OmnivoreAnimal",
+
       Name = "BodyPartProstheticImperialBase",
        "OvivoreAnimal",
+
       ParentName = "BodyPartProstheticMakeableBase",
      },
+
       Abstract = true,
       leatherDef = "Leather_Dog",
+
       DefCategory = "ThingDef",
       trainability = "Intermediate",
+
       FileName = "Hediffs_BodyParts_BaseEmpire.xml",
       wildness = 0,
+
       GameVersion = "1.2.2753",
       nuzzleMtbHours = 12,
+
       DLC = "Royalty",
       gestationPeriodDays = 24,
 
       litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1.7},
 
          {3, 0.7},
 
          {3.5, 0},
 
        },
 
      },
 
       lifeExpectancy = 15,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.1,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.3,
 
        },
 
      },
 
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "ImplantEmpireCommon",
      "AnimalPet",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Husky"] = {
+
   ["ThingDef:BodyPartBionicImperialBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
      Name = "BodyPartBionicImperialBase",
 +
       ParentName = "BodyPartBionicBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Pet.xml",
+
       FileName = "Hediffs_BodyParts_BaseEmpire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Husky",
+
     tradeTags = {
    label = "husky",
+
      "ImplantEmpireCommon",
    description = [[A large, energetic dog with a thick fur coat for remaining comfortable in arctic environments.]],
 
    statBases = {
 
      MoveSpeed = 5.0,
 
      MarketValue = 250,
 
      ComfyTemperatureMin = -50,
 
 
     },
 
     },
    tools = {
+
  },
      {
+
 
        label = "left claw",
+
  ["ThingDef:BodyPartRoyalBase"] = {
        capacities = {
+
    _ = {
          "Scratch",
+
       Name = "BodyPartRoyalBase",
        },
+
       ParentName = "BodyPartArchotechBase",
        power = 9.7,
+
       Abstract = true,
        cooldownTime = 2,
+
       DefCategory = "ThingDef",
        linkedBodyPartsGroup = "FrontLeftPaw",
+
       FileName = "Hediffs_BodyParts_BaseEmpire.xml",
      },
+
       GameVersion = "1.2.2753",
      {
+
       DLC = "Royalty",
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 9.7,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
       {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 14.2,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
       {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 6,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
       petness = 1,
 
       baseBodySize = 0.86,
 
      foodType = {
 
        "OmnivoreAnimal",
 
        "OvivoreAnimal",
 
      },
 
       leatherDef = "Leather_Dog",
 
       trainability = "Advanced",
 
      wildness = 0,
 
      nuzzleMtbHours = 12,
 
      gestationPeriodDays = 25,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1.7},
 
          {2.5, 0.7},
 
          {3, 0},
 
        },
 
      },
 
      lifeExpectancy = 12,
 
       lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.25,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.5,
 
        },
 
      },
 
 
     },
 
     },
 
     tradeTags = {
 
     tradeTags = {
       "AnimalCommon",
+
       "ImplantEmpireRoyal",
      "AnimalPet",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:LabradorRetriever"] = {
+
   ["ThingDef:Neurocalculator"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Pet.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "LabradorRetriever",
+
     defName = "Neurocalculator",
     label = "labrador retriever",
+
     label = "neurocalculator",
     description = [[A very versatile, medium-sized dog. Originally bred to retrieve birds shot on the hunt, the lab is also an excellent guard dog, play pal, and family friend.]],
+
     description = [[A non-intelligent microcomputer controlled by a visual/tactile neural interface. It assists with memory and calculation, like a calculator and notepad embedded in the brain.]],
     statBases = {
+
     costList = {
       MoveSpeed = 5.0,
+
       Plasteel = 15,
      MarketValue = 250,
+
       ComponentSpacer = 4,
       ComfyTemperatureMin = -30,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "NeuralComputation",
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 8.5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 8.5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 14.2,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      petness = 1,
 
      baseBodySize = 0.75,
 
      foodType = {
 
        "OmnivoreAnimal",
 
        "OvivoreAnimal",
 
      },
 
      leatherDef = "Leather_Dog",
 
      gestationPeriodDays = 26,
 
      trainability = "Advanced",
 
      wildness = 0,
 
      nuzzleMtbHours = 12,
 
      manhunterOnDamageChance = 0,
 
      manhunterOnTameFailChance = 0,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1.7},
 
          {3, 0.7},
 
          {3.5, 0},
 
        },
 
      },
 
      lifeExpectancy = 12,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.25,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.5,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
      "AnimalPet",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Cat"] = {
+
   ["ThingDef:LearningAssistant"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Pet.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Cat",
+
     defName = "LearningAssistant",
     label = "cat",
+
     label = "learning assistant",
     description = [[One of mankind's first pets, the cat is a small mammal which hunts vermin. Known for their aloofness, cats are nevertheless popular companions because of their independence, calm disposition, and fine, pettable fur.]],
+
     description = [[A sensory recording system that replays important experiences during sleep, strengthening the formation of new memories.]],
     statBases = {
+
     costList = {
       MoveSpeed = 4.4,
+
       Plasteel = 15,
      MarketValue = 100,
+
       ComponentSpacer = 4,
       ComfyTemperatureMin = -25,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "NeuralComputation",
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 6,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 6,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 7,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 3,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      baseBodySize = 0.255,
 
      foodType = {
 
        "CarnivoreAnimal",
 
        "OvivoreAnimal",
 
      },
 
      leatherDef = "Leather_Light",
 
      wildness = 0.2,
 
      petness = 1,
 
      trainability = "None",
 
      nuzzleMtbHours = 12,
 
      gestationPeriodDays = 24,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1.7},
 
          {3, 0.7},
 
          {3.5, 0},
 
        },
 
      },
 
      lifeExpectancy = 10,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.15,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.4,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
      "AnimalPet",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Squirrel"] = {
+
   ["ThingDef:GastroAnalyzer"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Rodentlike.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Squirrel",
+
     defName = "GastroAnalyzer",
     label = "squirrel",
+
     label = "gastro-analyzer",
     description = [[One of the many hardy rodent species that follows humankind everywhere it spreads. Squirrels are distinguished by their bushy tails, which they use as umbrellas in bad weather.]],
+
     description = [[This bionic nose implant enhances the sense of smell, with a focus towards food-related smells. A multi-layered ultrafine absorption mesh detects compounds in the air. A microprocessor formats the readings into an olfactory nerve signal to send to the brain through a nerve-link interface. The result is that the user can smell foods with a depth, richness, and precision unknown among unenhanced humans, allowing them to cook more effectively. The whole unit is small enough to be installed in the nose without affecting the user's appearance.]],
     statBases = {
+
     costList = {
       MoveSpeed = 5.1,
+
       Plasteel = 15,
       MarketValue = 35,
+
       ComponentSpacer = 3,
       ComfyTemperatureMin = -35,
+
    },
 +
    recipeMaker = {
 +
       researchPrerequisite = "MolecularAnalysis",
 
     },
 
     },
    tools = {
+
  },
      {
+
 
        label = "left claw",
+
  ["ThingDef:Immunoenhancer"] = {
        capacities = {
+
    _ = {
          "Scratch",
+
      ParentName = "BodyPartBionicImperialBase",
        },
+
       DefCategory = "ThingDef",
        power = 4,
+
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
        cooldownTime = 2,
+
       GameVersion = "1.2.2753",
        linkedBodyPartsGroup = "FrontLeftPaw",
+
       DLC = "Royalty",
       },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 4,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
       {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
       {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
 
     },
 
     },
     race = {
+
     defName = "Immunoenhancer",
      baseBodySize = 0.15,
+
    label = "immunoenhancer",
      foodType = {
+
    description = [[An analysis computer inspects the bloodstream, classifies pathogens, and rapidly prompts the body's natural immune system to respond to them faster than it could alone. This speeds immunity gain significantly.]],
        "VegetarianRoughAnimal",
+
    costList = {
      },
+
       Plasteel = 15,
      leatherDef = "Leather_Light",
+
       ComponentSpacer = 4,
      wildness = 0.75,
 
      trainability = "None",
 
      gestationPeriodDays = 13,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {1.8, 1},
 
          {2.4, 0},
 
        },
 
       },
 
      lifeExpectancy = 8,
 
       lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.11,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.26,
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     recipeMaker = {
       "AnimalCommon",
+
       researchPrerequisite = "MolecularAnalysis",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Alphabeaver"] = {
+
   ["ThingDef:Coagulator"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Rodentlike.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Alphabeaver",
+
     defName = "Coagulator",
     label = "alphabeaver",
+
     label = "coagulator",
     description = [[A large beaver-like creature genetically engineered to harvest wood with machine-like efficiency. In the absence of specialized feed, these animals will enter a manic state that compels them to eat trees whole, and are likely to attack if disturbed.]],
+
     description = [[Releases coagulating factors in response to blood loss, reducing bleeding rates significantly.]],
     statBases = {
+
     costList = {
       MoveSpeed = 3.7,
+
       Plasteel = 15,
      MarketValue = 250,
+
       ComponentSpacer = 4,
       ComfyTemperatureMin = -40,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "HealingFactors",
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 7.2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 7.2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8.5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 3,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      herdAnimal = true,
 
      baseBodySize = 0.45,
 
      foodType = {
 
        "DendrovoreAnimal",
 
      },
 
      leatherDef = "Leather_Light",
 
      wildness = 0.75,
 
      gestationPeriodDays = 17,
 
      manhunterOnTameFailChance = 0.10,
 
      manhunterOnDamageChance = 0.10,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {3, 1},
 
          {3.5, 0},
 
        },
 
      },
 
      lifeExpectancy = 12,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.15,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.35,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalUncommon",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Capybara"] = {
+
   ["ThingDef:HealingEnhancer"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Rodentlike.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Capybara",
+
     defName = "HealingEnhancer",
     label = "capybara",
+
     label = "healing enhancer",
     description = [[The largest natural rodent, the capybara is well-adapted for steaming jungle environments.]],
+
     description = [[Releases nanomachines and healing factors that speed up wound healing. This implant only helps with physical wounds, and does nothing to combat disease or other health problems.]],
     statBases = {
+
     costList = {
       MoveSpeed = 3.9,
+
       Plasteel = 15,
      MarketValue = 150,
+
       ComponentSpacer = 4,
      ComfyTemperatureMin = -10,
 
       ComfyTemperatureMax = 50,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "HealingFactors",
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 8.4,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 8.4,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8.5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 4,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      herdAnimal = true,
 
      baseBodySize = 0.50,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      leatherDef = "Leather_Light",
 
      wildness = 0.75,
 
      petness = 0.08,
 
      nuzzleMtbHours = 60,
 
      gestationPeriodDays = 20,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {1.5, 1},
 
          {2, 0},
 
        },
 
      },
 
      lifeExpectancy = 12,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.4,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalUncommon",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Chinchilla"] = {
+
   ["ThingDef:ToughskinGland"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Rodentlike.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Chinchilla",
+
     defName = "ToughskinGland",
     label = "chinchilla",
+
     label = "toughskin gland",
     description = [[A small, nimble rodent. Its fur is softer than just about anything in the universe, making it very valuable as a trade good.]],
+
     description = [[This bionic gland releases chemicals and nanomachines that toughen the skin, making it somewhat more resistant to damage. While it doesn't add as much protection as some other skin-hardening glands, the toughskin gland has the advantage of not noticeably altering the user's appearance.]],
     statBases = {
+
     costList = {
       MoveSpeed = 5.0,
+
       Plasteel = 15,
      MarketValue = 150,
+
       ComponentSpacer = 4,
      ComfyTemperatureMin = -15,
 
       ComfyTemperatureMax = 55,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "SkinHardening",
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 3.6,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 3.6,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 5.8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      baseBodySize = 0.21,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      leatherDef = "Leather_Chinchilla",
 
      wildness = 0.60,
 
      trainability = "None",
 
      petness = 0.20,
 
      mateMtbHours = 8,
 
      nuzzleMtbHours = 24,
 
      gestationPeriodDays = 14,
 
      manhunterOnTameFailChance = 0,
 
      manhunterOnDamageChance = 0,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2.5, 1},
 
          {3, 0},
 
        },
 
      },
 
      lifeExpectancy = 9,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.15,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.30,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalUncommon",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Boomrat"] = {
+
   ["ThingDef:ArmorskinGland"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Rodentlike.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Boomrat",
+
     defName = "ArmorskinGland",
     label = "boomrat",
+
     label = "armorskin gland",
     description = [[Either by deliberate genetic weaponization, or as an unusual defense mechanism, these rodent-like creatures create a powerful fire-starting explosion when killed.]],
+
     description = [[This bionic gland releases chemicals and nanomachines that toughen the skin and add flexible subdermal keratin plates at strategic points. This makes the user more resistant to damage across their whole body. Unfortunately, these changes make the skin appear leathery, with wrinkles across the whole body and face, which is generally considered ugly.]],
     statBases = {
+
     costList = {
       MoveSpeed = 4.6,
+
       Plasteel = 20,
      MarketValue = 100,
+
       ComponentSpacer = 6,
       ComfyTemperatureMin = -15,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "SkinHardening",
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 5.4,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 5.4,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 4.9,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 3,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      baseBodySize = 0.2,
 
      foodType = {
 
        "OmnivoreRoughAnimal",
 
      },
 
      leatherDef = "Leather_Light",
 
      wildness = 0.75,
 
      petness = 0.20,
 
      mateMtbHours = 8,
 
      nuzzleMtbHours = 60,
 
      gestationPeriodDays = 14,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2.5, 1},
 
          {3, 0},
 
        },
 
      },
 
      lifeExpectancy = 8,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.1,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.35,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalUncommon",
 
      "AnimalFighter",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Raccoon"] = {
+
   ["ThingDef:StoneskinGland"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Rodentlike.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Raccoon",
+
     defName = "StoneskinGland",
     label = "raccoon",
+
     label = "stoneskin gland",
     description = [[A small, hardy animal that ranges wide across forests and shrubland. It is happy to break into your garbage container, or your kitchen, to eat almost anything.]],
+
     description = [[This bionic gland releases chemical and nanomachines that transform the user's skin into a built-in suit of armor. The whole epidermis thickens and hardens to resist burns, while jointed exterior keratin plates form everywhere they can - including the head and face. While it's very difficult to physically hurt someone using this implant, the plates and hard skin significantly reduces the user's physical attractiveness.]],
     statBases = {
+
     costList = {
       MoveSpeed = 4.1,
+
       Plasteel = 25,
       MarketValue = 100,
+
       ComponentSpacer = 8,
       ComfyTemperatureMin = -30,
+
    },
 +
    recipeMaker = {
 +
       researchPrerequisite = "SkinHardening",
 
     },
 
     },
    tools = {
+
  },
      {
+
 
        label = "left claw",
+
  ["ThingDef:AestheticShaper"] = {
        capacities = {
+
    _ = {
          "Scratch",
+
      ParentName = "BodyPartBionicImperialBase",
        },
+
       DefCategory = "ThingDef",
        power = 6,
+
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
        cooldownTime = 2,
+
       GameVersion = "1.2.2753",
        linkedBodyPartsGroup = "FrontLeftPaw",
+
       DLC = "Royalty",
       },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 6,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
       {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 7,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
       {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 3,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
 
     },
 
     },
     race = {
+
     defName = "AestheticShaper",
      baseBodySize = 0.3,
+
    label = "aesthetic shaper",
      foodType = {
+
    description = [[A sophisticated package of hormonal and mechanite influences shapes the muscles and fat on the body, adding non-functional aesthetic tissue where needed to achieve a desired appearance. This implant can be configured to form various body shapes according to the user's taste - or that of their partner.]],
        "OmnivoreRoughAnimal",
+
    costList = {
      },
+
      Plasteel = 15,
      leatherDef = "Leather_Light",
+
      ComponentSpacer = 3,
      wildness = 0.75,
 
      mateMtbHours = 8,
 
      gestationPeriodDays = 14,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1},
 
          {2.5, 0},
 
        },
 
      },
 
      lifeExpectancy = 8,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.15,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.4,
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     recipeMaker = {
       "AnimalCommon",
+
       researchPrerequisite = "FleshShaping",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Rat"] = {
+
   ["ThingDef:AestheticNose"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Rodentlike.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Rat",
+
     defName = "AestheticNose",
     label = "rat",
+
     label = "aesthetic nose",
     description = [[A widely-hated rodent known for soiling kitchens and spreading disease, rats have a way of following humans everywhere they go. It eats almost anything and lives almost anywhere.]],
+
     description = [[The nose is shaped to the user's desired form, matching prevalent beauty standards and enhancing physical impressions.]],
     statBases = {
+
     costList = {
       MoveSpeed = 4.0,
+
       Plasteel = 10,
      MarketValue = 35,
+
       ComponentSpacer = 2,
       ComfyTemperatureMin = -30,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "FleshShaping",
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 3.6,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 3.6,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 6,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      baseBodySize = 0.15,
 
      foodType = {
 
        "OmnivoreRoughAnimal",
 
      },
 
      leatherDef = "Leather_Light",
 
      wildness = 0.50,
 
      trainability = "None",
 
      petness = 0.15,
 
      manhunterOnTameFailChance = 0,
 
      manhunterOnDamageChance = 0,
 
      mateMtbHours = 8,
 
      gestationPeriodDays = 12,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2.2, 1},
 
          {2.8, 0},
 
        },
 
      },
 
      lifeExpectancy = 8,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.07,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.3,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Deer"] = {
+
   ["ThingDef:LoveEnhancer"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Temperate.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Deer",
+
     defName = "LoveEnhancer",
     label = "deer",
+
     label = "love enhancer",
     description = [[A medium-sized herding herbivore which prefers to live in mixed forests and plains. Deer are very quick.]],
+
     description = [[Humans have always tried to use every new technology to enhance sexual satisfaction. Bionics were no exception. This implant makes physical and chemical changes to the body which enhance the experience of lovin' for both partners - both physically and psychologically. The implant unit can adapt to enhance both men and women upon being implanted.]],
     statBases = {
+
     costList = {
       MoveSpeed = 5.5,
+
       Plasteel = 15,
      MarketValue = 250,
+
       ComponentSpacer = 4,
       ComfyTemperatureMin = -30,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "FleshShaping",
        label = "left hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 7,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftLeg",
 
      },
 
      {
 
        label = "right hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 7,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
      },
 
      {
 
        label = "teeth",
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.5,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      herdAnimal = true,
 
      baseBodySize = 0.9,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      leatherDef = "Leather_Plain",
 
      wildness = 0.75,
 
      nuzzleMtbHours = 60,
 
      gestationPeriodDays = 24,
 
      lifeExpectancy = 15,
 
      manhunterOnDamageChance = 0,
 
      manhunterOnTameFailChance = 0,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.5,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Ibex"] = {
+
   ["ThingDef:DetoxifierStomach"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Temperate.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Ibex",
+
     defName = "DetoxifierStomach",
     label = "ibex",
+
     label = "detoxifier stomach",
     description = [[The wild ancestor of the domesticated goat. Ibexes live on marginal territory where most antelopes couldn't survive, eating lichens and sparse mountain plants. They're famous for dextrously hopping across bare cliff faces - and for their violent ramming attack.]],
+
     description = [[An artificial stomach replacement with a broad-spectrum toxin filter and neutralization system. It allows the user to eat almost anything without ever worrying about food poisoning.]],
     statBases = {
+
     costList = {
       MoveSpeed = 4.6,
+
       Plasteel = 15,
       MarketValue = 250,
+
       ComponentSpacer = 4,
       ComfyTemperatureMin = -30,
+
    },
 +
    recipeMaker = {
 +
       researchPrerequisite = "ArtificialMetabolism",
 
     },
 
     },
    tools = {
+
  },
      {
+
 
        label = "left hoof",
+
  ["ThingDef:ReprocessorStomach"] = {
        capacities = {
+
    _ = {
          "Blunt",
+
      ParentName = "BodyPartBionicImperialBase",
          "Poke",
+
       DefCategory = "ThingDef",
        },
+
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
        power = 8,
+
       GameVersion = "1.2.2753",
        cooldownTime = 2,
+
      DLC = "Royalty",
        linkedBodyPartsGroup = "FrontLeftLeg",
 
      },
 
      {
 
        label = "right hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
       },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.5,
 
      },
 
       {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 10,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
      },
 
 
     },
 
     },
     race = {
+
     defName = "ReprocessorStomach",
      herdAnimal = true,
+
    label = "reprocessor stomach",
      baseBodySize = 0.85,
+
    description = [[An advanced chemical processing system breaks down nutrients the body could normally never use, leading to increased efficiency.]],
      foodType = {
+
    costList = {
        "VegetarianRoughAnimal",
+
       Plasteel = 15,
      },
+
       ComponentSpacer = 4,
      leatherDef = "Leather_Plain",
 
      wildness = 0.55,
 
      gestationPeriodDays = 24,
 
       lifeExpectancy = 15,
 
       lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.5,
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     recipeMaker = {
       "AnimalCommon",
+
       researchPrerequisite = "ArtificialMetabolism",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Elk"] = {
+
   ["ThingDef:NuclearStomach"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Temperate.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Elk",
+
     defName = "NuclearStomach",
     label = "elk",
+
     label = "nuclear stomach",
     description = [[A large member of the deer family, well-adapted to life in cold climates. Domesticated elk can be milked, but refuse to carry packs.]],
+
     description = [[A micro-nuclear reactor combined with complex chemical synthesis replaces the body's need for food energy. Food is required only to replace matter lost from the body, reducing the user's intake needs significantly. This artifical stomach cannot get food poisoning. However, there is little room to shield the reactor, so the radiation increases the risk of cancer.]],
     statBases = {
+
     costList = {
       MoveSpeed = 5,
+
       Plasteel = 15,
       MarketValue = 300,
+
       ComponentSpacer = 4,
      ComfyTemperatureMin = -50,
 
 
     },
 
     },
     comps = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "ArtificialMetabolism",
        _ = {
 
          Class = "CompProperties_Milkable",
 
        },
 
        milkDef = "Milk",
 
        milkIntervalDays = 2,
 
        milkAmount = 12,
 
      },
 
 
     },
 
     },
    tools = {
+
  },
      {
+
 
        label = "left hoof",
+
  ["ThingDef:CircadianAssistant"] = {
        capacities = {
+
    _ = {
          "Blunt",
+
      ParentName = "BodyPartBionicImperialBase",
          "Poke",
+
       DefCategory = "ThingDef",
        },
+
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
        power = 10,
+
       GameVersion = "1.2.2753",
        cooldownTime = 2,
+
      DLC = "Royalty",
        linkedBodyPartsGroup = "FrontLeftLeg",
 
      },
 
      {
 
        label = "right hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 10,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
       },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 10,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.5,
 
      },
 
       {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 13,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
      },
 
 
     },
 
     },
     race = {
+
     defName = "CircadianAssistant",
      herdAnimal = true,
+
    label = "circadian assistant",
      baseBodySize = 2.1,
+
    description = [[An artificial gland. Produces chemicals and nanomachines that clear toxin buildup from the brain.]],
      foodType = {
+
    costList = {
        "VegetarianRoughAnimal",
+
       Plasteel = 15,
      },
+
       ComponentSpacer = 4,
      leatherDef = "Leather_Plain",
 
      wildness = 0.75,
 
      gestationPeriodDays = 25,
 
       lifeExpectancy = 18,
 
       lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.6,
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     recipeMaker = {
       "AnimalCommon",
+
       researchPrerequisite = "CircadianInfluence",
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Caribou"] = {
+
   ["ThingDef:CircadianHalfCycler"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartBionicImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Temperate.xml",
+
       FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Caribou",
+
     defName = "CircadianHalfCycler",
     label = "caribou",
+
     label = "circadian half-cycler",
     description = [[A large member of the deer family, well-adapted to life in cold climates. Caribou can be milked, but refuse to carry packs.]],
+
     description = [[A signal redirector which isolates half of the brain, allowing the other half to sleep while the user remains outwardly awake. By alternating brain halves, the user never needs to sleep. Unfortunately, two hemispheres are better than one - working with half a brain causes a reduction in consciousness.]],
     statBases = {
+
     costList = {
       MoveSpeed = 5,
+
       Plasteel = 15,
       MarketValue = 300,
+
       ComponentSpacer = 4,
      ComfyTemperatureMin = -50,
 
 
     },
 
     },
     comps = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "CircadianInfluence",
        _ = {
 
          Class = "CompProperties_Milkable",
 
        },
 
        milkDef = "Milk",
 
        milkIntervalDays = 2,
 
        milkAmount = 12,
 
      },
 
    },
 
    tools = {
 
      {
 
        label = "left hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 10,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftLeg",
 
      },
 
      {
 
        label = "right hoof",
 
        capacities = {
 
          "Blunt",
 
          "Poke",
 
        },
 
        power = 10,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 10,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.5,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 13,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
      },
 
    },
 
    race = {
 
      herdAnimal = true,
 
      baseBodySize = 2.1,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      leatherDef = "Leather_Plain",
 
      wildness = 0.75,
 
      gestationPeriodDays = 25,
 
      lifeExpectancy = 18,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.45,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
      "AnimalFarm",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WildBoar"] = {
+
   ["ThingDef:Mindscrew"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartProstheticImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Temperate.xml",
+
       FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "WildBoar",
+
     defName = "Mindscrew",
     label = "wild boar",
+
     label = "mindscrew",
     description = [[This hairy omnivore is descended from escaped pigs and evolved for living in the wild.\n\nIts tusks make it a better fighter than its domesticated pig cousins. Unfortunately, it is too unruly to be trained in the most complex tasks.]],
+
     description = [[Inflicts continuous pain on the user. Mindscrews are used by some authorities as a long-term punishment. Some even install them voluntarily as a demonstration of ideological or religious devotion.]],
     statBases = {
+
     costList = {
       MoveSpeed = 4.6,
+
       Steel = 15,
      MarketValue = 200,
+
       ComponentIndustrial = 4,
       ComfyTemperatureMin = -23,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "BrainWiring",
        label = "tusk",
 
        capacities = {
 
          "Scratch",
 
          "Stab",
 
        },
 
        power = 9.7,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "TuskAttackTool",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8.5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.6,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      herdAnimal = true,
 
      baseBodySize = 0.8,
 
      foodType = {
 
        "OmnivoreRoughAnimal",
 
      },
 
      wildness = 0.50,
 
      trainability = "Intermediate",
 
      leatherDef = "Leather_Pig",
 
      gestationPeriodDays = 18,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {1.5, 1},
 
          {2.0, 0},
 
        },
 
      },
 
      lifeExpectancy = 12,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.1,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.4,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Tortoise"] = {
+
   ["ThingDef:DrillArm"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartProstheticImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Temperate.xml",
+
       FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Tortoise",
+
     defName = "DrillArm",
     label = "tortoise",
+
     label = "drill arm",
     description = [[This heavily armored land-dwelling reptile is known for its slow moving speed and surprisingly vicious bite. Because of its natural armor, it is tough to kill and can do serious damage during drawn-out melee fights.]],
+
     description = [[A mechanical arm replacement for speeding up mining. It has a built-in snake drill, which allows the miner to rapidly find and exploit weak lines in the rock. It also has a general-purpose manipulator. It is somewhat ungainly, which slows down movement slightly.]],
     statBases = {
+
     costList = {
       MoveSpeed = 1.0,
+
       Steel = 60,
      MarketValue = 200,
+
       ComponentIndustrial = 8,
      ArmorRating_Blunt = 0.35,
 
      ArmorRating_Sharp = 0.50,
 
      ComfyTemperatureMin = 0,
 
       ComfyTemperatureMax = 50,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "SpecializedLimbs",
        label = "beak",
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "TurtleBeakAttackTool",
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 3,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
 
     },
 
     },
    comps = {
+
  },
      {
+
 
        _ = {
+
  ["ThingDef:FieldHand"] = {
          Class = "CompProperties_EggLayer",
+
    _ = {
        },
+
      ParentName = "BodyPartProstheticImperialBase",
        eggFertilizedDef = "EggTortoiseFertilized",
+
      DefCategory = "ThingDef",
        eggFertilizationCountMax = 1,
+
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
        eggLayIntervalDays = 20,
+
      GameVersion = "1.2.2753",
        eggProgressUnfertilizedMax = 0.5,
+
       DLC = "Royalty",
        eggCountRange = { ["<"]=1, [">"]=3 },
 
       },
 
 
     },
 
     },
     race = {
+
     defName = "FieldHand",
      baseBodySize = 0.5,
+
    label = "field hand",
      foodType = {
+
    description = [[This mechanical hand replacement is made to speed up the sowing and harvesting tasks of a farmer. Multiple telescoping finger-like protrusions can simultaneously harvest from several points on the same plant, or precisely sow several holes at once. It also has a general-purpose manipulator. It is somewhat ungainly, which slows down movement slightly.]],
        "OmnivoreRoughAnimal",
+
    costList = {
      },
+
      Steel = 60,
      leatherDef = "Leather_Lizard",
+
      ComponentIndustrial = 8,
      wildness = 0.75,
 
      lifeExpectancy = 180,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.15,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.5,
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     recipeMaker = {
       "AnimalUncommon",
+
       researchPrerequisite = "SpecializedLimbs",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Cobra"] = {
+
   ["ThingDef:HandTalon"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartProstheticImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Tropical.xml",
+
       FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Cobra",
+
     defName = "HandTalon",
     label = "cobra",
+
     label = "hand talon",
     description = [[A large predatory snake. Cobras can be highly aggressive if provoked, and their bite injects toxic venom into the victim.]],
+
     description = [[A razor-sharp talon which extends from a hidden opening between the middle and ring fingers. The talon is longer than the palm, but it becomes flexible upon retracting, allowing the user to curl it up and conceal it inside the hand. It can perform rapid slashing attacks, but is poor at penetrating armor.]],
     statBases = {
+
     costList = {
       MoveSpeed = 3.5,
+
       Steel = 40,
      MarketValue = 150,
+
       ComponentIndustrial = 7,
      ComfyTemperatureMin = 0,
 
       ComfyTemperatureMax = 60,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "CompactWeaponry",
        label = "venom-fangs",
 
        capacities = {
 
          "ToxicBite",
 
        },
 
        power = 12,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Mouth",
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 3,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
 
     },
 
     },
    comps = {
+
  },
      {
+
 
        _ = {
+
  ["ThingDef:ElbowBlade"] = {
          Class = "CompProperties_EggLayer",
+
    _ = {
        },
+
      ParentName = "BodyPartProstheticImperialBase",
        eggFertilizedDef = "EggCobraFertilized",
+
      DefCategory = "ThingDef",
        eggFertilizationCountMax = 1,
+
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
        eggLayIntervalDays = 20.0,
+
      GameVersion = "1.2.2753",
        eggProgressUnfertilizedMax = 0.5,
+
      DLC = "Royalty",
        eggCountRange = { ["<"]=1, [">"]=2 },
 
      },
 
 
     },
 
     },
     race = {
+
     defName = "ElbowBlade",
      baseBodySize = 0.25,
+
    label = "elbow blade",
      foodType = {
+
    description = [[A razor-sharp blade that extends at will from a hidden opening at the end of the ulna. Appearing without warning, it can be used for devastating slice attacks.]],
        "CarnivoreAnimal",
+
    costList = {
        "OvivoreAnimal",
+
       Steel = 40,
      },
+
       ComponentIndustrial = 7,
      leatherDef = "Leather_Lizard",
 
      wildness = 0.75,
 
      petness = 0.05,
 
      manhunterOnTameFailChance = 0.10,
 
      manhunterOnDamageChance = 0.10,
 
       lifeExpectancy = 20,
 
       lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.15,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.5,
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     recipeMaker = {
       "AnimalUncommon",
+
       researchPrerequisite = "CompactWeaponry",
      "AnimalFighter",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Monkey"] = {
+
   ["ThingDef:KneeSpike"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartProstheticImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Tropical.xml",
+
       FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
 
     },
 
     },
     defName = "Monkey",
+
     defName = "KneeSpike",
     label = "monkey",
+
     label = "knee spike",
     description = [[A small primate, the monkey can use its curly tail to grab on to branches, leaving its hands free to do other things. Monkeys are selfish but clever, and can be trained to carry out fairly complex tasks.]],
+
     description = [[A spike that extends at will from a hidden opening on the front of the knee. Appearing without warning, it can be used for devastating stabbing attacks which penetrate even thick armor.]],
     statBases = {
+
     costList = {
       MoveSpeed = 4.3,
+
       Steel = 40,
      MarketValue = 100,
+
       ComponentIndustrial = 7,
      ComfyTemperatureMin = -5,
 
       ComfyTemperatureMax = 50,
 
 
     },
 
     },
     tools = {
+
     recipeMaker = {
       {
+
       researchPrerequisite = "CompactWeaponry",
        label = "left fist",
+
    },
        capacities = {
+
  },
          "Blunt",
+
 
        },
+
  ["ThingDef:VenomFangs"] = {
        power = 3.6,
+
    _ = {
        cooldownTime = 1.5,
+
      ParentName = "BodyPartProstheticImperialBase",
        linkedBodyPartsGroup = "LeftHand",
+
       DefCategory = "ThingDef",
      },
+
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
      {
+
       GameVersion = "1.2.2753",
        label = "right fist",
+
      DLC = "Royalty",
        capacities = {
 
          "Blunt",
 
        },
 
        power = 3.6,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "RightHand",
 
       },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 4,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.7,
 
       },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
 
     },
 
     },
     race = {
+
     defName = "VenomFangs",
      petness = 0.50,
+
    label = "venom fangs",
      herdAnimal = true,
+
    description = [[A pair of injectors implanted through the canine teeth, connected to a venom pump. The user can bite an enemy, extend the injectors, and pump venom into the target.]],
      baseBodySize = 0.35,
+
    costList = {
      foodType = {
+
       Steel = 40,
        "OmnivoreRoughAnimal",
+
       ComponentIndustrial = 7,
      },
 
      leatherDef = "Leather_Light",
 
      trainability = "Advanced",
 
      wildness = 0.60,
 
      nuzzleMtbHours = 24,
 
      gestationPeriodDays = 16,
 
       lifeExpectancy = 30,
 
       lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.4,
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     recipeMaker = {
       "AnimalUncommon",
+
       researchPrerequisite = "VenomSynthesis",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Boomalope"] = {
+
   ["ThingDef:VenomTalon"] = {
 
     _ = {
 
     _ = {
       ParentName = "AnimalThingBase",
+
       ParentName = "BodyPartProstheticImperialBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Races_Animal_Tropical.xml",
+
       FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
       DLC = "Core",
+
       DLC = "Royalty",
     },
+
     },
     defName = "Boomalope",
+
     defName = "VenomTalon",
     label = "boomalope",
+
     label = "venom talon",
     description = [[Engineered for chemicals production, the boomalope grows a large sac of volatile chemicals on its back. Though it is weak and fragile for its size, other animals have learned to avoid it because of the huge explosion it produces when it dies. It can be milked to produce chemfuel - very carefully.]],
+
     description = [[A retractable finger talon connected to a venom pump in the lower arm. The user can scratch an enemy while squirting venom into the wound. The talon is designed to be installed in the middle finger. It's fast, but poor at penetrating armor.]],
     statBases = {
+
    costList = {
       MoveSpeed = 3.4,
+
      Steel = 40,
       MarketValue = 350,
+
      ComponentIndustrial = 7,
       ComfyTemperatureMin = -15,
+
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "VenomSynthesis",
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:PsychicAmplifier"] = {
 +
    _ = {
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_Psycasts.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Royalty",
 +
    },
 +
    defName = "PsychicAmplifier",
 +
    label = "psylink neuroformer",
 +
    description = [[A consumable archotech-created device that forms or upgrades a psylink in the user's mind.\n\nThe user presses the device over the eyes, where it links to the brain directly and restructures part of it. Afterwards, the device disintegrates into worthless ash.]],
 +
    thingClass = "ThingWithComps",
 +
    category = "Item",
 +
    useHitPoints = true,
 +
    pathCost = 14,
 +
    altitudeLayer = "Item",
 +
    thingCategories = {
 +
      "BodyPartsArchotech",
 +
    },
 +
     statBases = {
 +
       MaxHitPoints = 100,
 +
      Beauty = -4,
 +
      Mass = 1,
 +
       MarketValue = 2600,
 +
       DeteriorationRate = 0,
 +
    },
 +
    tradeTags = {
 +
      "PsylinkNeuroformer",
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Milkable",
+
           Class = "CompProperties_Usable",
 
         },
 
         },
         milkDef = "Chemfuel",
+
         compClass = "CompUsableImplant",
         milkIntervalDays = 2,
+
         useJob = "UseItem",
         milkAmount = 12,
+
         useLabel = "Use neuroformer to form psylink",
        milkFemaleOnly = false,
 
 
       },
 
       },
    },
 
    tools = {
 
 
       {
 
       {
         label = "head",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_UseEffectInstallImplant",
           "Blunt",
 
 
         },
 
         },
         power = 7,
+
         hediffDef = "PsychicAmplifier",
        cooldownTime = 2,
+
         bodyPart = "Brain",
         linkedBodyPartsGroup = "HeadAttackTool",
+
         canUpgrade = true,
         chanceFactor = 0.2,
 
 
       },
 
       },
 
       {
 
       {
         label = "left hoof",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_UseEffectPlaySound",
           "Blunt",
 
          "Poke",
 
 
         },
 
         },
         power = 9,
+
         soundOnUsed = "PsyAmpInstalled",
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftLeg",
 
 
       },
 
       },
 
       {
 
       {
         label = "right hoof",
+
         _ = {
        capacities = {
+
           Class = "CompProperties_UseEffect",
           "Blunt",
 
          "Poke",
 
 
         },
 
         },
         power = 9,
+
         compClass = "CompUseEffect_DestroySelf",
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
 
       },
 
       },
 
       {
 
       {
         capacities = {
+
         _ = {
           "Bite",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
        power = 10,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.5,
 
 
       },
 
       },
    },
 
    race = {
 
      herdAnimal = true,
 
      baseBodySize = 1.5,
 
      foodType = {
 
        "VegetarianRoughAnimal",
 
      },
 
      leatherDef = "Leather_Plain",
 
      wildness = 0.6,
 
      gestationPeriodDays = 28,
 
      lifeExpectancy = 15,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.5,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalUncommon",
 
      "AnimalFighter",
 
    },
 
  },
 
 
  ["ThingDef:Warg"] = {
 
    _ = {
 
      ParentName = "AnimalThingBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Warg",
 
    label = "warg",
 
    description = [[Heavily-muscled wolf-like creatures with vicious unnatural claws and an absurdly powerful bite. They will only eat meat or corpses. If disturbed in the wild, they are very likely to attack.\n\nScientists say wargs are the descendants of weaponized military animals created for population suppression. The superstitious see them as the tools of an angry god.]],
 
    statBases = {
 
      MoveSpeed = 5.0,
 
      MarketValue = 450,
 
      ComfyTemperatureMin = -40,
 
    },
 
    tools = {
 
      {
 
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 13,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 13,
 
        cooldownTime = 1.5,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        label = "razorfangs",
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 15,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.9,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      petness = 0.5,
 
      baseBodySize = 1.0,
 
      foodType = {
 
        "CarnivoreAnimalStrict",
 
      },
 
      leatherDef = "Leather_Wolf",
 
      gestationPeriodDays = 26,
 
      trainability = "Advanced",
 
      wildness = 0.60,
 
      manhunterOnTameFailChance = 0.35,
 
      manhunterOnDamageChance = 0.35,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1.7},
 
          {2.5, 0.7},
 
          {3, 0},
 
        },
 
      },
 
      lifeExpectancy = 15,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.45,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalUncommon",
 
      "AnimalFighter",
 
    },
 
  },
 
 
  ["ThingDef:ThingBaseWolf"] = {
 
    _ = {
 
      Name = "ThingBaseWolf",
 
      ParentName = "AnimalThingBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    statBases = {
 
      MoveSpeed = 5.0,
 
      MarketValue = 350,
 
      ComfyTemperatureMin = -40,
 
    },
 
    tools = {
 
      {
 
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 10.9,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
        chanceFactor = 0.5,
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 10.9,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
        chanceFactor = 0.5,
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 12,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.9,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 6,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      petness = 0.1,
 
      baseBodySize = 0.85,
 
      foodType = {
 
        "CarnivoreAnimal",
 
      },
 
      leatherDef = "Leather_Wolf",
 
      trainability = "Advanced",
 
      wildness = 0.85,
 
      nuzzleMtbHours = 120,
 
      manhunterOnTameFailChance = 0.10,
 
      manhunterOnDamageChance = 0.10,
 
      gestationPeriodDays = 26,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1.7},
 
          {2.5, 0.7},
 
          {3, 0},
 
        },
 
      },
 
      lifeExpectancy = 12,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.2,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.45,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalUncommon",
 
      "AnimalFighter",
 
    },
 
  },
 
 
  ["ThingDef:Wolf_Timber"] = {
 
    _ = {
 
      ParentName = "ThingBaseWolf",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Wolf_Timber",
 
    label = "timber wolf",
 
    description = [[A rugged predator long feared by many ancient Earth cultures. As pack hunters, wolves have complex social lives and are fiercely intelligent.]],
 
  },
 
 
  ["ThingDef:Wolf_Arctic"] = {
 
    _ = {
 
      ParentName = "ThingBaseWolf",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Wolf_Arctic",
 
    label = "arctic wolf",
 
    description = [[An arctic variant of the old Earth wolf. As pack hunters, wolves have a complex social life and are fiercely intelligent.]],
 
    statBases = {
 
      ComfyTemperatureMin = -55,
 
    },
 
  },
 
 
  ["ThingDef:ThingBaseFox"] = {
 
    _ = {
 
      Name = "ThingBaseFox",
 
      ParentName = "AnimalThingBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    statBases = {
 
      MoveSpeed = 4.6,
 
      ComfyTemperatureMin = -35,
 
      MarketValue = 200,
 
    },
 
    tools = {
 
      {
 
        label = "left claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftPaw",
 
      },
 
      {
 
        label = "right claw",
 
        capacities = {
 
          "Scratch",
 
        },
 
        power = 8,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightPaw",
 
      },
 
      {
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.9,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 4,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      petness = 0.1,
 
      baseBodySize = 0.55,
 
      foodType = {
 
        "CarnivoreAnimal",
 
      },
 
      leatherDef = "Leather_Fox",
 
      trainability = "Advanced",
 
      wildness = 0.75,
 
      nuzzleMtbHours = 60,
 
      gestationPeriodDays = 21,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {2, 1.7},
 
          {2.5, 0.7},
 
          {3, 0},
 
        },
 
      },
 
      lifeExpectancy = 9,
 
      lifeStageAges = {
 
        {
 
          def = "AnimalBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "AnimalJuvenile",
 
          minAge = 0.15,
 
        },
 
        {
 
          def = "AnimalAdult",
 
          minAge = 0.35,
 
        },
 
      },
 
    },
 
    tradeTags = {
 
      "AnimalCommon",
 
    },
 
  },
 
 
  ["ThingDef:Fox_Fennec"] = {
 
    _ = {
 
      ParentName = "ThingBaseFox",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Fox_Fennec",
 
    label = "fennec fox",
 
    description = [[A small fox originally from the northern part of Earth's Africa continent. It hunts small creatures and has very large ears for cooling itself in the heat.]],
 
    statBases = {
 
      ComfyTemperatureMin = -30,
 
    },
 
  },
 
 
  ["ThingDef:Fox_Red"] = {
 
    _ = {
 
      ParentName = "ThingBaseFox",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Fox_Red",
 
    label = "red fox",
 
    description = [[A small solitary canine evolved for hunting small prey in temperate climates. Chicken farmers hate foxes because of their ability to destroy a whole coop in minutes.]],
 
  },
 
 
  ["ThingDef:Fox_Arctic"] = {
 
    _ = {
 
      ParentName = "ThingBaseFox",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Animal_WildCanines.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Fox_Arctic",
 
    label = "arctic fox",
 
    description = [[A small predator adapted for cold climates. It usually hunts small game like mice and voles, sometimes burrowing through a meter of snow to reach its prey.]],
 
    statBases = {
 
      ComfyTemperatureMin = -50,
 
    },
 
  },
 
 
  ["ThingDef:Human"] = {
 
    _ = {
 
      ParentName = "BasePawn",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Humanlike.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Human",
 
    label = "human",
 
    description = [[A baseline human, mostly unmodified by gene engineering and mostly unchanged by evolutionary pressures on non-Earth planets.]],
 
    statBases = {
 
      MarketValue = 1750,
 
      MoveSpeed = 4.6,
 
      ComfyTemperatureMin = 16,
 
      ComfyTemperatureMax = 26,
 
      LeatherAmount = 50,
 
      RoyalFavorValue = 3,
 
    },
 
    tools = {
 
      {
 
        label = "left fist",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 8.2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "LeftHand",
 
      },
 
      {
 
        label = "right fist",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 8.2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "RightHand",
 
      },
 
      {
 
        label = "teeth",
 
        capacities = {
 
          "Bite",
 
        },
 
        power = 8.2,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "Teeth",
 
        chanceFactor = 0.07,
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      lifeExpectancy = 80,
 
      leatherDef = "Leather_Human",
 
      baseBodySize = 1,
 
      foodType = {
 
        "OmnivoreHuman",
 
      },
 
      gestationPeriodDays = 45,
 
      manhunterOnDamageChance = 0.20,
 
      manhunterOnTameFailChance = 0.02,
 
      litterSizeCurve = {
 
        points = {
 
          {0.5, 0},
 
          {1, 1},
 
          {1.01, 0.02},
 
          {3.5, 0},
 
        },
 
      },
 
      lifeStageAges = {
 
        {
 
          def = "HumanlikeBaby",
 
          minAge = 0,
 
        },
 
        {
 
          def = "HumanlikeToddler",
 
          minAge = 1.2,
 
        },
 
        {
 
          def = "HumanlikeChild",
 
          minAge = 4,
 
        },
 
        {
 
          def = "HumanlikeTeenager",
 
          minAge = 13,
 
        },
 
        {
 
          def = "HumanlikeAdult",
 
          minAge = 18,
 
        },
 
      },
 
    },
 
  },
 
 
  ["ThingDef:BaseMechanoid"] = {
 
    _ = {
 
      ParentName = "BasePawn",
 
      Name = "BaseMechanoid",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Mechanoid.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    statBases = {
 
      PsychicSensitivity = 0.5,
 
      ToxicSensitivity = 0,
 
      Flammability = 0,
 
      ComfyTemperatureMin = -100,
 
      ComfyTemperatureMax = 250,
 
      MeatAmount = 0,
 
      ArmorRating_Heat = 2.00,
 
    },
 
    race = {
 
      foodType = {
 
        "None",
 
      },
 
      lifeExpectancy = 2500,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_CanBeDormant",
 
        },
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_WakeUpDormant",
 
        },
 
        wakeUpOnDamage = true,
 
        anyColonistCloseCheckRadius = 30,
 
        wakeUpSound = "MechanoidsWakeUp",
 
      },
 
    },
 
  },
 
 
  ["ThingDef:Mech_Centipede"] = {
 
    _ = {
 
      ParentName = "BaseMechanoid",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Mechanoid.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Mech_Centipede",
 
    label = "centipede",
 
    description = [[Heavy combat mechanoids that glide on dozens of tiny legs. Their thick carpace and firepower makes them very effective against bunched-up static defenders. They are somewhat vulnerable to mobile hit-and-run tactics.]],
 
    statBases = {
 
      MoveSpeed = 1.9,
 
      ArmorRating_Blunt = 0.22,
 
      ArmorRating_Sharp = 0.72,
 
      PsychicSensitivity = 0.75,
 
    },
 
    tools = {
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 17,
 
        cooldownTime = 2.6,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
      },
 
    },
 
    race = {
 
      baseBodySize = 1.8,
 
      lifeStageAges = {
 
        {
 
          def = "MechanoidFullyFormed",
 
          minAge = 0,
 
        },
 
      },
 
    },
 
  },
 
 
  ["ThingDef:BaseMechanoidWalker"] = {
 
    _ = {
 
      ParentName = "BaseMechanoid",
 
      Name = "BaseMechanoidWalker",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Mechanoid.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    statBases = {
 
      MoveSpeed = 4.7,
 
      ArmorRating_Blunt = 0.20,
 
      ArmorRating_Sharp = 0.40,
 
    },
 
    race = {
 
      baseBodySize = 1.0,
 
      lifeStageAges = {
 
        {
 
          def = "MechanoidFullyFormed",
 
          minAge = 0,
 
        },
 
      },
 
    },
 
  },
 
 
  ["ThingDef:Mech_Lancer"] = {
 
    _ = {
 
      ParentName = "BaseMechanoidWalker",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Mechanoid.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Mech_Lancer",
 
    label = "lancer",
 
    description = [[Fast human-sized combat mechanoids built for medium and long-range combat. Their bodies are light, making them vulnerable targets at close range - especially in melee combat.]],
 
    tools = {
 
      {
 
        label = "left fist",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 12.0,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "LeftHand",
 
      },
 
      {
 
        label = "right fist",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 12.0,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "RightHand",
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 8.5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
  },
 
 
  ["ThingDef:Mech_Scyther"] = {
 
    _ = {
 
      ParentName = "BaseMechanoidWalker",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Mechanoid.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Mech_Scyther",
 
    label = "scyther",
 
    description = [[Fast, spindly, human-sized combat mechanoids specializing in rapid approach and close-range combat. Their bodies are covered in points and blades, but their mostly use two arm blades to lop off limbs or gut their victims alive.]],
 
    tools = {
 
      {
 
        label = "left blade",
 
        capacities = {
 
          "Cut",
 
          "Stab",
 
        },
 
        power = 20,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "LeftBlade",
 
      },
 
      {
 
        label = "right blade",
 
        capacities = {
 
          "Cut",
 
          "Stab",
 
        },
 
        power = 20,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "RightBlade",
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
  },
 
 
  ["ThingDef:Mech_Pikeman"] = {
 
    _ = {
 
      ParentName = "BaseMechanoidWalker",
 
      DefCategory = "ThingDef",
 
      FileName = "Races_Mechanoid.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "Mech_Pikeman",
 
    label = "pikeman",
 
    description = [[A clunky multi-legged combat mechanoid specialized as a long-range weapons platform. While effective at distance, it is weak in close-range fights and in melee combat.\n\nVeterans of mechanoid wars know that often, the safest place to be around a pikeman is touching it.]],
 
    statBases = {
 
      MoveSpeed = 2.5,
 
    },
 
    tools = {
 
      {
 
        label = "front left leg",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 12.0,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontLeftLeg",
 
      },
 
      {
 
        label = "front right leg",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 12.0,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "FrontRightLeg",
 
      },
 
      {
 
        label = "head",
 
        capacities = {
 
          "Blunt",
 
        },
 
        power = 8.5,
 
        cooldownTime = 2,
 
        linkedBodyPartsGroup = "HeadAttackTool",
 
        chanceFactor = 0.2,
 
      },
 
    },
 
    race = {
 
      lifeStageAges = {
 
        _ = {
 
          Inherit = false,
 
        },
 
        {
 
          def = "MechanoidFullyFormed",
 
          minAge = 0,
 
        },
 
      },
 
    },
 
  },
 
 
  ["ThingDef:PsychicSensitizer"] = {
 
    _ = {
 
      ParentName = "BodyPartRoyalBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Archotech_EmpireRoyal.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "PsychicSensitizer",
 
    label = "psychic sensitizer",
 
    description = [[This brain implant stimulates growth in the regions of the brain related to psychic interaction, thus increasing psychic sensitivity.]],
 
    statBases = {
 
      MarketValue = 1000,
 
    },
 
  },
 
 
  ["ThingDef:PsychicHarmonizer"] = {
 
    _ = {
 
      ParentName = "BodyPartRoyalBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Archotech_EmpireRoyal.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "PsychicHarmonizer",
 
    label = "psychic harmonizer",
 
    description = [[This brain implant projects the user's mood in a spherical psychic field, forcing others nearby to feel a blurred, simplified version of their emotions. It can be a powerful tool to keep morale high, but if the user becomes unhappy, it can lead to collective disaster.]],
 
    statBases = {
 
      MarketValue = 800,
 
    },
 
  },
 
 
  ["ThingDef:PsychicReader"] = {
 
    _ = {
 
      ParentName = "BodyPartRoyalBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Archotech_EmpireRoyal.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "PsychicReader",
 
    label = "psychic reader",
 
    description = [[Gives limited mind-reading ability, improving the user's ability to get the upper hand in negotiations and social situations. The effect is proportional to the user's psychic sensitivity.]],
 
    statBases = {
 
      MarketValue = 1000,
 
    },
 
  },
 
 
  ["ThingDef:BodyPartProstheticImperialBase"] = {
 
    _ = {
 
      Name = "BodyPartProstheticImperialBase",
 
      ParentName = "BodyPartProstheticMakeableBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_BaseEmpire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    tradeTags = {
 
      "ImplantEmpireCommon",
 
    },
 
  },
 
 
  ["ThingDef:BodyPartBionicImperialBase"] = {
 
    _ = {
 
      Name = "BodyPartBionicImperialBase",
 
      ParentName = "BodyPartBionicBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_BaseEmpire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    tradeTags = {
 
      "ImplantEmpireCommon",
 
    },
 
  },
 
 
  ["ThingDef:BodyPartRoyalBase"] = {
 
    _ = {
 
      Name = "BodyPartRoyalBase",
 
      ParentName = "BodyPartArchotechBase",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_BaseEmpire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    tradeTags = {
 
      "ImplantEmpireRoyal",
 
    },
 
  },
 
 
  ["ThingDef:Neurocalculator"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "Neurocalculator",
 
    label = "neurocalculator",
 
    description = [[A non-intelligent microcomputer controlled by a visual/tactile neural interface. It assists with memory and calculation, like a calculator and notepad embedded in the brain.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "NeuralComputation",
 
    },
 
  },
 
 
  ["ThingDef:LearningAssistant"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "LearningAssistant",
 
    label = "learning assistant",
 
    description = [[A sensory recording system that replays important experiences during sleep, strengthening the formation of new memories.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "NeuralComputation",
 
    },
 
  },
 
 
  ["ThingDef:GastroAnalyzer"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "GastroAnalyzer",
 
    label = "gastro-analyzer",
 
    description = [[This bionic nose implant enhances the sense of smell, with a focus towards food-related smells. A multi-layered ultrafine absorption mesh detects compounds in the air. A microprocessor formats the readings into an olfactory nerve signal to send to the brain through a nerve-link interface. The result is that the user can smell foods with a depth, richness, and precision unknown among unenhanced humans, allowing them to cook more effectively. The whole unit is small enough to be installed in the nose without affecting the user's appearance.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 3,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "MolecularAnalysis",
 
    },
 
  },
 
 
  ["ThingDef:Immunoenhancer"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "Immunoenhancer",
 
    label = "immunoenhancer",
 
    description = [[An analysis computer inspects the bloodstream, classifies pathogens, and rapidly prompts the body's natural immune system to respond to them faster than it could alone. This speeds immunity gain significantly.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "MolecularAnalysis",
 
    },
 
  },
 
 
  ["ThingDef:Coagulator"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "Coagulator",
 
    label = "coagulator",
 
    description = [[Releases coagulating factors in response to blood loss, reducing bleeding rates significantly.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "HealingFactors",
 
    },
 
  },
 
 
  ["ThingDef:HealingEnhancer"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "HealingEnhancer",
 
    label = "healing enhancer",
 
    description = [[Releases nanomachines and healing factors that speed up wound healing. This implant only helps with physical wounds, and does nothing to combat disease or other health problems.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "HealingFactors",
 
    },
 
  },
 
 
  ["ThingDef:ToughskinGland"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "ToughskinGland",
 
    label = "toughskin gland",
 
    description = [[This bionic gland releases chemicals and nanomachines that toughen the skin, making it somewhat more resistant to damage. While it doesn't add as much protection as some other skin-hardening glands, the toughskin gland has the advantage of not noticeably altering the user's appearance.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "SkinHardening",
 
    },
 
  },
 
 
  ["ThingDef:ArmorskinGland"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "ArmorskinGland",
 
    label = "armorskin gland",
 
    description = [[This bionic gland releases chemicals and nanomachines that toughen the skin and add flexible subdermal keratin plates at strategic points. This makes the user more resistant to damage across their whole body. Unfortunately, these changes make the skin appear leathery, with wrinkles across the whole body and face, which is generally considered ugly.]],
 
    costList = {
 
      Plasteel = 20,
 
      ComponentSpacer = 6,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "SkinHardening",
 
    },
 
  },
 
 
  ["ThingDef:StoneskinGland"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "StoneskinGland",
 
    label = "stoneskin gland",
 
    description = [[This bionic gland releases chemical and nanomachines that transform the user's skin into a built-in suit of armor. The whole epidermis thickens and hardens to resist burns, while jointed exterior keratin plates form everywhere they can - including the head and face. While it's very difficult to physically hurt someone using this implant, the plates and hard skin significantly reduces the user's physical attractiveness.]],
 
    costList = {
 
      Plasteel = 25,
 
      ComponentSpacer = 8,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "SkinHardening",
 
    },
 
  },
 
 
  ["ThingDef:AestheticShaper"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "AestheticShaper",
 
    label = "aesthetic shaper",
 
    description = [[A sophisticated package of hormonal and mechanite influences shapes the muscles and fat on the body, adding non-functional aesthetic tissue where needed to achieve a desired appearance. This implant can be configured to form various body shapes according to the user's taste - or that of their partner.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 3,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "FleshShaping",
 
    },
 
  },
 
 
  ["ThingDef:AestheticNose"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "AestheticNose",
 
    label = "aesthetic nose",
 
    description = [[The nose is shaped to the user's desired form, matching prevalent beauty standards and enhancing physical impressions.]],
 
    costList = {
 
      Plasteel = 10,
 
      ComponentSpacer = 2,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "FleshShaping",
 
    },
 
  },
 
 
  ["ThingDef:LoveEnhancer"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "LoveEnhancer",
 
    label = "love enhancer",
 
    description = [[Humans have always tried to use every new technology to enhance sexual satisfaction. Bionics were no exception. This implant makes physical and chemical changes to the body which enhance the experience of lovin' for both partners - both physically and psychologically. The implant unit can adapt to enhance both men and women upon being implanted.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "FleshShaping",
 
    },
 
  },
 
 
  ["ThingDef:DetoxifierStomach"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "DetoxifierStomach",
 
    label = "detoxifier stomach",
 
    description = [[An artificial stomach replacement with a broad-spectrum toxin filter and neutralization system. It allows the user to eat almost anything without ever worrying about food poisoning.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "ArtificialMetabolism",
 
    },
 
  },
 
 
  ["ThingDef:ReprocessorStomach"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "ReprocessorStomach",
 
    label = "reprocessor stomach",
 
    description = [[An advanced chemical processing system breaks down nutrients the body could normally never use, leading to increased efficiency.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "ArtificialMetabolism",
 
    },
 
  },
 
 
  ["ThingDef:NuclearStomach"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "NuclearStomach",
 
    label = "nuclear stomach",
 
    description = [[A micro-nuclear reactor combined with complex chemical synthesis replaces the body's need for food energy. Food is required only to replace matter lost from the body, reducing the user's intake needs significantly. This artifical stomach cannot get food poisoning. However, there is little room to shield the reactor, so the radiation increases the risk of cancer.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "ArtificialMetabolism",
 
    },
 
  },
 
 
  ["ThingDef:CircadianAssistant"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "CircadianAssistant",
 
    label = "circadian assistant",
 
    description = [[An artificial gland. Produces chemicals and nanomachines that clear toxin buildup from the brain.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "CircadianInfluence",
 
    },
 
  },
 
 
  ["ThingDef:CircadianHalfCycler"] = {
 
    _ = {
 
      ParentName = "BodyPartBionicImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Bionic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "CircadianHalfCycler",
 
    label = "circadian half-cycler",
 
    description = [[A signal redirector which isolates half of the brain, allowing the other half to sleep while the user remains outwardly awake. By alternating brain halves, the user never needs to sleep. Unfortunately, two hemispheres are better than one - working with half a brain causes a reduction in consciousness.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "CircadianInfluence",
 
    },
 
  },
 
 
  ["ThingDef:Mindscrew"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "Mindscrew",
 
    label = "mindscrew",
 
    description = [[Inflicts continuous pain on the user. Mindscrews are used by some authorities as a long-term punishment. Some even install them voluntarily as a demonstration of ideological or religious devotion.]],
 
    costList = {
 
      Steel = 15,
 
      ComponentIndustrial = 4,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "BrainWiring",
 
    },
 
  },
 
 
  ["ThingDef:DrillArm"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "DrillArm",
 
    label = "drill arm",
 
    description = [[A mechanical arm replacement for speeding up mining. It has a built-in snake drill, which allows the miner to rapidly find and exploit weak lines in the rock. It also has a general-purpose manipulator. It is somewhat ungainly, which slows down movement slightly.]],
 
    costList = {
 
      Steel = 60,
 
      ComponentIndustrial = 8,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "SpecializedLimbs",
 
    },
 
  },
 
 
  ["ThingDef:FieldHand"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "FieldHand",
 
    label = "field hand",
 
    description = [[This mechanical hand replacement is made to speed up the sowing and harvesting tasks of a farmer. Multiple telescoping finger-like protrusions can simultaneously harvest from several points on the same plant, or precisely sow several holes at once. It also has a general-purpose manipulator. It is somewhat ungainly, which slows down movement slightly.]],
 
    costList = {
 
      Steel = 60,
 
      ComponentIndustrial = 8,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "SpecializedLimbs",
 
    },
 
  },
 
 
  ["ThingDef:HandTalon"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "HandTalon",
 
    label = "hand talon",
 
    description = [[A razor-sharp talon which extends from a hidden opening between the middle and ring fingers. The talon is longer than the palm, but it becomes flexible upon retracting, allowing the user to curl it up and conceal it inside the hand. It can perform rapid slashing attacks, but is poor at penetrating armor.]],
 
    costList = {
 
      Steel = 40,
 
      ComponentIndustrial = 7,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "CompactWeaponry",
 
    },
 
  },
 
 
  ["ThingDef:ElbowBlade"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "ElbowBlade",
 
    label = "elbow blade",
 
    description = [[A razor-sharp blade that extends at will from a hidden opening at the end of the ulna. Appearing without warning, it can be used for devastating slice attacks.]],
 
    costList = {
 
      Steel = 40,
 
      ComponentIndustrial = 7,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "CompactWeaponry",
 
    },
 
  },
 
 
  ["ThingDef:KneeSpike"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "KneeSpike",
 
    label = "knee spike",
 
    description = [[A spike that extends at will from a hidden opening on the front of the knee. Appearing without warning, it can be used for devastating stabbing attacks which penetrate even thick armor.]],
 
    costList = {
 
      Steel = 40,
 
      ComponentIndustrial = 7,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "CompactWeaponry",
 
    },
 
  },
 
 
  ["ThingDef:VenomFangs"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "VenomFangs",
 
    label = "venom fangs",
 
    description = [[A pair of injectors implanted through the canine teeth, connected to a venom pump. The user can bite an enemy, extend the injectors, and pump venom into the target.]],
 
    costList = {
 
      Steel = 40,
 
      ComponentIndustrial = 7,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "VenomSynthesis",
 
    },
 
  },
 
 
  ["ThingDef:VenomTalon"] = {
 
    _ = {
 
      ParentName = "BodyPartProstheticImperialBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Prosthetic_Empire.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "VenomTalon",
 
    label = "venom talon",
 
    description = [[A retractable finger talon connected to a venom pump in the lower arm. The user can scratch an enemy while squirting venom into the wound. The talon is designed to be installed in the middle finger. It's fast, but poor at penetrating armor.]],
 
    costList = {
 
      Steel = 40,
 
      ComponentIndustrial = 7,
 
    },
 
    recipeMaker = {
 
      researchPrerequisite = "VenomSynthesis",
 
    },
 
  },
 
 
  ["ThingDef:PsychicAmplifier"] = {
 
    _ = {
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_Psycasts.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "PsychicAmplifier",
 
    label = "psylink neuroformer",
 
    description = [[A consumable archotech-created device that forms or upgrades a psylink in the user's mind.\n\nThe user presses the device over the eyes, where it links to the brain directly and restructures part of it. Afterwards, the device disintegrates into worthless ash.]],
 
    thingClass = "ThingWithComps",
 
    category = "Item",
 
    useHitPoints = true,
 
    pathCost = 14,
 
    altitudeLayer = "Item",
 
    thingCategories = {
 
      "BodyPartsArchotech",
 
    },
 
    statBases = {
 
      MaxHitPoints = 100,
 
      Beauty = -4,
 
      Mass = 1,
 
      MarketValue = 2600,
 
      DeteriorationRate = 0,
 
    },
 
    tradeTags = {
 
      "PsylinkNeuroformer",
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Usable",
 
        },
 
        compClass = "CompUsableImplant",
 
        useJob = "UseItem",
 
        useLabel = "Use neuroformer to form psylink",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffectInstallImplant",
 
        },
 
        hediffDef = "PsychicAmplifier",
 
        bodyPart = "Brain",
 
        canUpgrade = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffectPlaySound",
 
        },
 
        soundOnUsed = "PsyAmpInstalled",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_UseEffect",
 
        },
 
        compClass = "CompUseEffect_DestroySelf",
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Forbiddable",
 
        },
 
      },
 
    },
 
  },
 
 
  ["ResearchProjectDef:NobleApparel"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Apparel.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "NobleApparel",
 
    label = "noble apparel",
 
    description = [[Tailor noble-specific apparel like formal shirts and royal robes.]],
 
    baseCost = 400,
 
    techLevel = "Medieval",
 
    researchViewX = 2.00,
 
    researchViewY = 1.80,
 
    prerequisites = {
 
      "ComplexClothing",
 
    },
 
  },
 
 
  ["ResearchProjectDef:RoyalApparel"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Apparel.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "RoyalApparel",
 
    label = "royal apparel",
 
    description = [[Tailor royal apparel of the highest tier, like royal robes and crowns.]],
 
    baseCost = 400,
 
    techLevel = "Medieval",
 
    researchViewX = 3.00,
 
    researchViewY = 1.80,
 
    prerequisites = {
 
      "NobleApparel",
 
    },
 
    hiddenPrerequisites = {
 
      "Smithing",
 
    },
 
  },
 
 
  ["ResearchProjectDef:CataphractArmor"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Apparel.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "CataphractArmor",
 
    label = "cataphract armor",
 
    description = [[Craft cataphract armor, heavy powered armor that slows the user but which can absorb extreme punishment. Note that these also require advanced components.]],
 
    baseCost = 6000,
 
    techLevel = "Spacer",
 
    prerequisites = {
 
      "PoweredArmor",
 
    },
 
    requiredResearchBuilding = "HiTechResearchBench",
 
    requiredResearchFacilities = {
 
      "MultiAnalyzer",
 
    },
 
    researchViewX = 17.00,
 
    researchViewY = 1.50,
 
    techprintCount = 2,
 
    techprintCommonality = 3,
 
    techprintMarketValue = 3000,
 
    heldByFactionCategoryTags = {
 
      "Empire",
 
    },
 
  },
 
 
  ["ResearchProjectDef:JumpPack"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Apparel.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "JumpPack",
 
    label = "jump packs",
 
    description = [[Build jump packs to perform aerial assaults during combat.]],
 
    baseCost = 2000,
 
    techLevel = "Industrial",
 
    prerequisites = {
 
      "MicroelectronicsBasics",
 
    },
 
    hiddenPrerequisites = {
 
      "Machining",
 
    },
 
    techprintCount = 1,
 
    techprintCommonality = 2,
 
    techprintMarketValue = 2000,
 
    heldByFactionCategoryTags = {
 
      "Empire",
 
      "Outlander",
 
    },
 
    requiredResearchBuilding = "HiTechResearchBench",
 
    researchViewX = 12.00,
 
    researchViewY = 3.80,
 
  },
 
 
  ["ResearchProjectDef:BaseBodyPartEmpire_TierA"] = {
 
    _ = {
 
      Abstract = true,
 
      Name = "BaseBodyPartEmpire_TierA",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    baseCost = 2000,
 
    techLevel = "Spacer",
 
    techprintCount = 1,
 
    techprintCommonality = 1,
 
    techprintMarketValue = 1000,
 
    heldByFactionCategoryTags = {
 
      "Empire",
 
    },
 
  },
 
 
  ["ResearchProjectDef:BaseBodyPartEmpire_TierB"] = {
 
    _ = {
 
      Abstract = true,
 
      Name = "BaseBodyPartEmpire_TierB",
 
      ParentName = "BaseBodyPartEmpire_TierA",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    techLevel = "Ultra",
 
    requiredResearchBuilding = "HiTechResearchBench",
 
    requiredResearchFacilities = {
 
      "MultiAnalyzer",
 
    },
 
    techprintMarketValue = 2000,
 
  },
 
 
  ["ResearchProjectDef:BrainWiring"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierA",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "BrainWiring",
 
    label = "brain wiring",
 
    description = [[Craft brain implants that induce or prevent blunt sensations like joy or pain.]],
 
    prerequisites = {
 
      "MicroelectronicsBasics",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 12.00,
 
    researchViewY = 4.30,
 
  },
 
 
  ["ResearchProjectDef:SpecializedLimbs"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierA",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "SpecializedLimbs",
 
    label = "specialized limbs",
 
    description = [[Craft specialized bionic limbs built for specific purposes - both combat and labor.]],
 
    prerequisites = {
 
      "MicroelectronicsBasics",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 13.00,
 
    researchViewY = 4.30,
 
  },
 
 
  ["ResearchProjectDef:CompactWeaponry"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierA",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "CompactWeaponry",
 
    label = "compact weaponry",
 
    description = [[Craft compact, concealable bionic weapons which can be embedded in various body parts.]],
 
    prerequisites = {
 
      "MicroelectronicsBasics",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 12.00,
 
    researchViewY = 4.80,
 
  },
 
 
  ["ResearchProjectDef:VenomSynthesis"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierA",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "VenomSynthesis",
 
    label = "poison synthesis",
 
    description = [[Craft bionics that synthesize venom from internal chemical reactors for use in toxifying attacks.]],
 
    prerequisites = {
 
      "CompactWeaponry",
 
    },
 
    researchViewX = 13.00,
 
    researchViewY = 4.80,
 
  },
 
 
  ["ResearchProjectDef:ArtificialMetabolism"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierB",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "ArtificialMetabolism",
 
    label = "artificial metabolism",
 
    description = [[Craft bionics that process food more safely or efficiently than a biological stomach.]],
 
    prerequisites = {
 
      "Fabrication",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 16.00,
 
    researchViewY = 4.30,
 
  },
 
 
  ["ResearchProjectDef:NeuralComputation"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierB",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "NeuralComputation",
 
    label = "neural computation",
 
    description = [[Craft brain implants that assist thought and learning by use of a direct, shallow brain-computer interface.]],
 
    prerequisites = {
 
      "Fabrication",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 16.00,
 
    researchViewY = 4.80,
 
  },
 
 
  ["ResearchProjectDef:SkinHardening"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierB",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "SkinHardening",
 
    label = "skin hardening",
 
    description = [[Craft bionic implants which induce the toughening of natural skin, producing an armor-like effect.]],
 
    prerequisites = {
 
      "Fabrication",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 17.00,
 
    researchViewY = 3.80,
 
  },
 
 
  ["ResearchProjectDef:HealingFactors"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierB",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "HealingFactors",
 
    label = "healing factors",
 
    description = [[Craft bionics that enhance natural healing processes.]],
 
    prerequisites = {
 
      "Fabrication",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 17.00,
 
    researchViewY = 4.30,
 
  },
 
 
  ["ResearchProjectDef:FleshShaping"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierB",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "FleshShaping",
 
    label = "flesh shaping",
 
    description = [[Craft bionics which induce the reshaping or natural flesh, usually for the purposes of aesthetic enhancement or personal pleasure.]],
 
    prerequisites = {
 
      "Fabrication",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 17.00,
 
    researchViewY = 4.80,
 
  },
 
 
  ["ResearchProjectDef:MolecularAnalysis"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierB",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "MolecularAnalysis",
 
    label = "molecular analysis",
 
    description = [[Craft bionics with molecular analyzers for assisting the immune system or analyzing food.]],
 
    prerequisites = {
 
      "Fabrication",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 18.00,
 
    researchViewY = 3.80,
 
  },
 
 
  ["ResearchProjectDef:CircadianInfluence"] = {
 
    _ = {
 
      ParentName = "BaseBodyPartEmpire_TierB",
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_Implants.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "CircadianInfluence",
 
    label = "circadian influence",
 
    description = [[Craft brain implants that chemically manipulate the circadian rhythm, reducing or altering the need to sleep.]],
 
    prerequisites = {
 
      "Fabrication",
 
    },
 
    hiddenPrerequisites = {
 
      "Prosthetics",
 
    },
 
    researchViewX = 18.00,
 
    researchViewY = 4.30,
 
  },
 
 
  ["ResearchProjectDef:Harp"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_MusicalInstruments.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "Harp",
 
    label = "harp",
 
    description = [[Craft the harp, a simple stationary musical instrument popular among nobility in some cultures.]],
 
    baseCost = 500,
 
    techLevel = "Medieval",
 
    researchViewX = 2.00,
 
    researchViewY = 4.90,
 
    prerequisites = {
 
      "ComplexFurniture",
 
    },
 
  },
 
 
  ["ResearchProjectDef:Harpsichord"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_MusicalInstruments.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "Harpsichord",
 
    label = "harpsichord",
 
    description = [[Craft the harpsichord, a complex stationary musical instrument.]],
 
    baseCost = 500,
 
    techLevel = "Medieval",
 
    researchViewX = 3.00,
 
    researchViewY = 4.90,
 
    prerequisites = {
 
      "Harp",
 
      "Smithing",
 
    },
 
  },
 
 
  ["ResearchProjectDef:Piano"] = {
 
    _ = {
 
      DefCategory = "ResearchProjectDef",
 
      FileName = "ResearchProjects_MusicalInstruments.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    defName = "Piano",
 
    label = "piano",
 
    description = [[Craft the piano, an advanced stationary musical instrument.]],
 
    baseCost = 2000,
 
    techLevel = "Industrial",
 
    researchViewX = 4.00,
 
    researchViewY = 4.90,
 
    prerequisites = {
 
      "Harpsichord",
 
 
     },
 
     },
 
   },
 
   },
Line 29,883: Line 27,478:
 
       Beauty = 7.5,
 
       Beauty = 7.5,
 
     },
 
     },
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
    },
 
    costStuffCount = 150,
 
 
     costList = {
 
     costList = {
 
       WoodLog = 50,
 
       WoodLog = 50,
Line 29,919: Line 27,509:
 
     },
 
     },
 
     minifiedDef = "MinifiedThing",
 
     minifiedDef = "MinifiedThing",
    stuffCategories = {
 
      "Metallic",
 
      "Stony",
 
    },
 
    costStuffCount = 50,
 
 
     comps = {
 
     comps = {
 
       {
 
       {
Line 30,027: Line 27,612:
 
     },
 
     },
 
     thingClass = "Building_Throne",
 
     thingClass = "Building_Throne",
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
    },
 
    costStuffCount = 125,
 
 
     pathCost = 30,
 
     pathCost = 30,
 
     fillPercent = 0.4,
 
     fillPercent = 0.4,
Line 30,108: Line 27,687:
 
     },
 
     },
 
     thingClass = "Building_Throne",
 
     thingClass = "Building_Throne",
    stuffCategories = {
 
      "Metallic",
 
      "Stony",
 
    },
 
    costStuffCount = 300,
 
 
     costList = {
 
     costList = {
 
       Gold = 75,
 
       Gold = 75,
Line 31,331: Line 28,905:
 
     statBases = {
 
     statBases = {
 
       Flammability = 1.0,
 
       Flammability = 1.0,
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
      "Stony",
 
 
     },
 
     },
 
     building = {
 
     building = {
Line 31,402: Line 28,971:
 
       Mass = 25,
 
       Mass = 25,
 
     },
 
     },
    costStuffCount = 150,
 
 
   },
 
   },
  
Line 31,464: Line 29,032:
 
       Mass = 50,
 
       Mass = 50,
 
     },
 
     },
    costStuffCount = 300,
 
 
   },
 
   },
  
Line 31,546: Line 29,113:
 
     label = "unfinished musical instrument",
 
     label = "unfinished musical instrument",
 
     description = [[An unfinished musical instrument.]],
 
     description = [[An unfinished musical instrument.]],
    stuffCategories = {
 
      "Woody",
 
    },
 
 
   },
 
   },
  
Line 31,693: Line 29,257:
 
     label = "unfinished piano",
 
     label = "unfinished piano",
 
     description = [[An unfinished piano.]],
 
     description = [[An unfinished piano.]],
    stuffCategories = {
 
      _ = {
 
        Inherit = false,
 
      },
 
    },
 
 
   },
 
   },
  
Line 32,155: Line 29,714:
 
     recipeMaker = {
 
     recipeMaker = {
 
       researchPrerequisite = "NobleApparel",
 
       researchPrerequisite = "NobleApparel",
    },
 
    costStuffCount = 65,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
Line 32,227: Line 29,781:
 
       StuffEffectMultiplierInsulation_Cold = 0.4,
 
       StuffEffectMultiplierInsulation_Cold = 0.4,
 
       StuffEffectMultiplierInsulation_Heat = 0.10,
 
       StuffEffectMultiplierInsulation_Heat = 0.10,
    },
 
    costStuffCount = 45,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
Line 32,295: Line 29,844:
 
     recipeMaker = {
 
     recipeMaker = {
 
       researchPrerequisite = "RoyalApparel",
 
       researchPrerequisite = "RoyalApparel",
    },
 
    costStuffCount = 100,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
Line 32,364: Line 29,908:
 
     recipeMaker = {
 
     recipeMaker = {
 
       researchPrerequisite = "NobleApparel",
 
       researchPrerequisite = "NobleApparel",
    },
 
  },
 
 
  ["ThingDef:ApparelHatRoyalTier2Fabric"] = {
 
    _ = {
 
      Name = "ApparelHatRoyalTier2Fabric",
 
      ParentName = "ApparelHatRoyalTier2",
 
      Abstract = true,
 
      DefCategory = "ThingDef",
 
      FileName = "Apparel_Royal.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Royalty",
 
    },
 
    costStuffCount = 50,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
 
     },
 
     },
 
   },
 
   },
Line 32,474: Line 30,001:
 
       },
 
       },
 
       researchPrerequisite = "RoyalApparel",
 
       researchPrerequisite = "RoyalApparel",
    },
 
    costStuffCount = 50,
 
    stuffCategories = {
 
      "Metallic",
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
Line 32,533: Line 30,056:
 
       },
 
       },
 
       researchPrerequisite = "RoyalApparel",
 
       researchPrerequisite = "RoyalApparel",
    },
 
    costStuffCount = 75,
 
    stuffCategories = {
 
      "Metallic",
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
Line 32,573: Line 30,092:
 
       "HeadgearNoble",
 
       "HeadgearNoble",
 
     },
 
     },
    stuffCategories = {
 
      "Metallic",
 
    },
 
    costStuffCount = 85,
 
 
     statBases = {
 
     statBases = {
 
       MaxHitPoints = 80,
 
       MaxHitPoints = 80,
Line 32,609: Line 30,124:
 
     recipeMaker = {
 
     recipeMaker = {
 
       researchPrerequisite = "NobleApparel",
 
       researchPrerequisite = "NobleApparel",
    },
 
    costStuffCount = 80,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
 
     },
 
     },
 
     thingCategories = {
 
     thingCategories = {
Line 32,660: Line 30,170:
 
     thingCategories = {
 
     thingCategories = {
 
       "HeadgearNoble",
 
       "HeadgearNoble",
    },
 
    costStuffCount = 35,
 
    stuffCategories = {
 
      "Fabric",
 
      "Leathery",
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
Line 33,619: Line 31,124:
 
     label = "axe",
 
     label = "axe",
 
     description = [[An advanced form of one of mankind's oldest weapons, the war axe is a short blade attached to a shaft. The simple, ancient design concentrates cutting power generated from strong overhand swings.]],
 
     description = [[An advanced form of one of mankind's oldest weapons, the war axe is a short blade attached to a shaft. The simple, ancient design concentrates cutting power generated from strong overhand swings.]],
    costStuffCount = 50,
 
 
     statBases = {
 
     statBases = {
 
       WorkToMake = 7000,
 
       WorkToMake = 7000,
Line 33,629: Line 31,133:
 
         Crafting = 3,
 
         Crafting = 3,
 
       },
 
       },
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
 
     },
 
     },
 
     weaponTags = {
 
     weaponTags = {
Line 33,668: Line 31,168:
 
     label = "warhammer",
 
     label = "warhammer",
 
     description = [[A long polearm topped with a brutal hammer. The powerful blunt impacts can pulverize an enemy's insides, even through armor.]],
 
     description = [[A long polearm topped with a brutal hammer. The powerful blunt impacts can pulverize an enemy's insides, even through armor.]],
    costStuffCount = 150,
 
 
     statBases = {
 
     statBases = {
 
       WorkToMake = 18000,
 
       WorkToMake = 18000,
Line 33,678: Line 31,177:
 
         Crafting = 5,
 
         Crafting = 5,
 
       },
 
       },
    },
 
    stuffCategories = {
 
      "Metallic",
 
      "Woody",
 
 
     },
 
     },
 
     weaponTags = {
 
     weaponTags = {
Line 33,957: Line 31,452:
 
       "EltexStaff",
 
       "EltexStaff",
 
     },
 
     },
    costStuffCount = 50,
 
 
     statBases = {
 
     statBases = {
 
       MarketValue = 2000,
 
       MarketValue = 2000,
Line 34,080: Line 31,574:
 
         linkSound = "AnimaTreeLink",
 
         linkSound = "AnimaTreeLink",
 
         enoughPlantsLetterLabel = "About: Anima tree linking",
 
         enoughPlantsLetterLabel = "About: Anima tree linking",
         enoughPlantsLetterText = "The anima tree now has {0} anima grass around it. This is enough for a tribal person to begin their first linking ritual!\n\nThe linking ritual gives a level of psylink and the ability to use psychic powers. Upgrading to a higher level requires more grass at each level.\n\nThe anima grass requirements for linking rituals to upgrade psycasters are:\n\n{1}\n\nNote: Only those with the nature focus type can meditate to or link with anima trees. You can see a person's focus types by looking at their info card with the ‘i' button.",
+
         enoughPlantsLetterText = "The anima tree now has {0} anima grass around it. This is enough for a tribal person to begin their first linking ritual!\n\nThe linking ritual gives a level of psylink and the ability to use psychic powers. Upgrading to a higher level requires more grass at each level.\n\nThe anima grass requirements for linking rituals to upgrade psycasters are:\n\n{1}\n\nNote: Only those with the nature focus type can meditate to or link with anima trees. You can see a person's focus types by looking at their info card with the �i' button.",
 
       },
 
       },
 
       {
 
       {

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: