<?xml version="1.0" encoding="utf-8" ?>
<Defs>
  <!--==================================== 오토마톤 연료 ====================================-->
  <ThingDef ParentName="DrugPillBase">
    <defName>PN_AutomatonFuel</defName>
    <label>PNL fuel</label>
    <description>...</description>
    <descriptionHyperlinks>
      <ThingDef>PN_Fuelantidote</ThingDef>
    </descriptionHyperlinks>
    <tickerType>Normal</tickerType>
    <tradeability>None</tradeability>
    <graphicData>
      <texPath>Things/Drugs/Paniel_Fuel</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <stackLimit>100</stackLimit>
    <rotatable>false</rotatable>
    <statBases>
      <MarketValue>60</MarketValue>
      <Mass>0.01</Mass>
    </statBases>
    <techLevel>Neolithic</techLevel>
    <ingestible>
      <foodType>Processed</foodType>
      <baseIngestTicks>210</baseIngestTicks>
      <ingestSound>Ingest_Drink</ingestSound>
      <ingestHoldOffsetStanding>
        <northDefault>
          <offset>(0.18,0,0)</offset>
        </northDefault>
      </ingestHoldOffsetStanding>
      <ingestCommandString>Drink {0}</ingestCommandString>
      <ingestReportString>Drinking {0}.</ingestReportString>
      <useEatingSpeedStat>false</useEatingSpeedStat>
      <chairSearchRadius>25</chairSearchRadius>
      <drugCategory>Medical</drugCategory>
      <outcomeDoers>
        <li Class="IngestionOutcomeDoer_GiveHediff">
          <hediffDef>PN_ateFuel</hediffDef>
          <severity>1</severity>
        </li>
      </outcomeDoers>
      <tasteThought>PN_Atefuel_nopn</tasteThought>
    </ingestible>
    <comps>
      <li Class="CompProperties_Drug">
        <chemical>PN_Chemical_Fuel</chemical>
        <addictiveness>1</addictiveness>
        <needLevelOffset>0.25</needLevelOffset>
        <listOrder>1028</listOrder>
      </li>
      <li Class="CompProperties_Explosive">
        <explosiveRadius>1.1</explosiveRadius>
        <explosiveDamageType>Flame</explosiveDamageType>
        <explosiveExpandPerStackcount>0.037</explosiveExpandPerStackcount>
        <startWickOnDamageTaken>
          <li>Flame</li>
        </startWickOnDamageTaken>
        <startWickHitPointsPercent>0.333</startWickHitPointsPercent>
        <preExplosionSpawnThingDef>Filth_Fuel</preExplosionSpawnThingDef>
        <preExplosionSpawnChance>1</preExplosionSpawnChance>
        <wickTicks>70~150</wickTicks>
      </li>
    </comps>
    <tradeTags>
      <li>ExoticMisc</li>
    </tradeTags>
  </ThingDef>

  <ThoughtDef>
    <defName>PN_Atefuel_nopn</defName>
    <durationDays>1</durationDays>
    <stages>
      <li>
        <label>ate fuel</label>
        <description>...</description>
        <baseMoodEffect>-4</baseMoodEffect>
      </li>
    </stages>
  </ThoughtDef>

  <!--==================================== 오토마톤 연료 효과 ====================================-->
  <HediffDef>
    <defName>PN_ateFuel</defName>
    <hediffClass>HediffWithComps</hediffClass>
    <label>Ate automaton fuel</label>
    <labelNoun>Ate Automaton Fuel</labelNoun>
    <description>...</description>
    <defaultLabelColor>(1,0,0.5)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>
    <isBad>false</isBad>
    <comps>
      <li Class="MoharHediffs.HediffCompProperties_MultipleHediff">
        <hediffAndBodypart>
          <li>
            <hediff>PsychiteAddiction</hediff>
          </li>
          <li>
            <hediff>FoodPoisoning</hediff>
          </li>
          <li>
            <hediff>DrugOverdose</hediff>
          </li>
        </hediffAndBodypart>
        <bodyDefBlackList>
          <li>PanielBody</li>
        </bodyDefBlackList>
        <debug>false</debug>
      </li>
    </comps>
  </HediffDef>

  <ChemicalDef>
    <defName>PN_Chemical_Fuel</defName>
    <label>Automaton Fuel</label>
    <addictionHediff>PN_AutomatonFuel_Addiction</addictionHediff>
    <canBinge>false</canBinge>
  </ChemicalDef>

  <HediffDef ParentName="AddictionBase">
    <defName>PN_AutomatonFuel_Addiction</defName>
    <hediffClass>Hediff_Addiction</hediffClass>
    <label>Automaton Fuel</label>
    <description>...</description>
    <defaultLabelColor>(222,90,90)</defaultLabelColor>
    <causesNeed>PN_Need_Fuel</causesNeed>
    <scenarioCanAdd>false</scenarioCanAdd>
    <everCurableByItem>false</everCurableByItem>
    <comps>
      <li Class="HediffCompProperties_Discoverable">
        <sendLetterWhenDiscovered>true</sendLetterWhenDiscovered>
        <discoverLetterLabel>Automaton fuel required</discoverLetterLabel>
        <discoverLetterText>...</discoverLetterText>
        <letterType>NegativeEvent</letterType>
        <messageType>NegativeEvent</messageType>
      </li>
    </comps>
    <stages>
      <li>
        <becomeVisible>false</becomeVisible>
      </li>
      <li>
        <label>required</label>
        <lifeThreatening>true</lifeThreatening>
        <deathMtbDays>10</deathMtbDays>
        <capMods>
          <li>
            <capacity>Consciousness</capacity>
            <setMax>0.1</setMax>
          </li>
        </capMods>
        <hungerRateFactor>0.1</hungerRateFactor>
      </li>
    </stages>
    <modExtensions>
      <li Class="YORHG.HediffDefModExtension">
        <race>Paniel_Race</race>
      </li>
    </modExtensions>
  </HediffDef>

  <!--==================================== 연료 해독제 ====================================-->
  <ThingDef ParentName="DrugPillBase">
    <defName>PN_Fuelantidote</defName>
    <label>PNL fuel Antidote</label>
    <description>...</description>
    <tradeability>None</tradeability>
    <graphicData>
      <texPath>Things/Drugs/Paniel_Fuelantidote</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <stackLimit>100</stackLimit>
    <rotatable>false</rotatable>
    <statBases>
      <MarketValue>60</MarketValue>
      <Mass>0.01</Mass>
    </statBases>
    <techLevel>Ultra</techLevel>
    <ingestible>
      <foodType>Processed</foodType>
      <baseIngestTicks>30</baseIngestTicks>
      <ingestSound>Ingest_Inject</ingestSound>
      <ingestHoldOffsetStanding>
        <northDefault>
          <offset>(0.18,0,0)</offset>
        </northDefault>
      </ingestHoldOffsetStanding>
      <ingestCommandString>Inject {0}</ingestCommandString>
      <ingestReportString>Injecting {0}.</ingestReportString>
      <useEatingSpeedStat>false</useEatingSpeedStat>
      <chairSearchRadius>0</chairSearchRadius>
      <drugCategory>Medical</drugCategory>
      <outcomeDoers>
        <li Class="IngestionOutcomeDoer_GiveHediff">
          <hediffDef>PN_FuelAntidoteEffect</hediffDef>
          <severity>1</severity>
        </li>
      </outcomeDoers>
    </ingestible>
    <comps>
      <li Class="CompProperties_Drug">
        <listOrder>1031</listOrder>
        <overdoseSeverityOffset>0.08~0.14</overdoseSeverityOffset>
      </li>
    </comps>
    <tradeTags>
      <li>ExoticMisc</li>
    </tradeTags>
  </ThingDef>

  <!--==================================== 연료 해독제 효과 ====================================-->
  <HediffDef>
    <defName>PN_FuelAntidoteEffect</defName>
    <hediffClass>HediffWithComps</hediffClass>
    <label>Antidote Effect</label>
    <labelNoun>Antidote Effect</labelNoun>
    <description>...</description>
    <defaultLabelColor>(1,0,0.5)</defaultLabelColor>
    <scenarioCanAdd>false</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>
    <isBad>false</isBad>
    <comps>
      <li Class="MoharHediffs.HediffCompProperties_HediffExclusive">
        <hediffToNullify>
          <li>PN_AutomatonFuel_Addiction</li>
        </hediffToNullify>
        <bodyDefBlackList>
          <li>PanielBody</li>
        </bodyDefBlackList>
        <debug>false</debug>
      </li>
    </comps>
  </HediffDef>

  <!--==================================== 플러스 연료 ====================================-->
  <ThingDef ParentName="DrugPillBase">
    <defName>PN_AutomatonFuel_Plus</defName>
    <label>PNL plus fuel</label>
    <description>...</description>
    <descriptionHyperlinks>
      <ThingDef>PN_Fuelantidote</ThingDef>
    </descriptionHyperlinks>
    <tickerType>Normal</tickerType>
    <tradeability>None</tradeability>
    <graphicData>
      <texPath>Things/Drugs/Paniel_Fuel</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <stackLimit>100</stackLimit>
    <rotatable>false</rotatable>
    <statBases>
      <MarketValue>60</MarketValue>
      <Mass>0.01</Mass>
      <Nutrition>1</Nutrition>
    </statBases>
    <techLevel>Neolithic</techLevel>
    <ingestible>
      <foodType>Processed</foodType>
      <baseIngestTicks>210</baseIngestTicks>
      <ingestSound>Ingest_Drink</ingestSound>
      <ingestHoldOffsetStanding>
        <northDefault>
          <offset>(0.18,0,0)</offset>
        </northDefault>
      </ingestHoldOffsetStanding>
      <ingestCommandString>Drink {0}</ingestCommandString>
      <ingestReportString>Drinking {0}.</ingestReportString>
      <useEatingSpeedStat>false</useEatingSpeedStat>
      <chairSearchRadius>25</chairSearchRadius>
      <drugCategory>Medical</drugCategory>
      <tasteThought>PN_Ateplusfuel_nopn</tasteThought>
      <outcomeDoers>
        <li Class="IngestionOutcomeDoer_GiveHediff">
          <hediffDef>PN_ateFuel</hediffDef>
          <severity>1</severity>
        </li>
      </outcomeDoers>
    </ingestible>
    <comps>
      <li Class="CompProperties_Drug">
        <chemical>PN_Chemical_Fuel</chemical>
        <addictiveness>1</addictiveness>
        <needLevelOffset>0.25</needLevelOffset>
        <listOrder>1029</listOrder>
      </li>
      <li Class="CompProperties_Explosive">
        <explosiveRadius>1.1</explosiveRadius>
        <explosiveDamageType>Flame</explosiveDamageType>
        <explosiveExpandPerStackcount>0.037</explosiveExpandPerStackcount>
        <startWickOnDamageTaken>
          <li>Flame</li>
        </startWickOnDamageTaken>
        <startWickHitPointsPercent>0.333</startWickHitPointsPercent>
        <preExplosionSpawnThingDef>Filth_Fuel</preExplosionSpawnThingDef>
        <preExplosionSpawnChance>1</preExplosionSpawnChance>
        <wickTicks>70~150</wickTicks>
      </li>
    </comps>
    <tradeTags>
      <li>ExoticMisc</li>
    </tradeTags>
  </ThingDef>

  <ThoughtDef>
    <defName>PN_Ateplusfuel_nopn</defName>
    <durationDays>1</durationDays>
    <stages>
      <li>
        <label>ate fuel</label>
        <description>...</description>
        <baseMoodEffect>-4</baseMoodEffect>
      </li>
    </stages>
  </ThoughtDef>

  <ThoughtDef>
    <defName>PN_Ateplusfuel_yespn</defName>
    <durationDays>1</durationDays>
    <stages>
      <li>
        <label>ate plus fuel</label>
        <description>I ate a really tasty fuel. Yum!</description>
        <baseMoodEffect>5</baseMoodEffect>
      </li>
    </stages>
  </ThoughtDef>

  <!--==================================== 프리미엄 연료 ====================================-->
  <ThingDef ParentName="DrugPillBase">
    <defName>PN_AutomatonFuel_Premium</defName>
    <label>PNL premium fuel</label>
    <description>...</description>
    <descriptionHyperlinks>
      <ThingDef>PN_Fuelantidote</ThingDef>
    </descriptionHyperlinks>
    <tickerType>Normal</tickerType>
    <tradeability>None</tradeability>
    <graphicData>
      <texPath>Things/Drugs/Paniel_Fuel</texPath>
      <graphicClass>Graphic_Single</graphicClass>
    </graphicData>
    <stackLimit>100</stackLimit>
    <rotatable>false</rotatable>
    <statBases>
      <MarketValue>60</MarketValue>
      <Mass>0.01</Mass>
      <Nutrition>1</Nutrition>
    </statBases>
    <techLevel>Neolithic</techLevel>
    <ingestible>
      <foodType>Processed</foodType>
      <baseIngestTicks>210</baseIngestTicks>
      <ingestSound>Ingest_Drink</ingestSound>
      <ingestHoldOffsetStanding>
        <northDefault>
          <offset>(0.18,0,0)</offset>
        </northDefault>
      </ingestHoldOffsetStanding>
      <ingestCommandString>Drink {0}</ingestCommandString>
      <ingestReportString>Drinking {0}.</ingestReportString>
      <useEatingSpeedStat>false</useEatingSpeedStat>
      <chairSearchRadius>25</chairSearchRadius>
      <drugCategory>Medical</drugCategory>
      <tasteThought>PN_Atepremiumfuel_nopn</tasteThought>
      <outcomeDoers>
        <li Class="IngestionOutcomeDoer_GiveHediff">
          <hediffDef>PN_ateFuel</hediffDef>
          <severity>1</severity>
        </li>
      </outcomeDoers>
    </ingestible>
    <comps>
      <li Class="CompProperties_Drug">
        <chemical>PN_Chemical_Fuel</chemical>
        <addictiveness>1</addictiveness>
        <needLevelOffset>0.25</needLevelOffset>
        <listOrder>1030</listOrder>
      </li>
      <li Class="CompProperties_Explosive">
        <explosiveRadius>1.1</explosiveRadius>
        <explosiveDamageType>Flame</explosiveDamageType>
        <explosiveExpandPerStackcount>0.037</explosiveExpandPerStackcount>
        <startWickOnDamageTaken>
          <li>Flame</li>
        </startWickOnDamageTaken>
        <startWickHitPointsPercent>0.333</startWickHitPointsPercent>
        <preExplosionSpawnThingDef>Filth_Fuel</preExplosionSpawnThingDef>
        <preExplosionSpawnChance>1</preExplosionSpawnChance>
        <wickTicks>70~150</wickTicks>
      </li>
    </comps>
    <tradeTags>
      <li>ExoticMisc</li>
    </tradeTags>
  </ThingDef>

  <ThoughtDef>
    <defName>PN_Atepremiumfuel_nopn</defName>
    <durationDays>1</durationDays>
    <stages>
      <li>
        <label>ate fuel</label>
        <description>...</description>
        <baseMoodEffect>-4</baseMoodEffect>
      </li>
    </stages>
  </ThoughtDef>

  <ThoughtDef>
    <defName>PN_Atepremiumfuel_yespn</defName>
    <durationDays>1</durationDays>
    <stages>
      <li>
        <label>ate premium fuel</label>
        <description>That fuel was amazing. It provided energy to my body and my soul.</description>
        <baseMoodEffect>12</baseMoodEffect>
      </li>
    </stages>
  </ThoughtDef>
</Defs>