Add Item to Recipe

Started by Bearrorism, February 01, 2019, 03:25:55 PM

Previous topic - Next topic

Bearrorism

I have it half figured out, but it's still not quite right...

I'd like to add the plant scraps item from Fertile Fields to the recipes in Master of Cooking, specifically to add it to the kibble as an alternative to hay. I asked the creator and they have no issue, it will be personal use only.
Right now, I've managed to add plant scraps into the 10 bulk kibble recipes, but the animal food/hay option is now missing and I didn't do anything but add plant scraps.

I am very confused and have been staring at the code, looking up how to make a recipe and altering the code, and restarting the game over and over...
If anyone has advice or knows where it needs to be inserted in order to work and not override hay, I would be forever grateful  :'(

BluwWulf

#1
Not at my main computer right now so can't test it, but have you tried this?

  <RecipeDef>
    <defName>Make10Kibble</defName>
    <label>make kibble in bulk (10)</label>
    <description>Make animal kibble by combining raw meat and plants.</description>
    <jobString>Making kibble.</jobString>
    <workAmount>4050</workAmount>
    <workSpeedStat>CookSpeed</workSpeedStat>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_CookMeal</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <ingredientValueGetterClass>IngredientValueGetter_Nutrition</ingredientValueGetterClass>
    <ingredients>
      <li>
        <filter>
          <categories>
            <li>MeatRaw</li>
            <li>AnimalProductRaw</li>
          </categories>
        </filter>
        <count>10.2</count>
      </li>
      <li>
        <filter>
          <categories>
            <li>PlantFoodRaw</li>
            <li>PlantMatter</li>
          </categories>
          <thingDefs>
            <li>Hay</li>
          </thingDefs>
        </filter>
        <count>10.2</count>
      </li>
    </ingredients>
    <products>
      <Kibble>500</Kibble>
    </products>
    <fixedIngredientFilter>
      <categories>
        <li>FoodRaw</li>
      </categories>
      <thingDefs>
        <li>Hay</li>
      </thingDefs>
    </fixedIngredientFilter>
    <defaultIngredientFilter>
      <categories>
        <li>Foods</li>
      </categories>
      <disallowedCategories>
        <li>EggsFertilized</li>
      </disallowedCategories>
      <disallowedThingDefs>
        <li>InsectJelly</li>
      </disallowedThingDefs>
    </defaultIngredientFilter>
<recipeUsers>
<li>TableButcher</li>
</recipeUsers>
<skillRequirements>
<Cooking>6</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
  </RecipeDef>


Edit: Made mistake in code

BluwWulf

