replaced compinducelactation with hediffcomp; cleaner

todo:
add abilitydef to hucow handler to begin inducing lactation; give lactation induction hediff to recipient pawn
add thoughtdef w/ thoughtworker_hediff to give pawns thoughts on inducing lactation
This commit is contained in:
c0ffee 2022-10-14 18:10:00 -07:00
parent 1d6ecb3f95
commit 5b4b203d13
19 changed files with 233 additions and 70 deletions

View file

@ -30,20 +30,27 @@
</roleTags>
</PreceptDef>
-->
<IssueDef>
<defName>HucowHandling</defName>
<label>hucow handling</label>
<iconPath>UI/Issues/Lactating</iconPath>
</IssueDef>
<PreceptDef ParentName="PreceptRoleSingleBase">
<defName>IdeoRole_HucowHandler</defName>
<issue>HucowHandling</issue>
<!--this is needed to override old issue in issuedef to have hucow handler role-->
<label>hucow handler</label>
<description>A special ideoligious status which can convert lactating pawns to hucows, increasing their lactation yield at the cost of their work and movement speed. \n\nThey also receive an increase in the speed at which they harvest milk, and the speed at which they induce lactation in other pawns.</description>
<iconPath>UI/Roles/SpecialistMelee</iconPath>
<nameMaker>NamerRoleMoralist</nameMaker>
<displayOrderInImpact>100</displayOrderInImpact>
<roleTags>
<li>HucowHandler</li>
</roleTags>
<roleRequirements>
<li Class="RoleRequirement_SameIdeo">
<labelKey>RoleRequirementLabelSameIdeo</labelKey>
</li>
<li Class="RoleRequirement_MinSkillAny">
<skills>
<Animals>6</Animals>
@ -51,7 +58,9 @@
</li>
</roleRequirements>
<roleRequiredWorkTags>
<li>Animals</li>
</roleRequiredWorkTags>
<roleEffects>
<li Class="RoleEffect_PawnStatOffset">
<statDef>AnimalGatherSpeed</statDef>
@ -139,7 +148,6 @@
<grantedAbilities>
<li>ConvertToHucow</li>
</grantedAbilities>
<displayOrderInImpact>2</displayOrderInImpact>
</PreceptDef>
</Defs>