Difference between revisions of "Module:Test/data"

From RimWorld Wiki
Jump to navigation Jump to search
m
(research Defs added)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
return {
 
return {
 
  version = "1.2.2753",
 
  
 
   ["BiomeDef:BorealForest"] = {
 
   ["BiomeDef:BorealForest"] = {
Line 7: Line 5:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Cold.xml",
 
       FileName = "Biomes_Cold.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 57: Line 56:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Cold.xml",
 
       FileName = "Biomes_Cold.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 99: Line 99:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Cold.xml",
 
       FileName = "Biomes_Cold.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 151: Line 152:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Cold.xml",
 
       FileName = "Biomes_Cold.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 174: Line 176:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Cold.xml",
 
       FileName = "Biomes_Cold.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 195: Line 198:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Temperate.xml",
 
       FileName = "Biomes_Temperate.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 250: Line 254:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Temperate.xml",
 
       FileName = "Biomes_Temperate.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 301: Line 306:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Warm.xml",
 
       FileName = "Biomes_Warm.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 346: Line 352:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Warm.xml",
 
       FileName = "Biomes_Warm.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 390: Line 397:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_WarmArid.xml",
 
       FileName = "Biomes_WarmArid.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 435: Line 443:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_WarmArid.xml",
 
       FileName = "Biomes_WarmArid.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 471: Line 480:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_WarmArid.xml",
 
       FileName = "Biomes_WarmArid.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 497: Line 507:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Water.xml",
 
       FileName = "Biomes_Water.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 508: Line 519:
 
       DefCategory = "BiomeDef",
 
       DefCategory = "BiomeDef",
 
       FileName = "Biomes_Water.xml",
 
       FileName = "Biomes_Water.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 515: 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",
 
       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",
      CompProperties_Drug = {
+
    label = "frostbite",
        chemical = "Alcohol",
+
  },
        addictiveness = 0.010,
+
 
        minToleranceToAddict = 0.25,
+
  ["DamageDef:TornadoScratch"] = {
        existingAddictionSeverityOffset = 0.20,
+
    _ = {
        needLevelOffset = 0.9,
+
      DefCategory = "DamageDef",
        listOrder = 10,
+
       FileName = "Damages_Environmental.xml",
       },
+
       GameVersion = "1.2.2753",
       {
+
       DLC = "Core",
        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",
 
       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",
       CompProperties_Rottable = {
+
    label = "crush",
        daysToRotStart = 5,
+
  },
        rotDestroys = true,
+
 
       },
+
  ["DamageDef:Blunt"] = {
 +
    _ = {
 +
      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",
 
       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 = {
+
     defName = "Stab",
      baseIngestTicks = 80,
+
    label = "stab",
      chairSearchRadius = 4,
+
  },
      preferability = "DesperateOnly",
+
 
      tasteThought = {},
+
  ["DamageDef:Scratch"] = {
      foodType = {
+
    _ = {
        "VegetableOrFruit",
+
      Name = "Scratch",
      },
+
      DefCategory = "DamageDef",
      joyKind = "Chemical",
+
      FileName = "Damages_MeleeWeapon.xml",
      joy = 0.5,
+
      GameVersion = "1.2.2753",
      drugCategory = "Social",
+
      DLC = "Core",
      canAutoSelectAsFoodForCaravan = false,
 
      outcomeDoers = {
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "AmbrosiaHigh",
 
          severity = 0.50,
 
          toleranceChemical = "Ambrosia",
 
        },
 
        {
 
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "AmbrosiaTolerance",
 
          severity = 0.032,
 
          divideByBodySize = true,
 
        },
 
      },
 
 
     },
 
     },
     comps = {
+
     defName = "Scratch",
      CompProperties_Rottable = {
+
    label = "scratch",
        daysToRotStart = 30,
+
  },
        rotDestroys = true,
+
 
      },
+
  ["DamageDef:ScratchToxic"] = {
      CompProperties_Drug = {
+
    _ = {
        chemical = "Ambrosia",
+
      ParentName = "Scratch",
        addictiveness = 0.010,
+
      DefCategory = "DamageDef",
        minToleranceToAddict = 0.15,
+
      FileName = "Damages_MeleeWeapon.xml",
        existingAddictionSeverityOffset = 0.1,
+
      GameVersion = "1.2.2753",
        needLevelOffset = 0.9,
+
      DLC = "Core",
        listOrder = 30,
 
      },
 
 
     },
 
     },
 +
    defName = "ScratchToxic",
 +
    label = "toxic scratch",
 
   },
 
   },
  
   ["ThingDef:DrugBase"] = {
+
   ["DamageDef:Bite"] = {
 
     _ = {
 
     _ = {
       Name = "DrugBase",
+
       Name = "Bite",
       Abstract = true,
+
       DefCategory = "DamageDef",
       DefCategory = "ThingDef",
+
       FileName = "Damages_MeleeWeapon.xml",
       FileName = "DrugBases.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "ThingWithComps",
+
     defName = "Bite",
     category = "Item",
+
     label = "bite",
    useHitPoints = true,
+
  },
     statBases = {
+
 
       MaxHitPoints = 50,
+
  ["DamageDef:ToxicBite"] = {
       Flammability = 1.0,
+
     _ = {
       DeteriorationRate = 2,
+
       ParentName = "Bite",
       Beauty = -4,
+
      DefCategory = "DamageDef",
 +
       FileName = "Damages_MeleeWeapon.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     altitudeLayer = "Item",
+
     defName = "ToxicBite",
     stackLimit = 150,
+
     label = "toxic bite",
     thingCategories = {
+
  },
       "Drugs",
+
 
 +
  ["DamageDef:Deterioration"] = {
 +
    _ = {
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_Misc.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "Deterioration",
 +
    label = "deterioration",
 +
  },
 +
 
 +
  ["DamageDef:Mining"] = {
 +
     _ = {
 +
       DefCategory = "DamageDef",
 +
      FileName = "Damages_Misc.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     tradeTags = {
+
     defName = "Mining",
       "Drugs",
+
    label = "mining",
 +
  },
 +
 
 +
  ["DamageDef:Rotting"] = {
 +
    _ = {
 +
       DefCategory = "DamageDef",
 +
      FileName = "Damages_Misc.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Rotting",
       CompProperties_Forbiddable = {},
+
    label = "rotting",
 +
  },
 +
 
 +
  ["DamageDef:Extinguish"] = {
 +
    _ = {
 +
       DefCategory = "DamageDef",
 +
      FileName = "Damages_Misc.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     pathCost = 14,
+
     defName = "Extinguish",
     ingestible = {
+
    label = "extinguish",
       preferability = "NeverForNutrition",
+
    defaultDamage = 999999,
       chairSearchRadius = 8,
+
  },
 +
 
 +
  ["DamageDef:Bomb"] = {
 +
     _ = {
 +
       Name = "Bomb",
 +
      DefCategory = "DamageDef",
 +
      FileName = "Damages_Misc.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Bomb",
 +
    label = "bomb",
 +
    defaultDamage = 50,
 
   },
 
   },
  
   ["ThingDef:MakeableDrugBase"] = {
+
   ["DamageDef:BombSuper"] = {
 
     _ = {
 
     _ = {
       Name = "MakeableDrugBase",
+
       ParentName = "Bomb",
       ParentName = "DrugBase",
+
       DefCategory = "DamageDef",
       Abstract = true,
+
       FileName = "Damages_Misc.xml",
      DefCategory = "ThingDef",
+
       GameVersion = "1.2.2753",
       FileName = "DrugBases.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     recipeMaker = {
+
     defName = "BombSuper",
      workSpeedStat = "DrugSynthesisSpeed",
+
    defaultDamage = 550,
       workSkill = "Intellectual",
+
  },
       effectWorking = "Cook",
+
 
       soundWorking = "Recipe_CookMeal",
+
  ["DamageDef:Smoke"] = {
       bulkRecipeCount = 4,
+
    _ = {
 +
       DefCategory = "DamageDef",
 +
       FileName = "Damages_Misc.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Smoke",
 +
    label = "smoke",
 +
    defaultDamage = 0,
 
   },
 
   },
  
   ["ThingDef:MakeableDrugPillBase"] = {
+
   ["DamageDef:RangedStab"] = {
 
     _ = {
 
     _ = {
       Name = "MakeableDrugPillBase",
+
       DefCategory = "DamageDef",
       ParentName = "MakeableDrugBase",
+
       FileName = "Damages_RangedWeapon.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "DrugBases.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "RangedStab",
      foodType = {
+
    label = "stab",
        "Processed",
+
  },
       },
+
 
       baseIngestTicks = 100,
+
  ["DamageDef:Bullet"] = {
       chairSearchRadius = 0,
+
    _ = {
 +
      DefCategory = "DamageDef",
 +
       FileName = "Damages_RangedWeapon.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "Bullet",
 +
    label = "bullet",
 
   },
 
   },
  
   ["ThingDef:DrugPillBase"] = {
+
   ["DamageDef:Arrow"] = {
 
     _ = {
 
     _ = {
       Name = "DrugPillBase",
+
       Name = "Arrow",
       ParentName = "DrugBase",
+
       DefCategory = "DamageDef",
       Abstract = true,
+
       FileName = "Damages_RangedWeapon.xml",
      DefCategory = "ThingDef",
+
       GameVersion = "1.2.2753",
       FileName = "DrugBases.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "Arrow",
       foodType = {
+
    label = "arrow",
        "Processed",
+
  },
       },
+
 
       baseIngestTicks = 100,
+
  ["DamageDef:ArrowHighVelocity"] = {
       chairSearchRadius = 0,
+
    _ = {
 +
       ParentName = "Arrow",
 +
      DefCategory = "DamageDef",
 +
       FileName = "Damages_RangedWeapon.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "ArrowHighVelocity",
 
   },
 
   },
  
   ["ThingDef:GoJuice"] = {
+
   ["DamageDef:Stun"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableDrugBase",
+
       ParentName = "StunBase",
       DefCategory = "ThingDef",
+
       DefCategory = "DamageDef",
       FileName = "GoJuice.xml",
+
       FileName = "Damages_Stun.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GoJuice",
+
     defName = "Stun",
     label = "go-juice",
+
     label = "stun",
     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.]],
+
     defaultDamage = 20,
     statBases = {
+
  },
       WorkToMake = 600,
+
 
       MarketValue = 53,
+
  ["DamageDef:EMP"] = {
       Mass = 0.1,
+
     _ = {
 +
       ParentName = "StunBase",
 +
       DefCategory = "DamageDef",
 +
       FileName = "Damages_Stun.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     ingestible = {
+
     defName = "EMP",
       joyKind = "Chemical",
+
    label = "EMP",
       joy = 0.40,
+
    defaultDamage = 50,
       drugCategory = "Hard",
+
  },
 +
 
 +
  ["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 = {
 +
      DeteriorationRate = 0.5,
 +
      MarketValue = 12,
 +
      Mass = 0.3,
 +
      Flammability = 0.5,
 +
      Nutrition = 0.08,
 +
    },
 +
    ingestible = {
 
       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 808: 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 = {
       CompProperties_Drug = {
+
       {
         chemical = "GoJuice",
+
        _ = {
         addictiveness = 0.026,
+
          Class = "CompProperties_Drug",
 +
        },
 +
         chemical = "Alcohol",
 +
         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",
 
       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,
 +
      Flammability = 0.2,
 +
      MaxHitPoints = 60,
 
     },
 
     },
     ingestible = {
+
     comps = {
       drugCategory = "Medical",
+
       {
      outcomeDoers = {
+
         _ = {
         {
+
          Class = "CompProperties_Rottable",
          _ = {
 
            Class = "IngestionOutcomeDoer_GiveHediff",
 
          },
 
          hediffDef = "LuciferiumHigh",
 
          severity = 1.00,
 
          doToGeneratedPawnIfAddicted = true,
 
 
         },
 
         },
 +
        daysToRotStart = 5,
 +
        rotDestroys = true,
 
       },
 
       },
    },
 
    comps = {
 
      CompProperties_Drug = {
 
        chemical = "Luciferium",
 
        addictiveness = 1.00,
 
        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",
 
       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 916: 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,
+
          Class = "CompProperties_Drug",
    },
+
        },
    comps = {
+
        chemical = "Ambrosia",
      CompProperties_Drug = {
+
        addictiveness = 0.010,
         listOrder = 1000,
+
         minToleranceToAddict = 0.15,
         overdoseSeverityOffset = { ["<"]=0.08, [">"]=0.14 },
+
         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",
 
       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 = {
       CompProperties_Drug = {
+
       {
         chemical = "Psychite",
+
         _ = {
        addictiveness = 0.05,
+
          Class = "CompProperties_Forbiddable",
        existingAddictionSeverityOffset = 0.30,
+
         },
        needLevelOffset = 0.9,
 
        listOrder = 110,
 
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 
         largeOverdoseChance = 0.015,
 
 
       },
 
       },
 +
    },
 +
    pathCost = 14,
 +
    ingestible = {
 +
      preferability = "NeverForNutrition",
 +
      chairSearchRadius = 8,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:PsychiteTea"] = {
+
   ["ThingDef:MakeableDrugBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "MakeableDrugBase",
+
      Name = "MakeableDrugBase",
 +
       ParentName = "DrugBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Psychite_Tea.xml",
+
       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",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychiteTea",
+
     ingestible = {
    label = "psychite tea",
+
      foodType = {
     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.]],
+
        "Processed",
     statBases = {
+
      },
       WorkToMake = 400,
+
      baseIngestTicks = 100,
       MarketValue = 10,
+
      chairSearchRadius = 0,
       Mass = 0.05,
+
     },
       DeteriorationRate = 6,
+
  },
 +
 
 +
  ["ThingDef:DrugPillBase"] = {
 +
     _ = {
 +
       Name = "DrugPillBase",
 +
      ParentName = "DrugBase",
 +
       Abstract = true,
 +
       DefCategory = "ThingDef",
 +
      FileName = "DrugBases.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 
     ingestible = {
 
     ingestible = {
 
       foodType = {
 
       foodType = {
        "Fluid",
 
 
         "Processed",
 
         "Processed",
 
       },
 
       },
 +
      baseIngestTicks = 100,
 +
      chairSearchRadius = 0,
 +
    },
 +
  },
 +
 +
  ["ThingDef:GoJuice"] = {
 +
    _ = {
 +
      ParentName = "MakeableDrugBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "GoJuice.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "GoJuice",
 +
    label = "go-juice",
 +
    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 = {
 +
      WorkToMake = 600,
 +
      MarketValue = 53,
 +
      Mass = 0.1,
 +
    },
 +
    ingestible = {
 
       joyKind = "Chemical",
 
       joyKind = "Chemical",
 
       joy = 0.40,
 
       joy = 0.40,
       baseIngestTicks = 210,
+
       drugCategory = "Hard",
       drugCategory = "Social",
+
       foodType = {
 +
        "Processed",
 +
        "Fluid",
 +
      },
 +
      baseIngestTicks = 80,
 +
      chairSearchRadius = 0,
 
       outcomeDoers = {
 
       outcomeDoers = {
 
         {
 
         {
Line 1,041: 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,050: 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 = {
+
    costList = {
        Cooking = 2,
+
      Neutroamine = 2,
       },
+
       Yayo = 1,
      requiredGiverWorkType = "Cooking",
 
    },
 
    costList = {
 
      PsychoidLeaves = 4,
 
 
     },
 
     },
 
     comps = {
 
     comps = {
       CompProperties_Drug = {
+
       {
        chemical = "Psychite",
+
        _ = {
         addictiveness = 0.02,
+
          Class = "CompProperties_Drug",
         minToleranceToAddict = 0.10,
+
         },
         existingAddictionSeverityOffset = 0.15,
+
        chemical = "GoJuice",
 +
         addictiveness = 0.026,
 +
         existingAddictionSeverityOffset = 0.20,
 
         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",
 
       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,120: 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 = {
       CompProperties_Drug = {
+
       {
        chemical = "Psychite",
+
        _ = {
         addictiveness = 0.01,
+
          Class = "CompProperties_Drug",
         existingAddictionSeverityOffset = 0.20,
+
         },
 +
        chemical = "Luciferium",
 +
         addictiveness = 1.00,
 
         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",
 
       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,197: 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 = {
       CompProperties_Drug = {
+
       {
        chemical = "Smokeleaf",
+
        _ = {
         addictiveness = 0.020,
+
          Class = "CompProperties_Drug",
         minToleranceToAddict = 0.15,
+
         },
         existingAddictionSeverityOffset = 0.06,
+
         listOrder = 1000,
        needLevelOffset = 0.9,
+
         overdoseSeverityOffset = { ["<"]=0.08, [">"]=0.14 },
        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",
 
       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,265: 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,274: 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 = {
       CompProperties_Drug = {
+
       {
         chemical = "WakeUp",
+
        _ = {
         addictiveness = 0.02,
+
          Class = "CompProperties_Drug",
         existingAddictionSeverityOffset = 0.20,
+
        },
 +
         chemical = "Psychite",
 +
         addictiveness = 0.05,
 +
         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:Mote_SparkThrown"] = {
+
   ["ThingDef:PsychiteTea"] = {
 
     _ = {
 
     _ = {
       ParentName = "MoteBase",
+
       ParentName = "MakeableDrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Effecter_Construction.xml",
+
       FileName = "Psychite_Tea.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Mote_SparkThrown",
+
     defName = "PsychiteTea",
     altitudeLayer = "Projectile",
+
     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,
 +
    },
 +
    comps = {
 +
      {
 +
        _ = {
 +
          Class = "CompProperties_Drug",
 +
        },
 +
        chemical = "Psychite",
 +
        addictiveness = 0.02,
 +
        minToleranceToAddict = 0.10,
 +
        existingAddictionSeverityOffset = 0.15,
 +
        needLevelOffset = 0.9,
 +
        listOrder = 110,
 +
      },
 +
    },
 
   },
 
   },
  
   ["ThingDef:Mote_SparkThrownFast"] = {
+
   ["ThingDef:Yayo"] = {
 
     _ = {
 
     _ = {
       ParentName = "MoteBase",
+
       ParentName = "MakeableDrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Effecter_Damage.xml",
+
       FileName = "Psychite_Yayo.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Mote_SparkThrownFast",
+
     defName = "Yayo",
     altitudeLayer = "Projectile",
+
     label = "yayo",
  },
+
    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 = {
  ["ThingDef:Mote_SparkThrownFastBlue"] = {
+
       WorkToMake = 350,
     _ = {
+
       MarketValue = 21,
       ParentName = "MoteBase",
+
       Mass = 0.05,
       DefCategory = "ThingDef",
 
       FileName = "Effecter_Damage.xml",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "Mote_SparkThrownFastBlue",
+
     ingestible = {
    altitudeLayer = "Projectile",
+
      foodType = {
  },
+
        "Processed",
 
+
      },
  ["ThingDef:Mote_LongSparkThrown"] = {
+
      joyKind = "Chemical",
    _ = {
+
      joy = 0.80,
      ParentName = "MoteBase",
+
      drugCategory = "Hard",
      DefCategory = "ThingDef",
+
      baseIngestTicks = 150,
      FileName = "Effecter_Damage.xml",
+
      outcomeDoers = {
      DLC = "Core",
+
        {
 +
          _ = {
 +
            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,
 +
        },
 +
      },
 
     },
 
     },
     defName = "Mote_LongSparkThrown",
+
     recipeMaker = {
    altitudeLayer = "Projectile",
+
       researchPrerequisite = "PsychiteRefining",
  },
+
       recipeUsers = {
 
+
        "DrugLab",
  ["ThingDef:Mote_Splash"] = {
+
       },
    _ = {
+
       soundWorking = "Recipe_Drug",
       ParentName = "MoteBase",
 
       DefCategory = "ThingDef",
 
       FileName = "Effecter_Damage.xml",
 
       DLC = "Core",
 
 
     },
 
     },
     defName = "Mote_Splash",
+
     costList = {
    altitudeLayer = "MoteOverhead",
+
       PsychoidLeaves = 8,
  },
 
 
 
  ["ThingDef:Mote_ToxicDamage"] = {
 
    _ = {
 
       ParentName = "MoteBase",
 
      DefCategory = "ThingDef",
 
      FileName = "Effecter_Damage.xml",
 
      DLC = "Core",
 
 
     },
 
     },
     defName = "Mote_ToxicDamage",
+
     comps = {
    altitudeLayer = "MoteOverhead",
+
      {
  },
+
        _ = {
 
+
          Class = "CompProperties_Drug",
  ["ThingDef:Mote_SmokeJoint"] = {
+
        },
    _ = {
+
        chemical = "Psychite",
      ParentName = "MoteBase",
+
        addictiveness = 0.01,
      DefCategory = "ThingDef",
+
        existingAddictionSeverityOffset = 0.20,
      FileName = "Effecter_Ingest.xml",
+
        needLevelOffset = 0.9,
       DLC = "Core",
+
        isCombatEnhancingDrug = true,
 +
        listOrder = 100,
 +
        overdoseSeverityOffset = { ["<"]=0.18, [">"]=0.35 },
 +
        largeOverdoseChance = 0.01,
 +
       },
 
     },
 
     },
    defName = "Mote_SmokeJoint",
 
    thingClass = "MoteThrown",
 
    altitudeLayer = "MoteOverhead",
 
 
   },
 
   },
  
   ["ThingDef:Mote_SmokeFlake"] = {
+
   ["ThingDef:SmokeleafJoint"] = {
 
     _ = {
 
     _ = {
       ParentName = "MoteBase",
+
       ParentName = "MakeableDrugBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Effecter_Ingest.xml",
+
       FileName = "Smokeleaf.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Mote_SmokeFlake",
+
     defName = "SmokeleafJoint",
     thingClass = "MoteThrown",
+
     label = "smokeleaf joint",
     altitudeLayer = "MoteOverhead",
+
     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 = {
 
+
      WorkToMake = 450,
  ["ThingDef:Mote_ExtinguisherPuff"] = {
+
      MarketValue = 11,
    _ = {
+
      Mass = 0.05,
      ParentName = "MoteBase",
+
      DeteriorationRate = 6,
      DefCategory = "ThingDef",
+
      Flammability = 1.3,
      FileName = "Effecter_Misc.xml",
+
    },
      DLC = "Core",
+
    ingestible = {
 +
      foodType = {
 +
        "Plant",
 +
        "Processed",
 +
      },
 +
      joyKind = "Chemical",
 +
      joy = 0.80,
 +
      baseIngestTicks = 720,
 +
      drugCategory = "Social",
 +
      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,
 +
        },
 +
      },
 
     },
 
     },
     defName = "Mote_ExtinguisherPuff",
+
     recipeMaker = {
    altitudeLayer = "MoteOverhead",
+
      recipeUsers = {
  },
+
        "CraftingSpot",
 
+
        "DrugLab",
  ["ThingDef:BodyPartArchotechBase"] = {
+
       },
    _ = {
+
       workSpeedStat = "DrugCookingSpeed",
      Name = "BodyPartArchotechBase",
+
       workSkill = "Cooking",
      ParentName = "BodyPartBase",
 
       Abstract = true,
 
      DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Archotech.xml",
 
       DLC = "Core",
 
 
     },
 
     },
     thingCategories = {
+
     costList = {
       "BodyPartsArchotech",
+
       SmokeleafLeaves = 4,
 
     },
 
     },
     statBases = {
+
     comps = {
       DeteriorationRate = 0,
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Drug",
 +
        },
 +
        chemical = "Smokeleaf",
 +
        addictiveness = 0.020,
 +
        minToleranceToAddict = 0.15,
 +
        existingAddictionSeverityOffset = 0.06,
 +
        needLevelOffset = 0.9,
 +
        listOrder = 20,
 +
      },
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArchotechEye"] = {
+
   ["ThingDef:WakeUp"] = {
 
     _ = {
 
     _ = {
       ParentName = "BodyPartArchotechBase",
+
       ParentName = "MakeableDrugPillBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Hediffs_BodyParts_Archotech.xml",
+
       FileName = "WakeUp.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ArchotechEye",
+
     defName = "WakeUp",
     label = "archotech eye",
+
     label = "wake-up",
     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 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.]],
 
     statBases = {
 
     statBases = {
       MarketValue = 2800,
+
      WorkToMake = 900,
       Mass = 0.3,
+
      MarketValue = 35,
 +
      Mass = 0.005,
 +
    },
 +
    ingestible = {
 +
      joyKind = "Chemical",
 +
      joy = 0.40,
 +
      drugCategory = "Hard",
 +
      outcomeDoers = {
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_GiveHediff",
 +
          },
 +
          hediffDef = "WakeUpHigh",
 +
          severity = 0.75,
 +
          toleranceChemical = "WakeUp",
 +
        },
 +
        {
 +
          _ = {
 +
            Class = "IngestionOutcomeDoer_OffsetNeed",
 +
          },
 +
          need = "Rest",
 +
          offset = 1.0,
 +
          toleranceChemical = "WakeUp",
 +
        },
 +
      },
 +
    },
 +
    recipeMaker = {
 +
      researchPrerequisite = "WakeUpProduction",
 +
      recipeUsers = {
 +
        "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:BodyPartArchotechBase"] = {
 +
    _ = {
 +
      Name = "BodyPartArchotechBase",
 +
      ParentName = "BodyPartBase",
 +
      Abstract = true,
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Archotech.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    thingCategories = {
 +
      "BodyPartsArchotech",
 +
    },
 +
    statBases = {
 +
      DeteriorationRate = 0,
 +
    },
 +
  },
 +
 
 +
  ["ThingDef:ArchotechEye"] = {
 +
    _ = {
 +
      ParentName = "BodyPartArchotechBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Hediffs_BodyParts_Archotech.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "ArchotechEye",
 +
    label = "archotech eye",
 +
    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.]],
 +
    statBases = {
 +
       MarketValue = 2800,
 +
       Mass = 0.3,
 
     },
 
     },
 
   },
 
   },
Line 1,440: Line 1,737:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Archotech.xml",
 
       FileName = "Hediffs_BodyParts_Archotech.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,456: Line 1,754:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Archotech.xml",
 
       FileName = "Hediffs_BodyParts_Archotech.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,473: Line 1,772:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Base.xml",
 
       FileName = "Hediffs_BodyParts_Base.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,491: Line 1,791:
 
     },
 
     },
 
     comps = {
 
     comps = {
       CompProperties_Forbiddable = {},
+
       {
 +
        _ = {
 +
          Class = "CompProperties_Forbiddable",
 +
        },
 +
      },
 
     },
 
     },
 
   },
 
   },
Line 1,502: Line 1,806:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,534: Line 1,839:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,553: Line 1,859:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,572: Line 1,879:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,591: Line 1,899:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,610: Line 1,919:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,626: Line 1,936:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,645: Line 1,956:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,663: Line 1,975:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,674: Line 1,987:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 
       FileName = "Hediffs_BodyParts_Bionic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,692: Line 2,006:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,707: Line 2,022:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,723: Line 2,039:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,739: Line 2,056:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,755: Line 2,073:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 
       FileName = "Hediffs_BodyParts_Natural.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,773: Line 2,092:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,790: Line 2,110:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,813: Line 2,134:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,832: Line 2,154:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,851: Line 2,174:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,870: Line 2,194:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,886: Line 2,211:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,905: Line 2,231:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,921: Line 2,248:
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 
       FileName = "Hediffs_BodyParts_Prosthetic.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
Line 1,932: 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",
 
       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",
 
     fillPercent = 0.5,
 
    statBases = {
 
       MaxHitPoints = 500,
 
      Beauty = -10,
 
      Flammability = 0,
 
      WorkToBuild = 600,
 
 
     },
 
     },
     building = {
+
     researchViewX = 0.00,
       isInert = true,
+
    researchViewY = 1.40,
 +
  },
 +
 
 +
  ["ResearchProjectDef:TreeSowing"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 +
    },
 +
    defName = "TreeSowing",
 +
    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",
 
       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",
 
       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",
 +
    },
 +
    researchViewX = 0.00,
 +
    researchViewY = 4.25,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ComplexClothing"] = {
 +
    _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     altitudeLayer = "Building",
+
     defName = "ComplexClothing",
     passability = "PassThroughOnly",
+
     label = "complex clothing",
     fillPercent = 0.40,
+
     description = [[Tailor complicated garments like pants, dusters, and cowboy hats.]],
     statBases = {
+
     baseCost = 600,
      MaxHitPoints = 40,
+
    techLevel = "Medieval",
      WorkToBuild = 500,
+
    researchViewX = 1.00,
      Mass = 5,
+
    researchViewY = 2.80,
      Flammability = 1.0,
+
    tags = {
       Beauty = 5,
+
       "ClassicStart",
 
     },
 
     },
     pathCost = 30,
+
  },
    building = {
+
 
       isInert = true,
+
  ["ResearchProjectDef:DrugProduction"] = {
 +
     _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "DrugProduction",
 +
    label = "drug production",
 +
    description = [[Build a drug lab for basic drug synthesis. Further research is required to make specific drugs.]],
 +
    baseCost = 500,
 +
    techLevel = "Industrial",
 +
    researchViewX = 3.00,
 +
    researchViewY = 0.00,
 
   },
 
   },
  
   ["ThingDef:SculptureBase"] = {
+
   ["ResearchProjectDef:Cocoa"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       Name = "SculptureBase",
+
       FileName = "ResearchProjects_1.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Art.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_Art",
+
     defName = "Cocoa",
     altitudeLayer = "Building",
+
     label = "cocoa",
     passability = "PassThroughOnly",
+
     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.]],
     pathCost = 50,
+
    baseCost = 1000,
     useHitPoints = true,
+
     techLevel = "Neolithic",
     minifiedDef = "MinifiedThing",
+
     researchViewX = 1.00,
     thingCategories = {
+
     researchViewY = 0.00,
       "BuildingsArt",
+
     prerequisites = {
 +
       "TreeSowing",
 
     },
 
     },
     statBases = {
+
  },
       Flammability = 1.0,
+
 
       SellPriceFactor = 1.10,
+
  ["ResearchProjectDef:Devilstrand"] = {
       MeditationFocusStrength = 0.0,
+
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_1.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Devilstrand",
      {
+
    label = "devilstrand",
        compClass = "CompQuality",
+
    description = [[Plant devilstrand, a slow-growing mushroom that yields an exceptionally tough, heat-resistant plant fiber.]],
      },
+
    baseCost = 800,
      CompProperties_Art = {
+
    techLevel = "Neolithic",
        nameMaker = "NamerArtSculpture",
+
    researchViewX = 0.00,
        descriptionMaker = "ArtDescription_Sculpture",
+
    researchViewY = 2.80,
        canBeEnjoyedAsArt = true,
+
  },
      },
+
 
      CompProperties_MeditationFocus = {
+
  ["ResearchProjectDef:CarpetMaking"] = {
        statDef = "MeditationFocusStrength",
+
    _ = {
        focusTypes = {
+
      DefCategory = "ResearchProjectDef",
          "Artistic",
+
      FileName = "ResearchProjects_1.xml",
        },
+
      GameVersion = "1.2.2753",
        offsets = {
+
      DLC = "Core",
          {
+
    },
            _ = {
+
    defName = "CarpetMaking",
              Class = "FocusStrengthOffset_Quality",
+
    label = "carpet making",
            },
+
    description = [[Weave beautiful carpets from cloth.]],
            curve = {
+
    baseCost = 800,
              points = {
+
    techLevel = "Medieval",
                {0, 0.12},
+
    researchViewX = 1.00,
                {1, 0.16},
+
    researchViewY = 2.10,
                {2, 0.20},
+
  },
                {3, 0.22},
+
 
                {4, 0.24},
+
  ["ResearchProjectDef:Pemmican"] = {
                {5, 0.26},
+
    _ = {
                {6, 0.28},
+
      DefCategory = "ResearchProjectDef",
              },
+
      FileName = "ResearchProjects_1.xml",
            },
+
      GameVersion = "1.2.2753",
          },
+
       DLC = "Core",
          {
 
            _ = {
 
              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 = "Pemmican",
       "Art",
+
    label = "pemmican",
 +
    description = [[Make pemmican, a preserved mixture of meat and plant matter that doesn't go bad for a long time. Great for traveling.]],
 +
    baseCost = 500,
 +
    techLevel = "Neolithic",
 +
    tags = {
 +
       "TribalStart",
 
     },
 
     },
     recipeMaker = {
+
     researchViewX = 1.00,
      workSpeedStat = "GeneralLaborSpeed",
+
    researchViewY = 1.40,
      workSkill = "Artistic",
+
  },
      unfinishedThingDef = "UnfinishedSculpture",
+
 
      effectWorking = "Sculpt",
+
  ["ResearchProjectDef:Smithing"] = {
       soundWorking = "Recipe_Sculpt",
+
    _ = {
       recipeUsers = {
+
       DefCategory = "ResearchProjectDef",
        "TableSculpting",
+
       FileName = "ResearchProjects_1.xml",
       },
+
       GameVersion = "1.2.2753",
      defaultIngredientFilter = {
+
      DLC = "Core",
        categories = {
 
          "Root",
 
        },
 
        disallowedThingDefs = {
 
          "Gold",
 
          "Silver",
 
          "Plasteel",
 
          "Jade",
 
          "Uranium",
 
        },
 
      },
 
 
     },
 
     },
 +
    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:SculptureSmall"] = {
+
   ["ResearchProjectDef:RecurveBow"] = {
 
     _ = {
 
     _ = {
       ParentName = "SculptureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureSmall",
+
     defName = "RecurveBow",
     label = "small sculpture",
+
     label = "recurve bow",
     description = [[A torso-sized piece of material sculpted into an artistic form.]],
+
     description = [[Build the recurve bow, an effective and inexpensive ranged weapon.]],
     fillPercent = 0.35,
+
     baseCost = 400,
     statBases = {
+
     techLevel = "Neolithic",
      MaxHitPoints = 90,
+
    tags = {
      Mass = 3,
+
       "TribalStart",
       Beauty = 50,
 
      WorkToMake = 18000,
 
 
     },
 
     },
 +
    researchViewX = 0.00,
 +
    researchViewY = 0.70,
 
   },
 
   },
  
   ["ThingDef:SculptureLarge"] = {
+
   ["ResearchProjectDef:PsychiteRefining"] = {
 
     _ = {
 
     _ = {
       ParentName = "SculptureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureLarge",
+
     defName = "PsychiteRefining",
     label = "large sculpture",
+
     label = "psychite refining",
     description = [[A person-sized piece of material sculpted into an artistic form.]],
+
     description = [[Refine psychoid leaves into flake and yayo, different forms of the euphoric psychite drug.]],
     fillPercent = 0.5,
+
     baseCost = 400,
     statBases = {
+
     techLevel = "Industrial",
      MaxHitPoints = 150,
+
    prerequisites = {
      Mass = 7,
+
       "DrugProduction",
       Beauty = 100,
 
      WorkToMake = 30000,
 
 
     },
 
     },
 +
    researchViewX = 4.00,
 +
    researchViewY = 0.40,
 
   },
 
   },
  
   ["ThingDef:SculptureGrand"] = {
+
   ["ResearchProjectDef:WakeUpProduction"] = {
 
     _ = {
 
     _ = {
       ParentName = "SculptureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SculptureGrand",
+
     defName = "WakeUpProduction",
     label = "grand sculpture",
+
     label = "wake-up production",
     description = [[A huge sculpture sized to dominate a room.]],
+
     description = [[Synthesize wake-up, a work performance-enhancing drug which replaces the need for sleep.]],
     fillPercent = 0.5,
+
     baseCost = 600,
     size = {2, 2},
+
     techLevel = "Industrial",
     statBases = {
+
     prerequisites = {
       MaxHitPoints = 300,
+
       "DrugProduction",
      Beauty = 400,
 
      Mass = 28,
 
      WorkToMake = 105000,
 
 
     },
 
     },
 +
    researchViewX = 4.00,
 +
    researchViewY = 1.10,
 
   },
 
   },
  
   ["ThingDef:Snowman"] = {
+
   ["ResearchProjectDef:GoJuiceProduction"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Art.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Snowman",
+
     defName = "GoJuiceProduction",
     label = "snowman",
+
     label = "go-juice production",
     description = [[A set of large snowballs piled and shaped to resemble a person. People make these for the fun of it.]],
+
     description = [[Produce go-juice, a synthetic combat-performance-enhancing drug which improves shooting, melee, and movement ability, and dulls pain.]],
     thingClass = "Building",
+
     baseCost = 1000,
     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 = {
 
      {
 
        compClass = "CompMelter",
 
      },
 
    },
 
    building = {
 
      repairable = false,
 
      isInert = true,
 
      artificialForMeditationPurposes = false,
 
 
     },
 
     },
 +
    researchViewX = 4.00,
 +
    researchViewY = 1.80,
 
   },
 
   },
  
   ["ThingDef:BuildingBase"] = {
+
   ["ResearchProjectDef:PenoxycylineProduction"] = {
 
     _ = {
 
     _ = {
       Name = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       Abstract = true,
+
       FileName = "ResearchProjects_1.xml",
      DefCategory = "ThingDef",
+
       GameVersion = "1.2.2753",
       FileName = "Buildings_Base.xml",
 
 
       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",
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Exotic.xml",
 
 
       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 = {
 
      ChunkSlagSteel = 4,
 
      Steel = 60,
 
      ComponentIndustrial = 1,
 
      Plasteel = 10,
 
      ComponentSpacer = 1,
 
    },
 
    building = {
 
      combatPower = 250,
 
    },
 
    comps = {
 
      CompProperties_WakeUpDormant = {},
 
 
     },
 
     },
 +
    researchViewX = 2.00,
 +
    researchViewY = 3.15,
 
   },
 
   },
  
   ["ThingDef:PsychicDronerShipPart"] = {
+
   ["ResearchProjectDef:PlateArmor"] = {
 
     _ = {
 
     _ = {
       ParentName = "CrashedShipPartBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Exotic.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PsychicDronerShipPart",
+
     defName = "PlateArmor",
     label = "ship part (psychic droner)",
+
     label = "plate armor",
     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 = [[Smith suits of plate armor from metal or wood. This heavy armor noticeably slows movement, but protects very effectively.]],
     comps = {
+
     baseCost = 600,
      CompProperties_CausesGameCondition_PsychicEmanation = {
+
    techLevel = "Medieval",
        conditionDef = "PsychicDroner",
+
    prerequisites = {
        compClass = "CompCauseGameCondition_PsychicEmanation",
+
       "Smithing",
        worldRange = 1,
+
       "ComplexClothing",
        droneLevelIncreaseInterval = 150000,
 
        droneLevel = 2,
 
       },
 
       CompProperties_AnimalInsanityPulser = {},
 
 
     },
 
     },
 +
    researchViewX = 2.00,
 +
    researchViewY = 2.50,
 
   },
 
   },
  
   ["ThingDef:DefoliatorShipPart"] = {
+
   ["ResearchProjectDef:Greatbow"] = {
 
     _ = {
 
     _ = {
       ParentName = "CrashedShipPartBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_1.xml",
       FileName = "Buildings_Exotic.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DefoliatorShipPart",
+
     defName = "Greatbow",
     label = "ship part (defoliator)",
+
     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 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 = [[Craft greatbows for killing enemies at great range.]],
     comps = {
+
     baseCost = 600,
      CompProperties_PlantHarmRadius = {
+
    techLevel = "Medieval",
        radiusPerDayCurve = {
+
    prerequisites = {
          points = {
+
      "RecurveBow",
            "0  , 5",
 
            "1.5, 18",
 
            "6  , 40",
 
            "20 , 100",
 
          },
 
        },
 
      },
 
 
     },
 
     },
 +
    researchViewX = 1.00,
 +
    researchViewY = 0.70,
 
   },
 
   },
  
   ["ThingDef:ShipChunk"] = {
+
   ["ResearchProjectDef:Electricity"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Exotic.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "ShipChunk",
+
     defName = "Electricity",
     label = "ship chunk",
+
     label = "electricity",
     description = [[A chunk of a spacecraft. Can be deconstructed to yield useful resources.]],
+
     description = [[Harness the power of electricity for a hundred different tasks.]],
     category = "Building",
+
     baseCost = 1600,
     altitudeLayer = "Building",
+
     techLevel = "Industrial",
     pathCost = 42,
+
     tags = {
    passability = "PassThroughOnly",
+
      "ClassicStart",
    fillPercent = 0.50,
 
    size = {2, 2},
 
    statBases = {
 
      MaxHitPoints = 300,
 
      Flammability = 0,
 
      Beauty = -20,
 
      WorkToBuild = 12000,
 
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     researchViewX = 5.00,
     killedLeavings = {
+
     researchViewY = 2.90,
       ChunkSlagSteel = 2,
+
  },
       ComponentIndustrial = 1,
+
 
 +
  ["ResearchProjectDef:Batteries"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     costList = {
+
     defName = "Batteries",
      ComponentIndustrial = 11,
+
    label = "battery",
      Steel = 40,
+
    description = [[Build batteries for storing electricity.]],
     },
+
    baseCost = 400,
     building = {
+
     techLevel = "Industrial",
       alwaysDeconstructible = true,
+
     prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 6.00,
 +
    researchViewY = 1.20,
 
   },
 
   },
  
   ["ThingDef:FurnitureBase"] = {
+
   ["ResearchProjectDef:BiofuelRefining"] = {
 
     _ = {
 
     _ = {
       Name = "FurnitureBase",
+
       DefCategory = "ResearchProjectDef",
       ParentName = "BuildingBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     minifiedDef = "MinifiedThing",
+
     defName = "BiofuelRefining",
     thingCategories = {
+
     label = "biofuel refining",
       "BuildingsFurniture",
+
    description = [[Build biofuel refineries to make chemfuel from biological matter like wood or foodstuffs.]],
 +
    baseCost = 700,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 2.60,
 
   },
 
   },
  
   ["ThingDef:FurnitureWithQualityBase"] = {
+
   ["ResearchProjectDef:WatermillGenerator"] = {
 
     _ = {
 
     _ = {
       Name = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       ParentName = "FurnitureBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "WatermillGenerator",
      {
+
    label = "watermill generator",
        compClass = "CompQuality",
+
    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:ArtableFurnitureBase"] = {
+
   ["ResearchProjectDef:NutrientPaste"] = {
 
     _ = {
 
     _ = {
       Name = "ArtableFurnitureBase",
+
       DefCategory = "ResearchProjectDef",
       ParentName = "FurnitureWithQualityBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "NutrientPaste",
      CompProperties_Art = {
+
    label = "nutrient paste",
        nameMaker = "NamerArtFurniture",
+
    description = [[Build nutrient paste dispensers which efficiently produce edible meals from raw nutritive feedstocks, while requiring no labor at all.]],
        descriptionMaker = "ArtDescription_Furniture",
+
    baseCost = 400,
        minQualityForArtistic = "Excellent",
+
    techLevel = "Industrial",
       },
+
    prerequisites = {
 +
      "Electricity",
 +
    },
 +
    researchViewX = 8.00,
 +
    researchViewY = 1.20,
 +
    tags = {
 +
       "ClassicStart",
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:ArtableFurnitureRegardlessOfQualityBase"] = {
+
   ["ResearchProjectDef:SolarPanels"] = {
 
     _ = {
 
     _ = {
       Name = "ArtableFurnitureRegardlessOfQualityBase",
+
       DefCategory = "ResearchProjectDef",
       ParentName = "FurnitureWithQualityBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "SolarPanels",
      CompProperties_Art = {
+
    label = "solar panel",
        nameMaker = "NamerArtFurniture",
+
    description = [[Build solar panels for electricity generation.]],
        descriptionMaker = "ArtDescription_Furniture",
+
    baseCost = 600,
        minQualityForArtistic = "Awful",
+
    techLevel = "Industrial",
       },
+
    prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 1.90,
 
   },
 
   },
  
   ["ThingDef:SleepingSpot"] = {
+
   ["ResearchProjectDef:AirConditioning"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SleepingSpot",
+
     defName = "AirConditioning",
     label = "sleeping spot",
+
     label = "air conditioning",
     description = [[Designates a spot on the ground where people should sleep. Not comfortable.]],
+
     description = [[Build coolers to make people comfortable in hot weather, or to construct freezers for storing perishable goods.]],
     thingClass = "Building_Bed",
+
     baseCost = 500,
     altitudeLayer = "FloorEmplacement",
+
     techLevel = "Industrial",
     statBases = {
+
     prerequisites = {
       WorkToBuild = 0,
+
       "Electricity",
      Comfort = 0.4,
 
      SurgerySuccessChanceFactor = 0.7,
 
 
     },
 
     },
     useHitPoints = false,
+
     tags = {
    size = {1, 2},
+
       "ClassicStart",
    passability = "Standable",
 
    building = {
 
      sowTag = "SupportPlantsOnly",
 
      artificialForMeditationPurposes = false,
 
      buildingTags = {
 
        "Bed",
 
       },
 
    },
 
    comps = {
 
      CompProperties_AssignableToPawn = {
 
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
 +
    researchViewX = 6.00,
 +
    researchViewY = 2.60,
 
   },
 
   },
  
   ["ThingDef:DoubleSleepingSpot"] = {
+
   ["ResearchProjectDef:Autodoors"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DoubleSleepingSpot",
+
     defName = "Autodoors",
     label = "double sleeping spot",
+
     label = "autodoor",
     description = [[Designates a spot on the ground where two people should sleep together. 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 = {2, 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",
      CompProperties_AssignableToPawn = {
+
    label = "hydroponics",
        drawAssignmentOverlay = false,
+
    description = [[Build hydroponics basins to rapidly grow crops indoors regardless of the terrain or weather outside.]],
        compClass = "CompAssignableToPawn_Bed",
+
    baseCost = 700,
       },
+
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 6.00,
 +
    researchViewY = 0.50,
 
   },
 
   },
  
   ["ThingDef:BedBase"] = {
+
   ["ResearchProjectDef:TubeTelevision"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureBase",
+
       DefCategory = "ResearchProjectDef",
       Name = "BedBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building_Bed",
+
     defName = "TubeTelevision",
     altitudeLayer = "Building",
+
     label = "tube television",
     comps = {
+
     description = [[Produce tube televisions for recreational watching.]],
      CompProperties_AssignableToPawn = {
+
    baseCost = 1000,
        drawAssignmentOverlay = false,
+
    techLevel = "Industrial",
        compClass = "CompAssignableToPawn_Bed",
+
    prerequisites = {
       },
+
       "Electricity",
 
     },
 
     },
     passability = "PassThroughOnly",
+
     hiddenPrerequisites = {
    building = {
+
       "ComplexFurniture",
       buildingTags = {
 
        "Bed",
 
      },
 
 
     },
 
     },
 +
    researchViewX = 9.00,
 +
    researchViewY = 0.50,
 
   },
 
   },
  
   ["ThingDef:BedWithQualityBase"] = {
+
   ["ResearchProjectDef:PackagedSurvivalMeal"] = {
 
     _ = {
 
     _ = {
       Name = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       ParentName = "BedBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "PackagedSurvivalMeal",
      {
+
    label = "packaged survival meal",
        compClass = "CompQuality",
+
    description = [[Produce packaged survival meals which never go bad. Great for traveling.]],
       },
+
    baseCost = 500,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "NutrientPaste",
 
     },
 
     },
 +
    researchViewX = 9.00,
 +
    researchViewY = 1.20,
 
   },
 
   },
  
   ["ThingDef:ArtableBedBase"] = {
+
   ["ResearchProjectDef:Firefoam"] = {
 
     _ = {
 
     _ = {
       Name = "ArtableBedBase",
+
       DefCategory = "ResearchProjectDef",
       ParentName = "BedWithQualityBase",
+
       FileName = "ResearchProjects_2_Electricity.xml",
      Abstract = true,
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "Firefoam",
      CompProperties_Art = {
+
    label = "firefoam",
        nameMaker = "NamerArtFurniture",
+
    description = [[Construct firefoam poppers, automatic fire-safety devices which spread fire-retardant foam in response to encroaching flames.]],
        descriptionMaker = "ArtDescription_Furniture",
+
    baseCost = 600,
        minQualityForArtistic = "Excellent",
+
    techLevel = "Industrial",
       },
+
    prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 8.00,
 +
    researchViewY = 1.90,
 
   },
 
   },
  
   ["ThingDef:Bed"] = {
+
   ["ResearchProjectDef:IEDs"] = {
 
     _ = {
 
     _ = {
       ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bed",
+
     defName = "IEDs",
     label = "bed",
+
     label = "IEDs",
     description = [[A cozy mattress and sheets on a frame for resting.]],
+
     description = [[Build improvised traps from any kind of mortar shell.]],
     comps = {
+
     baseCost = 500,
      CompProperties_AffectedByFacilities = {
+
    techLevel = "Industrial",
        linkableFacilities = {
+
    prerequisites = {
          "EndTable",
+
      "Electricity",
          "Dresser",
 
        },
 
      },
 
 
     },
 
     },
     statBases = {
+
     hideWhen = {
       MaxHitPoints = 140,
+
       trapsDisabled = true,
      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 = 0.50,
       bed_healPerDay = 4,
+
  },
 +
 
 +
  ["ResearchProjectDef:GeothermalPower"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     fillPercent = 0.4,
+
     defName = "GeothermalPower",
     pathCost = 42,
+
    label = "geothermal power",
     researchPrerequisites = {
+
    description = [[Build geothermal power plants on top of steam geysers, for uninterrupted power.]],
       "ComplexFurniture",
+
     baseCost = 3200,
 +
    techLevel = "Industrial",
 +
     prerequisites = {
 +
       "Electricity",
 
     },
 
     },
 +
    researchViewX = 8.00,
 +
    researchViewY = 2.60,
 
   },
 
   },
  
   ["ThingDef:DoubleBed"] = {
+
   ["ResearchProjectDef:SterileMaterials"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtableBedBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DoubleBed",
+
     defName = "SterileMaterials",
     label = "double bed",
+
     label = "sterile materials",
     description = [[A simple double-wide bed that fits two people.]],
+
     description = [[Construct sterile tiles to make cleanrooms for safer and more effective medical treatment, research, and cooking.]],
     comps = {
+
     baseCost = 600,
       CompProperties_AffectedByFacilities = {
+
    techLevel = "Industrial",
        linkableFacilities = {
+
    prerequisites = {
          "EndTable",
+
       "Electricity",
          "Dresser",
+
    },
        },
+
    researchViewX = 8.00,
       },
+
    researchViewY = 0.50,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ColoredLights"] = {
 +
    _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     statBases = {
+
     defName = "ColoredLights",
      MaxHitPoints = 200,
+
    label = "colored lights",
      Flammability = 1.0,
+
    description = [[Construct colored lights for decorative purposes. Cosmetic only.]],
      WorkToBuild = 1500,
+
    baseCost = 300,
      Mass = 50,
+
    techLevel = "Industrial",
      Comfort = 0.75,
+
    prerequisites = {
      Beauty = 2,
+
       "Electricity",
      BedRestEffectiveness = 1,
 
      ImmunityGainSpeedFactor = 1.07,
 
       SurgerySuccessChanceFactor = 1,
 
 
     },
 
     },
     size = {2, 2},
+
     researchViewX = 9.00,
     building = {
+
    researchViewY = 1.90,
       bed_healPerDay = 4,
+
  },
 +
 
 +
  ["ResearchProjectDef:Machining"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     terrainAffordanceNeeded = "Light",
+
     defName = "Machining",
     fillPercent = 0.4,
+
     label = "machining",
     pathCost = 42,
+
    description = [[Build machining tables to craft guns, grenades, flak armor, and to shred dead mechanoids for resources.]],
     leaveResourcesWhenKilled = true,
+
     baseCost = 1000,
     researchPrerequisites = {
+
     techLevel = "Industrial",
       "ComplexFurniture",
+
     prerequisites = {
 +
       "Electricity",
 +
      "Smithing",
 
     },
 
     },
 +
    researchViewX = 6.00,
 +
    researchViewY = 3.50,
 
   },
 
   },
  
   ["ThingDef:RoyalBed"] = {
+
   ["ResearchProjectDef:SmokepopBelt"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtableBedBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "RoyalBed",
+
     defName = "SmokepopBelt",
     label = "royal bed",
+
     label = "smokepop packs",
     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 smokepop packs which allow the wearer to deploy a defensive smokescreen.]],
     comps = {
+
     baseCost = 300,
      CompProperties_AffectedByFacilities = {
+
    techLevel = "Industrial",
        linkableFacilities = {
+
    prerequisites = {
          "EndTable",
+
      "Machining",
          "Dresser",
+
    },
        },
+
    hiddenPrerequisites = {
       },
+
       "ComplexClothing",
 
     },
 
     },
     statBases = {
+
     researchViewX = 7.00,
      MaxHitPoints = 200,
+
    researchViewY = 4.80,
      Flammability = 1.0,
+
  },
      WorkToBuild = 50000,
+
 
      Mass = 60,
+
  ["ResearchProjectDef:Prosthetics"] = {
      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 = "Prosthetics",
     costList = {
+
    label = "prosthetics",
       Gold = 50,
+
    description = [[Build inexpensive prosthetic body parts to replace lost limbs. Requires a skilled doctor to attach.]],
 +
    baseCost = 600,
 +
    techLevel = "Industrial",
 +
     prerequisites = {
 +
       "Machining",
 
     },
 
     },
     building = {
+
     researchViewX = 8.00,
       bed_healPerDay = 4,
+
    researchViewY = 4.80,
 +
  },
 +
 
 +
  ["ResearchProjectDef:Gunsmithing"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     terrainAffordanceNeeded = "Light",
+
     defName = "Gunsmithing",
     fillPercent = 0.4,
+
     label = "gunsmithing",
     pathCost = 42,
+
    description = [[Craft simple manually-operated guns like revolvers, pump shotguns, bolt-action rifles, and incendiary launchers.]],
     leaveResourcesWhenKilled = true,
+
     baseCost = 500,
     researchPrerequisites = {
+
     techLevel = "Industrial",
       "ComplexFurniture",
+
     prerequisites = {
 +
       "Machining",
 
     },
 
     },
 +
    researchViewX = 7.00,
 +
    researchViewY = 3.40,
 
   },
 
   },
  
   ["ThingDef:HospitalBed"] = {
+
   ["ResearchProjectDef:FlakArmor"] = {
 
     _ = {
 
     _ = {
       ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HospitalBed",
+
     defName = "FlakArmor",
     label = "hospital bed",
+
     label = "flak armor",
     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 = [[Craft clothing with metal armor sewn in to resist bullets and explosions. This weighty armor slows movement slightly.]],
     statBases = {
+
     baseCost = 1200,
      MaxHitPoints = 150,
+
    techLevel = "Industrial",
      WorkToBuild = 2800,
+
    prerequisites = {
      Mass = 35,
+
       "Machining",
       Flammability = 1.0,
 
      BedRestEffectiveness = 1,
 
      Comfort = 0.80,
 
      ImmunityGainSpeedFactor = 1.11,
 
      MedicalTendQualityOffset = 0.10,
 
      SurgerySuccessChanceFactor = 1.1,
 
 
     },
 
     },
     comps = {
+
     hiddenPrerequisites = {
       CompProperties_AffectedByFacilities = {
+
       "PlateArmor",
        linkableFacilities = {
 
          "VitalsMonitor",
 
          "EndTable",
 
          "Dresser",
 
        },
 
      },
 
 
     },
 
     },
     size = {1, 2},
+
     researchViewX = 7.00,
     costList = {
+
    researchViewY = 4.10,
       Steel = 80,
+
  },
       ComponentIndustrial = 5,
+
 
 +
  ["ResearchProjectDef:Mortars"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     building = {
+
     defName = "Mortars",
      bed_healPerDay = 10,
+
    label = "mortars",
      bed_defaultMedical = true,
+
    description = [[Build mortars which can lob shells long distances - even over walls.]],
       buildingSizeCategory = "Small",
+
    baseCost = 2000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Gunsmithing",
 
     },
 
     },
     fillPercent = 0.4,
+
     hideWhen = {
    pathCost = 42,
+
      mortarsDisabled = true,
    leaveResourcesWhenKilled = true,
 
    researchPrerequisites = {
 
      "HospitalBed",
 
 
     },
 
     },
 +
    researchViewX = 8.00,
 +
    researchViewY = 4.10,
 
   },
 
   },
  
   ["ThingDef:Bedroll"] = {
+
   ["ResearchProjectDef:BlowbackOperation"] = {
 
     _ = {
 
     _ = {
       ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Bedroll",
+
     defName = "BlowbackOperation",
     label = "bedroll",
+
     label = "blowback operation",
     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 = [[Craft low-power blowback-operated guns like autopistols and machine pistols.]],
     statBases = {
+
     baseCost = 500,
      MaxHitPoints = 75,
+
    techLevel = "Industrial",
      Flammability = 1.0,
+
    prerequisites = {
      Mass = 2.5,
+
       "Gunsmithing",
       BedRestEffectiveness = 0.95,
 
      ImmunityGainSpeedFactor = 1.05,
 
      Comfort = 0.68,
 
      WorkToBuild = 600,
 
 
     },
 
     },
     comps = {
+
     researchViewX = 8.00,
      CompProperties_AffectedByFacilities = {
+
    researchViewY = 3.40,
        linkableFacilities = {
+
  },
          "Dresser",
+
 
          "EndTable",
+
  ["ResearchProjectDef:GasOperation"] = {
        },
+
    _ = {
       },
+
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_2_Electricity.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     size = {1, 2},
+
     defName = "GasOperation",
     building = {
+
    label = "gas operation",
      bed_healPerDay = 4,
+
    description = [[Craft high-power guns like chain shotguns, LMGs, and heavy SMGs.]],
       bed_caravansCanUse = true,
+
     baseCost = 1000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "BlowbackOperation",
 
     },
 
     },
     pathCost = 14,
+
     researchViewX = 9.00,
     passability = "Standable",
+
     researchViewY = 4.10,
 
   },
 
   },
  
   ["ThingDef:BedrollDouble"] = {
+
   ["ResearchProjectDef:GunTurrets"] = {
 
     _ = {
 
     _ = {
       ParentName = "BedWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_2_Electricity.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BedrollDouble",
+
     defName = "GunTurrets",
     label = "double bedroll",
+
     label = "gun turrets",
     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 = [[Produce simple automated gun turrets.]],
     statBases = {
+
     baseCost = 500,
      Flammability = 1.0,
+
    techLevel = "Industrial",
      Mass = 4.5,
+
    prerequisites = {
      BedRestEffectiveness = 0.95,
+
       "BlowbackOperation",
       ImmunityGainSpeedFactor = 1.05,
 
      Comfort = 0.68,
 
      WorkToBuild = 1100,
 
 
     },
 
     },
     comps = {
+
     hideWhen = {
       CompProperties_AffectedByFacilities = {
+
       turretsDisabled = true,
        linkableFacilities = {
 
          "Dresser",
 
          "EndTable",
 
        },
 
      },
 
 
     },
 
     },
     size = {2, 2},
+
     researchViewX = 9.00,
    building = {
+
     researchViewY = 3.40,
      bed_healPerDay = 4,
 
      bed_caravansCanUse = true,
 
    },
 
    pathCost = 14,
 
     passability = "Standable",
 
 
   },
 
   },
  
   ["ThingDef:AnimalSleepingSpot"] = {
+
   ["ResearchProjectDef:MicroelectronicsBasics"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalSleepingSpot",
+
     defName = "MicroelectronicsBasics",
    thingClass = "Building_Bed",
+
     label = "microelectronics",
     label = "animal sleeping spot",
+
     description = [[Work with complex microelectronics. This unlocks the hi-tech research bench and comms console.]],
     description = [[Designates a spot on the ground where animals should sleep.]],
+
     baseCost = 3000,
     size = {1, 1},
+
     techLevel = "Industrial",
    passability = "Standable",
+
     prerequisites = {
    useHitPoints = false,
+
       "Electricity",
    altitudeLayer = "FloorEmplacement",
 
    statBases = {
 
      WorkToBuild = 0,
 
      SurgerySuccessChanceFactor = 0.7,
 
     },
 
    building = {
 
      bed_humanlike = false,
 
      sowTag = "SupportPlantsOnly",
 
      artificialForMeditationPurposes = false,
 
    },
 
     comps = {
 
       CompProperties_AssignableToPawn = {
 
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
 +
    researchViewX = 10.00,
 +
    researchViewY = 2.90,
 
   },
 
   },
  
   ["ThingDef:AnimalSleepingBox"] = {
+
   ["ResearchProjectDef:FlatscreenTelevision"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalSleepingBox",
+
     defName = "FlatscreenTelevision",
    thingClass = "Building_Bed",
+
     label = "flatscreen television",
     label = "animal sleeping box",
+
     description = [[Produce high-resolution flatscreen televisions for greater enjoyment.]],
     description = [[A small box for animals to sleep in. Fits smaller animals like chickens, cats, or small dogs.]],
+
     baseCost = 2000,
     fillPercent = 0.15,
+
     techLevel = "Industrial",
    pathCost = 14,
+
     prerequisites = {
     passability = "PassThroughOnly",
+
       "TubeTelevision",
     building = {
+
       "MicroelectronicsBasics",
       bed_humanlike = false,
 
      bed_maxBodySize = 0.55,
 
      bed_healPerDay = 4,
 
    },
 
    altitudeLayer = "Building",
 
    statBases = {
 
      MaxHitPoints = 75,
 
      Flammability = 1.0,
 
      WorkToBuild = 180,
 
      Mass = 3,
 
      BedRestEffectiveness = 0.93,
 
      Comfort = 0.60,
 
      ImmunityGainSpeedFactor = 1.05,
 
      SurgerySuccessChanceFactor = 1,
 
    },
 
    comps = {
 
       CompProperties_AssignableToPawn = {
 
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 0.80,
 
   },
 
   },
  
   ["ThingDef:AnimalBed"] = {
+
   ["ResearchProjectDef:MoisturePump"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "AnimalBed",
+
     defName = "MoisturePump",
    thingClass = "Building_Bed",
+
     label = "moisture pump",
     label = "animal bed",
+
     description = [[Construct moisture pumps, which very slowly normalize the moisture in the ground around them. They can turn wet ground dry and convert soft sand into normal sand.]],
     description = [[A soft bed for animals to sleep on. Fits any animal.]],
+
     baseCost = 1200,
     fillPercent = 0.15,
+
     techLevel = "Industrial",
     pathCost = 14,
+
     prerequisites = {
    passability = "PassThroughOnly",
+
       "MicroelectronicsBasics",
     building = {
 
       bed_humanlike = false,
 
      bed_healPerDay = 4,
 
 
     },
 
     },
     altitudeLayer = "Building",
+
     hiddenPrerequisites = {
    statBases = {
+
       "Machining",
      MaxHitPoints = 140,
 
      Flammability = 1.0,
 
      WorkToBuild = 400,
 
      Mass = 5,
 
      BedRestEffectiveness = 1,
 
      Comfort = 0.75,
 
      ImmunityGainSpeedFactor = 1.07,
 
      SurgerySuccessChanceFactor = 1,
 
    },
 
    comps = {
 
       CompProperties_AssignableToPawn = {
 
        drawAssignmentOverlay = false,
 
        compClass = "CompAssignableToPawn_Bed",
 
      },
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 12.00,
 +
    researchViewY = 0.80,
 
   },
 
   },
  
   ["ThingDef:Stool"] = {
+
   ["ResearchProjectDef:HospitalBed"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Stool",
+
     defName = "HospitalBed",
     label = "stool",
+
     label = "hospital bed",
     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 = [[Construct hospital beds which improve medical outcomes.]],
     altitudeLayer = "Building",
+
     baseCost = 1200,
     statBases = {
+
    techLevel = "Industrial",
       MaxHitPoints = 75,
+
     prerequisites = {
      WorkToBuild = 450,
+
       "MicroelectronicsBasics",
      Mass = 3,
 
      Flammability = 1.0,
 
      Beauty = 0,
 
      Comfort = 0.5,
 
 
     },
 
     },
     pathCost = 30,
+
     hiddenPrerequisites = {
    fillPercent = 0.20,
+
      "SterileMaterials",
    building = {
+
       "ComplexFurniture",
       isSittable = true,
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 12.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:DiningChair"] = {
+
   ["ResearchProjectDef:DeepDrilling"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtableFurnitureBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "DiningChair",
+
     defName = "DeepDrilling",
     label = "dining chair",
+
     label = "deep drilling",
     description = [[A comfortable and attractive chair. Can be used at tables, work stations, and elsewhere.]],
+
     description = [[Build deep drills for extracting resources from underground. You'll need a ground-penetrating scanner to find the resources.]],
     altitudeLayer = "Building",
+
     baseCost = 1000,
     statBases = {
+
    techLevel = "Industrial",
       MaxHitPoints = 100,
+
     prerequisites = {
      WorkToBuild = 8000,
+
       "MicroelectronicsBasics",
      Mass = 5,
 
      Flammability = 1.0,
 
      Beauty = 8,
 
      Comfort = 0.70,
 
 
     },
 
     },
     pathCost = 30,
+
     requiredResearchBuilding = "HiTechResearchBench",
     fillPercent = 0.35,
+
     researchViewX = 12.00,
     building = {
+
     researchViewY = 2.20,
       isSittable = true,
+
  },
 +
 
 +
  ["ResearchProjectDef:GroundPenetratingScanner"] = {
 +
    _ = {
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_3_Microelectronics.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     researchPrerequisites = {
+
     defName = "GroundPenetratingScanner",
       "ComplexFurniture",
+
    label = "ground-penetrating scanner",
 +
    description = [[Build ground-penetrating scanners that can detect drillable resources under the surface. Requires an advanced component to construct.]],
 +
    baseCost = 1000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "DeepDrilling",
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 13.00,
 +
    researchViewY = 2.20,
 
   },
 
   },
  
   ["ThingDef:Armchair"] = {
+
   ["ResearchProjectDef:TransportPod"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Armchair",
+
     defName = "TransportPod",
     label = "armchair",
+
     label = "transport pod",
     description = [[A large, soft, comfy seat. Great for relaxation. Can be used at tables, work stations, and elsewhere.]],
+
     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.]],
     altitudeLayer = "Building",
+
     baseCost = 1000,
     statBases = {
+
    techLevel = "Industrial",
       MaxHitPoints = 120,
+
     prerequisites = {
      WorkToBuild = 14000,
+
       "MicroelectronicsBasics",
      Mass = 18,
 
      Flammability = 1.0,
 
      Beauty = 4,
 
      Comfort = 0.8,
 
 
     },
 
     },
     researchPrerequisites = {
+
     hiddenPrerequisites = {
       "ComplexFurniture",
+
       "BiofuelRefining",
    },
+
       "Machining",
    pathCost = 30,
 
    fillPercent = 0.40,
 
    building = {
 
       isSittable = true,
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 2.20,
 
   },
 
   },
  
   ["ThingDef:TableBase"] = {
+
   ["ResearchProjectDef:MedicineProduction"] = {
 
     _ = {
 
     _ = {
       Abstract = true,
+
       DefCategory = "ResearchProjectDef",
      ParentName = "FurnitureWithQualityBase",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       Name = "TableBase",
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     description = [[People eat off tables when chairs are placed facing them.]],
+
    defName = "MedicineProduction",
     thingClass = "Building",
+
    label = "medicine production",
     altitudeLayer = "Building",
+
     description = [[Produce standard industrial-tech medicine by combining herbal medicine, neutroamine, and cloth.]],
    passability = "PassThroughOnly",
+
     baseCost = 1500,
     pathCost = 42,
+
    techLevel = "Industrial",
     fillPercent = 0.4,
+
     prerequisites = {
     leaveResourcesWhenKilled = true,
+
      "DrugProduction",
 +
      "MicroelectronicsBasics",
 +
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
     researchViewX = 11.00,
 +
     researchViewY = 0.00,
 
   },
 
   },
  
   ["ThingDef:TableGatherSpotBase"] = {
+
   ["ResearchProjectDef:LongRangeMineralScanner"] = {
 
     _ = {
 
     _ = {
       Abstract = true,
+
       DefCategory = "ResearchProjectDef",
      ParentName = "TableBase",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       Name = "TableGatherSpotBase",
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "LongRangeMineralScanner",
      {
+
    label = "long-range mineral scanner",
        compClass = "CompGatherSpot",
+
    description = [[Construct long-range mineral scanners your researchers can use to detect precious minerals across the planet. Can be tuned to find a specific mineral. Requires advanced components to construct.]],
       },
+
    baseCost = 2000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "MicroelectronicsBasics",
 +
    },
 +
    hiddenPrerequisites = {
 +
      "Machining",
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 12.00,
 +
    researchViewY = 0.00,
 
   },
 
   },
  
   ["ThingDef:EndTable"] = {
+
   ["ResearchProjectDef:ShieldBelt"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "EndTable",
+
     defName = "ShieldBelt",
     label = "end table",
+
     label = "shields",
     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 = [[Build wearable shield gear. Shields use momentum-repulsion technology to prevent projectiles from traversing the field boundry.]],
     statBases = {
+
     baseCost = 1000,
      MaxHitPoints = 75,
+
    techLevel = "Industrial",
      WorkToBuild = 1000,
+
    prerequisites = {
      Mass = 5,
+
       "MicroelectronicsBasics",
      Flammability = 1.0,
 
       Beauty = 3,
 
 
     },
 
     },
     pathCost = 30,
+
     hiddenPrerequisites = {
    researchPrerequisites = {
+
       "ComplexClothing",
       "ComplexFurniture",
 
    },
 
    comps = {
 
      CompProperties_Facility = {
 
        statOffsets = {
 
          Comfort = 0.05,
 
        },
 
        maxSimultaneous = 1,
 
        mustBePlacedAdjacentCardinalToBedHead = true,
 
      },
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:Table1x2c"] = {
+
   ["ResearchProjectDef:PrecisionRifling"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table1x2c",
+
     defName = "PrecisionRifling",
     label = "table (1x2)",
+
     label = "precision rifling",
     statBases = {
+
     description = [[Craft precisely-machined guns like assault rifles and sniper rifles.]],
      MaxHitPoints = 75,
+
    baseCost = 1400,
      WorkToBuild = 750,
+
    techLevel = "Industrial",
      Mass = 5,
+
    prerequisites = {
       Flammability = 1.0,
+
       "GasOperation",
       Beauty = 0.5,
+
       "MicroelectronicsBasics",
 
     },
 
     },
     size = {1, 2},
+
     requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 3.90,
 
   },
 
   },
  
   ["ThingDef:Table2x2c"] = {
+
   ["ResearchProjectDef:HeavyTurrets"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table2x2c",
+
     defName = "HeavyTurrets",
     label = "table (2x2)",
+
     label = "autocannon turret",
     statBases = {
+
     description = [[Produce the heavy autocannon turret.]],
       MaxHitPoints = 100,
+
    baseCost = 1600,
       WorkToBuild = 1500,
+
    techLevel = "Industrial",
       Mass = 10,
+
    prerequisites = {
      Flammability = 1.0,
+
       "GunTurrets",
       Beauty = 1,
+
       "GasOperation",
 +
       "MicroelectronicsBasics",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    hideWhen = {
 +
       turretsDisabled = true,
 
     },
 
     },
     size = {2, 2},
+
     researchViewX = 11.00,
 +
    researchViewY = 3.20,
 
   },
 
   },
  
   ["ThingDef:Table2x4c"] = {
+
   ["ResearchProjectDef:MultibarrelWeapons"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_3_Microelectronics.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table2x4c",
+
     defName = "MultibarrelWeapons",
     label = "table (2x4)",
+
     label = "multibarrel weapons",
     statBases = {
+
     description = [[Assemble miniguns.]],
       MaxHitPoints = 150,
+
    baseCost = 2600,
       WorkToBuild = 3000,
+
    techLevel = "Industrial",
       Mass = 20,
+
    prerequisites = {
       Flammability = 1.0,
+
       "GasOperation",
       Beauty = 2,
+
      "MicroelectronicsBasics",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 11.00,
 +
    researchViewY = 4.60,
 +
  },
 +
 
 +
  ["ResearchProjectDef:MultiAnalyzer"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 +
    },
 +
    defName = "MultiAnalyzer",
 +
    label = "multi-analyzer",
 +
    description = [[Build multi-analyzers which increase research speed and allow higher-level research projects.]],
 +
    baseCost = 4000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
      "MicroelectronicsBasics",
 
     },
 
     },
     size = {2, 4},
+
     hiddenPrerequisites = {
    building = {
+
       "Machining",
       buildingSizeCategory = "Medium",
 
 
     },
 
     },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    researchViewX = 13.00,
 +
    researchViewY = 2.90,
 
   },
 
   },
  
   ["ThingDef:Table3x3c"] = {
+
   ["ResearchProjectDef:VitalsMonitor"] = {
 
     _ = {
 
     _ = {
       ParentName = "TableGatherSpotBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Table3x3c",
+
     defName = "VitalsMonitor",
     label = "table (3x3)",
+
     label = "vitals monitor",
     statBases = {
+
     description = [[Build vitals monitors which improve medical outcomes when placed next to hospital beds.]],
      MaxHitPoints = 175,
+
    baseCost = 2500,
      WorkToBuild = 3300,
+
    techLevel = "Industrial",
      Mass = 22,
+
    prerequisites = {
       Flammability = 1.0,
+
       "MultiAnalyzer",
       Beauty = 2,
+
       "HospitalBed",
 
     },
 
     },
     size = {3, 3},
+
     requiredResearchBuilding = "HiTechResearchBench",
     building = {
+
     requiredResearchFacilities = {
       buildingSizeCategory = "Medium",
+
       "MultiAnalyzer",
 
     },
 
     },
 +
    researchViewX = 14.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:PlantPot"] = {
+
   ["ResearchProjectDef:Fabrication"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PlantPot",
+
     defName = "Fabrication",
     label = "plant pot",
+
     label = "fabrication",
     description = [[Plant decorative flowers here to improve the mood of people nearby.]],
+
     description = [[Build fabrication benches, capable of high-tech projects ranging from component assembly to power armor construction.]],
     thingClass = "Building_PlantGrower",
+
     baseCost = 4000,
     altitudeLayer = "Building",
+
    techLevel = "Industrial",
     passability = "PassThroughOnly",
+
    prerequisites = {
     fillPercent = 0.20,
+
      "MultiAnalyzer",
     statBases = {
+
     },
       MaxHitPoints = 75,
+
    requiredResearchBuilding = "HiTechResearchBench",
       WorkToBuild = 250,
+
     requiredResearchFacilities = {
       Mass = 2,
+
      "MultiAnalyzer",
       Flammability = 1.0,
+
    },
 +
    researchViewX = 14.00,
 +
    researchViewY = 2.90,
 +
    discoveredLetterTitle = "About: Getting advanced components",
 +
     discoveredLetterText = "You now have the technology to build a fabrication bench - but it also requires some advanced components to get started. You can collect advanced components several ways:\n\n  -All outlander settlements sell advanced components. Send a caravan to buy some.\n  -Some visiting traders sell advanced components. Invite or wait for them.\n  -Some quests are rewarded with advanced components.",
 +
  },
 +
 
 +
  ["ResearchProjectDef:AdvancedFabrication"] = {
 +
     _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
 +
       GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "AdvancedFabrication",
       CompProperties_Forbiddable = {},
+
    label = "advanced fabrication",
 +
    description = [[Fabricate advanced components from standard components and other materials.]],
 +
    baseCost = 4000,
 +
    techLevel = "Industrial",
 +
    prerequisites = {
 +
       "Fabrication",
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     requiredResearchBuilding = "HiTechResearchBench",
     building = {
+
     requiredResearchFacilities = {
       defaultPlantToGrow = "Plant_Daylily",
+
       "MultiAnalyzer",
      sowTag = "Decorative",
 
 
     },
 
     },
 +
    researchViewX = 16.00,
 +
    researchViewY = 2.90,
 
   },
 
   },
  
   ["ThingDef:TorchLamp"] = {
+
   ["ResearchProjectDef:Cryptosleep"] = {
 
     _ = {
 
     _ = {
       ParentName = "BuildingBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "TorchLamp",
+
     defName = "Cryptosleep",
     label = "torch lamp",
+
     label = "cryptosleep casket",
     description = [[A wooden torch for lighting an area. People need light to move and work at full speed. Can be automatically refueled with wood. Produces a small amount of heat.]],
+
     description = [[Construct cryptosleep caskets, which can put living beings in a state of indefinite suspended animation.]],
     category = "Building",
+
     baseCost = 2000,
     altitudeLayer = "Building",
+
     techLevel = "Spacer",
     passability = "PassThroughOnly",
+
     prerequisites = {
     pathCost = 14,
+
      "MultiAnalyzer",
     fillPercent = 0.15,
+
     },
     statBases = {
+
     requiredResearchBuilding = "HiTechResearchBench",
       MaxHitPoints = 75,
+
     requiredResearchFacilities = {
      WorkToBuild = 100,
+
       "MultiAnalyzer",
      Flammability = 0,
 
      MeditationFocusStrength = 0.0,
 
 
     },
 
     },
     costList = {
+
     researchViewX = 14.00,
       WoodLog = 20,
+
    researchViewY = 2.20,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ReconArmor"] = {
 +
    _ = {
 +
       DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_4_MultiAnalyzer.xml",
 +
      GameVersion = "1.2.2753",
 +
      DLC = "Core",
 
     },
 
     },
     building = {
+
     defName = "ReconArmor",
       artificialForMeditationPurposes = false,
+
    label = "recon armor",
 +
    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.]],
 +
    baseCost = 6000,
 +
    techLevel = "Spacer",
 +
    prerequisites = {
 +
       "Fabrication",
 
     },
 
     },
     leaveResourcesWhenKilled = false,
+
     hiddenPrerequisites = {
    comps = {
+
       "ComplexClothing",
       CompProperties_Refuelable = {
+
    },
        fuelConsumptionRate = 2.0,
+
    requiredResearchBuilding = "HiTechResearchBench",
        fuelCapacity = 20.0,
+
    requiredResearchFacilities = {
        fuelConsumptionPerTickInRain = 0.0006,
+
       "MultiAnalyzer",
        fuelFilter = {
 
          thingDefs = {
 
            "WoodLog",
 
          },
 
        },
 
        initialFuelPercent = 1,
 
        showAllowAutoRefuelToggle = true,
 
      },
 
      CompProperties_Glower = {
 
        glowRadius = 10,
 
        glowColor = {252, 187, 113, 0},
 
      },
 
      CompProperties_HeatPusher = {
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 3.5,
 
        heatPushMaxTemperature = 23,
 
      },
 
      CompProperties_FireOverlay = {
 
        fireSize = 0.4,
 
        offset = {0, 0, 0.2},
 
      },
 
       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",
 
          },
 
        },
 
      },
 
 
     },
 
     },
 +
    researchViewX = 15.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:LampBase"] = {
+
   ["ResearchProjectDef:PoweredArmor"] = {
 
     _ = {
 
     _ = {
       Abstract = true,
+
       DefCategory = "ResearchProjectDef",
      Name = "LampBase",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       ParentName = "BuildingBase",
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     thingClass = "Building",
+
     defName = "PoweredArmor",
     category = "Building",
+
     label = "marine armor",
     minifiedDef = "MinifiedThing",
+
     description = [[Build marine armor, a general-use powered armor suit used by high-tech shock troops. Note that these also require advanced components.]],
     altitudeLayer = "Building",
+
     baseCost = 6000,
     passability = "PassThroughOnly",
+
     techLevel = "Spacer",
     fillPercent = 0.20,
+
     prerequisites = {
    pathCost = 14,
+
       "ReconArmor",
    leaveResourcesWhenKilled = false,
 
    thingCategories = {
 
       "BuildingsFurniture",
 
 
     },
 
     },
     comps = {
+
     hiddenPrerequisites = {
       CompProperties_Flickable = {},
+
       "ComplexClothing",
 
     },
 
     },
     statBases = {
+
     requiredResearchBuilding = "HiTechResearchBench",
      MaxHitPoints = 50,
+
     requiredResearchFacilities = {
      WorkToBuild = 300,
+
       "MultiAnalyzer",
      Flammability = 1.0,
 
    },
 
     researchPrerequisites = {
 
       "Electricity",
 
 
     },
 
     },
 +
    researchViewX = 16.00,
 +
    researchViewY = 1.50,
 
   },
 
   },
  
   ["ThingDef:StandingLampBase"] = {
+
   ["ResearchProjectDef:ChargedShot"] = {
 
     _ = {
 
     _ = {
       Abstract = true,
+
       DefCategory = "ResearchProjectDef",
      Name = "StandingLampBase",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       ParentName = "LampBase",
+
       GameVersion = "1.2.2753",
      DefCategory = "ThingDef",
 
       FileName = "Buildings_Furniture.xml",
 
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     costList = {
+
     defName = "ChargedShot",
       Steel = 20,
+
    label = "pulse-charged munitions",
 +
    description = [[Build weapons which fire pulse-charged munitions for extra damage. Note that these also require advanced components.]],
 +
    baseCost = 3000,
 +
    techLevel = "Spacer",
 +
    prerequisites = {
 +
       "Fabrication",
 
     },
 
     },
     statBases = {
+
     hiddenPrerequisites = {
       Mass = 4,
+
       "PrecisionRifling",
 
     },
 
     },
     comps = {
+
     requiredResearchBuilding = "HiTechResearchBench",
      CompProperties_Power = {
+
    requiredResearchFacilities = {
        compClass = "CompPowerTrader",
+
       "MultiAnalyzer",
        basePowerConsumption = 30,
 
       },
 
 
     },
 
     },
 +
    researchViewX = 15.00,
 +
    researchViewY = 3.8,
 
   },
 
   },
  
   ["ThingDef:StandingLamp"] = {
+
   ["ResearchProjectDef:Bionics"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp",
+
     defName = "Bionics",
     label = "standing lamp",
+
     label = "bionic replacements",
     description = [[An electrical standing lamp that lights an area. People need light to move and work at full speed.]],
+
     description = [[Build high-tech bionic body parts to replace lost limbs and eyes. Requires a skilled doctor to attach.]],
     comps = {
+
     baseCost = 2000,
       CompProperties_Glower = {
+
    techLevel = "Spacer",
        glowRadius = 12,
+
    prerequisites = {
        glowColor = {217, 217, 208, 0},
+
       "Fabrication",
       },
+
    },
 +
    hiddenPrerequisites = {
 +
      "Prosthetics",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    requiredResearchFacilities = {
 +
       "MultiAnalyzer",
 
     },
 
     },
 +
    researchViewX = 16.00,
 +
    researchViewY = 3.80,
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Red"] = {
+
   ["ResearchProjectDef:SniperTurret"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       DefCategory = "ResearchProjectDef",
       DefCategory = "ThingDef",
+
       FileName = "ResearchProjects_4_MultiAnalyzer.xml",
       FileName = "Buildings_Furniture.xml",
+
       GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Red",
+
     defName = "SniperTurret",
     label = "standing lamp (red)",
+
     label = "uranium slug turret",
     description = [[A standing lamp that lights an area in red.]],
+
     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.]],
     comps = {
+
     baseCost = 3000,
       CompProperties_Glower = {
+
    techLevel = "Industrial",
        glowRadius = 12,
+
    prerequisites = {
        glowColor = {217, 80, 80, 0},
+
       "MultiAnalyzer",
       },
+
    },
 +
    hiddenPrerequisites = {
 +
      "HeavyTurrets",
 +
      "PrecisionRifling",
 +
    },
 +
    requiredResearchBuilding = "HiTechResearchBench",
 +
    requiredResearchFacilities = {
 +
       "MultiAnalyzer",
 
     },
 
     },
     researchPrerequisites = {
+
     hideWhen = {
       _ = {
+
       turretsDisabled = true,
        Inherit = false,
 
      },
 
      "ColoredLights",
 
 
     },
 
     },
 +
    researchViewX = 14.00,
 +
    researchViewY = 3.60,
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Green"] = {
+
   ["ResearchProjectDef:ShipResearchProjectBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       Name = "ShipResearchProjectBase",
       DefCategory = "ThingDef",
+
      Abstract = true,
       FileName = "Buildings_Furniture.xml",
+
       DefCategory = "ResearchProjectDef",
 +
       FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Green",
+
     requiredResearchBuilding = "HiTechResearchBench",
     label = "standing lamp (green)",
+
     requiredResearchFacilities = {
    description = [[A standing lamp that lights an area in green.]],
+
       "MultiAnalyzer",
    comps = {
 
       CompProperties_Glower = {
 
        glowRadius = 12,
 
        glowColor = {80, 217, 80, 0},
 
      },
 
 
     },
 
     },
     researchPrerequisites = {
+
     tags = {
      _ = {
+
       "ShipRelated",
        Inherit = false,
 
      },
 
       "ColoredLights",
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:StandingLamp_Blue"] = {
+
   ["ResearchProjectDef:ShipBasics"] = {
 
     _ = {
 
     _ = {
       ParentName = "StandingLampBase",
+
       ParentName = "ShipResearchProjectBase",
       DefCategory = "ThingDef",
+
       DefCategory = "ResearchProjectDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "StandingLamp_Blue",
+
     defName = "ShipBasics",
     label = "standing lamp (blue)",
+
     label = "starflight basics",
     description = [[A standing lamp that lights an area in blue.]],
+
     description = [[Construct the structural and supportive elements of a starship. This is the first step in building a ship to leave this star system.]],
     comps = {
+
     baseCost = 4000,
      CompProperties_Glower = {
+
    techLevel = "Spacer",
        glowRadius = 12,
+
    prerequisites = {
        glowColor = {80, 80, 217, 0},
+
       "AdvancedFabrication",
       },
 
 
     },
 
     },
     researchPrerequisites = {
+
     researchViewX = 18.00,
      _ = {
+
    researchViewY = 2.90,
        Inherit = false,
+
    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.",
       "ColoredLights",
+
    discoveredLetterDisabledWhen = {
 +
       bigThreatsDisabled = true,
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:SunLamp"] = {
+
   ["ResearchProjectDef:ShipCryptosleep"] = {
 
     _ = {
 
     _ = {
       ParentName = "LampBase",
+
       ParentName = "ShipResearchProjectBase",
       DefCategory = "ThingDef",
+
       DefCategory = "ResearchProjectDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "SunLamp",
+
     defName = "ShipCryptosleep",
     label = "sun lamp",
+
     label = "vacuum cryptosleep casket",
     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 = [[Construct hardened cryptosleep caskets tough enough to be exposed to vacuum, for transporting people on the years-long journey between stars.]],
     thingClass = "Building_SunLamp",
+
     baseCost = 2800,
     statBases = {
+
    techLevel = "Spacer",
       WorkToBuild = 330,
+
     prerequisites = {
       Mass = 4.5,
+
       "ShipBasics",
 +
       "Cryptosleep",
 
     },
 
     },
     costList = {
+
     researchViewX = 19.00,
       Steel = 40,
+
    researchViewY = 2.20,
 +
  },
 +
 
 +
  ["ResearchProjectDef:ShipReactor"] = {
 +
    _ = {
 +
      ParentName = "ShipResearchProjectBase",
 +
      DefCategory = "ResearchProjectDef",
 +
      FileName = "ResearchProjects_5_Ship.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
     comps = {
+
     defName = "ShipReactor",
      CompProperties_Glower = {
+
    label = "starship reactor",
        overlightRadius = 7.0,
+
    description = [[Build a long-duration nuclear reactor to power a starship. Note that reactors have a long startup process that will attract raiders.]],
        glowRadius = 14,
+
    baseCost = 6000,
        glowColor = {370, 370, 370, 0},
+
    techLevel = "Spacer",
      },
+
    prerequisites = {
      CompProperties_Power = {
+
      "ShipBasics",
        compClass = "CompPowerTrader",
 
        shortCircuitInRain = true,
 
        basePowerConsumption = 2900,
 
      },
 
      CompProperties_Schedule = {
 
        startTime = 0.25,
 
        endTime = 0.8,
 
        offMessage = "Off for plant resting period",
 
      },
 
      CompProperties_HeatPusher = {
 
        compClass = "CompHeatPusherPowered",
 
        heatPerSecond = 3,
 
      },
 
 
     },
 
     },
 +
    researchViewX = 19.00,
 +
    researchViewY = 3.60,
 
   },
 
   },
  
   ["ThingDef:Shelf"] = {
+
   ["ResearchProjectDef:ShipEngine"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "ShipResearchProjectBase",
       DefCategory = "ThingDef",
+
       DefCategory = "ResearchProjectDef",
       FileName = "Buildings_Furniture.xml",
+
       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",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Shelf",
+
     defName = "ShipComputerCore",
     label = "shelf",
+
     label = "machine persuasion",
     description = [[A shelf for storing miscellaneous items. Items stored in this will not affect room beauty and they won't deteriorate, even if outside.]],
+
     description = [[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.]],
     thingClass = "Building_Storage",
+
     baseCost = 3000,
    altitudeLayer = "Building",
+
     techLevel = "Spacer",
     passability = "PassThroughOnly",
+
     prerequisites = {
     fillPercent = 0.4,
+
       "ShipBasics",
    pathCost = 50,
 
    statBases = {
 
       MaxHitPoints = 100,
 
      Mass = 8,
 
      WorkToBuild = 600,
 
      Flammability = 1.0,
 
      Beauty = 0.5,
 
 
     },
 
     },
     size = {2, 1},
+
     researchViewX = 19.00,
     building = {
+
    researchViewY = 1.15,
       preventDeteriorationOnTop = true,
+
  },
       ignoreStoredThingsBeauty = true,
+
 
       defaultStorageSettings = {
+
  ["ResearchProjectDef:ShipSensorCluster"] = {
        priority = "Important",
+
     _ = {
        filter = {
+
       ParentName = "ShipResearchProjectBase",
          categories = {
+
       DefCategory = "ResearchProjectDef",
            "Weapons",
+
       FileName = "ResearchProjects_5_Ship.xml",
          },
+
      GameVersion = "1.2.2753",
        },
+
       DLC = "Core",
       },
 
 
     },
 
     },
     researchPrerequisites = {
+
     defName = "ShipSensorCluster",
       "ComplexFurniture",
+
    label = "starflight sensors",
 +
    description = [[Construct long-range sensors for a starship. These sensors are essential for navigation, communication, and threat avoidance.]],
 +
    baseCost = 4000,
 +
    techLevel = "Spacer",
 +
    prerequisites = {
 +
       "ShipBasics",
 +
      "LongRangeMineralScanner",
 
     },
 
     },
 +
    researchViewX = 19.00,
 +
    researchViewY = 0.00,
 
   },
 
   },
  
   ["ThingDef:Dresser"] = {
+
   ["ThingDef:AncientConcreteBarrier"] = {
 
     _ = {
 
     _ = {
       ParentName = "ArtableFurnitureBase",
+
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Furniture.xml",
+
       FileName = "Buildings_Ancient.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "Dresser",
+
     defName = "AncientConcreteBarrier",
     label = "dresser",
+
     label = "ancient concrete barrier",
     description = [[A dresser. Gives a small comfort bonus to all nearby beds. Placing more than one dresser near the same bed has no effect.]],
+
    thingClass = "Building",
 +
    category = "Building",
 +
     description = [[A traffic management solution from long ago.]],
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
 +
    pathCost = 42,
 +
    pathCostIgnoreRepeat = true,
 
     passability = "PassThroughOnly",
 
     passability = "PassThroughOnly",
     fillPercent = 0.4,
+
     fillPercent = 0.5,
    pathCost = 42,
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 120,
+
       MaxHitPoints = 500,
       Mass = 15,
+
       Beauty = -10,
      WorkToBuild = 2000,
+
       Flammability = 0,
       Flammability = 1.0,
+
       WorkToBuild = 600,
       Beauty = 5,
 
 
     },
 
     },
     size = {2, 1},
+
     building = {
    researchPrerequisites = {
+
      isInert = true,
      "ComplexFurniture",
 
 
     },
 
     },
     comps = {
+
     costList = {
       CompProperties_Facility = {
+
       Steel = 15,
        statOffsets = {
 
          Comfort = 0.05,
 
        },
 
        maxSimultaneous = 1,
 
        maxDistance = 6,
 
      },
 
 
     },
 
     },
 
   },
 
   },
  
   ["ThingDef:HorseshoesPin"] = {
+
   ["ThingDef:AncientLamppost"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Ancient.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HorseshoesPin",
+
     defName = "AncientLamppost",
     label = "horseshoes pin",
+
     label = "ancient lamppost",
     description = [[A simple ancient game played with a horseshoes and a large pin in the ground. Players toss horseshoes to try to get them to land on the pin. It's relaxing, and trains shooting skills.]],
+
     thingClass = "Building",
     minifiedDef = "MinifiedThing",
+
     category = "Building",
     altitudeLayer = "Building",
+
     description = [[Road lighting from long ago. No longer functional.]],
     thingCategories = {
+
     statBases = {
       "BuildingsJoy",
+
       MaxHitPoints = 300,
 +
      WorkToBuild = 400,
 
     },
 
     },
     statBases = {
+
     fillPercent = 0.25,
      MaxHitPoints = 75,
+
    passability = "PassThroughOnly",
      WorkToBuild = 100,
+
    pathCost = 42,
      Mass = 3,
+
    costList = {
      Flammability = 1.0,
+
       Steel = 15,
       JoyGainFactor = 1,
 
 
     },
 
     },
 
     building = {
 
     building = {
       joyKind = "Gaming_Dexterity",
+
       isInert = true,
      artificialForMeditationPurposes = false,
 
 
     },
 
     },
    pathCost = 14,
 
 
   },
 
   },
  
   ["ThingDef:HoopstoneRing"] = {
+
   ["ThingDef:Urn"] = {
 
     _ = {
 
     _ = {
 
       ParentName = "BuildingBase",
 
       ParentName = "BuildingBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Ancient.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "HoopstoneRing",
+
     defName = "Urn",
     label = "hoopstone ring",
+
     label = "urn",
     description = [[A simple ancient game played with stones and a large ring in the ground. Players try to toss stones through the ring from a distance. It's relaxing, and trains shooting skills.]],
+
     description = [[An ancient-style decorative container.]],
 
     minifiedDef = "MinifiedThing",
 
     minifiedDef = "MinifiedThing",
    altitudeLayer = "Building",
 
 
     thingCategories = {
 
     thingCategories = {
       "BuildingsJoy",
+
       "BuildingsFurniture",
 
     },
 
     },
 +
    altitudeLayer = "Building",
 +
    passability = "PassThroughOnly",
 +
    fillPercent = 0.40,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 100,
+
       MaxHitPoints = 40,
       WorkToBuild = 100,
+
       WorkToBuild = 500,
       Mass = 4,
+
       Mass = 5,
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       JoyGainFactor = 1,
+
       Beauty = 5,
 +
    },
 +
    stuffCategories = {
 +
      "Metallic",
 +
      "Stony",
 
     },
 
     },
 +
    costStuffCount = 20,
 +
    pathCost = 30,
 
     building = {
 
     building = {
       joyKind = "Gaming_Dexterity",
+
       isInert = true,
      artificialForMeditationPurposes = false,
 
 
     },
 
     },
    pathCost = 14,
 
 
   },
 
   },
  
   ["ThingDef:GameOfUrBoard"] = {
+
   ["ThingDef:SculptureBase"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "BuildingBase",
 +
      Name = "SculptureBase",
 +
      Abstract = true,
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Art.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "GameOfUrBoard",
+
     thingClass = "Building_Art",
    label = "Game-of-Ur board",
 
    description = [[Dating from 2500BC, this exciting yet infuriating board game can be played by one or two people. It trains intellectual skills.]],
 
 
     altitudeLayer = "Building",
 
     altitudeLayer = "Building",
     fillPercent = 0.20,
+
     passability = "PassThroughOnly",
     building = {
+
     pathCost = 50,
       joyKind = "Gaming_Cerebral",
+
    useHitPoints = true,
 +
    minifiedDef = "MinifiedThing",
 +
    thingCategories = {
 +
       "BuildingsArt",
 
     },
 
     },
 
     statBases = {
 
     statBases = {
      MaxHitPoints = 90,
 
      WorkToBuild = 6000,
 
      Mass = 2,
 
 
       Flammability = 1.0,
 
       Flammability = 1.0,
       Beauty = 2,
+
       SellPriceFactor = 1.10,
       JoyGainFactor = 0.8,
+
       MeditationFocusStrength = 0.0,
 
     },
 
     },
     pathCost = 14,
+
     comps = {
    passability = "PassThroughOnly",
+
      {
  },
+
        compClass = "CompQuality",
 
+
      },
  ["ThingDef:ChessTable"] = {
+
      {
    _ = {
+
        _ = {
      ParentName = "FurnitureWithQualityBase",
+
          Class = "CompProperties_Art",
      DefCategory = "ThingDef",
+
        },
      FileName = "Buildings_Joy.xml",
+
        nameMaker = "NamerArtSculpture",
      DLC = "Core",
+
        descriptionMaker = "ArtDescription_Sculpture",
    },
+
        canBeEnjoyedAsArt = true,
    defName = "ChessTable",
+
      },
    label = "chess table",
+
      {
    description = [[The ancient game of kings. Fun for a few hours here and there, even playing alone. It trains intellectual skills.]],
+
        _ = {
    altitudeLayer = "Building",
+
          Class = "CompProperties_MeditationFocus",
    fillPercent = 0.40,
+
        },
    building = {
+
        statDef = "MeditationFocusStrength",
      joyKind = "Gaming_Cerebral",
+
        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",
 +
          },
 +
        },
 +
      },
 
     },
 
     },
     researchPrerequisites = {
+
     tradeTags = {
       "ComplexFurniture",
+
       "Art",
 
     },
 
     },
     statBases = {
+
     recipeMaker = {
       MaxHitPoints = 100,
+
       workSpeedStat = "GeneralLaborSpeed",
       WorkToBuild = 8000,
+
       workSkill = "Artistic",
       Mass = 5,
+
       unfinishedThingDef = "UnfinishedSculpture",
       Flammability = 1.0,
+
       effectWorking = "Sculpt",
       Beauty = 4,
+
       soundWorking = "Recipe_Sculpt",
       JoyGainFactor = 1,
+
       recipeUsers = {
 +
        "TableSculpting",
 +
      },
 +
      defaultIngredientFilter = {
 +
        categories = {
 +
          "Root",
 +
        },
 +
        disallowedThingDefs = {
 +
          "Gold",
 +
          "Silver",
 +
          "Plasteel",
 +
          "Jade",
 +
          "Uranium",
 +
        },
 +
      },
 
     },
 
     },
    pathCost = 30,
 
    passability = "PassThroughOnly",
 
 
   },
 
   },
  
   ["ThingDef:PokerTable"] = {
+
   ["ThingDef:SculptureSmall"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "SculptureBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Art.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "PokerTable",
+
     defName = "SculptureSmall",
     label = "poker table",
+
     label = "small sculpture",
     description = [[A table designed for playing gambling card games like poker. A great way to test your strategic skills and a bit of luck.]],
+
     description = [[A torso-sized piece of material sculpted into an artistic form.]],
     altitudeLayer = "Building",
+
     fillPercent = 0.35,
     fillPercent = 0.40,
+
    statBases = {
     building = {
+
      MaxHitPoints = 90,
       joyKind = "Gaming_Cerebral",
+
      Mass = 3,
       buildingSizeCategory = "Medium",
+
      Beauty = 50,
 +
      WorkToMake = 18000,
 +
    },
 +
    stuffCategories = {
 +
      "Metallic",
 +
      "Woody",
 +
      "Stony",
 +
     },
 +
    costStuffCount = 50,
 +
  },
 +
 
 +
  ["ThingDef:SculptureLarge"] = {
 +
     _ = {
 +
       ParentName = "SculptureBase",
 +
      DefCategory = "ThingDef",
 +
      FileName = "Buildings_Art.xml",
 +
      GameVersion = "1.2.2753",
 +
       DLC = "Core",
 
     },
 
     },
 +
    defName = "SculptureLarge",
 +
    label = "large sculpture",
 +
    description = [[A person-sized piece of material sculpted into an artistic form.]],
 +
    fillPercent = 0.5,
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 250,
+
       MaxHitPoints = 150,
      WorkToBuild = 10000,
+
       Mass = 7,
       Mass = 30,
+
       Beauty = 100,
      Flammability = 1.0,
+
       WorkToMake = 30000,
       Beauty = 0,
 
       JoyGainFactor = 1.3,
 
 
     },
 
     },
     size = {2, 2},
+
     stuffCategories = {
    costList = {
+
       "Metallic",
       Cloth = 50,
+
       "Woody",
       WoodLog = 25,
+
       "Stony",
    },
 
    pathCost = 42,
 
    passability = "PassThroughOnly",
 
    researchPrerequisites = {
 
       "ComplexFurniture",
 
 
     },
 
     },
 +
    costStuffCount = 100,
 
   },
 
   },
  
   ["ThingDef:BilliardsTable"] = {
+
   ["ThingDef:SculptureGrand"] = {
 
     _ = {
 
     _ = {
       ParentName = "FurnitureWithQualityBase",
+
       ParentName = "SculptureBase",
 
       DefCategory = "ThingDef",
 
       DefCategory = "ThingDef",
       FileName = "Buildings_Joy.xml",
+
       FileName = "Buildings_Art.xml",
 +
      GameVersion = "1.2.2753",
 
       DLC = "Core",
 
       DLC = "Core",
 
     },
 
     },
     defName = "BilliardsTable",
+
     defName = "SculptureGrand",
     label = "billiards table",
+
     label = "grand sculpture",
     description = [[A soft-topped bounded table for playing a variety of billiards-type games. It trains shooting ability.]],
+
     description = [[A huge sculpture sized to dominate a room.]],
    altitudeLayer = "Building",
+
     fillPercent = 0.5,
     fillPercent = 0.40,
+
     size = {2, 2},
    terrainAffordanceNeeded = "Medium",
 
     building = {
 
      joyKind = "Gaming_Dexterity",
 
      buildingSizeCategory = "Medium",
 
    },
 
 
     statBases = {
 
     statBases = {
       MaxHitPoints = 250,
+
       MaxHitPoints = 300,
       WorkToBuild = 12000,
+
       Beauty = 400,
       Mass = 60,
+
       Mass = 28,
      Flammability = 1.0,
+
       WorkToMake = 105000,
      Beauty = 0,
 
       JoyGainFactor = 1.3,
 
 
     },
 
     },
     size = {2, 3},
+
     stuffCategories = {
    costList = {
+
       "Metallic",
       Cloth = 80,
+
       "Woody",
       WoodLog = 30,
+
       "