Difference between revisions of "Module:Test/data"

From RimWorld Wiki
Jump to navigation Jump to search
(research Defs added)
 
(One intermediate revision by the same user not shown)
Line 527: Line 527:
 
   },
 
   },
  
   ["ThingDef:Beer"] = {
+
   ["DamageDef:Flame"] = {
 
     _ = {
 
     _ = {
       ParentName = "DrugBase",
+
       Name = "Flame",
       DefCategory = "ThingDef",
+
       DefCategory = "DamageDef",
       FileName = "Alcohol_Beer.xml",
+
       FileName = "Damages_Environmental.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Beer",
+
     defName = "Flame",
     label = "beer",
+
     label = "flame",
     description = [[The first beverage besides water ever consumed by mankind. Beer can taste good, but its main effect is intoxication. Excessive consumption can lead to alcohol blackouts and, over time, addiction.]],
+
     defaultDamage = 10,
    stackLimit = 25,
+
  },
     statBases = {
+
 
       DeteriorationRate = 0.5,
+
  ["DamageDef:Burn"] = {
       MarketValue = 12,
+
     _ = {
       Mass = 0.3,
+
       ParentName = "Flame",
       Flammability = 0.5,
+
       DefCategory = "DamageDef",
       Nutrition = 0.08,
+
       FileName = "Damages_Environmental.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Burn",
      foodType = {
+
    label = "burn",
        "Fluid",
+
  },
        "Processed",
+
 
        "Liquor",
+
  ["DamageDef:Frostbite"] = {
      },
+
    _ = {
      joyKind = "Chemical",
+
      DefCategory = "DamageDef",
      joy = 0.17,
+
      FileName = "Damages_Environmental.xml",
      drugCategory = "Social",
+
      GameVersion = "1.2.2753",
      chairSearchRadius = 25,
+
      DLC = "Core",
      canAutoSelectAsFoodForCaravan = false,
 
      outcomeDoers = {
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "AlcoholHigh",
 
          severity = 0.15,
 
          toleranceChemical = "Alcohol",
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "AlcoholTolerance",
 
          severity = 0.016,
 
          divideByBodySize = true,
 
        },
 
      },
 
 
     },
 
     },
     comps = {
+
     defName = "Frostbite",
      {
+
    label = "frostbite",
        _ = {
+
  },
          Class = "CompProperties_Drug",
+
 
        },
+
  ["DamageDef:TornadoScratch"] = {
        chemical = "Alcohol",
+
    _ = {
        addictiveness = 0.010,
+
      DefCategory = "DamageDef",
        minToleranceToAddict = 0.25,
+
      FileName = "Damages_Environmental.xml",
        existingAddictionSeverityOffset = 0.20,
+
      GameVersion = "1.2.2753",
        needLevelOffset = 0.9,
+
       DLC = "Core",
        listOrder = 10,
 
      },
 
       {
 
        compClass = "CompEquippable",
 
      },
 
 
     },
 
     },
     tools = {
+
     defName = "TornadoScratch",
      {
+
    label = "scratch",
        label = "bottle",
+
  },
        capacities = {
+
 
          "Blunt",
+
  ["DamageDef:SurgicalCut"] = {
        },
+
    _ = {
        power = 9,
+
       ParentName = "CutBase",
        cooldownTime = 2,
+
       DefCategory = "DamageDef",
       },
+
      FileName = "Damages_Medical.xml",
       {
+
      GameVersion = "1.2.2753",
        label = "neck",
+
       DLC = "Core",
        capacities = {
 
          "Poke",
 
        },
 
        power = 9,
 
        cooldownTime = 2,
 
       },
 
 
     },
 
     },
 +
    defName = "SurgicalCut",
 +
    label = "surgical cut",
 
   },
 
   },
  
   ["ThingDef:Wort"] = {
+
   ["DamageDef:ExecutionCut"] = {
 
     _ = {
 
     _ = {
       ParentName = "ResourceBase",
+
       ParentName = "CutBase",
       DefCategory = "ThingDef",
+
       DefCategory = "DamageDef",
       FileName = "Alcohol_Beer.xml",
+
       FileName = "Damages_Medical.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Wort",
+
     defName = "ExecutionCut",
     label = "wort",
+
     label = "execution cut",
     description = [[Un-fermented beer. This substance needs to ferment in a fermenting barrel before it becomes drinkable beer.]],
+
  },
    stackLimit = 25,
+
 
    thingCategories = {
+
  ["DamageDef:Cut"] = {
       "Manufactured",
+
     _ = {
 +
      Name = "CutBase",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_MeleeWeapon.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     statBases = {
+
     defName = "Cut",
      DeteriorationRate = 1.0,
+
    label = "cut",
       MarketValue = 2.5,
+
  },
       Mass = 0.8,
+
 
       Flammability = 0.2,
+
  ["DamageDef:Crush"] = {
       MaxHitPoints = 60,
+
    _ = {
 +
       DefCategory = "DamageDef",
 +
       FileName = "Damages_MeleeWeapon.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Crush",
      {
+
    label = "crush",
        _ = {
+
  },
          Class = "CompProperties_Rottable",
+
 
        },
+
  ["DamageDef:Blunt"] = {
        daysToRotStart = 5,
+
    _ = {
        rotDestroys = true,
+
      Name = "BluntBase",
       },
+
      DefCategory = "DamageDef",
 +
      FileName = "Damages_MeleeWeapon.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Blunt",
 +
    label = "blunt",
 
   },
 
   },
  
   ["ThingDef:Ambrosia"] = {
+
   ["DamageDef:Poke"] = {
 
     _ = {
 
     _ = {
       ParentName = "DrugBase",
+
       ParentName = "BluntBase",
       DefCategory = "ThingDef",
+
       DefCategory = "DamageDef",
       FileName = "Ambrosia.xml",
+
       FileName = "Damages_MeleeWeapon.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Ambrosia",
+
     defName = "Poke",
    label = "ambrosia",
+
  },
    description = [[A soft, rare fruit. Ambrosia tastes wonderful and produces a subtle mood-increasing chemical high. However, if eaten too often, it can generate a mild addiction.]],
+
 
    tradeability = "Sellable",
+
  ["DamageDef:Stab"] = {
    statBases = {
+
     _ = {
      MarketValue = 15,
+
       DefCategory = "DamageDef",
      Mass = 0.1,
+
       FileName = "Damages_MeleeWeapon.xml",
      DeteriorationRate = 4,
+
       GameVersion = "1.2.2753",
      Nutrition = 0.2,
+
       DLC = "Core",
     },
 
    ingestible = {
 
      baseIngestTicks = 80,
 
      chairSearchRadius = 4,
 
      preferability = "DesperateOnly",
 
      tasteThought = {},
 
       foodType = {
 
        "VegetableOrFruit",
 
       },
 
      joyKind = "Chemical",
 
      joy = 0.5,
 
      drugCategory = "Social",
 
       canAutoSelectAsFoodForCaravan = false,
 
      outcomeDoers = {
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "AmbrosiaHigh",
 
          severity = 0.50,
 
          toleranceChemical = "Ambrosia",
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "AmbrosiaTolerance",
 
          severity = 0.032,
 
          divideByBodySize = true,
 
        },
 
      },
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Rottable",
 
        },
 
        daysToRotStart = 30,
 
        rotDestroys = true,
 
      },
 
       {
 
        _ = {
 
          Class = "CompProperties_Drug",
 
        },
 
        chemical = "Ambrosia",
 
        addictiveness = 0.010,
 
        minToleranceToAddict = 0.15,
 
        existingAddictionSeverityOffset = 0.1,
 
        needLevelOffset = 0.9,
 
        listOrder = 30,
 
      },
 
 
     },
 
     },
 +
    defName = "Stab",
 +
    label = "stab",
 
   },
 
   },
  
   ["ThingDef:DrugBase"] = {
+
   ["DamageDef:Scratch"] = {
 
     _ = {
 
     _ = {
       Name = "DrugBase",
+
       Name = "Scratch",
      Abstract = true,
+
       DefCategory = "DamageDef",
       DefCategory = "ThingDef",
+
       FileName = "Damages_MeleeWeapon.xml",
       FileName = "DrugBases.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "ThingWithComps",
+
     defName = "Scratch",
     category = "Item",
+
     label = "scratch",
    useHitPoints = true,
+
  },
     statBases = {
+
 
       MaxHitPoints = 50,
+
  ["DamageDef:ScratchToxic"] = {
       Flammability = 1.0,
+
     _ = {
       DeteriorationRate = 2,
+
       ParentName = "Scratch",
       Beauty = -4,
+
      DefCategory = "DamageDef",
 +
       FileName = "Damages_MeleeWeapon.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     altitudeLayer = "Item",
+
     defName = "ScratchToxic",
     stackLimit = 150,
+
     label = "toxic scratch",
     thingCategories = {
+
  },
       "Drugs",
+
 
 +
  ["DamageDef:Bite"] = {
 +
     _ = {
 +
       Name = "Bite",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_MeleeWeapon.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     tradeTags = {
+
     defName = "Bite",
       "Drugs",
+
    label = "bite",
 +
  },
 +
 
 +
  ["DamageDef:ToxicBite"] = {
 +
    _ = {
 +
      ParentName = "Bite",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_MeleeWeapon.xml",
 +
       GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "ToxicBite",
      {
+
    label = "toxic bite",
        _ = {
+
  },
          Class = "CompProperties_Forbiddable",
+
 
        },
+
  ["DamageDef:Deterioration"] = {
       },
+
    _ = {
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_Misc.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     pathCost = 14,
+
     defName = "Deterioration",
     ingestible = {
+
    label = "deterioration",
       preferability = "NeverForNutrition",
+
  },
       chairSearchRadius = 8,
+
 
 +
  ["DamageDef:Mining"] = {
 +
     _ = {
 +
       DefCategory = "DamageDef",
 +
      FileName = "Damages_Misc.xml",
 +
       GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
 +
    defName = "Mining",
 +
    label = "mining",
 
   },
 
   },
  
   ["ThingDef:MakeableDrugBase"] = {
+
   ["DamageDef:Rotting"] = {
 
     _ = {
 
     _ = {
      Name = "MakeableDrugBase",
+
       DefCategory = "DamageDef",
      ParentName = "DrugBase",
+
       FileName = "Damages_Misc.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "DrugBases.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "Rotting",
      workSpeedStat = "DrugSynthesisSpeed",
+
    label = "rotting",
       workSkill = "Intellectual",
+
  },
       effectWorking = "Cook",
+
 
       soundWorking = "Recipe_CookMeal",
+
  ["DamageDef:Extinguish"] = {
       bulkRecipeCount = 4,
+
    _ = {
 +
       DefCategory = "DamageDef",
 +
       FileName = "Damages_Misc.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Extinguish",
 +
    label = "extinguish",
 +
    defaultDamage = 999999,
 
   },
 
   },
  
   ["ThingDef:MakeableDrugPillBase"] = {
+
   ["DamageDef:Bomb"] = {
 
     _ = {
 
     _ = {
       Name = "MakeableDrugPillBase",
+
       Name = "Bomb",
      ParentName = "MakeableDrugBase",
+
       DefCategory = "DamageDef",
      Abstract = true,
+
       FileName = "Damages_Misc.xml",
       DefCategory = "ThingDef",
 
       FileName = "DrugBases.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Bomb",
       foodType = {
+
    label = "bomb",
        "Processed",
+
    defaultDamage = 50,
       },
+
  },
       baseIngestTicks = 100,
+
 
       chairSearchRadius = 0,
+
  ["DamageDef:BombSuper"] = {
 +
    _ = {
 +
       ParentName = "Bomb",
 +
      DefCategory = "DamageDef",
 +
       FileName = "Damages_Misc.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "BombSuper",
 +
    defaultDamage = 550,
 
   },
 
   },
  
   ["ThingDef:DrugPillBase"] = {
+
   ["DamageDef:Smoke"] = {
 
     _ = {
 
     _ = {
      Name = "DrugPillBase",
+
       DefCategory = "DamageDef",
      ParentName = "DrugBase",
+
       FileName = "Damages_Misc.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "DrugBases.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Smoke",
      foodType = {
+
    label = "smoke",
        "Processed",
+
    defaultDamage = 0,
       },
+
  },
       baseIngestTicks = 100,
+
 
       chairSearchRadius = 0,
+
  ["DamageDef:RangedStab"] = {
 +
    _ = {
 +
      DefCategory = "DamageDef",
 +
       FileName = "Damages_RangedWeapon.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "RangedStab",
 +
    label = "stab",
 
   },
 
   },
  
   ["ThingDef:GoJuice"] = {
+
   ["DamageDef:Bullet"] = {
 
     _ = {
 
     _ = {
      ParentName = "MakeableDrugBase",
+
       DefCategory = "DamageDef",
       DefCategory = "ThingDef",
+
       FileName = "Damages_RangedWeapon.xml",
       FileName = "GoJuice.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GoJuice",
+
     defName = "Bullet",
     label = "go-juice",
+
     label = "bullet",
     description = [[A synthetic performance-enhancing drug developed for space marines during the early days of interplanetary warfare. Go-juice blocks pain, increases movement speed, and improves the user's melee and shooting abilities.\n\nThe military chemists who created it were never able to remove its addictiveness. Some saw this as a downside; others saw it as a benefit.]],
+
  },
 +
 
 +
  ["DamageDef:Arrow"] = {
 +
    _ = {
 +
      Name = "Arrow",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_RangedWeapon.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Arrow",
 +
    label = "arrow",
 +
  },
 +
 
 +
  ["DamageDef:ArrowHighVelocity"] = {
 +
    _ = {
 +
      ParentName = "Arrow",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_RangedWeapon.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "ArrowHighVelocity",
 +
  },
 +
 
 +
  ["DamageDef:Stun"] = {
 +
    _ = {
 +
      ParentName = "StunBase",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_Stun.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Stun",
 +
     label = "stun",
 +
    defaultDamage = 20,
 +
  },
 +
 
 +
  ["DamageDef:EMP"] = {
 +
    _ = {
 +
      ParentName = "StunBase",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_Stun.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "EMP",
 +
    label = "EMP",
 +
    defaultDamage = 50,
 +
  },
 +
 
 +
  ["ThingDef:Beer"] = {
 +
    _ = {
 +
      ParentName = "DrugBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Alcohol_Beer.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Beer",
 +
    label = "beer",
 +
    description = [[The first beverage besides water ever consumed by mankind. Beer can taste good, but its main effect is intoxication. Excessive consumption can lead to alcohol blackouts and, over time, addiction.]],
 +
    stackLimit = 25,
 
     statBases = {
 
     statBases = {
       WorkToMake = 600,
+
       DeteriorationRate = 0.5,
       MarketValue = 53,
+
       MarketValue = 12,
       Mass = 0.1,
+
       Mass = 0.3,
 +
      Flammability = 0.5,
 +
      Nutrition = 0.08,
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
      joyKind = "Chemical",
 
      joy = 0.40,
 
      drugCategory = "Hard",
 
 
       foodType = {
 
       foodType = {
 +
        "Fluid",
 
         "Processed",
 
         "Processed",
         "Fluid",
+
         "Liquor",
 
       },
 
       },
       baseIngestTicks = 80,
+
       joyKind = "Chemical",
       chairSearchRadius = 0,
+
      joy = 0.17,
 +
      drugCategory = "Social",
 +
       chairSearchRadius = 25,
 +
      canAutoSelectAsFoodForCaravan = false,
 
       outcomeDoers = {
 
       outcomeDoers = {
 
         {
 
         {
Line 844: Line 891:
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
           },
 
           },
           hediffDef = "GoJuiceHigh",
+
           hediffDef = "AlcoholHigh",
           severity = 0.5,
+
           severity = 0.15,
           toleranceChemical = "GoJuice",
+
           toleranceChemical = "Alcohol",
 
         },
 
         },
 
         {
 
         {
 
           _ = {
 
           _ = {
             Class = "IngestionOutcomeDoer_OffsetNeed",
+
             Class = "IngestionOutcomeDoer_GiveHediff",
 
           },
 
           },
           need = "Rest",
+
           hediffDef = "AlcoholTolerance",
           offset = 0.4,
+
           severity = 0.016,
           toleranceChemical = "GoJuice",
+
           divideByBodySize = true,
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_OffsetPsyfocus",
 
          },
 
          offset = 0.15,
 
 
         },
 
         },
 
       },
 
       },
    },
 
    recipeMaker = {
 
      researchPrerequisite = "GoJuiceProduction",
 
      recipeUsers = {
 
        "DrugLab",
 
      },
 
      soundWorking = "Recipe_Drug",
 
    },
 
    costList = {
 
      Neutroamine = 2,
 
      Yayo = 1,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 880: Line 910:
 
           Class = "CompProperties_Drug",
 
           Class = "CompProperties_Drug",
 
         },
 
         },
         chemical = "GoJuice",
+
         chemical = "Alcohol",
         addictiveness = 0.026,
+
         addictiveness = 0.010,
 +
        minToleranceToAddict = 0.25,
 
         existingAddictionSeverityOffset = 0.20,
 
         existingAddictionSeverityOffset = 0.20,
 
         needLevelOffset = 0.9,
 
         needLevelOffset = 0.9,
        isCombatEnhancingDrug = true,
+
         listOrder = 10,
         listOrder = 200,
 
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 
        largeOverdoseChance = 0.005,
 
 
       },
 
       },
     },
+
      {
 +
        compClass = "CompEquippable",
 +
      },
 +
    },
 +
    tools = {
 +
      {
 +
        label = "bottle",
 +
        capacities = {
 +
          "Blunt",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
      {
 +
        label = "neck",
 +
        capacities = {
 +
          "Poke",
 +
        },
 +
        power = 9,
 +
        cooldownTime = 2,
 +
      },
 +
     },
 
   },
 
   },
  
   ["ThingDef:Luciferium"] = {
+
   ["ThingDef:Wort"] = {
 
     _ = {
 
     _ = {
       ParentName = "DrugPillBase",
+
       ParentName = "ResourceBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Luciferium.xml",
+
       FileName = "Alcohol_Beer.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Luciferium",
+
     defName = "Wort",
     label = "luciferium",
+
     label = "wort",
     description = [[A concoction of mechanites that dramatically improve the body's functioning in all respects. Over time, it can even heal old scarred-over wounds or brain damage, though it cannot regenerate lost limbs. Unfortunately, without the moderating effects of regular doses every five or six days, the mechanites lose cohesion, causing continuous berserk rages and, eventually, death.\n\nAfter the first dose, there is no way to get the mechanites out, ever.\n\nOn the urbworlds, they call Luciferium the 'Devil's Bargain'. Many have been forced to kill friends when no more of the seductive red pills could be found.]],
+
     description = [[Un-fermented beer. This substance needs to ferment in a fermenting barrel before it becomes drinkable beer.]],
 +
    stackLimit = 25,
 +
    thingCategories = {
 +
      "Manufactured",
 +
    },
 
     statBases = {
 
     statBases = {
       MarketValue = 70,
+
       DeteriorationRate = 1.0,
       Mass = 0.01,
+
       MarketValue = 2.5,
    },
+
       Mass = 0.8,
    ingestible = {
+
       Flammability = 0.2,
       drugCategory = "Medical",
+
      MaxHitPoints = 60,
       outcomeDoers = {
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "LuciferiumHigh",
 
          severity = 1.00,
 
          doToGeneratedPawnIfAddicted = true,
 
        },
 
      },
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Drug",
+
           Class = "CompProperties_Rottable",
 
         },
 
         },
         chemical = "Luciferium",
+
         daysToRotStart = 5,
         addictiveness = 1.00,
+
         rotDestroys = true,
        needLevelOffset = 0.9,
 
        listOrder = 1010,
 
 
       },
 
       },
    },
 
    tradeTags = {
 
      "ExoticMisc",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Penoxycyline"] = {
+
   ["ThingDef:Ambrosia"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableDrugPillBase",
+
       ParentName = "DrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Penoxycyline.xml",
+
       FileName = "Ambrosia.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Penoxycyline",
+
     defName = "Ambrosia",
     label = "penoxycyline",
+
     label = "ambrosia",
     description = [[A drug for preventing infections before they take hold. Blocks malaria, sleeping sickness, plague. Must be taken every five days to remain effective.\n\nThis drug only prevents new infections. It does not cure existing infections - even those that are not yet discovered.]],
+
     description = [[A soft, rare fruit. Ambrosia tastes wonderful and produces a subtle mood-increasing chemical high. However, if eaten too often, it can generate a mild addiction.]],
 +
    tradeability = "Sellable",
 
     statBases = {
 
     statBases = {
       WorkToMake = 600,
+
       MarketValue = 15,
       MarketValue = 18,
+
       Mass = 0.1,
       Mass = 0.005,
+
       DeteriorationRate = 4,
       Flammability = 0.7,
+
       Nutrition = 0.2,
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
       drugCategory = "Medical",
+
      baseIngestTicks = 80,
 +
      chairSearchRadius = 4,
 +
      preferability = "DesperateOnly",
 +
      tasteThought = {},
 +
      foodType = {
 +
        "VegetableOrFruit",
 +
      },
 +
      joyKind = "Chemical",
 +
      joy = 0.5,
 +
       drugCategory = "Social",
 +
      canAutoSelectAsFoodForCaravan = false,
 
       outcomeDoers = {
 
       outcomeDoers = {
 
         {
 
         {
Line 960: Line 1,009:
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
           },
 
           },
           hediffDef = "PenoxycylineHigh",
+
           hediffDef = "AmbrosiaHigh",
           severity = 1.0,
+
           severity = 0.50,
 +
          toleranceChemical = "Ambrosia",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "AmbrosiaTolerance",
 +
          severity = 0.032,
 +
          divideByBodySize = true,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
     recipeMaker = {
+
     comps = {
       researchPrerequisite = "PenoxycylineProduction",
+
       {
      recipeUsers = {
+
        _ = {
         "DrugLab",
+
          Class = "CompProperties_Rottable",
 +
        },
 +
        daysToRotStart = 30,
 +
         rotDestroys = true,
 
       },
 
       },
    },
 
    costList = {
 
      Neutroamine = 2,
 
    },
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
 
           Class = "CompProperties_Drug",
 
           Class = "CompProperties_Drug",
 
         },
 
         },
         listOrder = 1000,
+
         chemical = "Ambrosia",
         overdoseSeverityOffset = { ["<"]=0.08, [">"]=0.14 },
+
         addictiveness = 0.010,
 +
        minToleranceToAddict = 0.15,
 +
        existingAddictionSeverityOffset = 0.1,
 +
        needLevelOffset = 0.9,
 +
        listOrder = 30,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Flake"] = {
+
   ["ThingDef:DrugBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableDrugBase",
+
       Name = "DrugBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Psychite_Flake.xml",
+
       FileName = "DrugBases.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Flake",
+
     thingClass = "ThingWithComps",
     label = "flake",
+
     category = "Item",
     description = [[A flaky white preparation of psychite that can be smoked to induce a short but powerful euphoric state. While it is cheap to produce and extremely pleasurable to use, it is exceptionally addictive. Flake is known for destroying lives, communities, and entire societies.]],
+
     useHitPoints = true,
 
     statBases = {
 
     statBases = {
       WorkToMake = 250,
+
       MaxHitPoints = 50,
       MarketValue = 14,
+
       Flammability = 1.0,
       Mass = 0.05,
+
      DeteriorationRate = 2,
 +
       Beauty = -4,
 
     },
 
     },
     ingestible = {
+
     altitudeLayer = "Item",
      foodType = {
+
    stackLimit = 150,
        "Processed",
+
    thingCategories = {
      },
+
       "Drugs",
      joyKind = "Chemical",
 
      joy = 0.70,
 
       baseIngestTicks = 650,
 
      drugCategory = "Hard",
 
      outcomeDoers = {
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "FlakeHigh",
 
          severity = 0.75,
 
          toleranceChemical = "Psychite",
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_OffsetNeed",
 
          },
 
          need = "Rest",
 
          offset = 0.2,
 
          toleranceChemical = "Psychite",
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "PsychiteTolerance",
 
          severity = 0.04,
 
          divideByBodySize = true,
 
        },
 
      },
 
 
     },
 
     },
     recipeMaker = {
+
     tradeTags = {
       researchPrerequisite = "PsychiteRefining",
+
       "Drugs",
      recipeUsers = {
 
        "DrugLab",
 
      },
 
      soundWorking = "Recipe_Drug",
 
    },
 
    costList = {
 
      PsychoidLeaves = 4,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Drug",
+
           Class = "CompProperties_Forbiddable",
 
         },
 
         },
        chemical = "Psychite",
 
        addictiveness = 0.05,
 
        existingAddictionSeverityOffset = 0.30,
 
        needLevelOffset = 0.9,
 
        listOrder = 110,
 
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 
        largeOverdoseChance = 0.015,
 
 
       },
 
       },
 +
    },
 +
    pathCost = 14,
 +
    ingestible = {
 +
      preferability = "NeverForNutrition",
 +
      chairSearchRadius = 8,
 +
    },
 +
  },
 +
 +
  ["ThingDef:MakeableDrugBase"] = {
 +
    _ = {
 +
      Name = "MakeableDrugBase",
 +
      ParentName = "DrugBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "DrugBases.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    recipeMaker = {
 +
      workSpeedStat = "DrugSynthesisSpeed",
 +
      workSkill = "Intellectual",
 +
      effectWorking = "Cook",
 +
      soundWorking = "Recipe_CookMeal",
 +
      bulkRecipeCount = 4,
 +
    },
 +
  },
 +
 +
  ["ThingDef:MakeableDrugPillBase"] = {
 +
    _ = {
 +
      Name = "MakeableDrugPillBase",
 +
      ParentName = "MakeableDrugBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "DrugBases.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "Processed",
 +
      },
 +
      baseIngestTicks = 100,
 +
      chairSearchRadius = 0,
 +
    },
 +
  },
 +
 +
  ["ThingDef:DrugPillBase"] = {
 +
    _ = {
 +
      Name = "DrugPillBase",
 +
      ParentName = "DrugBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "DrugBases.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "Processed",
 +
      },
 +
      baseIngestTicks = 100,
 +
      chairSearchRadius = 0,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PsychiteTea"] = {
+
   ["ThingDef:GoJuice"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "MakeableDrugBase",
 
       ParentName = "MakeableDrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Psychite_Tea.xml",
+
       FileName = "GoJuice.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychiteTea",
+
     defName = "GoJuice",
     label = "psychite tea",
+
     label = "go-juice",
     description = [[A fragrant tea infused with leaves of the psychoid plant. Drinking it induces a subtle psychite euphoria. This tea is easy to produce at cooking facilities, but can produce psychite addiction if consumed too often.\n\nMany tribes use psychoid tea, both as a daily energizer and as part of social and religious rituals.]],
+
     description = [[A synthetic performance-enhancing drug developed for space marines during the early days of interplanetary warfare. Go-juice blocks pain, increases movement speed, and improves the user's melee and shooting abilities.\n\nThe military chemists who created it were never able to remove its addictiveness. Some saw this as a downside; others saw it as a benefit.]],
 
     statBases = {
 
     statBases = {
       WorkToMake = 400,
+
       WorkToMake = 600,
       MarketValue = 10,
+
       MarketValue = 53,
       Mass = 0.05,
+
       Mass = 0.1,
      DeteriorationRate = 6,
 
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
 +
      joyKind = "Chemical",
 +
      joy = 0.40,
 +
      drugCategory = "Hard",
 
       foodType = {
 
       foodType = {
 +
        "Processed",
 
         "Fluid",
 
         "Fluid",
        "Processed",
 
 
       },
 
       },
       joyKind = "Chemical",
+
       baseIngestTicks = 80,
       joy = 0.40,
+
       chairSearchRadius = 0,
      baseIngestTicks = 210,
 
      drugCategory = "Social",
 
 
       outcomeDoers = {
 
       outcomeDoers = {
 
         {
 
         {
Line 1,093: Line 1,173:
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
           },
 
           },
           hediffDef = "PsychiteTeaHigh",
+
           hediffDef = "GoJuiceHigh",
           severity = 0.75,
+
           severity = 0.5,
           toleranceChemical = "Psychite",
+
           toleranceChemical = "GoJuice",
 
         },
 
         },
 
         {
 
         {
Line 1,102: Line 1,182:
 
           },
 
           },
 
           need = "Rest",
 
           need = "Rest",
           offset = 0.1,
+
           offset = 0.4,
           toleranceChemical = "Psychite",
+
           toleranceChemical = "GoJuice",
 
         },
 
         },
 
         {
 
         {
 
           _ = {
 
           _ = {
             Class = "IngestionOutcomeDoer_GiveHediff",
+
             Class = "IngestionOutcomeDoer_OffsetPsyfocus",
 
           },
 
           },
           hediffDef = "PsychiteTolerance",
+
           offset = 0.15,
          severity = 0.03,
 
          divideByBodySize = true,
 
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     recipeMaker = {
 
     recipeMaker = {
       researchPrerequisite = "PsychoidBrewing",
+
       researchPrerequisite = "GoJuiceProduction",
 
       recipeUsers = {
 
       recipeUsers = {
         "Campfire",
+
         "DrugLab",
        "ElectricStove",
 
        "FueledStove",
 
 
       },
 
       },
       workSpeedStat = "DrugCookingSpeed",
+
       soundWorking = "Recipe_Drug",
      workSkill = "Cooking",
 
      skillRequirements = {
 
        Cooking = 2,
 
      },
 
      requiredGiverWorkType = "Cooking",
 
 
     },
 
     },
 
     costList = {
 
     costList = {
       PsychoidLeaves = 4,
+
       Neutroamine = 2,
 +
      Yayo = 1,
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 1,137: Line 1,209:
 
           Class = "CompProperties_Drug",
 
           Class = "CompProperties_Drug",
 
         },
 
         },
         chemical = "Psychite",
+
         chemical = "GoJuice",
         addictiveness = 0.02,
+
         addictiveness = 0.026,
        minToleranceToAddict = 0.10,
+
         existingAddictionSeverityOffset = 0.20,
         existingAddictionSeverityOffset = 0.15,
 
 
         needLevelOffset = 0.9,
 
         needLevelOffset = 0.9,
         listOrder = 110,
+
        isCombatEnhancingDrug = true,
 +
         listOrder = 200,
 +
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 +
        largeOverdoseChance = 0.005,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Yayo"] = {
+
   ["ThingDef:Luciferium"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableDrugBase",
+
       ParentName = "DrugPillBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Psychite_Yayo.xml",
+
       FileName = "Luciferium.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Yayo",
+
     defName = "Luciferium",
     label = "yayo",
+
     label = "luciferium",
     description = [[A refined powdery preparation of the psychite drug. When snorted, it produces a rapid euphoric high, dramatically reduces the user's need for rest, and suppresses pain. Like all forms of psychite, it is addictive, though it is not as addictive as the cruder flake.\n\nBecause of its high cost and refined appearance, many cultures associate yayo with degenerate wealth. Whether in the throneroom or the boardroom, many hare-brained policy schemes have been developed during yayo-fueled binge parties.]],
+
     description = [[A concoction of mechanites that dramatically improve the body's functioning in all respects. Over time, it can even heal old scarred-over wounds or brain damage, though it cannot regenerate lost limbs. Unfortunately, without the moderating effects of regular doses every five or six days, the mechanites lose cohesion, causing continuous berserk rages and, eventually, death.\n\nAfter the first dose, there is no way to get the mechanites out, ever.\n\nOn the urbworlds, they call Luciferium the 'Devil's Bargain'. Many have been forced to kill friends when no more of the seductive red pills could be found.]],
 
     statBases = {
 
     statBases = {
      WorkToMake = 350,
+
       MarketValue = 70,
       MarketValue = 21,
+
       Mass = 0.01,
       Mass = 0.05,
 
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
      foodType = {
+
       drugCategory = "Medical",
        "Processed",
 
      },
 
      joyKind = "Chemical",
 
      joy = 0.80,
 
       drugCategory = "Hard",
 
      baseIngestTicks = 150,
 
 
       outcomeDoers = {
 
       outcomeDoers = {
 
         {
 
         {
Line 1,176: Line 1,243:
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
           },
 
           },
           hediffDef = "YayoHigh",
+
           hediffDef = "LuciferiumHigh",
           severity = 0.75,
+
           severity = 1.00,
           toleranceChemical = "Psychite",
+
           doToGeneratedPawnIfAddicted = true,
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_OffsetNeed",
 
          },
 
          need = "Rest",
 
          offset = 0.4,
 
          toleranceChemical = "Psychite",
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "PsychiteTolerance",
 
          severity = 0.040,
 
          divideByBodySize = true,
 
 
         },
 
         },
 
       },
 
       },
    },
 
    recipeMaker = {
 
      researchPrerequisite = "PsychiteRefining",
 
      recipeUsers = {
 
        "DrugLab",
 
      },
 
      soundWorking = "Recipe_Drug",
 
    },
 
    costList = {
 
      PsychoidLeaves = 8,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 1,213: Line 1,254:
 
           Class = "CompProperties_Drug",
 
           Class = "CompProperties_Drug",
 
         },
 
         },
         chemical = "Psychite",
+
         chemical = "Luciferium",
         addictiveness = 0.01,
+
         addictiveness = 1.00,
        existingAddictionSeverityOffset = 0.20,
 
 
         needLevelOffset = 0.9,
 
         needLevelOffset = 0.9,
        isCombatEnhancingDrug = true,
+
         listOrder = 1010,
         listOrder = 100,
 
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 
        largeOverdoseChance = 0.01,
 
 
       },
 
       },
 +
    },
 +
    tradeTags = {
 +
      "ExoticMisc",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SmokeleafJoint"] = {
+
   ["ThingDef:Penoxycyline"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableDrugBase",
+
       ParentName = "MakeableDrugPillBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Smokeleaf.xml",
+
       FileName = "Penoxycyline.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SmokeleafJoint",
+
     defName = "Penoxycyline",
     label = "smokeleaf joint",
+
     label = "penoxycyline",
     description = [[Smokeleaf leaves prepared in small rolls for smoking. The drug improves mood, but also increases appetite, reduces focus and slows movement. Smokeleaf use can produce a dependency.\n\nJoints can be produced at a crafting spot without equipment, and are a fixture in many traditional low-industriousness cultures.]],
+
     description = [[A drug for preventing infections before they take hold. Blocks malaria, sleeping sickness, plague. Must be taken every five days to remain effective.\n\nThis drug only prevents new infections. It does not cure existing infections - even those that are not yet discovered.]],
 
     statBases = {
 
     statBases = {
       WorkToMake = 450,
+
       WorkToMake = 600,
       MarketValue = 11,
+
       MarketValue = 18,
       Mass = 0.05,
+
       Mass = 0.005,
      DeteriorationRate = 6,
+
       Flammability = 0.7,
       Flammability = 1.3,
 
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
      foodType = {
+
       drugCategory = "Medical",
        "Plant",
 
        "Processed",
 
      },
 
      joyKind = "Chemical",
 
      joy = 0.80,
 
      baseIngestTicks = 720,
 
       drugCategory = "Social",
 
 
       outcomeDoers = {
 
       outcomeDoers = {
 
         {
 
         {
Line 1,257: Line 1,289:
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
           },
 
           },
           hediffDef = "SmokeleafHigh",
+
           hediffDef = "PenoxycylineHigh",
           severity = 0.5,
+
           severity = 1.0,
          toleranceChemical = "Smokeleaf",
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_OffsetNeed",
 
          },
 
          need = "Rest",
 
          offset = -0.1,
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "SmokeleafTolerance",
 
          severity = 0.030,
 
          divideByBodySize = true,
 
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     recipeMaker = {
 
     recipeMaker = {
 +
      researchPrerequisite = "PenoxycylineProduction",
 
       recipeUsers = {
 
       recipeUsers = {
        "CraftingSpot",
 
 
         "DrugLab",
 
         "DrugLab",
 
       },
 
       },
      workSpeedStat = "DrugCookingSpeed",
 
      workSkill = "Cooking",
 
 
     },
 
     },
 
     costList = {
 
     costList = {
       SmokeleafLeaves = 4,
+
       Neutroamine = 2,
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 1,294: Line 1,308:
 
           Class = "CompProperties_Drug",
 
           Class = "CompProperties_Drug",
 
         },
 
         },
         chemical = "Smokeleaf",
+
         listOrder = 1000,
         addictiveness = 0.020,
+
         overdoseSeverityOffset = { ["<"]=0.08, [">"]=0.14 },
        minToleranceToAddict = 0.15,
 
        existingAddictionSeverityOffset = 0.06,
 
        needLevelOffset = 0.9,
 
        listOrder = 20,
 
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:WakeUp"] = {
+
   ["ThingDef:Flake"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableDrugPillBase",
+
       ParentName = "MakeableDrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "WakeUp.xml",
+
       FileName = "Psychite_Flake.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "WakeUp",
+
     defName = "Flake",
     label = "wake-up",
+
     label = "flake",
     description = [[A synthetic stimulant. Wake-up fills the user's need for rest, allowing them to work for extended periods without getting tired. However, taking wake-up runs the risk of developing an addiction.\n\nIn the most competitive universities and companies of many worlds, high-achievers are sometimes called 'wake-ups' because of the association with this drug.]],
+
     description = [[A flaky white preparation of psychite that can be smoked to induce a short but powerful euphoric state. While it is cheap to produce and extremely pleasurable to use, it is exceptionally addictive. Flake is known for destroying lives, communities, and entire societies.]],
 
     statBases = {
 
     statBases = {
       WorkToMake = 900,
+
       WorkToMake = 250,
       MarketValue = 35,
+
       MarketValue = 14,
       Mass = 0.005,
+
       Mass = 0.05,
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
 +
      foodType = {
 +
        "Processed",
 +
      },
 
       joyKind = "Chemical",
 
       joyKind = "Chemical",
       joy = 0.40,
+
       joy = 0.70,
 +
      baseIngestTicks = 650,
 
       drugCategory = "Hard",
 
       drugCategory = "Hard",
 
       outcomeDoers = {
 
       outcomeDoers = {
Line 1,329: Line 1,343:
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
             Class = "IngestionOutcomeDoer_GiveHediff",
 
           },
 
           },
           hediffDef = "WakeUpHigh",
+
           hediffDef = "FlakeHigh",
 
           severity = 0.75,
 
           severity = 0.75,
           toleranceChemical = "WakeUp",
+
           toleranceChemical = "Psychite",
 
         },
 
         },
 
         {
 
         {
Line 1,338: Line 1,352:
 
           },
 
           },
 
           need = "Rest",
 
           need = "Rest",
           offset = 1.0,
+
           offset = 0.2,
           toleranceChemical = "WakeUp",
+
           toleranceChemical = "Psychite",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "PsychiteTolerance",
 +
          severity = 0.04,
 +
          divideByBodySize = true,
 
         },
 
         },
 
       },
 
       },
 
     },
 
     },
 
     recipeMaker = {
 
     recipeMaker = {
       researchPrerequisite = "WakeUpProduction",
+
       researchPrerequisite = "PsychiteRefining",
 
       recipeUsers = {
 
       recipeUsers = {
 
         "DrugLab",
 
         "DrugLab",
 
       },
 
       },
 +
      soundWorking = "Recipe_Drug",
 
     },
 
     },
 
     costList = {
 
     costList = {
       Neutroamine = 2,
+
       PsychoidLeaves = 4,
 
     },
 
     },
 
     comps = {
 
     comps = {
Line 1,357: Line 1,380:
 
           Class = "CompProperties_Drug",
 
           Class = "CompProperties_Drug",
 
         },
 
         },
         chemical = "WakeUp",
+
         chemical = "Psychite",
         addictiveness = 0.02,
+
         addictiveness = 0.05,
         existingAddictionSeverityOffset = 0.20,
+
         existingAddictionSeverityOffset = 0.30,
 
         needLevelOffset = 0.9,
 
         needLevelOffset = 0.9,
         listOrder = 210,
+
         listOrder = 110,
 
         overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 
         overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
         largeOverdoseChance = 0.005,
+
         largeOverdoseChance = 0.015,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BodyPartArchotechBase"] = {
+
   ["ThingDef:PsychiteTea"] = {
 
     _ = {
 
     _ = {
      Name = "BodyPartArchotechBase",
+
       ParentName = "MakeableDrugBase",
       ParentName = "BodyPartBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Archotech.xml",
+
       FileName = "Psychite_Tea.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     defName = "PsychiteTea",
       "BodyPartsArchotech",
+
    label = "psychite tea",
 +
    description = [[A fragrant tea infused with leaves of the psychoid plant. Drinking it induces a subtle psychite euphoria. This tea is easy to produce at cooking facilities, but can produce psychite addiction if consumed too often.\n\nMany tribes use psychoid tea, both as a daily energizer and as part of social and religious rituals.]],
 +
    statBases = {
 +
       WorkToMake = 400,
 +
      MarketValue = 10,
 +
      Mass = 0.05,
 +
      DeteriorationRate = 6,
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "Fluid",
 +
        "Processed",
 +
      },
 +
      joyKind = "Chemical",
 +
      joy = 0.40,
 +
      baseIngestTicks = 210,
 +
      drugCategory = "Social",
 +
      outcomeDoers = {
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "PsychiteTeaHigh",
 +
          severity = 0.75,
 +
          toleranceChemical = "Psychite",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_OffsetNeed",
 +
          },
 +
          need = "Rest",
 +
          offset = 0.1,
 +
          toleranceChemical = "Psychite",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "PsychiteTolerance",
 +
          severity = 0.03,
 +
          divideByBodySize = true,
 +
        },
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "PsychoidBrewing",
 +
      recipeUsers = {
 +
        "Campfire",
 +
        "ElectricStove",
 +
        "FueledStove",
 +
      },
 +
      workSpeedStat = "DrugCookingSpeed",
 +
      workSkill = "Cooking",
 +
      skillRequirements = {
 +
        Cooking = 2,
 +
      },
 +
      requiredGiverWorkType = "Cooking",
 +
    },
 +
    costList = {
 +
      PsychoidLeaves = 4,
 
     },
 
     },
     statBases = {
+
     comps = {
       DeteriorationRate = 0,
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Drug",
 +
        },
 +
        chemical = "Psychite",
 +
        addictiveness = 0.02,
 +
        minToleranceToAddict = 0.10,
 +
        existingAddictionSeverityOffset = 0.15,
 +
        needLevelOffset = 0.9,
 +
        listOrder = 110,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArchotechEye"] = {
+
   ["ThingDef:Yayo"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartArchotechBase",
+
       ParentName = "MakeableDrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Archotech.xml",
+
       FileName = "Psychite_Yayo.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ArchotechEye",
+
     defName = "Yayo",
     label = "archotech eye",
+
     label = "yayo",
     description = [[An artifical eye built by an archotech. It perceives every type of electromagnetic radiation, including radio waves, infrared, light, x-rays, and gamma rays. Its visual acuity is precise enough to read handwriting from twenty meters away. It can emit various wavelengths of radiation like a flashlight, and has an internal subpersona AI which helps highlight useful visual information. Externally, it looks like a natural human eye, except it can change color at will. Its internal workings are a mystery to all human minds.]],
+
     description = [[A refined powdery preparation of the psychite drug. When snorted, it produces a rapid euphoric high, dramatically reduces the user's need for rest, and suppresses pain. Like all forms of psychite, it is addictive, though it is not as addictive as the cruder flake.\n\nBecause of its high cost and refined appearance, many cultures associate yayo with degenerate wealth. Whether in the throneroom or the boardroom, many hare-brained policy schemes have been developed during yayo-fueled binge parties.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 2800,
+
      WorkToMake = 350,
       Mass = 0.3,
+
       MarketValue = 21,
 +
       Mass = 0.05,
 +
    },
 +
    ingestible = {
 +
      foodType = {
 +
        "Processed",
 +
      },
 +
      joyKind = "Chemical",
 +
      joy = 0.80,
 +
      drugCategory = "Hard",
 +
      baseIngestTicks = 150,
 +
      outcomeDoers = {
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "YayoHigh",
 +
          severity = 0.75,
 +
          toleranceChemical = "Psychite",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_OffsetNeed",
 +
          },
 +
          need = "Rest",
 +
          offset = 0.4,
 +
          toleranceChemical = "Psychite",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "PsychiteTolerance",
 +
          severity = 0.040,
 +
          divideByBodySize = true,
 +
        },
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "PsychiteRefining",
 +
      recipeUsers = {
 +
        "DrugLab",
 +
      },
 +
      soundWorking = "Recipe_Drug",
 
     },
 
     },
  },
+
     costList = {
 
+
       PsychoidLeaves = 8,
  ["ThingDef:ArchotechArm"] = {
 
     _ = {
 
       ParentName = "BodyPartArchotechBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Hediffs_BodyParts_Archotech.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "ArchotechArm",
+
     comps = {
    label = "archotech arm",
+
      {
    description = [[An artifical arm built by an archotech. It's strong enough to crush a thick hardwood branch in its hand, and precise enough to write a sonnet on a grain of rice. It looks and feels like natural flesh, but it's harder to damage than plasteel. Even if it is harmed, it repairs itself over time. Its internal workings are a mystery to all human minds.]],
+
        _ = {
    statBases = {
+
          Class = "CompProperties_Drug",
      MarketValue = 2800,
+
        },
       Mass = 4,
+
        chemical = "Psychite",
 +
        addictiveness = 0.01,
 +
        existingAddictionSeverityOffset = 0.20,
 +
        needLevelOffset = 0.9,
 +
        isCombatEnhancingDrug = true,
 +
        listOrder = 100,
 +
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 +
        largeOverdoseChance = 0.01,
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArchotechLeg"] = {
+
   ["ThingDef:SmokeleafJoint"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartArchotechBase",
+
       ParentName = "MakeableDrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Archotech.xml",
+
       FileName = "Smokeleaf.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ArchotechLeg",
+
     defName = "SmokeleafJoint",
     label = "archotech leg",
+
     label = "smokeleaf joint",
     description = [[An artifical leg built by an archotech. It looks and feels like natural flesh, but a pair of these can move the user as fast as a decent car, and it's harder to damage than plasteel. Even if it is harmed, it repairs itself over time. Its internal workings are a mystery to all human minds.]],
+
     description = [[Smokeleaf leaves prepared in small rolls for smoking. The drug improves mood, but also increases appetite, reduces focus and slows movement. Smokeleaf use can produce a dependency.\n\nJoints can be produced at a crafting spot without equipment, and are a fixture in many traditional low-industriousness cultures.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 2800,
+
      WorkToMake = 450,
       Mass = 7,
+
       MarketValue = 11,
 +
       Mass = 0.05,
 +
      DeteriorationRate = 6,
 +
      Flammability = 1.3,
 
     },
 
     },
  },
+
    ingestible = {
 
+
      foodType = {
  ["ThingDef:BodyPartBase"] = {
+
        "Plant",
    _ = {
+
        "Processed",
      Name = "BodyPartBase",
+
      },
      Abstract = true,
+
      joyKind = "Chemical",
      DefCategory = "ThingDef",
+
      joy = 0.80,
      FileName = "Hediffs_BodyParts_Base.xml",
+
      baseIngestTicks = 720,
      GameVersion = "1.2.2753",
+
      drugCategory = "Social",
      DLC = "Core",
+
      outcomeDoers = {
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "SmokeleafHigh",
 +
          severity = 0.5,
 +
          toleranceChemical = "Smokeleaf",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_OffsetNeed",
 +
          },
 +
          need = "Rest",
 +
          offset = -0.1,
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "SmokeleafTolerance",
 +
          severity = 0.030,
 +
          divideByBodySize = true,
 +
        },
 +
      },
 
     },
 
     },
     thingClass = "ThingWithComps",
+
     recipeMaker = {
    category = "Item",
+
      recipeUsers = {
    useHitPoints = true,
+
        "CraftingSpot",
    altitudeLayer = "Item",
+
        "DrugLab",
    pathCost = 14,
+
       },
    statBases = {
+
       workSpeedStat = "DrugCookingSpeed",
      MaxHitPoints = 50,
+
       workSkill = "Cooking",
       Flammability = 0.7,
 
       Beauty = -4,
 
       DeteriorationRate = 2.0,
 
      Mass = 1,
 
 
     },
 
     },
     tradeTags = {
+
     costList = {
       "TechHediff",
+
       SmokeleafLeaves = 4,
 
     },
 
     },
 
     comps = {
 
     comps = {
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Forbiddable",
+
           Class = "CompProperties_Drug",
 
         },
 
         },
 +
        chemical = "Smokeleaf",
 +
        addictiveness = 0.020,
 +
        minToleranceToAddict = 0.15,
 +
        existingAddictionSeverityOffset = 0.06,
 +
        needLevelOffset = 0.9,
 +
        listOrder = 20,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BodyPartBionicBase"] = {
+
   ["ThingDef:WakeUp"] = {
 
     _ = {
 
     _ = {
      Name = "BodyPartBionicBase",
+
       ParentName = "MakeableDrugPillBase",
       ParentName = "BodyPartBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Bionic.xml",
+
       FileName = "WakeUp.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     defName = "WakeUp",
      "BodyPartsBionic",
+
     label = "wake-up",
     },
+
     description = [[A synthetic stimulant. Wake-up fills the user's need for rest, allowing them to work for extended periods without getting tired. However, taking wake-up runs the risk of developing an addiction.\n\nIn the most competitive universities and companies of many worlds, high-achievers are sometimes called 'wake-ups' because of the association with this drug.]],
    tradeTags = {
 
      "Bionic",
 
     },
 
 
     statBases = {
 
     statBases = {
       WorkToMake = 26000,
+
       WorkToMake = 900,
 +
      MarketValue = 35,
 +
      Mass = 0.005,
 
     },
 
     },
     recipeMaker = {
+
     ingestible = {
       workSpeedStat = "GeneralLaborSpeed",
+
       joyKind = "Chemical",
       workSkill = "Crafting",
+
       joy = 0.40,
       effectWorking = "Smith",
+
      drugCategory = "Hard",
      soundWorking = "Recipe_Smith",
+
       outcomeDoers = {
      unfinishedThingDef = "UnfinishedHealthItemBionic",
+
        {
      skillRequirements = {
+
          _ = {
         Crafting = 8,
+
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "WakeUpHigh",
 +
          severity = 0.75,
 +
          toleranceChemical = "WakeUp",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_OffsetNeed",
 +
          },
 +
          need = "Rest",
 +
          offset = 1.0,
 +
          toleranceChemical = "WakeUp",
 +
         },
 
       },
 
       },
       researchPrerequisite = "Bionics",
+
    },
 +
    recipeMaker = {
 +
       researchPrerequisite = "WakeUpProduction",
 
       recipeUsers = {
 
       recipeUsers = {
         "FabricationBench",
+
         "DrugLab",
 +
      },
 +
    },
 +
    costList = {
 +
      Neutroamine = 2,
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Drug",
 +
        },
 +
        chemical = "WakeUp",
 +
        addictiveness = 0.02,
 +
        existingAddictionSeverityOffset = 0.20,
 +
        needLevelOffset = 0.9,
 +
        listOrder = 210,
 +
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 +
        largeOverdoseChance = 0.005,
 
       },
 
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BionicEye"] = {
+
   ["ThingDef:BodyPartArchotechBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartBionicBase",
+
      Name = "BodyPartArchotechBase",
 +
       ParentName = "BodyPartBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Bionic.xml",
+
       FileName = "Hediffs_BodyParts_Archotech.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BionicEye",
+
     thingCategories = {
    label = "bionic eye",
+
      "BodyPartsArchotech",
    description = [[An advanced artifical eye. With its biogel nerve-link, internal signal pre-processor, and wide-spectrum sensors, it is better than a biological eye in almost every way. A lattice-dust healing system allows it to recover from damage.]],
 
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       Mass = 0.3,
+
       DeteriorationRate = 0,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BionicArm"] = {
+
   ["ThingDef:ArchotechEye"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartBionicBase",
+
       ParentName = "BodyPartArchotechBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Bionic.xml",
+
       FileName = "Hediffs_BodyParts_Archotech.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BionicArm",
+
     defName = "ArchotechEye",
     label = "bionic arm",
+
     label = "archotech eye",
     description = [[An advanced artificial arm. Silenced mini-servos give great strength, while the biogel nerve-link gives exquisite control. A lattice-dust healing system allows it to recover from damage. It is better than a biological arm in almost every way.]],
+
     description = [[An artifical eye built by an archotech. It perceives every type of electromagnetic radiation, including radio waves, infrared, light, x-rays, and gamma rays. Its visual acuity is precise enough to read handwriting from twenty meters away. It can emit various wavelengths of radiation like a flashlight, and has an internal subpersona AI which helps highlight useful visual information. Externally, it looks like a natural human eye, except it can change color at will. Its internal workings are a mystery to all human minds.]],
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
 
     statBases = {
 
     statBases = {
       Mass = 5,
+
      MarketValue = 2800,
 +
       Mass = 0.3,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BionicLeg"] = {
+
   ["ThingDef:ArchotechArm"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartBionicBase",
+
       ParentName = "BodyPartArchotechBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Bionic.xml",
+
       FileName = "Hediffs_BodyParts_Archotech.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BionicLeg",
+
     defName = "ArchotechArm",
     label = "bionic leg",
+
     label = "archotech arm",
     description = [[An advanced artificial leg. With its biogel nerve-link, powerful mini-servos, and lattice-dust healing system, it is better than a biological leg in almost every way.]],
+
     description = [[An artifical arm built by an archotech. It's strong enough to crush a thick hardwood branch in its hand, and precise enough to write a sonnet on a grain of rice. It looks and feels like natural flesh, but it's harder to damage than plasteel. Even if it is harmed, it repairs itself over time. Its internal workings are a mystery to all human minds.]],
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
 
     statBases = {
 
     statBases = {
       Mass = 8,
+
      MarketValue = 2800,
 +
       Mass = 4,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BionicSpine"] = {
+
   ["ThingDef:ArchotechLeg"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartBionicBase",
+
       ParentName = "BodyPartArchotechBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Bionic.xml",
+
       FileName = "Hediffs_BodyParts_Archotech.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BionicSpine",
+
     defName = "ArchotechLeg",
     label = "bionic spine",
+
     label = "archotech leg",
     description = [[An advanced artificial spine. A biogel nerve bundle runs down an articulated plasteel core, surrounded by a lattice-dust healing system. It matches the performance of a biological spine.]],
+
     description = [[An artifical leg built by an archotech. It looks and feels like natural flesh, but a pair of these can move the user as fast as a decent car, and it's harder to damage than plasteel. Even if it is harmed, it repairs itself over time. Its internal workings are a mystery to all human minds.]],
    costList = {
 
      Plasteel = 15,
 
      ComponentSpacer = 4,
 
    },
 
 
     statBases = {
 
     statBases = {
       Mass = 2,
+
      MarketValue = 2800,
 +
       Mass = 7,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BionicHeart"] = {
+
   ["ThingDef:BodyPartBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartBionicBase",
+
       Name = "BodyPartBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Bionic.xml",
+
       FileName = "Hediffs_BodyParts_Base.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BionicHeart",
+
     thingClass = "ThingWithComps",
     label = "bionic heart",
+
     category = "Item",
     description = [[An advanced artificial heart. It has synthetic muscle fibers for a realistic heartbeat, plus a high-flow pump for rapid circulation during high stress. It is better than a biological heart in almost every way.]],
+
     useHitPoints = true,
     costList = {
+
    altitudeLayer = "Item",
       Plasteel = 15,
+
    pathCost = 14,
       ComponentSpacer = 4,
+
    statBases = {
 +
      MaxHitPoints = 50,
 +
      Flammability = 0.7,
 +
      Beauty = -4,
 +
      DeteriorationRate = 2.0,
 +
      Mass = 1,
 +
    },
 +
    tradeTags = {
 +
      "TechHediff",
 +
    },
 +
     comps = {
 +
       {
 +
        _ = {
 +
          Class = "CompProperties_Forbiddable",
 +
        },
 +
       },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BionicStomach"] = {
+
   ["ThingDef:BodyPartBionicBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartBionicBase",
+
      Name = "BodyPartBionicBase",
 +
       ParentName = "BodyPartBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
Line 1,610: Line 1,809:
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BionicStomach",
+
     thingCategories = {
    label = "bionic stomach",
+
      "BodyPartsBionic",
     description = [[An advanced artificial stomach. A set of sensors and chemical synthesizers efficiently digest nearly any energy-bearing foodstuff. An integrated lattice-dust healing system automatically repairs any damage caused by the powerful acids. It is better than a biological stomach in almost every way.]],
+
     },
     costList = {
+
     tradeTags = {
       Plasteel = 10,
+
       "Bionic",
      ComponentSpacer = 3,
 
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       Mass = 2,
+
       WorkToMake = 26000,
 +
    },
 +
    recipeMaker = {
 +
      workSpeedStat = "GeneralLaborSpeed",
 +
      workSkill = "Crafting",
 +
      effectWorking = "Smith",
 +
      soundWorking = "Recipe_Smith",
 +
      unfinishedThingDef = "UnfinishedHealthItemBionic",
 +
      skillRequirements = {
 +
        Crafting = 8,
 +
      },
 +
      researchPrerequisite = "Bionics",
 +
      recipeUsers = {
 +
        "FabricationBench",
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:DeathAcidifier"] = {
+
   ["ThingDef:BionicEye"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartBase",
+
       ParentName = "BodyPartBionicBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
Line 1,630: Line 1,842:
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DeathAcidifier",
+
     defName = "BionicEye",
     label = "death acidifier",
+
     label = "bionic eye",
     description = [[A chest implant for preventing enemy use of captured equipment. Upon the user's death, it releases powerful chemicals that dissolve gear in contact with the user's body. It doesn't damage others.]],
+
     description = [[An advanced artifical eye. With its biogel nerve-link, internal signal pre-processor, and wide-spectrum sensors, it is better than a biological eye in almost every way. A lattice-dust healing system allows it to recover from damage.]],
 +
    costList = {
 +
      Plasteel = 15,
 +
      ComponentSpacer = 4,
 +
    },
 
     statBases = {
 
     statBases = {
       MarketValue = 400,
+
       Mass = 0.3,
    },
 
    thingCategories = {
 
      "BodyPartsBionic",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Mote_AcidCloud"] = {
+
   ["ThingDef:BionicArm"] = {
 
     _ = {
 
     _ = {
       ParentName = "MoteBase",
+
       ParentName = "BodyPartBionicBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
Line 1,649: Line 1,862:
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Mote_AcidCloud",
+
     defName = "BionicArm",
     altitudeLayer = "MoteOverhead",
+
     label = "bionic arm",
 +
    description = [[An advanced artificial arm. Silenced mini-servos give great strength, while the biogel nerve-link gives exquisite control. A lattice-dust healing system allows it to recover from damage. It is better than a biological arm in almost every way.]],
 +
    costList = {
 +
      Plasteel = 15,
 +
      ComponentSpacer = 4,
 +
    },
 +
    statBases = {
 +
      Mass = 5,
 +
    },
 
   },
 
   },
  
   ["ThingDef:BionicEar"] = {
+
   ["ThingDef:BionicLeg"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BodyPartBionicBase",
 
       ParentName = "BodyPartBionicBase",
Line 1,661: Line 1,882:
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BionicEar",
+
     defName = "BionicLeg",
     label = "bionic ear",
+
     label = "bionic leg",
     description = [[An advanced artificial ear implant. A collection of invisible subdermal microphones capture sound and transmit it to a biogel nerve interface that links directly with the auditory nerve. It's sensitive enough to hear a cat before you see it, can't be damaged by loud noise, and automatically tunes itself to pick out meaningful sounds in noisy environments.]],
+
     description = [[An advanced artificial leg. With its biogel nerve-link, powerful mini-servos, and lattice-dust healing system, it is better than a biological leg in almost every way.]],
 
     costList = {
 
     costList = {
       Plasteel = 10,
+
       Plasteel = 15,
       ComponentSpacer = 3,
+
       ComponentSpacer = 4,
 +
    },
 +
    statBases = {
 +
      Mass = 8,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:BodyPartNaturalBase"] = {
+
   ["ThingDef:BionicSpine"] = {
 
     _ = {
 
     _ = {
      Name = "BodyPartNaturalBase",
+
       ParentName = "BodyPartBionicBase",
       ParentName = "BodyPartBase",
 
      Abstract = true,
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Natural.xml",
+
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingCategories = {
+
     defName = "BionicSpine",
       "BodyPartsNatural",
+
    label = "bionic spine",
 +
    description = [[An advanced artificial spine. A biogel nerve bundle runs down an articulated plasteel core, surrounded by a lattice-dust healing system. It matches the performance of a biological spine.]],
 +
    costList = {
 +
       Plasteel = 15,
 +
      ComponentSpacer = 4,
 
     },
 
     },
 
     statBases = {
 
     statBases = {
       DeteriorationRate = 4.0,
+
       Mass = 2,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Heart"] = {
+
   ["ThingDef:BionicHeart"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartNaturalBase",
+
       ParentName = "BodyPartBionicBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Natural.xml",
+
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Heart",
+
     defName = "BionicHeart",
     label = "heart",
+
     label = "bionic heart",
     description = [[A biological human heart. Pumps blood around the body.]],
+
     description = [[An advanced artificial heart. It has synthetic muscle fibers for a realistic heartbeat, plus a high-flow pump for rapid circulation during high stress. It is better than a biological heart in almost every way.]],
     statBases = {
+
     costList = {
       MarketValue = 500,
+
       Plasteel = 15,
       Mass = 1,
+
       ComponentSpacer = 4,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Lung"] = {
+
   ["ThingDef:BionicStomach"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartNaturalBase",
+
       ParentName = "BodyPartBionicBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Natural.xml",
+
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Lung",
+
     defName = "BionicStomach",
     label = "lung",
+
     label = "bionic stomach",
     description = [[A biological human lung. A pair of these form the core of the human respiratory system.]],
+
     description = [[An advanced artificial stomach. A set of sensors and chemical synthesizers efficiently digest nearly any energy-bearing foodstuff. An integrated lattice-dust healing system automatically repairs any damage caused by the powerful acids. It is better than a biological stomach in almost every way.]],
 +
    costList = {
 +
      Plasteel = 10,
 +
      ComponentSpacer = 3,
 +
    },
 
     statBases = {
 
     statBases = {
      MarketValue = 400,
+
       Mass = 2,
       Mass = 1,
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Kidney"] = {
+
   ["ThingDef:DeathAcidifier"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartNaturalBase",
+
       ParentName = "BodyPartBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Natural.xml",
+
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Kidney",
+
     defName = "DeathAcidifier",
     label = "kidney",
+
     label = "death acidifier",
     description = [[A biological human kidney. Filters and removes waste products from the blood.]],
+
     description = [[A chest implant for preventing enemy use of captured equipment. Upon the user's death, it releases powerful chemicals that dissolve gear in contact with the user's body. It doesn't damage others.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 250,
+
       MarketValue = 400,
       Mass = 1,
+
    },
 +
    thingCategories = {
 +
       "BodyPartsBionic",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:Liver"] = {
+
   ["ThingDef:Mote_AcidCloud"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartNaturalBase",
+
       ParentName = "MoteBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Natural.xml",
+
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Liver",
+
    defName = "Mote_AcidCloud",
     label = "liver",
+
    altitudeLayer = "MoteOverhead",
 +
  },
 +
 
 +
  ["ThingDef:BionicEar"] = {
 +
    _ = {
 +
      ParentName = "BodyPartBionicBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "BionicEar",
 +
    label = "bionic ear",
 +
    description = [[An advanced artificial ear implant. A collection of invisible subdermal microphones capture sound and transmit it to a biogel nerve interface that links directly with the auditory nerve. It's sensitive enough to hear a cat before you see it, can't be damaged by loud noise, and automatically tunes itself to pick out meaningful sounds in noisy environments.]],
 +
    costList = {
 +
      Plasteel = 10,
 +
      ComponentSpacer = 3,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:BodyPartNaturalBase"] = {
 +
    _ = {
 +
      Name = "BodyPartNaturalBase",
 +
      ParentName = "BodyPartBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    thingCategories = {
 +
      "BodyPartsNatural",
 +
    },
 +
    statBases = {
 +
      DeteriorationRate = 4.0,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:Heart"] = {
 +
    _ = {
 +
      ParentName = "BodyPartNaturalBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Heart",
 +
    label = "heart",
 +
    description = [[A biological human heart. Pumps blood around the body.]],
 +
    statBases = {
 +
      MarketValue = 500,
 +
      Mass = 1,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:Lung"] = {
 +
    _ = {
 +
      ParentName = "BodyPartNaturalBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Lung",
 +
    label = "lung",
 +
    description = [[A biological human lung. A pair of these form the core of the human respiratory system.]],
 +
    statBases = {
 +
      MarketValue = 400,
 +
      Mass = 1,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:Kidney"] = {
 +
    _ = {
 +
      ParentName = "BodyPartNaturalBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Kidney",
 +
    label = "kidney",
 +
    description = [[A biological human kidney. Filters and removes waste products from the blood.]],
 +
    statBases = {
 +
      MarketValue = 250,
 +
      Mass = 1,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:Liver"] = {
 +
    _ = {
 +
      ParentName = "BodyPartNaturalBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
     defName = "Liver",
 +
     label = "liver",
 
     description = [[A biological human liver. Plays an important role in metabolism.]],
 
     description = [[A biological human liver. Plays an important role in metabolism.]],
 
     statBases = {
 
     statBases = {
Line 1,931: Line 2,260:
 
   },
 
   },
  
   ["ThingDef:AncientConcreteBarrier"] = {
+
   ["ResearchProjectDef:PsychoidBrewing"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Ancient.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AncientConcreteBarrier",
+
     defName = "PsychoidBrewing",
     label = "ancient concrete barrier",
+
     label = "psychoid brewing",
    thingClass = "Building",
+
     description = [[Prepare psychoid leaves into a mildly euphoria-inducing and addictive tea at the campfire or cooking stove.]],
    category = "Building",
+
     baseCost = 500,
     description = [[A traffic management solution from long ago.]],
+
    techLevel = "Neolithic",
     altitudeLayer = "Building",
+
     tags = {
     pathCost = 42,
+
      "TribalStart",
     pathCostIgnoreRepeat = true,
+
     },
     passability = "PassThroughOnly",
+
     researchViewX = 0.00,
     fillPercent = 0.5,
+
     researchViewY = 1.40,
     statBases = {
+
  },
       MaxHitPoints = 500,
+
 
       Beauty = -10,
+
  ["ResearchProjectDef:TreeSowing"] = {
       Flammability = 0,
+
     _ = {
       WorkToBuild = 600,
+
       DefCategory = "ResearchProjectDef",
 +
       FileName = "ResearchProjects_1.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     building = {
+
     defName = "TreeSowing",
       isInert = true,
+
    label = "tree sowing",
 +
    description = [[Sow the local biome's natural trees in your fields.]],
 +
    baseCost = 1000,
 +
    techLevel = "Neolithic",
 +
    researchViewX = 0.00,
 +
    researchViewY = 0.00,
 +
    tags = {
 +
       "TribalStart",
 
     },
 
     },
     costList = {
+
  },
       Steel = 15,
+
 
 +
  ["ResearchProjectDef:Brewing"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
 +
    defName = "Brewing",
 +
    label = "beer brewing",
 +
    description = [[Build a brewery and fermenting vats to transform hops into tasty, tasty beer.]],
 +
    baseCost = 400,
 +
    techLevel = "Neolithic",
 +
    researchViewX = 0.00,
 +
    researchViewY = 3.50,
 
   },
 
   },
  
   ["ThingDef:AncientLamppost"] = {
+
   ["ResearchProjectDef:ComplexFurniture"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Ancient.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AncientLamppost",
+
     defName = "ComplexFurniture",
     label = "ancient lamppost",
+
     label = "complex furniture",
     thingClass = "Building",
+
     description = [[Build complex furniture like beds, end tables, dining chairs, armchairs, dressers, tool cabinets, billiard tables, and poker tables, vents, sarcophagi, and more.]],
     category = "Building",
+
    baseCost = 300,
     description = [[Road lighting from long ago. No longer functional.]],
+
     techLevel = "Medieval",
     statBases = {
+
     researchViewX = 1.00,
       MaxHitPoints = 300,
+
    researchViewY = 4.25,
      WorkToBuild = 400,
+
     tags = {
 +
       "ClassicStart",
 
     },
 
     },
     fillPercent = 0.25,
+
  },
    passability = "PassThroughOnly",
+
 
    pathCost = 42,
+
  ["ResearchProjectDef:PassiveCooler"] = {
    costList = {
+
     _ = {
       Steel = 15,
+
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     building = {
+
     defName = "PassiveCooler",
       isInert = true,
+
    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,
 
   },
 
   },
  
   ["ThingDef:Urn"] = {
+
   ["ResearchProjectDef:Stonecutting"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Ancient.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Urn",
+
     defName = "Stonecutting",
     label = "urn",
+
     label = "stonecutting",
     description = [[An ancient-style decorative container.]],
+
     description = [[Cut rock chunks into stone blocks for use in construction. Build beautiful stone tile floors or ugly concrete walkways.]],
     minifiedDef = "MinifiedThing",
+
     baseCost = 300,
     thingCategories = {
+
    techLevel = "Medieval",
       "BuildingsFurniture",
+
     tags = {
 +
       "ClassicStart",
 
     },
 
     },
     altitudeLayer = "Building",
+
     researchViewX = 0.00,
     passability = "PassThroughOnly",
+
     researchViewY = 4.25,
    fillPercent = 0.40,
+
  },
    statBases = {
+
 
      MaxHitPoints = 40,
+
  ["ResearchProjectDef:ComplexClothing"] = {
       WorkToBuild = 500,
+
    _ = {
       Mass = 5,
+
       DefCategory = "ResearchProjectDef",
       Flammability = 1.0,
+
       FileName = "ResearchProjects_1.xml",
       Beauty = 5,
+
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     pathCost = 30,
+
     defName = "ComplexClothing",
     building = {
+
     label = "complex clothing",
       isInert = true,
+
    description = [[Tailor complicated garments like pants, dusters, and cowboy hats.]],
 +
    baseCost = 600,
 +
    techLevel = "Medieval",
 +
    researchViewX = 1.00,
 +
    researchViewY = 2.80,
 +
    tags = {
 +
       "ClassicStart",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SculptureBase"] = {
+
   ["ResearchProjectDef:DrugProduction"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
      Name = "SculptureBase",
+
       FileName = "ResearchProjects_1.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Art.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_Art",
+
     defName = "DrugProduction",
     altitudeLayer = "Building",
+
     label = "drug production",
     passability = "PassThroughOnly",
+
     description = [[Build a drug lab for basic drug synthesis. Further research is required to make specific drugs.]],
     pathCost = 50,
+
    baseCost = 500,
     useHitPoints = true,
+
    techLevel = "Industrial",
     minifiedDef = "MinifiedThing",
+
     researchViewX = 3.00,
    thingCategories = {
+
     researchViewY = 0.00,
       "BuildingsArt",
+
  },
 +
 
 +
  ["ResearchProjectDef:Cocoa"] = {
 +
     _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     statBases = {
+
     defName = "Cocoa",
      Flammability = 1.0,
+
    label = "cocoa",
      SellPriceFactor = 1.10,
+
    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.]],
      MeditationFocusStrength = 0.0,
+
    baseCost = 1000,
 +
    techLevel = "Neolithic",
 +
    researchViewX = 1.00,
 +
    researchViewY = 0.00,
 +
    prerequisites = {
 +
      "TreeSowing",
 
     },
 
     },
    comps = {
+
  },
      {
+
 
        compClass = "CompQuality",
+
  ["ResearchProjectDef:Devilstrand"] = {
      },
+
    _ = {
      {
+
      DefCategory = "ResearchProjectDef",
        _ = {
+
      FileName = "ResearchProjects_1.xml",
          Class = "CompProperties_Art",
+
      GameVersion = "1.2.2753",
        },
+
      DLC = "Core",
        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",
 
          },
 
        },
 
      },
 
 
     },
 
     },
     tradeTags = {
+
     defName = "Devilstrand",
      "Art",
+
     label = "devilstrand",
     },
+
    description = [[Plant devilstrand, a slow-growing mushroom that yields an exceptionally tough, heat-resistant plant fiber.]],
    recipeMaker = {
+
    baseCost = 800,
      workSpeedStat = "GeneralLaborSpeed",
+
    techLevel = "Neolithic",
      workSkill = "Artistic",
+
    researchViewX = 0.00,
      unfinishedThingDef = "UnfinishedSculpture",
+
    researchViewY = 2.80,
      effectWorking = "Sculpt",
+
  },
      soundWorking = "Recipe_Sculpt",
+
 
      recipeUsers = {
+
  ["ResearchProjectDef:CarpetMaking"] = {
        "TableSculpting",
+
    _ = {
      },
+
      DefCategory = "ResearchProjectDef",
      defaultIngredientFilter = {
+
      FileName = "ResearchProjects_1.xml",
        categories = {
+
      GameVersion = "1.2.2753",
          "Root",
+
      DLC = "Core",
        },
 
        disallowedThingDefs = {
 
          "Gold",
 
          "Silver",
 
          "Plasteel",
 
          "Jade",
 
          "Uranium",
 
        },
 
      },
 
 
     },
 
     },
 +
    defName = "CarpetMaking",
 +
    label = "carpet making",
 +
    description = [[Weave beautiful carpets from cloth.]],
 +
    baseCost = 800,
 +
    techLevel = "Medieval",
 +
    researchViewX = 1.00,
 +
    researchViewY = 2.10,
 
   },
 
   },
  
   ["ThingDef:SculptureSmall"] = {
+
   ["ResearchProjectDef:Pemmican"] = {
 
     _ = {
 
     _ = {
      ParentName = "SculptureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureSmall",
+
     defName = "Pemmican",
     label = "small sculpture",
+
     label = "pemmican",
     description = [[A torso-sized piece of material sculpted into an artistic form.]],
+
     description = [[Make pemmican, a preserved mixture of meat and plant matter that doesn't go bad for a long time. Great for traveling.]],
     fillPercent = 0.35,
+
     baseCost = 500,
     statBases = {
+
    techLevel = "Neolithic",
       MaxHitPoints = 90,
+
    tags = {
       Mass = 3,
+
      "TribalStart",
       Beauty = 50,
+
    },
       WorkToMake = 18000,
+
    researchViewX = 1.00,
 +
    researchViewY = 1.40,
 +
  },
 +
 
 +
  ["ResearchProjectDef:Smithing"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
       FileName = "ResearchProjects_1.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Smithing",
 +
    label = "smithing",
 +
    description = [[Build smithies for crafting metal weapons like knives, gladii, and maces. Work metal into clean, beautiful floor tiles.]],
 +
    baseCost = 700,
 +
    techLevel = "Medieval",
 +
    researchViewX = 1.00,
 +
    researchViewY = 3.50,
 
   },
 
   },
  
   ["ThingDef:SculptureLarge"] = {
+
   ["ResearchProjectDef:RecurveBow"] = {
 
     _ = {
 
     _ = {
      ParentName = "SculptureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureLarge",
+
     defName = "RecurveBow",
     label = "large sculpture",
+
     label = "recurve bow",
     description = [[A person-sized piece of material sculpted into an artistic form.]],
+
     description = [[Build the recurve bow, an effective and inexpensive ranged weapon.]],
     fillPercent = 0.5,
+
     baseCost = 400,
     statBases = {
+
     techLevel = "Neolithic",
      MaxHitPoints = 150,
+
    tags = {
      Mass = 7,
+
       "TribalStart",
       Beauty = 100,
 
      WorkToMake = 30000,
 
 
     },
 
     },
 +
    researchViewX = 0.00,
 +
    researchViewY = 0.70,
 
   },
 
   },
  
   ["ThingDef:SculptureGrand"] = {
+
   ["ResearchProjectDef:PsychiteRefining"] = {
 
     _ = {
 
     _ = {
      ParentName = "SculptureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureGrand",
+
     defName = "PsychiteRefining",
     label = "grand sculpture",
+
     label = "psychite refining",
     description = [[A huge sculpture sized to dominate a room.]],
+
     description = [[Refine psychoid leaves into flake and yayo, different forms of the euphoric psychite drug.]],
     fillPercent = 0.5,
+
     baseCost = 400,
     size = {2, 2},
+
     techLevel = "Industrial",
     statBases = {
+
     prerequisites = {
       MaxHitPoints = 300,
+
       "DrugProduction",
      Beauty = 400,
 
      Mass = 28,
 
      WorkToMake = 105000,
 
 
     },
 
     },
 +
    researchViewX = 4.00,
 +
    researchViewY = 0.40,
 
   },
 
   },
  
   ["ThingDef:Snowman"] = {
+
   ["ResearchProjectDef:WakeUpProduction"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Snowman",
+
     defName = "WakeUpProduction",
     label = "snowman",
+
     label = "wake-up production",
     description = [[A set of large snowballs piled and shaped to resemble a person. People make these for the fun of it.]],
+
     description = [[Synthesize wake-up, a work performance-enhancing drug which replaces the need for sleep.]],
     thingClass = "Building",
+
     baseCost = 600,
    altitudeLayer = "Building",
+
     techLevel = "Industrial",
     passability = "PassThroughOnly",
+
     prerequisites = {
     pathCost = 30,
+
       "DrugProduction",
    pathCostIgnoreRepeat = false,
 
    useHitPoints = true,
 
    fillPercent = 0.35,
 
    statBases = {
 
       MaxHitPoints = 50,
 
      Beauty = 4,
 
      WorkToBuild = 1000,
 
      MarketValue = 0,
 
 
     },
 
     },
     comps = {
+
     researchViewX = 4.00,
       {
+
    researchViewY = 1.10,
        compClass = "CompMelter",
+
  },
       },
+
 
 +
  ["ResearchProjectDef:GoJuiceProduction"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     building = {
+
     defName = "GoJuiceProduction",
      repairable = false,
+
    label = "go-juice production",
      isInert = true,
+
    description = [[Produce go-juice, a synthetic combat-performance-enhancing drug which improves shooting, melee, and movement ability, and dulls pain.]],
       artificialForMeditationPurposes = false,
+
    baseCost = 1000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "DrugProduction",
 
     },
 
     },
 +
    researchViewX = 4.00,
 +
    researchViewY = 1.80,
 
   },
 
   },
  
   ["ThingDef:BuildingBase"] = {
+
   ["ResearchProjectDef:PenoxycylineProduction"] = {
 
     _ = {
 
     _ = {
      Name = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
      Abstract = true,
+
       FileName = "ResearchProjects_1.xml",
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Base.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     category = "Building",
+
     defName = "PenoxycylineProduction",
     thingClass = "Building",
+
     label = "penoxycyline production",
     terrainAffordanceNeeded = "Light",
+
     description = [[Produce penoxycyline, a disease prevention drug which blocks plague, malaria, and more before they start.]],
     leaveResourcesWhenKilled = true,
+
    baseCost = 500,
     statBases = {
+
     techLevel = "Industrial",
       SellPriceFactor = 0.70,
+
     prerequisites = {
 +
       "DrugProduction",
 
     },
 
     },
 +
    researchViewX = 4.00,
 +
    researchViewY = 2.50,
 
   },
 
   },
  
   ["ThingDef:CrashedShipPartBase"] = {
+
   ["ResearchProjectDef:LongBlades"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       DefCategory = "ResearchProjectDef",
      Name = "CrashedShipPartBase",
+
       FileName = "ResearchProjects_1.xml",
      ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Exotic.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     size = {6, 3},
+
     defName = "LongBlades",
     passability = "Impassable",
+
     label = "long blades",
     fillPercent = 1,
+
     description = [[Craft longswords and spears.]],
     altitudeLayer = "Building",
+
     baseCost = 400,
     terrainAffordanceNeeded = "Light",
+
     techLevel = "Medieval",
     leaveResourcesWhenKilled = false,
+
     prerequisites = {
    statBases = {
+
       "Smithing",
       MaxHitPoints = 1200,
 
      Flammability = 0,
 
      Beauty = -200,
 
 
     },
 
     },
     killedLeavings = {
+
     researchViewX = 2.00,
      ChunkSlagSteel = 4,
+
    researchViewY = 3.15,
       Steel = 60,
+
  },
       ComponentIndustrial = 1,
+
 
       Plasteel = 10,
+
  ["ResearchProjectDef:PlateArmor"] = {
       ComponentSpacer = 1,
+
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
       FileName = "ResearchProjects_1.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     building = {
+
     defName = "PlateArmor",
      combatPower = 250,
+
    label = "plate armor",
     },
+
     description = [[Smith suits of plate armor from metal or wood. This heavy armor noticeably slows movement, but protects very effectively.]],
     comps = {
+
     baseCost = 600,
      {
+
    techLevel = "Medieval",
        _ = {
+
    prerequisites = {
          Class = "CompProperties_WakeUpDormant",
+
      "Smithing",
        },
+
       "ComplexClothing",
       },
 
 
     },
 
     },
 +
    researchViewX = 2.00,
 +
    researchViewY = 2.50,
 
   },
 
   },
  
   ["ThingDef:PsychicDronerShipPart"] = {
+
   ["ResearchProjectDef:Greatbow"] = {
 
     _ = {
 
     _ = {
      ParentName = "CrashedShipPartBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Exotic.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychicDronerShipPart",
+
     defName = "Greatbow",
     label = "ship part (psychic droner)",
+
     label = "greatbow",
     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 = [[Craft greatbows for killing enemies at great range.]],
     comps = {
+
     baseCost = 600,
      {
+
    techLevel = "Medieval",
        _ = {
+
    prerequisites = {
          Class = "CompProperties_CausesGameCondition_PsychicEmanation",
+
       "RecurveBow",
        },
 
        conditionDef = "PsychicDroner",
 
        compClass = "CompCauseGameCondition_PsychicEmanation",
 
        worldRange = 1,
 
        droneLevelIncreaseInterval = 150000,
 
        droneLevel = 2,
 
       },
 
      {
 
        _ = {
 
          Class = "CompProperties_AnimalInsanityPulser",
 
        },
 
      },
 
 
     },
 
     },
 +
    researchViewX = 1.00,
 +
    researchViewY = 0.70,
 
   },
 
   },
  
   ["ThingDef:DefoliatorShipPart"] = {
+
   ["ResearchProjectDef:Electricity"] = {
 
     _ = {
 
     _ = {
      ParentName = "CrashedShipPartBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Exotic.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DefoliatorShipPart",
+
     defName = "Electricity",
     label = "ship part (defoliator)",
+
     label = "electricity",
     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 = [[Harness the power of electricity for a hundred different tasks.]],
     comps = {
+
     baseCost = 1600,
      {
+
    techLevel = "Industrial",
        _ = {
+
    tags = {
          Class = "CompProperties_PlantHarmRadius",
+
      "ClassicStart",
        },
 
        radiusPerDayCurve = {
 
          points = {
 
            "0  , 5",
 
            "1.5, 18",
 
            "6  , 40",
 
            "20 , 100",
 
          },
 
        },
 
      },
 
 
     },
 
     },
 +
    researchViewX = 5.00,
 +
    researchViewY = 2.90,
 
   },
 
   },
  
   ["ThingDef:ShipChunk"] = {
+
   ["ResearchProjectDef:Batteries"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Exotic.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShipChunk",
+
     defName = "Batteries",
     label = "ship chunk",
+
     label = "battery",
     description = [[A chunk of a spacecraft. Can be deconstructed to yield useful resources.]],
+
     description = [[Build batteries for storing electricity.]],
     category = "Building",
+
     baseCost = 400,
     altitudeLayer = "Building",
+
     techLevel = "Industrial",
     pathCost = 42,
+
     prerequisites = {
    passability = "PassThroughOnly",
+
      "Electricity",
    fillPercent = 0.50,
 
    size = {2, 2},
 
    statBases = {
 
      MaxHitPoints = 300,
 
      Flammability = 0,
 
      Beauty = -20,
 
      WorkToBuild = 12000,
 
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     researchViewX = 6.00,
     killedLeavings = {
+
     researchViewY = 1.20,
       ChunkSlagSteel = 2,
+
  },
       ComponentIndustrial = 1,
+
 
 +
  ["ResearchProjectDef:BiofuelRefining"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     costList = {
+
     defName = "BiofuelRefining",
      ComponentIndustrial = 11,
+
    label = "biofuel refining",
      Steel = 40,
+
    description = [[Build biofuel refineries to make chemfuel from biological matter like wood or foodstuffs.]],
     },
+
    baseCost = 700,
     building = {
+
     techLevel = "Industrial",
       alwaysDeconstructible = true,
+
     prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 2.60,
 
   },
 
   },
  
   ["ThingDef:FurnitureBase"] = {
+
   ["ResearchProjectDef:WatermillGenerator"] = {
 
     _ = {
 
     _ = {
      Name = "FurnitureBase",
+
       DefCategory = "ResearchProjectDef",
      ParentName = "BuildingBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     minifiedDef = "MinifiedThing",
+
     defName = "WatermillGenerator",
     thingCategories = {
+
     label = "watermill generator",
       "BuildingsFurniture",
+
    description = [[Build watermill generators on rivers to generate a steady supply of power.]],
 +
    baseCost = 700,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 1.20,
 
   },
 
   },
  
   ["ThingDef:FurnitureWithQualityBase"] = {
+
   ["ResearchProjectDef:NutrientPaste"] = {
 
     _ = {
 
     _ = {
      Name = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
      ParentName = "FurnitureBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "NutrientPaste",
      {
+
    label = "nutrient paste",
        compClass = "CompQuality",
+
    description = [[Build nutrient paste dispensers which efficiently produce edible meals from raw nutritive feedstocks, while requiring no labor at all.]],
       },
+
    baseCost = 400,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Electricity",
 +
    },
 +
    researchViewX = 8.00,
 +
    researchViewY = 1.20,
 +
    tags = {
 +
      "ClassicStart",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArtableFurnitureBase"] = {
+
   ["ResearchProjectDef:SolarPanels"] = {
 
     _ = {
 
     _ = {
      Name = "ArtableFurnitureBase",
+
       DefCategory = "ResearchProjectDef",
      ParentName = "FurnitureWithQualityBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "SolarPanels",
      {
+
    label = "solar panel",
        _ = {
+
    description = [[Build solar panels for electricity generation.]],
          Class = "CompProperties_Art",
+
    baseCost = 600,
        },
+
    techLevel = "Industrial",
        nameMaker = "NamerArtFurniture",
+
    prerequisites = {
        descriptionMaker = "ArtDescription_Furniture",
+
      "Electricity",
        minQualityForArtistic = "Excellent",
 
      },
 
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 1.90,
 
   },
 
   },
  
   ["ThingDef:ArtableFurnitureRegardlessOfQualityBase"] = {
+
   ["ResearchProjectDef:AirConditioning"] = {
 
     _ = {
 
     _ = {
      Name = "ArtableFurnitureRegardlessOfQualityBase",
+
       DefCategory = "ResearchProjectDef",
      ParentName = "FurnitureWithQualityBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "AirConditioning",
      {
+
    label = "air conditioning",
        _ = {
+
    description = [[Build coolers to make people comfortable in hot weather, or to construct freezers for storing perishable goods.]],
          Class = "CompProperties_Art",
+
    baseCost = 500,
        },
+
    techLevel = "Industrial",
        nameMaker = "NamerArtFurniture",
+
    prerequisites = {
        descriptionMaker = "ArtDescription_Furniture",
+
      "Electricity",
        minQualityForArtistic = "Awful",
+
    },
       },
+
    tags = {
 +
       "ClassicStart",
 
     },
 
     },
 +
    researchViewX = 6.00,
 +
    researchViewY = 2.60,
 
   },
 
   },
  
   ["ThingDef:SleepingSpot"] = {
+
   ["ResearchProjectDef:Autodoors"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SleepingSpot",
+
     defName = "Autodoors",
     label = "sleeping spot",
+
     label = "autodoor",
     description = [[Designates a spot on the ground where people should sleep. Not comfortable.]],
+
     description = [[Build autodoors which automatically open when someone approaches, without slowing anyone down.]],
     thingClass = "Building_Bed",
+
     baseCost = 600,
     altitudeLayer = "FloorEmplacement",
+
     techLevel = "Industrial",
     statBases = {
+
     prerequisites = {
       WorkToBuild = 0,
+
       "Electricity",
      Comfort = 0.4,
 
      SurgerySuccessChanceFactor = 0.7,
 
 
     },
 
     },
     useHitPoints = false,
+
     researchViewX = 6.00,
     size = {1, 2},
+
     researchViewY = 1.90,
    passability = "Standable",
+
  },
     building = {
+
 
       sowTag = "SupportPlantsOnly",
+
  ["ResearchProjectDef:Hydroponics"] = {
       artificialForMeditationPurposes = false,
+
     _ = {
       buildingTags = {
+
       DefCategory = "ResearchProjectDef",
        "Bed",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       },
+
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Hydroponics",
      {
+
    label = "hydroponics",
        _ = {
+
    description = [[Build hydroponics basins to rapidly grow crops indoors regardless of the terrain or weather outside.]],
          Class = "CompProperties_AssignableToPawn",
+
    baseCost = 700,
        },
+
    techLevel = "Industrial",
        drawAssignmentOverlay = false,
+
    prerequisites = {
        compClass = "CompAssignableToPawn_Bed",
+
       "Electricity",
       },
 
 
     },
 
     },
 +
    researchViewX = 6.00,
 +
    researchViewY = 0.50,
 
   },
 
   },
  
   ["ThingDef:DoubleSleepingSpot"] = {
+
   ["ResearchProjectDef:TubeTelevision"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DoubleSleepingSpot",
+
     defName = "TubeTelevision",
     label = "double sleeping spot",
+
     label = "tube television",
     description = [[Designates a spot on the ground where two people should sleep together. Not comfortable.]],
+
     description = [[Produce tube televisions for recreational watching.]],
     thingClass = "Building_Bed",
+
     baseCost = 1000,
     altitudeLayer = "FloorEmplacement",
+
    techLevel = "Industrial",
     statBases = {
+
     prerequisites = {
       WorkToBuild = 0,
+
      "Electricity",
       Comfort = 0.4,
+
     },
       SurgerySuccessChanceFactor = 0.7,
+
    hiddenPrerequisites = {
 +
       "ComplexFurniture",
 +
    },
 +
    researchViewX = 9.00,
 +
    researchViewY = 0.50,
 +
  },
 +
 
 +
  ["ResearchProjectDef:PackagedSurvivalMeal"] = {
 +
    _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 +
    },
 +
    defName = "PackagedSurvivalMeal",
 +
    label = "packaged survival meal",
 +
    description = [[Produce packaged survival meals which never go bad. Great for traveling.]],
 +
    baseCost = 500,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
      "NutrientPaste",
 
     },
 
     },
     useHitPoints = false,
+
     researchViewX = 9.00,
     size = {2, 2},
+
     researchViewY = 1.20,
    passability = "Standable",
+
  },
     building = {
+
 
       sowTag = "SupportPlantsOnly",
+
  ["ResearchProjectDef:Firefoam"] = {
       artificialForMeditationPurposes = false,
+
     _ = {
       buildingTags = {
+
       DefCategory = "ResearchProjectDef",
        "Bed",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       },
+
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Firefoam",
      {
+
    label = "firefoam",
        _ = {
+
    description = [[Construct firefoam poppers, automatic fire-safety devices which spread fire-retardant foam in response to encroaching flames.]],
          Class = "CompProperties_AssignableToPawn",
+
    baseCost = 600,
        },
+
    techLevel = "Industrial",
        drawAssignmentOverlay = false,
+
    prerequisites = {
        compClass = "CompAssignableToPawn_Bed",
+
       "Electricity",
       },
 
 
     },
 
     },
 +
    researchViewX = 8.00,
 +
    researchViewY = 1.90,
 
   },
 
   },
  
   ["ThingDef:BedBase"] = {
+
   ["ResearchProjectDef:IEDs"] = {
 
     _ = {
 
     _ = {
      ParentName = "FurnitureBase",
+
       DefCategory = "ResearchProjectDef",
      Name = "BedBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_Bed",
+
     defName = "IEDs",
     altitudeLayer = "Building",
+
     label = "IEDs",
     comps = {
+
     description = [[Build improvised traps from any kind of mortar shell.]],
      {
+
    baseCost = 500,
        _ = {
+
    techLevel = "Industrial",
          Class = "CompProperties_AssignableToPawn",
+
    prerequisites = {
        },
+
      "Electricity",
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
     passability = "PassThroughOnly",
+
     hideWhen = {
    building = {
+
       trapsDisabled = true,
       buildingTags = {
 
        "Bed",
 
      },
 
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 0.50,
 
   },
 
   },
  
   ["ThingDef:BedWithQualityBase"] = {
+
   ["ResearchProjectDef:GeothermalPower"] = {
 
     _ = {
 
     _ = {
      Name = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
      ParentName = "BedBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "GeothermalPower",
      {
+
    label = "geothermal power",
        compClass = "CompQuality",
+
    description = [[Build geothermal power plants on top of steam geysers, for uninterrupted power.]],
       },
+
    baseCost = 3200,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 8.00,
 +
    researchViewY = 2.60,
 
   },
 
   },
  
   ["ThingDef:ArtableBedBase"] = {
+
   ["ResearchProjectDef:SterileMaterials"] = {
 
     _ = {
 
     _ = {
      Name = "ArtableBedBase",
+
       DefCategory = "ResearchProjectDef",
      ParentName = "BedWithQualityBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "SterileMaterials",
      {
+
    label = "sterile materials",
        _ = {
+
    description = [[Construct sterile tiles to make cleanrooms for safer and more effective medical treatment, research, and cooking.]],
          Class = "CompProperties_Art",
+
    baseCost = 600,
        },
+
    techLevel = "Industrial",
        nameMaker = "NamerArtFurniture",
+
    prerequisites = {
        descriptionMaker = "ArtDescription_Furniture",
+
      "Electricity",
        minQualityForArtistic = "Excellent",
 
      },
 
 
     },
 
     },
 +
    researchViewX = 8.00,
 +
    researchViewY = 0.50,
 
   },
 
   },
  
   ["ThingDef:Bed"] = {
+
   ["ResearchProjectDef:ColoredLights"] = {
 
     _ = {
 
     _ = {
      ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bed",
+
     defName = "ColoredLights",
     label = "bed",
+
     label = "colored lights",
     description = [[A cozy mattress and sheets on a frame for resting.]],
+
     description = [[Construct colored lights for decorative purposes. Cosmetic only.]],
     comps = {
+
     baseCost = 300,
       {
+
    techLevel = "Industrial",
        _ = {
+
    prerequisites = {
          Class = "CompProperties_AffectedByFacilities",
+
       "Electricity",
        },
+
    },
        linkableFacilities = {
+
    researchViewX = 9.00,
          "EndTable",
+
    researchViewY = 1.90,
          "Dresser",
+
  },
        },
+
 
       },
+
  ["ResearchProjectDef:Machining"] = {
 +
    _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Machining",
 +
    label = "machining",
 +
    description = [[Build machining tables to craft guns, grenades, flak armor, and to shred dead mechanoids for resources.]],
 +
    baseCost = 1000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
      "Electricity",
 +
      "Smithing",
 +
    },
 +
    researchViewX = 6.00,
 +
    researchViewY = 3.50,
 +
  },
 +
 
 +
  ["ResearchProjectDef:SmokepopBelt"] = {
 +
    _ = {
 +
       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",
 
     },
 
     },
     statBases = {
+
     hiddenPrerequisites = {
       MaxHitPoints = 140,
+
       "ComplexClothing",
      Flammability = 1.0,
 
      Beauty = 1,
 
      WorkToBuild = 800,
 
      Mass = 30,
 
      BedRestEffectiveness = 1,
 
      Comfort = 0.75,
 
      ImmunityGainSpeedFactor = 1.07,
 
      SurgerySuccessChanceFactor = 1,
 
 
     },
 
     },
     size = {1, 2},
+
     researchViewX = 7.00,
     building = {
+
    researchViewY = 4.80,
       bed_healPerDay = 4,
+
  },
 +
 
 +
  ["ResearchProjectDef:Prosthetics"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     fillPercent = 0.4,
+
     defName = "Prosthetics",
     pathCost = 42,
+
    label = "prosthetics",
     researchPrerequisites = {
+
    description = [[Build inexpensive prosthetic body parts to replace lost limbs. Requires a skilled doctor to attach.]],
       "ComplexFurniture",
+
     baseCost = 600,
 +
    techLevel = "Industrial",
 +
     prerequisites = {
 +
       "Machining",
 
     },
 
     },
 +
    researchViewX = 8.00,
 +
    researchViewY = 4.80,
 
   },
 
   },
  
   ["ThingDef:DoubleBed"] = {
+
   ["ResearchProjectDef:Gunsmithing"] = {
 
     _ = {
 
     _ = {
      ParentName = "ArtableBedBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DoubleBed",
+
     defName = "Gunsmithing",
     label = "double bed",
+
     label = "gunsmithing",
     description = [[A simple double-wide bed that fits two people.]],
+
     description = [[Craft simple manually-operated guns like revolvers, pump shotguns, bolt-action rifles, and incendiary launchers.]],
     comps = {
+
     baseCost = 500,
      {
+
    techLevel = "Industrial",
        _ = {
+
    prerequisites = {
          Class = "CompProperties_AffectedByFacilities",
+
      "Machining",
        },
 
        linkableFacilities = {
 
          "EndTable",
 
          "Dresser",
 
        },
 
      },
 
 
     },
 
     },
     statBases = {
+
     researchViewX = 7.00,
      MaxHitPoints = 200,
+
    researchViewY = 3.40,
      Flammability = 1.0,
+
  },
      WorkToBuild = 1500,
+
 
      Mass = 50,
+
  ["ResearchProjectDef:FlakArmor"] = {
      Comfort = 0.75,
+
    _ = {
       Beauty = 2,
+
       DefCategory = "ResearchProjectDef",
       BedRestEffectiveness = 1,
+
       FileName = "ResearchProjects_2_Electricity.xml",
       ImmunityGainSpeedFactor = 1.07,
+
       GameVersion = "1.2.2753",
       SurgerySuccessChanceFactor = 1,
+
       DLC = "Core",
 
     },
 
     },
     size = {2, 2},
+
     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",
 
     },
 
     },
     terrainAffordanceNeeded = "Light",
+
     hiddenPrerequisites = {
    fillPercent = 0.4,
+
       "PlateArmor",
    pathCost = 42,
 
    leaveResourcesWhenKilled = true,
 
    researchPrerequisites = {
 
       "ComplexFurniture",
 
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 4.10,
 
   },
 
   },
  
   ["ThingDef:RoyalBed"] = {
+
   ["ResearchProjectDef:Mortars"] = {
 
     _ = {
 
     _ = {
      ParentName = "ArtableBedBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RoyalBed",
+
     defName = "Mortars",
     label = "royal bed",
+
     label = "mortars",
     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 = [[Build mortars which can lob shells long distances - even over walls.]],
     comps = {
+
     baseCost = 2000,
      {
+
    techLevel = "Industrial",
        _ = {
+
    prerequisites = {
          Class = "CompProperties_AffectedByFacilities",
+
      "Gunsmithing",
        },
+
    },
        linkableFacilities = {
+
    hideWhen = {
          "EndTable",
+
       mortarsDisabled = true,
          "Dresser",
 
        },
 
       },
 
 
     },
 
     },
     statBases = {
+
     researchViewX = 8.00,
      MaxHitPoints = 200,
+
    researchViewY = 4.10,
      Flammability = 1.0,
+
  },
      WorkToBuild = 50000,
+
 
      Mass = 60,
+
  ["ResearchProjectDef:BlowbackOperation"] = {
      Beauty = 75,
+
    _ = {
       BedRestEffectiveness = 1.05,
+
       DefCategory = "ResearchProjectDef",
       Comfort = 0.90,
+
       FileName = "ResearchProjects_2_Electricity.xml",
       ImmunityGainSpeedFactor = 1.07,
+
       GameVersion = "1.2.2753",
       SurgerySuccessChanceFactor = 1,
+
       DLC = "Core",
 
     },
 
     },
     size = {2, 2},
+
     defName = "BlowbackOperation",
     costList = {
+
    label = "blowback operation",
       Gold = 50,
+
    description = [[Craft low-power blowback-operated guns like autopistols and machine pistols.]],
 +
    baseCost = 500,
 +
    techLevel = "Industrial",
 +
     prerequisites = {
 +
       "Gunsmithing",
 
     },
 
     },
     building = {
+
     researchViewX = 8.00,
       bed_healPerDay = 4,
+
    researchViewY = 3.40,
 +
  },
 +
 
 +
  ["ResearchProjectDef:GasOperation"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     terrainAffordanceNeeded = "Light",
+
     defName = "GasOperation",
     fillPercent = 0.4,
+
     label = "gas operation",
     pathCost = 42,
+
    description = [[Craft high-power guns like chain shotguns, LMGs, and heavy SMGs.]],
     leaveResourcesWhenKilled = true,
+
     baseCost = 1000,
     researchPrerequisites = {
+
     techLevel = "Industrial",
       "ComplexFurniture",
+
     prerequisites = {
 +
       "BlowbackOperation",
 
     },
 
     },
 +
    researchViewX = 9.00,
 +
    researchViewY = 4.10,
 
   },
 
   },
  
   ["ThingDef:HospitalBed"] = {
+
   ["ResearchProjectDef:GunTurrets"] = {
 
     _ = {
 
     _ = {
      ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HospitalBed",
+
     defName = "GunTurrets",
     label = "hospital bed",
+
     label = "gun turrets",
     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 = [[Produce simple automated gun turrets.]],
     statBases = {
+
     baseCost = 500,
      MaxHitPoints = 150,
+
    techLevel = "Industrial",
      WorkToBuild = 2800,
+
    prerequisites = {
      Mass = 35,
+
       "BlowbackOperation",
       Flammability = 1.0,
+
    },
      BedRestEffectiveness = 1,
+
    hideWhen = {
      Comfort = 0.80,
+
       turretsDisabled = true,
      ImmunityGainSpeedFactor = 1.11,
 
       MedicalTendQualityOffset = 0.10,
 
      SurgerySuccessChanceFactor = 1.1,
 
 
     },
 
     },
     comps = {
+
     researchViewX = 9.00,
      {
+
    researchViewY = 3.40,
        _ = {
+
  },
          Class = "CompProperties_AffectedByFacilities",
+
 
        },
+
  ["ResearchProjectDef:MicroelectronicsBasics"] = {
        linkableFacilities = {
+
    _ = {
          "VitalsMonitor",
+
      DefCategory = "ResearchProjectDef",
          "EndTable",
+
      FileName = "ResearchProjects_3_Microelectronics.xml",
          "Dresser",
+
      GameVersion = "1.2.2753",
        },
+
      DLC = "Core",
      },
 
 
     },
 
     },
     size = {1, 2},
+
     defName = "MicroelectronicsBasics",
     costList = {
+
    label = "microelectronics",
      Steel = 80,
+
     description = [[Work with complex microelectronics. This unlocks the hi-tech research bench and comms console.]],
       ComponentIndustrial = 5,
+
    baseCost = 3000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Electricity",
 
     },
 
     },
     building = {
+
     researchViewX = 10.00,
       bed_healPerDay = 10,
+
    researchViewY = 2.90,
       bed_defaultMedical = true,
+
  },
       buildingSizeCategory = "Small",
+
 
 +
  ["ResearchProjectDef:FlatscreenTelevision"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_3_Microelectronics.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     fillPercent = 0.4,
+
     defName = "FlatscreenTelevision",
     pathCost = 42,
+
    label = "flatscreen television",
     leaveResourcesWhenKilled = true,
+
    description = [[Produce high-resolution flatscreen televisions for greater enjoyment.]],
     researchPrerequisites = {
+
     baseCost = 2000,
       "HospitalBed",
+
     techLevel = "Industrial",
 +
     prerequisites = {
 +
       "TubeTelevision",
 +
      "MicroelectronicsBasics",
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 0.80,
 
   },
 
   },
  
   ["ThingDef:Bedroll"] = {
+
   ["ResearchProjectDef:MoisturePump"] = {
 
     _ = {
 
     _ = {
      ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bedroll",
+
     defName = "MoisturePump",
     label = "bedroll",
+
     label = "moisture pump",
     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 = [[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.]],
     statBases = {
+
     baseCost = 1200,
      MaxHitPoints = 75,
+
    techLevel = "Industrial",
      Flammability = 1.0,
+
    prerequisites = {
      Mass = 2.5,
+
       "MicroelectronicsBasics",
       BedRestEffectiveness = 0.95,
 
      ImmunityGainSpeedFactor = 1.05,
 
      Comfort = 0.68,
 
      WorkToBuild = 600,
 
 
     },
 
     },
     comps = {
+
     hiddenPrerequisites = {
       {
+
       "Machining",
        _ = {
+
    },
          Class = "CompProperties_AffectedByFacilities",
+
    requiredResearchBuilding = "HiTechResearchBench",
        },
+
    researchViewX = 12.00,
        linkableFacilities = {
+
    researchViewY = 0.80,
          "Dresser",
+
  },
          "EndTable",
+
 
        },
+
  ["ResearchProjectDef:HospitalBed"] = {
       },
+
    _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_3_Microelectronics.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "HospitalBed",
 +
    label = "hospital bed",
 +
    description = [[Construct hospital beds which improve medical outcomes.]],
 +
    baseCost = 1200,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "MicroelectronicsBasics",
 
     },
 
     },
     size = {1, 2},
+
     hiddenPrerequisites = {
    building = {
+
       "SterileMaterials",
       bed_healPerDay = 4,
+
       "ComplexFurniture",
       bed_caravansCanUse = true,
 
 
     },
 
     },
     pathCost = 14,
+
     requiredResearchBuilding = "HiTechResearchBench",
     passability = "Standable",
+
    researchViewX = 12.00,
 +
     researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:BedrollDouble"] = {
+
   ["ResearchProjectDef:DeepDrilling"] = {
 
     _ = {
 
     _ = {
      ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BedrollDouble",
+
     defName = "DeepDrilling",
     label = "double bedroll",
+
     label = "deep drilling",
     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 = [[Build deep drills for extracting resources from underground. You'll need a ground-penetrating scanner to find the resources.]],
     statBases = {
+
     baseCost = 1000,
      Flammability = 1.0,
+
    techLevel = "Industrial",
      Mass = 4.5,
+
    prerequisites = {
      BedRestEffectiveness = 0.95,
+
       "MicroelectronicsBasics",
       ImmunityGainSpeedFactor = 1.05,
 
      Comfort = 0.68,
 
      WorkToBuild = 1100,
 
 
     },
 
     },
     comps = {
+
     requiredResearchBuilding = "HiTechResearchBench",
      {
+
    researchViewX = 12.00,
        _ = {
+
    researchViewY = 2.20,
          Class = "CompProperties_AffectedByFacilities",
+
  },
        },
+
 
        linkableFacilities = {
+
  ["ResearchProjectDef:GroundPenetratingScanner"] = {
          "Dresser",
+
    _ = {
          "EndTable",
+
      DefCategory = "ResearchProjectDef",
        },
+
      FileName = "ResearchProjects_3_Microelectronics.xml",
       },
+
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     size = {2, 2},
+
     defName = "GroundPenetratingScanner",
     building = {
+
    label = "ground-penetrating scanner",
      bed_healPerDay = 4,
+
     description = [[Build ground-penetrating scanners that can detect drillable resources under the surface. Requires an advanced component to construct.]],
       bed_caravansCanUse = true,
+
    baseCost = 1000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "DeepDrilling",
 
     },
 
     },
     pathCost = 14,
+
     requiredResearchBuilding = "HiTechResearchBench",
     passability = "Standable",
+
    researchViewX = 13.00,
 +
     researchViewY = 2.20,
 
   },
 
   },
  
   ["ThingDef:AnimalSleepingSpot"] = {
+
   ["ResearchProjectDef:TransportPod"] = {
 
     _ = {
 
     _ = {
      ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalSleepingSpot",
+
     defName = "TransportPod",
    thingClass = "Building_Bed",
+
     label = "transport pod",
     label = "animal sleeping spot",
+
     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 = [[Designates a spot on the ground where animals should sleep.]],
+
     baseCost = 1000,
    size = {1, 1},
+
     techLevel = "Industrial",
    passability = "Standable",
+
     prerequisites = {
     useHitPoints = false,
+
       "MicroelectronicsBasics",
     altitudeLayer = "FloorEmplacement",
 
     statBases = {
 
       WorkToBuild = 0,
 
      SurgerySuccessChanceFactor = 0.7,
 
 
     },
 
     },
     building = {
+
     hiddenPrerequisites = {
       bed_humanlike = false,
+
       "BiofuelRefining",
      sowTag = "SupportPlantsOnly",
+
       "Machining",
       artificialForMeditationPurposes = false,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_AssignableToPawn",
 
        },
 
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 2.20,
 
   },
 
   },
  
   ["ThingDef:AnimalSleepingBox"] = {
+
   ["ResearchProjectDef:MedicineProduction"] = {
 
     _ = {
 
     _ = {
      ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalSleepingBox",
+
     defName = "MedicineProduction",
    thingClass = "Building_Bed",
+
     label = "medicine production",
     label = "animal sleeping box",
+
     description = [[Produce standard industrial-tech medicine by combining herbal medicine, neutroamine, and cloth.]],
     description = [[A small box for animals to sleep in. Fits smaller animals like chickens, cats, or small dogs.]],
+
     baseCost = 1500,
     fillPercent = 0.15,
+
    techLevel = "Industrial",
     pathCost = 14,
+
     prerequisites = {
     passability = "PassThroughOnly",
+
      "DrugProduction",
     building = {
+
      "MicroelectronicsBasics",
       bed_humanlike = false,
+
    },
       bed_maxBodySize = 0.55,
+
     requiredResearchBuilding = "HiTechResearchBench",
       bed_healPerDay = 4,
+
     researchViewX = 11.00,
 +
    researchViewY = 0.00,
 +
  },
 +
 
 +
  ["ResearchProjectDef:LongRangeMineralScanner"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_3_Microelectronics.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     altitudeLayer = "Building",
+
     defName = "LongRangeMineralScanner",
     statBases = {
+
     label = "long-range mineral scanner",
      MaxHitPoints = 75,
+
    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.]],
      Flammability = 1.0,
+
    baseCost = 2000,
      WorkToBuild = 180,
+
    techLevel = "Industrial",
      Mass = 3,
+
    prerequisites = {
      BedRestEffectiveness = 0.93,
+
       "MicroelectronicsBasics",
       Comfort = 0.60,
 
      ImmunityGainSpeedFactor = 1.05,
 
      SurgerySuccessChanceFactor = 1,
 
 
     },
 
     },
     comps = {
+
     hiddenPrerequisites = {
       {
+
       "Machining",
        _ = {
 
          Class = "CompProperties_AssignableToPawn",
 
        },
 
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 12.00,
 +
    researchViewY = 0.00,
 
   },
 
   },
  
   ["ThingDef:AnimalBed"] = {
+
   ["ResearchProjectDef:ShieldBelt"] = {
 
     _ = {
 
     _ = {
      ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalBed",
+
     defName = "ShieldBelt",
    thingClass = "Building_Bed",
+
     label = "shields",
     label = "animal bed",
+
     description = [[Build wearable shield gear. Shields use momentum-repulsion technology to prevent projectiles from traversing the field boundry.]],
     description = [[A soft bed for animals to sleep on. Fits any animal.]],
+
     baseCost = 1000,
     fillPercent = 0.15,
+
     techLevel = "Industrial",
    pathCost = 14,
+
     prerequisites = {
     passability = "PassThroughOnly",
+
       "MicroelectronicsBasics",
     building = {
 
       bed_humanlike = false,
 
      bed_healPerDay = 4,
 
 
     },
 
     },
     altitudeLayer = "Building",
+
     hiddenPrerequisites = {
    statBases = {
+
       "ComplexClothing",
       MaxHitPoints = 140,
 
      Flammability = 1.0,
 
      WorkToBuild = 400,
 
      Mass = 5,
 
      BedRestEffectiveness = 1,
 
      Comfort = 0.75,
 
      ImmunityGainSpeedFactor = 1.07,
 
      SurgerySuccessChanceFactor = 1,
 
    },
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_AssignableToPawn",
 
        },
 
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:Stool"] = {
+
   ["ResearchProjectDef:PrecisionRifling"] = {
 
     _ = {
 
     _ = {
      ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Stool",
+
     defName = "PrecisionRifling",
     label = "stool",
+
     label = "precision rifling",
     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.]],
+
     description = [[Craft precisely-machined guns like assault rifles and sniper rifles.]],
     altitudeLayer = "Building",
+
     baseCost = 1400,
     statBases = {
+
    techLevel = "Industrial",
       MaxHitPoints = 75,
+
     prerequisites = {
       WorkToBuild = 450,
+
       "GasOperation",
      Mass = 3,
+
       "MicroelectronicsBasics",
      Flammability = 1.0,
 
      Beauty = 0,
 
      Comfort = 0.5,
 
    },
 
    pathCost = 30,
 
    fillPercent = 0.20,
 
    building = {
 
      isSittable = true,
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 3.90,
 
   },
 
   },
  
   ["ThingDef:DiningChair"] = {
+
   ["ResearchProjectDef:HeavyTurrets"] = {
 
     _ = {
 
     _ = {
      ParentName = "ArtableFurnitureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DiningChair",
+
     defName = "HeavyTurrets",
     label = "dining chair",
+
     label = "autocannon turret",
     description = [[A comfortable and attractive chair. Can be used at tables, work stations, and elsewhere.]],
+
     description = [[Produce the heavy autocannon turret.]],
     altitudeLayer = "Building",
+
     baseCost = 1600,
     statBases = {
+
    techLevel = "Industrial",
       MaxHitPoints = 100,
+
     prerequisites = {
       WorkToBuild = 8000,
+
       "GunTurrets",
       Mass = 5,
+
       "GasOperation",
      Flammability = 1.0,
+
       "MicroelectronicsBasics",
      Beauty = 8,
+
    },
       Comfort = 0.70,
+
    requiredResearchBuilding = "HiTechResearchBench",
 +
    hideWhen = {
 +
       turretsDisabled = true,
 
     },
 
     },
     pathCost = 30,
+
     researchViewX = 11.00,
     fillPercent = 0.35,
+
     researchViewY = 3.20,
     building = {
+
  },
       isSittable = true,
+
 
 +
  ["ResearchProjectDef:MultibarrelWeapons"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_3_Microelectronics.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     researchPrerequisites = {
+
     defName = "MultibarrelWeapons",
       "ComplexFurniture",
+
    label = "multibarrel weapons",
 +
    description = [[Assemble miniguns.]],
 +
    baseCost = 2600,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "GasOperation",
 +
      "MicroelectronicsBasics",
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 4.60,
 
   },
 
   },
  
   ["ThingDef:Armchair"] = {
+
   ["ResearchProjectDef:MultiAnalyzer"] = {
 
     _ = {
 
     _ = {
      ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Armchair",
+
     defName = "MultiAnalyzer",
     label = "armchair",
+
     label = "multi-analyzer",
     description = [[A large, soft, comfy seat. Great for relaxation. Can be used at tables, work stations, and elsewhere.]],
+
     description = [[Build multi-analyzers which increase research speed and allow higher-level research projects.]],
     altitudeLayer = "Building",
+
     baseCost = 4000,
     statBases = {
+
    techLevel = "Industrial",
       MaxHitPoints = 120,
+
     prerequisites = {
      WorkToBuild = 14000,
+
       "MicroelectronicsBasics",
      Mass = 18,
 
      Flammability = 1.0,
 
      Beauty = 4,
 
      Comfort = 0.8,
 
 
     },
 
     },
     researchPrerequisites = {
+
     hiddenPrerequisites = {
       "ComplexFurniture",
+
       "Machining",
    },
 
    pathCost = 30,
 
    fillPercent = 0.40,
 
    building = {
 
      isSittable = true,
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 13.00,
 +
    researchViewY = 2.90,
 
   },
 
   },
  
   ["ThingDef:TableBase"] = {
+
   ["ResearchProjectDef:VitalsMonitor"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       DefCategory = "ResearchProjectDef",
      ParentName = "FurnitureWithQualityBase",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
      Name = "TableBase",
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     description = [[People eat off tables when chairs are placed facing them.]],
+
    defName = "VitalsMonitor",
     thingClass = "Building",
+
    label = "vitals monitor",
     altitudeLayer = "Building",
+
     description = [[Build vitals monitors which improve medical outcomes when placed next to hospital beds.]],
     passability = "PassThroughOnly",
+
     baseCost = 2500,
     pathCost = 42,
+
    techLevel = "Industrial",
     fillPercent = 0.4,
+
     prerequisites = {
     leaveResourcesWhenKilled = true,
+
      "MultiAnalyzer",
 +
      "HospitalBed",
 +
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
     requiredResearchFacilities = {
 +
      "MultiAnalyzer",
 +
     },
 +
    researchViewX = 14.00,
 +
     researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:TableGatherSpotBase"] = {
+
   ["ResearchProjectDef:Fabrication"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       DefCategory = "ResearchProjectDef",
      ParentName = "TableBase",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
      Name = "TableGatherSpotBase",
 
       DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Fabrication",
       {
+
    label = "fabrication",
        compClass = "CompGatherSpot",
+
    description = [[Build fabrication benches, capable of high-tech projects ranging from component assembly to power armor construction.]],
       },
+
    baseCost = 4000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "MultiAnalyzer",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    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.",
 
   },
 
   },
  
   ["ThingDef:EndTable"] = {
+
   ["ResearchProjectDef:AdvancedFabrication"] = {
 
     _ = {
 
     _ = {
      ParentName = "TableBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EndTable",
+
     defName = "AdvancedFabrication",
     label = "end table",
+
     label = "advanced fabrication",
     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 = [[Fabricate advanced components from standard components and other materials.]],
     statBases = {
+
     baseCost = 4000,
      MaxHitPoints = 75,
+
    techLevel = "Industrial",
      WorkToBuild = 1000,
+
    prerequisites = {
      Mass = 5,
+
       "Fabrication",
       Flammability = 1.0,
 
      Beauty = 3,
 
 
     },
 
     },
     pathCost = 30,
+
     requiredResearchBuilding = "HiTechResearchBench",
     researchPrerequisites = {
+
     requiredResearchFacilities = {
       "ComplexFurniture",
+
       "MultiAnalyzer",
 
     },
 
     },
     comps = {
+
     researchViewX = 16.00,
      {
+
    researchViewY = 2.90,
        _ = {
+
  },
          Class = "CompProperties_Facility",
+
 
        },
+
  ["ResearchProjectDef:Cryptosleep"] = {
        statOffsets = {
+
    _ = {
          Comfort = 0.05,
+
      DefCategory = "ResearchProjectDef",
        },
+
      FileName = "ResearchProjects_4_MultiAnalyzer.xml",
        maxSimultaneous = 1,
+
      GameVersion = "1.2.2753",
        mustBePlacedAdjacentCardinalToBedHead = true,
+
      DLC = "Core",
       },
+
    },
 +
    defName = "Cryptosleep",
 +
    label = "cryptosleep casket",
 +
    description = [[Construct cryptosleep caskets, which can put living beings in a state of indefinite suspended animation.]],
 +
    baseCost = 2000,
 +
    techLevel = "Spacer",
 +
    prerequisites = {
 +
      "MultiAnalyzer",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    requiredResearchFacilities = {
 +
       "MultiAnalyzer",
 
     },
 
     },
 +
    researchViewX = 14.00,
 +
    researchViewY = 2.20,
 
   },
 
   },
  
   ["ThingDef:Table1x2c"] = {
+
   ["ResearchProjectDef:ReconArmor"] = {
 
     _ = {
 
     _ = {
      ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table1x2c",
+
     defName = "ReconArmor",
     label = "table (1x2)",
+
     label = "recon armor",
     statBases = {
+
     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.]],
      MaxHitPoints = 75,
+
    baseCost = 6000,
      WorkToBuild = 750,
+
    techLevel = "Spacer",
       Mass = 5,
+
    prerequisites = {
      Flammability = 1.0,
+
       "Fabrication",
       Beauty = 0.5,
+
    },
 +
    hiddenPrerequisites = {
 +
      "ComplexClothing",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    requiredResearchFacilities = {
 +
       "MultiAnalyzer",
 
     },
 
     },
     size = {1, 2},
+
     researchViewX = 15.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:Table2x2c"] = {
+
   ["ResearchProjectDef:PoweredArmor"] = {
 
     _ = {
 
     _ = {
      ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table2x2c",
+
     defName = "PoweredArmor",
     label = "table (2x2)",
+
     label = "marine armor",
     statBases = {
+
     description = [[Build marine armor, a general-use powered armor suit used by high-tech shock troops. Note that these also require advanced components.]],
      MaxHitPoints = 100,
+
    baseCost = 6000,
      WorkToBuild = 1500,
+
    techLevel = "Spacer",
       Mass = 10,
+
    prerequisites = {
      Flammability = 1.0,
+
       "ReconArmor",
       Beauty = 1,
+
    },
 +
    hiddenPrerequisites = {
 +
      "ComplexClothing",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    requiredResearchFacilities = {
 +
       "MultiAnalyzer",
 
     },
 
     },
     size = {2, 2},
+
     researchViewX = 16.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:Table2x4c"] = {
+
   ["ResearchProjectDef:ChargedShot"] = {
 
     _ = {
 
     _ = {
      ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table2x4c",
+
     defName = "ChargedShot",
     label = "table (2x4)",
+
     label = "pulse-charged munitions",
     statBases = {
+
     description = [[Build weapons which fire pulse-charged munitions for extra damage. Note that these also require advanced components.]],
      MaxHitPoints = 150,
+
    baseCost = 3000,
      WorkToBuild = 3000,
+
    techLevel = "Spacer",
       Mass = 20,
+
    prerequisites = {
      Flammability = 1.0,
+
       "Fabrication",
       Beauty = 2,
+
    },
 +
    hiddenPrerequisites = {
 +
       "PrecisionRifling",
 
     },
 
     },
     size = {2, 4},
+
     requiredResearchBuilding = "HiTechResearchBench",
     building = {
+
     requiredResearchFacilities = {
       buildingSizeCategory = "Medium",
+
       "MultiAnalyzer",
 
     },
 
     },
 +
    researchViewX = 15.00,
 +
    researchViewY = 3.8,
 
   },
 
   },
  
   ["ThingDef:Table3x3c"] = {
+
   ["ResearchProjectDef:Bionics"] = {
 
     _ = {
 
     _ = {
      ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table3x3c",
+
     defName = "Bionics",
     label = "table (3x3)",
+
     label = "bionic replacements",
     statBases = {
+
     description = [[Build high-tech bionic body parts to replace lost limbs and eyes. Requires a skilled doctor to attach.]],
      MaxHitPoints = 175,
+
    baseCost = 2000,
      WorkToBuild = 3300,
+
    techLevel = "Spacer",
       Mass = 22,
+
    prerequisites = {
      Flammability = 1.0,
+
       "Fabrication",
       Beauty = 2,
+
    },
 +
    hiddenPrerequisites = {
 +
       "Prosthetics",
 
     },
 
     },
     size = {3, 3},
+
     requiredResearchBuilding = "HiTechResearchBench",
     building = {
+
     requiredResearchFacilities = {
       buildingSizeCategory = "Medium",
+
       "MultiAnalyzer",
 
     },
 
     },
 +
    researchViewX = 16.00,
 +
    researchViewY = 3.80,
 
   },
 
   },
  
   ["ThingDef:PlantPot"] = {
+
   ["ResearchProjectDef:SniperTurret"] = {
 
     _ = {
 
     _ = {
      ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
 
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PlantPot",
+
     defName = "SniperTurret",
     label = "plant pot",
+
     label = "uranium slug turret",
     description = [[Plant decorative flowers here to improve the mood of people nearby.]],
+
     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.]],
     thingClass = "Building_PlantGrower",
+
    baseCost = 3000,
     altitudeLayer = "Building",
+
    techLevel = "Industrial",
     passability = "PassThroughOnly",
+
    prerequisites = {
     fillPercent = 0.20,
+
      "MultiAnalyzer",
     statBases = {
+
    },
       MaxHitPoints = 75,
+
    hiddenPrerequisites = {
       WorkToBuild = 250,
+
      "HeavyTurrets",
       Mass = 2,
+
      "PrecisionRifling",
       Flammability = 1.0,
+
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    requiredResearchFacilities = {
 +
      "MultiAnalyzer",
 +
    },
 +
    hideWhen = {
 +
      turretsDisabled = true,
 +
    },
 +
    researchViewX = 14.00,
 +
    researchViewY = 3.60,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ShipResearchProjectBase"] = {
 +
    _ = {
 +
      Name = "ShipResearchProjectBase",
 +
      Abstract = true,
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    requiredResearchFacilities = {
 +
      "MultiAnalyzer",
 +
    },
 +
    tags = {
 +
      "ShipRelated",
 +
    },
 +
  },
 +
 
 +
  ["ResearchProjectDef:ShipBasics"] = {
 +
    _ = {
 +
      ParentName = "ShipResearchProjectBase",
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "ShipBasics",
 +
    label = "starflight basics",
 +
    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"] = {
 +
    _ = {
 +
      ParentName = "ShipResearchProjectBase",
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "ShipCryptosleep",
 +
    label = "vacuum cryptosleep casket",
 +
    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,
 +
    researchViewY = 2.20,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ShipReactor"] = {
 +
    _ = {
 +
      ParentName = "ShipResearchProjectBase",
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "ShipReactor",
 +
    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,
 +
     techLevel = "Spacer",
 +
    prerequisites = {
 +
      "ShipBasics",
 +
    },
 +
    researchViewX = 19.00,
 +
    researchViewY = 3.60,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ShipEngine"] = {
 +
     _ = {
 +
       ParentName = "ShipResearchProjectBase",
 +
      DefCategory = "ResearchProjectDef",
 +
       FileName = "ResearchProjects_5_Ship.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 +
    },
 +
    defName = "ShipEngine",
 +
    label = "Johnson-Tanaka drive",
 +
    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.]],
 +
    baseCost = 6000,
 +
    techLevel = "Spacer",
 +
    prerequisites = {
 +
      "ShipBasics",
 +
    },
 +
    researchViewX = 19.00,
 +
    researchViewY = 4.85,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ShipComputerCore"] = {
 +
    _ = {
 +
      ParentName = "ShipResearchProjectBase",
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "ShipComputerCore",
 +
    label = "machine persuasion",
 +
    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.]],
 +
    baseCost = 3000,
 +
    techLevel = "Spacer",
 +
    prerequisites = {
 +
      "ShipBasics",
 
     },
 
     },
     comps = {
+
     researchViewX = 19.00,
      {
+
    researchViewY = 1.15,
        _ = {
+
  },
          Class = "CompProperties_Forbiddable",
+
 
        },
+
  ["ResearchProjectDef:ShipSensorCluster"] = {
       },
+
    _ = {
 +
      ParentName = "ShipResearchProjectBase",
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     defName = "ShipSensorCluster",
     building = {
+
    label = "starflight sensors",
       defaultPlantToGrow = "Plant_Daylily",
+
    description = [[Construct long-range sensors for a starship. These sensors are essential for navigation, communication, and threat avoidance.]],
       sowTag = "Decorative",
+
     baseCost = 4000,
 +
    techLevel = "Spacer",
 +
    prerequisites = {
 +
       "ShipBasics",
 +
       "LongRangeMineralScanner",
 
     },
 
     },
 +
    researchViewX = 19.00,
 +
    researchViewY = 0.00,
 
   },
 
   },
  
   ["ThingDef:TorchLamp"] = {
+
   ["ThingDef:AncientConcreteBarrier"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Ancient.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TorchLamp",
+
     defName = "AncientConcreteBarrier",
     label = "torch lamp",
+
     label = "ancient concrete barrier",
     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.]],
+
     thingClass = "Building",
 
     category = "Building",
 
     category = "Building",
 +
    description = [[A traffic management solution from long ago.]],
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 +
    pathCost = 42,
 +
    pathCostIgnoreRepeat = true,
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
    pathCost = 14,
+
     fillPercent = 0.5,
     fillPercent = 0.15,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 75,
+
       MaxHitPoints = 500,
       WorkToBuild = 100,
+
       Beauty = -10,
 
       Flammability = 0,
 
       Flammability = 0,
       MeditationFocusStrength = 0.0,
+
       WorkToBuild = 600,
 +
    },
 +
    building = {
 +
      isInert = true,
 
     },
 
     },
 
     costList = {
 
     costList = {
       WoodLog = 20,
+
       Steel = 15,
 
     },
 
     },
    building = {
+
   },
      artificialForMeditationPurposes = false,
 
    },
 
    leaveResourcesWhenKilled = false,
 
    comps = {
 
      {
 
        _ = {
 
          Class = "CompProperties_Refuelable",
 
        },
 
        fuelConsumptionRate = 2.0,
 
        fuelCapacity = 20.0,
 
        fuelConsumptionPerTickInRain = 0.0006,
 
        fuelFilter = {
 
          thingDefs = {
 
            "WoodLog",
 
          },
 
        },
 
        initialFuelPercent = 1,
 
        showAllowAutoRefuelToggle = true,
 
      },
 
      {
 
        _ = {
 
          Class = "CompProperties_Glower",
 
        },
 
        glowRadius = 10,
 
        glowColor = {252, 187, 113, 0},
 
      },
 
      {
 
        _ = {
 
          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:AncientLamppost"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
 
      Name = "LampBase",
 
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Ancient.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
 +
    defName = "AncientLamppost",
 +
    label = "ancient lamppost",
 
     thingClass = "Building",
 
     thingClass = "Building",
 
     category = "Building",
 
     category = "Building",
     minifiedDef = "MinifiedThing",
+
     description = [[Road lighting from long ago. No longer functional.]],
     altitudeLayer = "Building",
+
     statBases = {
 +
      MaxHitPoints = 300,
 +
      WorkToBuild = 400,
 +
    },
 +
    fillPercent = 0.25,
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
    fillPercent = 0.20,
+
     pathCost = 42,
     pathCost = 14,
+
     costList = {
     leaveResourcesWhenKilled = false,
+
       Steel = 15,
    thingCategories = {
 
       "BuildingsFurniture",
 
 
     },
 
     },
     comps = {
+
     building = {
       {
+
       isInert = true,
        _ = {
 
          Class = "CompProperties_Flickable",
 
        },
 
      },
 
    },
 
    statBases = {
 
      MaxHitPoints = 50,
 
      WorkToBuild = 300,
 
      Flammability = 1.0,
 
    },
 
    researchPrerequisites = {
 
      "Electricity",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLampBase"] = {
+
   ["ThingDef:Urn"] = {
 
     _ = {
 
     _ = {
      Abstract = true,
+
       ParentName = "BuildingBase",
      Name = "StandingLampBase",
 
       ParentName = "LampBase",
 
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Ancient.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     costList = {
+
     defName = "Urn",
       Steel = 20,
+
    label = "urn",
 +
    description = [[An ancient-style decorative container.]],
 +
    minifiedDef = "MinifiedThing",
 +
    thingCategories = {
 +
       "BuildingsFurniture",
 
     },
 
     },
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    fillPercent = 0.40,
 
     statBases = {
 
     statBases = {
       Mass = 4,
+
      MaxHitPoints = 40,
 +
      WorkToBuild = 500,
 +
       Mass = 5,
 +
      Flammability = 1.0,
 +
      Beauty = 5,
 +
    },
 +
    stuffCategories = {
 +
      "Metallic",
 +
      "Stony",
 
     },
 
     },
     comps = {
+
     costStuffCount = 20,
      {
+
    pathCost = 30,
        _ = {
+
    building = {
          Class = "CompProperties_Power",
+
       isInert = true,
        },
 
        compClass = "CompPowerTrader",
 
        basePowerConsumption = 30,
 
       },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLamp"] = {
+
   ["ThingDef:SculptureBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "BuildingBase",
 +
      Name = "SculptureBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp",
+
     thingClass = "Building_Art",
     label = "standing lamp",
+
     altitudeLayer = "Building",
     description = [[An electrical standing lamp that lights an area. People need light to move and work at full speed.]],
+
     passability = "PassThroughOnly",
 +
    pathCost = 50,
 +
    useHitPoints = true,
 +
    minifiedDef = "MinifiedThing",
 +
    thingCategories = {
 +
      "BuildingsArt",
 +
    },
 +
    statBases = {
 +
      Flammability = 1.0,
 +
      SellPriceFactor = 1.10,
 +
      MeditationFocusStrength = 0.0,
 +
    },
 
     comps = {
 
     comps = {
 +
      {
 +
        compClass = "CompQuality",
 +
      },
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Glower",
+
           Class = "CompProperties_Art",
 
         },
 
         },
         glowRadius = 12,
+
         nameMaker = "NamerArtSculpture",
         glowColor = {217, 217, 208, 0},
+
         descriptionMaker = "ArtDescription_Sculpture",
 +
        canBeEnjoyedAsArt = true,
 
       },
 
       },
    },
 
  },
 
 
  ["ThingDef:StandingLamp_Red"] = {
 
    _ = {
 
      ParentName = "StandingLampBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Buildings_Furniture.xml",
 
      GameVersion = "1.2.2753",
 
      DLC = "Core",
 
    },
 
    defName = "StandingLamp_Red",
 
    label = "standing lamp (red)",
 
    description = [[A standing lamp that lights an area in red.]],
 
    comps = {
 
 
       {
 
       {
 
         _ = {
 
         _ = {
           Class = "CompProperties_Glower",
+
           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",
 +
          },
 +
        },
 +
      },
 +
    },
 +
    tradeTags = {
 +
      "Art",
 +
    },
 +
    recipeMaker = {
 +
      workSpeedStat = "GeneralLaborSpeed",
 +
      workSkill = "Artistic",
 +
      unfinishedThingDef = "UnfinishedSculpture",
 +
      effectWorking = "Sculpt",
 +
      soundWorking = "Recipe_Sculpt",
 +
      recipeUsers = {
 +
        "TableSculpting",
 +
      },
 +
      defaultIngredientFilter = {
 +
        categories = {
 +
          "Root",
 +
        },
 +
        disallowedThingDefs = {
 +
          "Gold",
 +
          "Silver",
 +
          "Plasteel",
 +
          "Jade",
 +
          "Uranium",
 
         },
 
         },
        glowRadius = 12,
 
        glowColor = {217, 80, 80, 0},
 
      },
 
    },
 
    researchPrerequisites = {
 
      _ = {
 
        Inherit = false,
 
 
       },
 
       },
      "ColoredLights",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Green"] = {
+
   ["ThingDef:SculptureSmall"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "SculptureBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Green",
+
     defName = "SculptureSmall",
     label = "standing lamp (green)",
+
     label = "small sculpture",
     description = [[A standing lamp that lights an area in green.]],
+
     description = [[A torso-sized piece of material sculpted into an artistic form.]],
     comps = {
+
     fillPercent = 0.35,
      {
+
    statBases = {
        _ = {
+
      MaxHitPoints = 90,
          Class = "CompProperties_Glower",
+
      Mass = 3,
        },
+
      Beauty = 50,
        glowRadius = 12,
+
       WorkToMake = 18000,
        glowColor = {80, 217, 80, 0},
 
       },
 
 
     },
 
     },
     researchPrerequisites = {
+
     stuffCategories = {
       _ = {
+
       "Metallic",
        Inherit = false,
+
       "Woody",
       },
+
       "Stony",
       "ColoredLights",
 
 
     },
 
     },
 +
    costStuffCount = 50,
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Blue"] = {
+
   ["ThingDef:SculptureLarge"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "SculptureBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Blue",
+
     defName = "SculptureLarge",
     label = "standing lamp (blue)",
+
     label = "large sculpture",
     description = [[A standing lamp that lights an area in blue.]],
+
     description = [[A person-sized piece of material sculpted into an artistic form.]],
     comps = {
+
     fillPercent = 0.5,
      {
+
    statBases = {
        _ = {
+
      MaxHitPoints = 150,
          Class = "CompProperties_Glower",
+
      Mass = 7,
        },
+
      Beauty = 100,
        glowRadius = 12,
+
       WorkToMake = 30000,
        glowColor = {80, 80, 217, 0},
 
       },
 
 
     },
 
     },
     researchPrerequisites = {
+
     stuffCategories = {
       _ = {
+
       "Metallic",
        Inherit = false,
+
       "Woody",
       },
+
       "Stony",
       "ColoredLights",
 
 
     },
 
     },
 +
    costStuffCount = 100,
 
   },
 
   },
  
   ["ThingDef:SunLamp"] = {
+
   ["ThingDef:SculptureGrand"] = {
 
     _ = {
 
     _ = {
       ParentName = "LampBase",
+
       ParentName = "SculptureBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Art.xml",
 
       GameVersion = "1.2.2753",
 
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SunLamp",
+
     defName = "SculptureGrand",
     label = "sun lamp",
+
     label = "grand sculpture",
     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 = [[A huge sculpture sized to dominate a room.]],
     thingClass = "Building_SunLamp",
+
     fillPercent = 0.5,
 +
    size = {2, 2},
 
     statBases = {
 
     statBases = {
       WorkToBuild = 330,
+
       MaxHitPoints = 300,
       Mass = 4.5,
+
      Beauty = 400,
 +
       Mass = 28,
 +
      WorkToMake = 105000,
 
     },
 
     },
     costList = {
+
     stuffCategories = {
       Steel = 40,
+
       "Metallic",
    },
+
       "Woody",
    comps = {
+
       "Stony",
      {
 
        _ = {
 
          Class = "CompProperties_Glower",