"The alphabeaver is more closely related to the platypus than the North American beaver (Castor canadensis)" Q&A Thread for Friday 7/28

And I'm the same, but I can't show the code if I don't know what the code is to show it. I can't find any connection between a work giver and a job.

<WorkGiverDef> <defName>DoBillsCook</defName> <label>cook meals at stove</label> <giverClass>WorkGiver_DoBill</giverClass> <workType>Cooking</workType> <priorityInType>100</priorityInType> <fixedBillGiverDefs> <li>ElectricStove</li> <li>FueledStove</li> </fixedBillGiverDefs> <verb>cook</verb> <gerund>cooking at</gerund> <requiredCapacities> <li>Manipulation</li> </requiredCapacities> <prioritizeSustains>true</prioritizeSustains> </WorkGiverDef>

<RecipeDef Name="CookMealSimple" ParentName="CookMealBase">
<defName>CookMealSimple</defName>
<label>cook simple meal</label>
<description>Cooks a straightforward meal from one ingredient.</description>
<jobString>Cooking simple meal.</jobString>
<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>FoodRaw</li>
      </categories>
    </filter>
    <count>0.5</count>
  </li>
</ingredients>
    <products>
        <MealSimple>1</MealSimple>
    </products>
<workSkill>Cooking</workSkill>

</RecipeDef>

This is the work giver for cooking at a stove, and the recipe for cooking a simple meal. I keep looking at the two and I don't know how the game knows that the simple meal recipe belongs to the stove cooking work giver.

/r/RimWorld Thread Parent