removed ability for handler to convert themselves to hucow

buffed hucow movement speed
added role requirement min animal skill to hucow handler
buffed their gather speed and milk induction yield
This commit is contained in:
c0ffee 2022-08-10 19:13:43 -07:00
parent 1f175493c8
commit 266356123e
5 changed files with 26 additions and 6 deletions

View file

@ -11,7 +11,11 @@
<showPsycastEffects>False</showPsycastEffects>
<displayGizmoWhileUndrafted>True</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>False</disableGizmoWhileUndrafted>
<hotKey>Misc12</hotKey>
<overrideGroupCooldown>True</overrideGroupCooldown>
<cooldownTicksRange>30000</cooldownTicksRange>
<hotKey>Misc12</hotKey>
<uiOrder>4</uiOrder>
<warmupStartSound>WorkDrive_Warmup</warmupStartSound>
<statBases>
@ -24,10 +28,10 @@
<warmupTime>3.0</warmupTime>
<targetParams>
<canTargetAnimals>false</canTargetAnimals>
<canTargetSelf>true</canTargetSelf>
<canTargetSelf>false</canTargetSelf>
<canTargetBuildings>false</canTargetBuildings>
<canTargetMechs>false</canTargetMechs>
<onlyTargetColonists>true</onlyTargetColonists>
<onlyTargetColonistsOrPrisonersOrSlaves>true</onlyTargetColonistsOrPrisonersOrSlaves>
</targetParams>
</verbProperties>
<comps>

View file

@ -16,7 +16,7 @@
<MilkProductionYield>2.75</MilkProductionYield>
<MilkProductionSpeed>0.5</MilkProductionSpeed>
<WorkSpeedGlobal>0.4</WorkSpeedGlobal>
<MoveSpeed>0.4</MoveSpeed>
<MoveSpeed>0.65</MoveSpeed>
</statFactors>
</li>
</stages>

View file

@ -33,17 +33,32 @@
<PreceptDef ParentName="PreceptRoleSingleBase">
<defName>IdeoRole_HucowHandler</defName>
<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.</description>
<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>
<roleTags>
<li>HucowHandler</li>
</roleTags>
<roleRequirements>
<li Class="RoleRequirement_SameIdeo">
<labelKey>RoleRequirementLabelSameIdeo</labelKey>
</li>
<li Class="RoleRequirement_MinSkillAny">
<skills>
<Animals>6</Animals>
</skills>
</li>
</roleRequirements>
<roleEffects>
<li Class="RoleEffect_PawnStatOffset">
<statDef>AnimalGatherSpeed</statDef>
<modifier>0.7</modifier>
</li>
</roleEffects>
<roleApparelRequirements>
<li>
<requirement>

View file

@ -81,4 +81,4 @@ namespace CRIALactation
}
}
}
}

View file

@ -37,6 +37,7 @@ namespace CRIALactation
massage.tickAction = delegate ()
{
pawn.skills.Learn(SkillDefOf.Animals, 0.13f, false);
massageProgress += pawn.GetStatValue(StatDefOf.AnimalGatherSpeed, true);
};