Okay I booted up my computer, that wont work at all so please disregard the last message :(

  <RecipeDef>
    <defName>Make10Kibble</defName>
    <label>make kibble in bulk (10)</label>
    <description>Make animal kibble by combining raw meat and plants.</description>
    <jobString>Making kibble.</jobString>
    <workAmount>4050</workAmount>
    <workSpeedStat>CookSpeed</workSpeedStat>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_CookMeal</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <ingredientValueGetterClass>IngredientValueGetter_Nutrition</ingredientValueGetterClass>
    <ingredients>
      <li>
        <filter>
          <categories>
            <li>MeatRaw</li>
            <li>AnimalProductRaw</li>
          </categories>
        </filter>
        <count>10.2</count>
      </li>
      <li>
        <filter>
          <categories>
            <li>PlantFoodRaw</li>
<li>PlantMatter</li>
          </categories>
          <thingDefs>
            <li>Hay</li>
            <li>PlantScraps</li>
          </thingDefs>
        </filter>
        <count>10.2</count>
      </li>
    </ingredients>
    <products>
      <Kibble>500</Kibble>
    </products>
    <fixedIngredientFilter>
      <categories>
        <li>FoodRaw</li>
<li>PlantMatter</li>
      </categories>
      <thingDefs>
        <li>Hay</li>
<li>PlantScraps</li>
      </thingDefs>
    </fixedIngredientFilter>
    <defaultIngredientFilter>
      <categories>
        <li>Foods</li>
        <li>ResourcesRaw</li>
      </categories>
      <disallowedCategories>
        <li>EggsFertilized</li>
      </disallowedCategories>
      <disallowedThingDefs>
        <li>InsectJelly</li>
        <li>RawHops</li>
        <li>PsychoidLeaves</li>
        <li>SmokeleafLeaves</li>
      </disallowedThingDefs>
    </defaultIngredientFilter>
<recipeUsers>
<li>TableButcher</li>
</recipeUsers>
<skillRequirements>
<Cooking>6</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
  </RecipeDef>


Tested and working, you can remove the Hops, Psycoid & Smoke leaf lines from the <disallowedThingDefs> if you want to add them in as well.

PS: Sorry for the two posts in a row but as my last code didn't work and it had been a while so I wanted to make sure the OP new there was a new message if he had already read the last line

Bearrorism

Thank you so much for the help! Unfortunately, I'm not having any luck with it. I added in the lines, then copy/pasted, and I still can't get hay and plant scraps at the same time.
Gonna keep trying though!

BluwWulf

Oh thats odd O.o it's working on mine.

Would you mind copy and pasting both your Items_Resources_RFF.xml and the Recipes_MasterOfCooking_Food.xml?

Also when you lay down a stockpile, is your plant scraps in Raw Resources > Plant Matter > Plant Scraps?

I'm wondering if another mod has altered the catagories

Bearrorism

#5
With the number of mods I play with, having come crossover is probably 100% the issue, but I don't understand the code well enough to sort it out. Plant scraps in my piles go food>plant scraps.

<?xml version="1.0" encoding="utf-8" ?>
<Defs>

  <RecipeDef>
    <defName>Make10Kibble</defName>
    <label>make kibble in bulk (10)</label>
    <description>Make animal kibble by combining raw meat and plants.</description>
    <jobString>Making kibble.</jobString>
    <workAmount>4050</workAmount>
    <workSpeedStat>CookSpeed</workSpeedStat>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_CookMeal</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <ingredientValueGetterClass>IngredientValueGetter_Nutrition</ingredientValueGetterClass>
    <ingredients>
      <li>
        <filter>
          <categories>
            <li>MeatRaw</li>
            <li>AnimalProductRaw</li>
          </categories>
        </filter>
        <count>10.2</count>
      </li>
      <li>
        <filter>
          <categories>
            <li>PlantFoodRaw</li>
          </categories>
          <thingDefs>
            <li>PlantScraps</li>
          </thingDefs>
        </filter>
        <count>10.2</count>
      </li>
    </ingredients>
    <products>
      <Kibble>500</Kibble>
    </products>
    <fixedIngredientFilter>
      <categories>
        <li>FoodRaw</li>
      </categories>
      <thingDefs>
        <li>PlantScraps</li>
      </thingDefs>
    </fixedIngredientFilter>
    <defaultIngredientFilter>
      <categories>
        <li>Foods</li>
      </categories>
      <disallowedCategories>
        <li>EggsFertilized</li>
      </disallowedCategories>
      <disallowedThingDefs>
        <li>InsectJelly</li>
      </disallowedThingDefs>
    </defaultIngredientFilter>
<recipeUsers>
<li>TableButcher</li>
</recipeUsers>
<skillRequirements>
<Cooking>6</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
  </RecipeDef>

  <RecipeDef>
    <defName>Make20Kibble</defName>
    <label>make kibble in bulk (20)</label>
    <description>Make animal kibble by combining raw meat and plants.</description>
    <jobString>Making kibble.</jobString>
    <workAmount>7200</workAmount>
    <workSpeedStat>CookSpeed</workSpeedStat>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_CookMeal</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <ingredientValueGetterClass>IngredientValueGetter_Nutrition</ingredientValueGetterClass>
    <ingredients>
      <li>
        <filter>
          <categories>
            <li>MeatRaw</li>
            <li>AnimalProductRaw</li>
          </categories>
        </filter>
        <count>21</count>
      </li>
      <li>
        <filter>
          <categories>
            <li>PlantFoodRaw</li>
          </categories>
          <thingDefs>
            <li>PlantScraps</li>
          </thingDefs>
        </filter>
        <count>21</count>
      </li>
    </ingredients>
    <products>
      <Kibble>1000</Kibble>
    </products>
    <fixedIngredientFilter>
      <categories>
        <li>FoodRaw</li>
      </categories>
      <thingDefs>
        <li>PlantScraps</li>
      </thingDefs>
    </fixedIngredientFilter>
    <defaultIngredientFilter>
      <categories>
        <li>Foods</li>
      </categories>
      <disallowedCategories>
        <li>EggsFertilized</li>
      </disallowedCategories>
      <disallowedThingDefs>
        <li>InsectJelly</li>
      </disallowedThingDefs>
    </defaultIngredientFilter>
<recipeUsers>
<li>TableButcher</li>
</recipeUsers>
<skillRequirements>
<Cooking>12</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
  </RecipeDef>

  <RecipeDef>
    <defName>Make10Pemmican</defName>
    <label>make pemmican in bulk (10)</label>
    <description>Make pemmican, a preserved combination of meat and plant food. It doesn't taste amazing, but lasts a year without refrigeration.</description>
    <jobString>Making pemmican.</jobString>
    <workAmount>6500</workAmount>
    <workSpeedStat>CookSpeed</workSpeedStat>
    <requiredGiverWorkType>Cooking</requiredGiverWorkType>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_CookMeal</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <ingredientValueGetterClass>IngredientValueGetter_Nutrition</ingredientValueGetterClass>
    <ingredients>
      <li>
        <filter>
          <categories>
            <li>MeatRaw</li>
          </categories>
        </filter>
        <count>2.55</count>
      </li>
      <li>
        <filter>
          <categories>
            <li>PlantFoodRaw</li>
          </categories>
        </filter>
        <count>2.55</count>
      </li>
    </ingredients>
    <products>
      <Pemmican>160</Pemmican>
    </products>
    <fixedIngredientFilter>
      <categories>
        <li>FoodRaw</li>
      </categories>
      <disallowedCategories>
        <li>AnimalProductRaw</li>
      </disallowedCategories>
      <specialFiltersToDisallow>
        <li>AllowPlantFood</li>
      </specialFiltersToDisallow>
    </fixedIngredientFilter>
    <defaultIngredientFilter>
      <categories>
        <li>FoodRaw</li>
      </categories>
      <disallowedThingDefs>
        <li>Meat_Human</li>
        <li>Meat_Megaspider</li>
      </disallowedThingDefs>
    </defaultIngredientFilter>
<recipeUsers>
<li>ElectricStove</li>
<li>FueledStove</li>
</recipeUsers>
<skillRequirements>
<Cooking>6</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
    <researchPrerequisite>Pemmican</researchPrerequisite>
  </RecipeDef>

  <RecipeDef>
    <defName>Make20Pemmican</defName>
    <label>make pemmican in bulk (20)</label>
    <description>Make pemmican, a preserved combination of meat and plant food. It doesn't taste amazing, but lasts a year without refrigeration.</description>
    <jobString>Making pemmican.</jobString>
    <workAmount>11600</workAmount>
    <workSpeedStat>CookSpeed</workSpeedStat>
    <requiredGiverWorkType>Cooking</requiredGiverWorkType>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_CookMeal</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <ingredientValueGetterClass>IngredientValueGetter_Nutrition</ingredientValueGetterClass>
    <ingredients>
      <li>
        <filter>
          <categories>
            <li>MeatRaw</li>
          </categories>
        </filter>
        <count>5.25</count>
      </li>
      <li>
        <filter>
          <categories>
            <li>PlantFoodRaw</li>
          </categories>
        </filter>
        <count>5.25</count>
      </li>
    </ingredients>
    <products>
      <Pemmican>320</Pemmican>
    </products>
    <fixedIngredientFilter>
      <categories>
        <li>FoodRaw</li>
      </categories>
      <disallowedCategories>
        <li>AnimalProductRaw</li>
      </disallowedCategories>
      <specialFiltersToDisallow>
        <li>AllowPlantFood</li>
      </specialFiltersToDisallow>
    </fixedIngredientFilter>
    <defaultIngredientFilter>
      <categories>
        <li>FoodRaw</li>
      </categories>
      <disallowedThingDefs>
        <li>Meat_Human</li>
        <li>Meat_Megaspider</li>
      </disallowedThingDefs>
    </defaultIngredientFilter>
<recipeUsers>
<li>ElectricStove</li>
<li>FueledStove</li>
</recipeUsers>
<skillRequirements>
<Cooking>12</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
    <researchPrerequisite>Pemmican</researchPrerequisite>
  </RecipeDef>

<RecipeDef>
    <defName>Make10Wort</defName>
    <label>make wort in bulk (10)</label>
    <description>Make wort from hops.</description>
    <jobString>Making wort.</jobString>
    <workSpeedStat>DrugCookingSpeed</workSpeedStat>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_Brewing</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <workAmount>9200</workAmount>
    <targetCountAdjustment>1</targetCountAdjustment>
    <ingredients>
      <li>
        <filter>
          <thingDefs>
            <li>RawHops</li>
          </thingDefs>
        </filter>
        <count>255</count>
      </li>
    </ingredients>
    <fixedIngredientFilter>
      <thingDefs>
        <li>RawHops</li>
      </thingDefs>
    </fixedIngredientFilter>
    <products>
      <Wort>50</Wort>
    </products>
<recipeUsers>
<li>Brewery</li>
</recipeUsers>
<skillRequirements>
<Cooking>6</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
  </RecipeDef>

<RecipeDef>
    <defName>Make20Wort</defName>
    <label>make wort in bulk (20)</label>
    <description>Make wort from hops.</description>
    <jobString>Making wort.</jobString>
    <workSpeedStat>DrugCookingSpeed</workSpeedStat>
    <effectWorking>Cook</effectWorking>
    <soundWorking>Recipe_Brewing</soundWorking>
    <allowMixingIngredients>true</allowMixingIngredients>
    <workAmount>15200</workAmount>
    <targetCountAdjustment>1</targetCountAdjustment>
    <ingredients>
      <li>
        <filter>
          <thingDefs>
            <li>RawHops</li>
          </thingDefs>
        </filter>
        <count>525</count>
      </li>
    </ingredients>
    <fixedIngredientFilter>
      <thingDefs>
        <li>RawHops</li>
      </thingDefs>
    </fixedIngredientFilter>
    <products>
      <Wort>100</Wort>
    </products>
<recipeUsers>
<li>Brewery</li>
</recipeUsers>
<skillRequirements>
<Cooking>12</Cooking>
</skillRequirements>
    <workSkill>Cooking</workSkill>
  </RecipeDef>


</Defs>


I did a find/replace in the Master of Cooking_Food so I could make use of the plant scraps as they are more plentiful than hay, and though my animals should eat plant scraps themselves, they do not (they sometimes do), so every instance of plantscraps should actually be hay.

<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<ThingDef Name="ResourceBase_RFF" Abstract="True">
<thingClass>ThingWithComps</thingClass>
<category>Item</category>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<useHitPoints>true</useHitPoints>
<selectable>true</selectable>
<altitudeLayer>Item</altitudeLayer>
<stackLimit>75</stackLimit>
<statBases>
<Beauty>-7</Beauty>
</statBases>
<comps>
<li Class="CompProperties_Forbiddable"/>
</comps>
<alwaysHaulable>true</alwaysHaulable>
<drawGUIOverlay>true</drawGUIOverlay>
<rotatable>false</rotatable>
<pathCost>15</pathCost>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>RawCompost</defName>
<label>Raw compost</label>
<description>A mix of food wastes. Rather disgusting, but useful if you want to make fertilizer.</description>
<graphicData>
<texPath>Compost</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<statBases>
<DeteriorationRate>2</DeteriorationRate>
<MarketValue>1.0</MarketValue>
<Mass>0.5</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<tradeability>None</tradeability>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>Fertilizer</defName>
<label>Fertilizer</label>
<description>Fertilizer enhances soil to speed the growth of plants.</description>
<graphicData>
<texPath>Fertilizer</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<statBases>
<DeteriorationRate>2</DeteriorationRate>
<MarketValue>6.0</MarketValue>
<Mass>0.35</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<tradeTags>
<li>TerraformingResources</li>
</tradeTags>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>CrushedRocks</defName>
<label>Crushed rocks</label>
<description>Stone chunks that have been broken up into smaller pieces.</description>
<graphicData>
<texPath>CrushedRocks</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<stackLimit>25</stackLimit>
<statBases>
<MarketValue>1.0</MarketValue>
<Mass>10.0</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<tradeTags>
<li>TerraformingResources</li>
</tradeTags>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>PileofDirt</defName>
<label>Pile of dirt</label>
<description>Simple soil dug out of the ground.</description>
<graphicData>
<texPath>DirtPile</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<stackLimit>25</stackLimit>
<statBases>
<MarketValue>2.0</MarketValue>
<Mass>5.0</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<tradeTags>
<li>TerraformingResources</li>
</tradeTags>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>SandPile</defName>
<label>Pile of sand</label>
<description>Sand, possibly dug up from a desert or a beach.</description>
<graphicData>
<texPath>SandPile</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<stackLimit>25</stackLimit>
<statBases>
<MarketValue>1.0</MarketValue>
<Mass>5.0</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<tradeTags>
<li>TerraformingResources</li>
</tradeTags>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>RFFClay</defName>
<label>Clay</label>
<description>Clay. Could be molded and fired to create bricks, or could be mixed with sand and fertilizer to make good dirt.</description>
<graphicData>
<texPath>Clay</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
</graphicData>
<stackLimit>25</stackLimit>
<statBases>
<MarketValue>2.0</MarketValue>
<Mass>5.0</Mass>
</statBases>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<tradeTags>
<li>TerraformingResources</li>
</tradeTags>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>PlantScraps</defName>
<label>plant scraps</label>
<description>Branches, twigs and leaves from cut plants. Useful for making compost, or perhaps for feeding animals.</description>
<graphicData>
<texPath>Stuff/Scraps</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<stackLimit>200</stackLimit>
<socialPropernessMatters>true</socialPropernessMatters>
<statBases>
<DeteriorationRate>2</DeteriorationRate>
<Flammability>1.0</Flammability>
<Mass>0.1</Mass>
<Nutrition>0.05</Nutrition>
</statBases>
<tickerType>Rare</tickerType>
<ingestible>
<foodType>Plant</foodType>
<preferability>DesperateOnlyForHumanlikes</preferability>
<tasteThought>AteRawFood</tasteThought>
<ingestEffect>EatVegetarian</ingestEffect>
<ingestSound>RawVegetable_Eat</ingestSound>
</ingestible>
<comps>
<li Class="CompProperties_Rottable">
<daysToRotStart>30</daysToRotStart>
<rotDestroys>false</rotDestroys>
</li>
</comps>
<thingCategories>
<li>Foods</li>
</thingCategories>
<tradeability>None</tradeability>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>RottedMush</defName>
<label>rotted mush</label>
<description>Whatever this used to be, it's now just a disgusting pile of rotted mush. Useful for making compost, perhaps, but not for much else.</description>
<graphicData>
<texPath>Stuff/RotV</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<socialPropernessMatters>true</socialPropernessMatters>
<statBases>
<DeteriorationRate>2</DeteriorationRate>
<Flammability>1.0</Flammability>
<Mass>0.02</Mass>
</statBases>
<tickerType>Rare</tickerType>
<thingCategories>
<li>ResourcesRaw</li>
</thingCategories>
<tradeability>None</tradeability>
</ThingDef>

<ThingDef ParentName="ResourceBase_RFF">
<defName>RFFBricks</defName>
<label>bricks</label>
<description>Classic bricks made from fired clay.</description>
<graphicData>
<texPath>Things/Item/Resource/StoneBlocks</texPath>
<graphicClass>Graphic_StackCount</graphicClass>
<color>(160,64,48)</color>
</graphicData>
<soundInteract>Stone_Drop</soundInteract>
<soundDrop>Stone_Drop</soundDrop>
<useHitPoints>false</useHitPoints>
<statBases>
<MaxHitPoints>200</MaxHitPoints>
<MarketValue>1.9</MarketValue>
<SharpDamageMultiplier>0.5</SharpDamageMultiplier>
<BluntDamageMultiplier>1.0</BluntDamageMultiplier>
<Beauty>-12</Beauty>
<Mass>1</Mass>
</statBases>
<thingCategories>
<li>StoneBlocks</li>
</thingCategories>
<stuffProps>
<categories>
<li>Brick</li>
</categories>
<commonality>0.20</commonality>
<appearance>Bricks</appearance>
<color>(96,32,0)</color>
<soundImpactStuff>BulletImpact_Ground</soundImpactStuff>
<soundMeleeHitSharp>MeleeHit_Stone</soundMeleeHitSharp>
<soundMeleeHitBlunt>MeleeHit_Stone</soundMeleeHitBlunt>
<stuffAdjective>brick</stuffAdjective>
<statOffsets>
<WorkToBuild>140</WorkToBuild>
</statOffsets>
<statFactors>
<Beauty>1.1</Beauty>
<MarketValue>0.5</MarketValue>
<MaxHitPoints>1.5</MaxHitPoints>
<Flammability>0</Flammability>
<WorkToBuild>5.0</WorkToBuild>
<WorkToMake>1.0</WorkToMake>
<DoorOpenSpeed>0.45</DoorOpenSpeed>
<BedRestEffectiveness>0.9</BedRestEffectiveness>
<MeleeWeapon_CooldownMultiplier>1.35</MeleeWeapon_CooldownMultiplier>
</statFactors>
</stuffProps>
</ThingDef>

</Defs>