<?xml version="1.0" encoding="utf-8"?>
<Defs>
  <ThingDef>
    <defName>Vanya_CombatRations</defName>
    <label>战斗口粮</label>
    <description>猎人公司的量产型口粮，口感很一般，但是吃饱了不太容易饿。</description>
    <thingClass>ThingWithComps</thingClass>
    <category>Item</category>
    <useHitPoints>true</useHitPoints>
    <selectable>true</selectable>
    <altitudeLayer>Item</altitudeLayer>
    <stackLimit>50</stackLimit>
    <tickerType>Rare</tickerType>
    <socialPropernessMatters>true</socialPropernessMatters>
    <pathCost>15</pathCost>
    <resourceReadoutPriority>Last</resourceReadoutPriority>
    <drawGUIOverlay>true</drawGUIOverlay>
    <thingCategories>
      <li>FoodMeals</li>
    </thingCategories>
    <alwaysHaulable>true</alwaysHaulable>
    <graphicData>
      <texPath>Vanya/Things/Item/Vanya_CombatRations</texPath>
      <graphicClass>Graphic_StackCount</graphicClass>
    </graphicData>
    <statBases>
      <Flammability>0</Flammability>
      <MaxHitPoints>50</MaxHitPoints>
      <DeteriorationRate>0.5</DeteriorationRate>
      <MarketValue>40</MarketValue>
      <Mass>0.2</Mass>
      <Beauty>0</Beauty>
    </statBases>
    <ingestible>
      <maxNumToIngestAtOnce>1</maxNumToIngestAtOnce>
      <foodType>Meal</foodType>
      <preferability>MealFine</preferability>
      <nutrition>1</nutrition>
      <optimalityOffset>-5</optimalityOffset>
      <ingestEffect>EatVegetarian</ingestEffect>
      <ingestSound>Meal_Eat</ingestSound>
      <outcomeDoers>
        <li Class="IngestionOutcomeDoer_GiveHediff">
          <hediffDef>Vanya_CombatRations</hediffDef>
          <severity>1.00</severity>
        </li>
      </outcomeDoers>
      <ingestHoldUsesTable>false</ingestHoldUsesTable>
      <baseIngestTicks>12</baseIngestTicks>
    </ingestible>
    <comps>
      <li Class="CompProperties_Forbiddable" />
      <li Class="CompProperties_Ingredients" />
      <li Class="CompProperties_FoodPoisonable" />
    </comps>
  </ThingDef>
  <HediffDef>
    <defName>Vanya_CombatRations</defName>
    <label>战斗口粮</label>
    <hediffClass>HediffWithComps</hediffClass>
    <scenarioCanAdd>true</scenarioCanAdd>
    <maxSeverity>1.0</maxSeverity>
    <comps>
      <li Class="HediffCompProperties_SeverityPerDay">
        <severityPerDay>-1</severityPerDay>
      </li>
    </comps>
    <isBad>false</isBad>
    <stages>
      <li>
        <hungerRateFactor>0.5</hungerRateFactor>
        <restFallFactor>0.8</restFallFactor>
        <everVisible>false</everVisible>
        <statOffsets>
          <ImmunityGainSpeed>0.2</ImmunityGainSpeed>
        </statOffsets>
      </li>
    </stages>
  </HediffDef>
</Defs>