mirror of
https://gitgud.io/c0ffeeeeeeee/coffees-rjw-ideology-addons.git
synced 2024-08-14 23:57:38 +00:00
hucows can eat anything in exchange for slower movement speed
This commit is contained in:
parent
95e1f5397a
commit
5696aea1c3
5 changed files with 7 additions and 6 deletions
Binary file not shown.
|
@ -15,8 +15,8 @@
|
|||
<statFactors>
|
||||
<MilkProductionYield>2.75</MilkProductionYield>
|
||||
<MilkProductionSpeed>0.5</MilkProductionSpeed>
|
||||
<WorkSpeedGlobal>0.6</WorkSpeedGlobal>
|
||||
<MoveSpeed>0.6</MoveSpeed>
|
||||
<WorkSpeedGlobal>0.4</WorkSpeedGlobal>
|
||||
<MoveSpeed>0.4</MoveSpeed>
|
||||
</statFactors>
|
||||
</li>
|
||||
</stages>
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
<stages>
|
||||
<li>
|
||||
<label>Ate non-human milk food</label>
|
||||
<description>I had to eat food that wasn't produced from a person's breasts. My beliefs strictly forbid such things.</description>
|
||||
<description>I had to eat food that wasn't produced from a hucow's breasts. This food should be for hucows only.</description>
|
||||
<baseMoodEffect>-2</baseMoodEffect>
|
||||
</li>
|
||||
</stages>
|
||||
|
@ -296,7 +296,7 @@
|
|||
<stages>
|
||||
<li>
|
||||
<label>Ate non-human milk food</label>
|
||||
<description>Gross! I had to eat food that didn't contain breast milk. This is a disgrace to my beliefs.</description>
|
||||
<description>Gross! I had to eat food that didn't contain breast milk. This kind of food should be for hucows only!</description>
|
||||
<baseMoodEffect>-4</baseMoodEffect>
|
||||
</li>
|
||||
</stages>
|
||||
|
|
|
@ -39,7 +39,8 @@ namespace CRIALactation
|
|||
|
||||
}
|
||||
else if (ingredients == null
|
||||
|| !(ingredients.ingredients.Contains(ThingDefOf_Milk.HumanMilk) || (ingredients.ingredients.Contains(ThingDefOf_Milk.HumanoidMilk)))) {
|
||||
|| !(ingredients.ingredients.Contains(ThingDefOf_Milk.HumanMilk) || (ingredients.ingredients.Contains(ThingDefOf_Milk.HumanoidMilk)))
|
||||
&& !LactationUtility.IsHucow(ingester)) {
|
||||
AddThoughtsFromIdeo_Patch(HistoryEventDefOf_Milk.DrankNonMilkMeal, ingester, foodDef, FoodUtility.GetMeatSourceCategory(foodDef));
|
||||
__result = ___ingestThoughts;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace CRIALactation
|
|||
protected override ThoughtState ShouldHaveThought(Pawn p)
|
||||
{
|
||||
int num = Mathf.Max(0, p.TryGetComp<CompInduceLactation>().lastHumanLactationIngestedTick);
|
||||
return Find.TickManager.TicksGame - num > 480000;
|
||||
return Find.TickManager.TicksGame - num > 480000 && !LactationUtility.IsHucow(p);
|
||||
}
|
||||
|
||||
public const int MinDaysSinceLastHumanMeatForThought = 8;
|
||||
|
|
Loading…
Reference in a new issue