Advertisement
Guest User

Code

a guest
Jul 28th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <RecipeDefs>
  3.  
  4.     <RecipeDef>
  5.         <defName>CreateSynthmeat</defName>
  6.         <label>Create Synthmeat</label>
  7.         <description>Create Synthmeat from other meat samples.</description>
  8.         <researchPrerequisite>SynthmeatResearch</researchPrerequisite>
  9.         <jobString></jobString>
  10.         <workAmount>550</workAmount>
  11.         <workSpeedStat>CookSpeed</workSpeedStat>
  12.         <workSkill>Crafting</workSkill>
  13.         <workSkillLearnFactor>0.75</workSkillLearnFactor>
  14.         <effectWorking>ButcherFlesh</effectWorking>
  15.         <soundWorking>Recipe_ButcherCorpseFlesh</soundWorking>
  16.         <allowMixingIngredients>false</allowMixingIngredients>
  17.         <targetCountAdjustment>1</targetCountAdjustment>
  18.         <recipeUsers>
  19.             <li>TableGrowingVat</li>
  20.         </recipeUsers>
  21.         <ingredients>
  22.             <li>
  23.                 <filter>
  24.                         <categories>
  25.                             <li>MeatRaw</li>
  26.                         </categories>
  27.                 </filter>
  28.                 <count>5</count>
  29.             </li>
  30.         </ingredients>
  31.     <!--    <fixedIngredientFilter>
  32.             <thingDefs>
  33.                 <li>DevilstrandCloth</li>
  34.                 <li>Cloth</li>
  35.                 <li>Steel</li>
  36.             </thingDefs>
  37.         </fixedIngredientFilter> -->
  38.         <products>
  39.             <SynthMeat>25</SynthMeat>
  40.         </products>
  41.         <skillRequirements>
  42.             <li>
  43.                 <skill>Cooking</skill>
  44.                 <minLevel>4</minLevel>
  45.             </li>
  46.             <li>
  47.                 <skill>Intellectual</skill>
  48.                 <minLevel>6</minLevel>
  49.             </li>
  50.         </skillRequirements>
  51.     </RecipeDef>
  52.    
  53. </RecipeDefs>
  54.  
  55.  
  56.  
  57.  
  58. <ThingDefs>
  59.  
  60.   <ThingDef ParentName="MeatRaw">
  61.     <defName>SynthMeat</defName>
  62.     <label>synthetic meat</label>
  63.     <description>A high-quality text.</description>
  64.     <graphicData>
  65.       <texPath>Things/Item/SynthMeat</texPath>
  66.       <graphicClass>Graphic_Single</graphicClass>
  67.     </graphicData>
  68.     <statBases>
  69.       <DeteriorationRate>0.5</DeteriorationRate>
  70.       <MarketValue>25</MarketValue>
  71.       <Mass>0.4</Mass>
  72.     </statBases>
  73.     <ingestible>
  74.       <preferability>RawBad</preferability>
  75.             <nutrition>0.5</nutrition>
  76.     </ingestible>
  77.   </ThingDef>
  78.  
  79.  </ThingDefs>
  80.  
  81.  
  82.  
  83. <?xml version="1.0" encoding="utf-8" ?>
  84. <ThingDefs>
  85.  
  86.   <ThingDef ParentName="BenchBase">
  87.     <DefName>TableGrowingVat</DefName>
  88.     <label>growing vat</label>
  89.     <ThingClass>Building_WorkTable</ThingClass>
  90.     <Description>A workbench to grow synthetic meat from other meat sources</Description>
  91.     <graphicData>
  92.       <texPath>Things/Buildings/TableAnimalProsthetics</texPath>
  93.       <graphicClass>Graphic_Multi</graphicClass>
  94.       <drawSize>(3.5,1.5)</drawSize>
  95.       <damageData>
  96.         <cornerTL>Damage/Corner</cornerTL>
  97.         <cornerTR>Damage/Corner</cornerTR>
  98.         <cornerBL>Damage/Corner</cornerBL>
  99.         <cornerBR>Damage/Corner</cornerBR>
  100.       </damageData>
  101.     </graphicData>
  102.     <costStuffCount>75</costStuffCount>
  103.     <stuffCategories>
  104.       <li>Metallic</li>
  105.       <li>Woody</li>
  106.     </stuffCategories>
  107.     <AltitudeLayer>Building</AltitudeLayer>
  108.     <fillPercent>0.5</fillPercent>
  109.     <useHitPoints>True</useHitPoints>
  110.     <statBases>
  111.       <WorkToBuild>2000</WorkToBuild>
  112.       <MaxHitPoints>180</MaxHitPoints>
  113.       <Flammability>1.0</Flammability>
  114.       <WorkTableWorkSpeedFactor>0.5</WorkTableWorkSpeedFactor>
  115.     </statBases>
  116.     <Size>(3,1)</Size>
  117.     <DesignationCategory>Production</DesignationCategory>
  118.     <Passability>PassThroughOnly</Passability>
  119.     <pathCost>70</pathCost>
  120.     <hasInteractionCell>True</hasInteractionCell>
  121.     <interactionCellOffset>(0,0,-1)</interactionCellOffset>
  122.     <surfaceType>Item</surfaceType>
  123.     <inspectorTabs>
  124.       <li>ITab_Bills</li>
  125.     </inspectorTabs>
  126.        <recipes>
  127.       <li>CreateSynthmeat</li>
  128.     </recipes>
  129.     <building>
  130.       <spawnedConceptLearnOpportunity>BillsTab</spawnedConceptLearnOpportunity>
  131.         </building>
  132.     <comps>
  133.       <li Class="CompProperties_AffectedByFacilities">
  134.         <linkableFacilities>
  135.           <li>ToolCabinet</li>
  136.         </linkableFacilities>
  137.       </li>
  138.     </comps>
  139.         <placeWorkers>
  140.             <li>PlaceWorker_ShowFacilitiesConnections</li>
  141.         </placeWorkers>
  142.     <researchPrerequisites>
  143.       <li>SynthmeatResearch</li>
  144.     </researchPrerequisites>
  145.   </ThingDef>
  146.  
  147. </ThingDefs>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement