RimWorld

RimWorld

Animals dung [1.2]
velcroboy333 31 Jan, 2021 @ 1:01pm
VGP Garden Tools Fertilizer Patch
<Operation Class="PatchOperationFindMod">
<success>Always</success>
<mods>
<li>VGP Garden Tools</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<RecipeDef>
<defName>Dung_MakeFertilizer</defName>
<label>make fertilizer from animal dung</label>
<description>Make fertilizer from animal dung, hay, and soil. \n\nMakes 10.</description>
<jobString>Making fertilizer.</jobString>
<workSpeedStat>CookSpeed</workSpeedStat>
<workSkillLearnFactor>0.25</workSkillLearnFactor>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_CookMeal</soundWorking>
<allowMixingIngredients>true</allowMixingIngredients>
<workAmount>1500</workAmount>
<ingredients>
<li>
<filter>
<thingDefs>
<li>TP_Feces</li>
</thingDefs>
</filter>
<count>20</count>
</li>
<li>
<filter>
<thingDefs>
<li>Hay</li>
</thingDefs>
</filter>
<count>10</count>
</li>
<li>
<filter>
<thingDefs>
<li>VG_PileofDirt</li>
</thingDefs>
</filter>
<count>10</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>TP_Feces</li>
<li>Hay</li>
<li>VG_PileofDirt</li>
</thingDefs>
<specialFiltersToDisallow>
<li>AllowNonSmeltableWeapons</li>
</specialFiltersToDisallow>
</fixedIngredientFilter>
<products>
<RawFertilizer>10</RawFertilizer>
</products>
<workSkill>Crafting</workSkill>
<recipeUsers>
<li>TableButcher</li>
</recipeUsers>
</RecipeDef>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<RecipeDef>
<defName>Dung_MakeFertilizerBulk</defName>
<label>make fertilizer from animal dung x5</label>
<description>Make bulk fertilizer from animal dung, hay, and soil. \n\nMakes 50.</description>
<jobString>Making fertilizer.</jobString>
<workSpeedStat>CookSpeed</workSpeedStat>
<workSkillLearnFactor>0.25</workSkillLearnFactor>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_CookMeal</soundWorking>
<allowMixingIngredients>true</allowMixingIngredients>
<workAmount>6300</workAmount>
<ingredients>
<li>
<filter>
<thingDefs>
<li>TP_Feces</li>
</thingDefs>
</filter>
<count>100</count>
</li>
<li>
<filter>
<thingDefs>
<li>Hay</li>
</thingDefs>
</filter>
<count>50</count>
</li>
<li>
<filter>
<thingDefs>
<li>VG_PileofDirt</li>
</thingDefs>
</filter>
<count>50</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>TP_Feces</li>
<li>Hay</li>
<li>VG_PileofDirt</li>
</thingDefs>
<specialFiltersToDisallow>
<li>AllowNonSmeltableWeapons</li>
</specialFiltersToDisallow>
</fixedIngredientFilter>
<products>
<RawFertilizer>50</RawFertilizer>
</products>
<workSkill>Crafting</workSkill>
<recipeUsers>
<li>TableButcher</li>
</recipeUsers>
</RecipeDef>
</value>
</li>

</operations>
</match>
</Operation>
< >
Showing 1-1 of 1 comments
velcroboy333 1 Feb, 2021 @ 8:28pm 
<Operation Class="PatchOperationFindMod">
<success>Always</success>
<mods>
<li>Dubs Bad Hygiene</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs</xpath>
<value>
<ThingDef ParentName="BasedHygieneMom">
<defName>Dung_BiosolidsComposter</defName>
<label>biosolids animal dung composter</label>
<thingClass>DubsBadHygiene.Building_Composter</thingClass>
<graphicData>
<texPath>DBH/Things/Building/Sewage/Composter</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(1,1)</drawSize>
<damageData>
<rect>(0.05,0.1,0.9,0.9)</rect>
</damageData>
</graphicData>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsHygiene</li>
</thingCategories>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<fillPercent>0.45</fillPercent>
<pathCost>60</pathCost>
<statBases>
<WorkToBuild>600</WorkToBuild>
<Mass>10</Mass>
<MaxHitPoints>100</MaxHitPoints>
<Flammability>1.0</Flammability>
</statBases>
<description>A composter for turning sewage into fertilizer for increasing the fertility of diggable terrain.</description>
<costList>
<Steel>45</Steel>
</costList>
<comps>
<li Class="DubsBadHygiene.CompProperties_Composter">
<Material>TP_Feces</Material>
<Product>Biosolids</Product>
</li>
<li Class="CompProperties_TemperatureRuinable">
<minSafeTemperature>-20</minSafeTemperature>
<maxSafeTemperature>60</maxSafeTemperature>
<progressPerDegreePerTick>0.00001</progressPerDegreePerTick>
</li>
<li Class="CompProperties_Forbiddable"/>
</comps>
<tickerType>Rare</tickerType>
<rotatable>false</rotatable>
<constructEffect>ConstructWood</constructEffect>
<designationCategory>Hygiene</designationCategory>
<researchPrerequisites>
<li>SewageSludgeComposting</li>
</researchPrerequisites>
</ThingDef>
</value>
</li>

</operations>
</match>
</Operation>
Last edited by velcroboy333; 1 Feb, 2021 @ 8:51pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50