begrudgenz Posted Sunday at 12:20 PM Posted Sunday at 12:20 PM 4 hours ago, doop_lvl said: theres no milk production multiplier setting, but you can set milk until in the lactation tab Oh, I see. Thanks! And great mod btw 1
浣熊大师 Posted Sunday at 12:24 PM Posted Sunday at 12:24 PM Doop‘s Human Cattle - Yet Another Milk Mod汉化补丁.rarI used machine translation to localize this file into Chinese. It can also be placed directly in the language folder; so far, no issues have been found in testing.
浣熊大师 Posted Sunday at 12:24 PM Posted Sunday at 12:24 PM Looking forward to your next mod. Will you be releasing it here?
DarkFireTim Posted yesterday at 08:24 PM Posted yesterday at 08:24 PM @doop_lvl I'm having a problem. My pawns milk someone but after the job finishes nothing happens and an "Exception in JobDriver" error pops up in the log. Happens with both machine and hand milking. Error for machine: Exception in JobDriver tick for pawn Emerald driver=JobDriver_Milk_OnMachineSupervised (toilIndex=5) driver.job=(MilkAnimal_OnMachineSupervised (Job_1167004) A = Thing_Human162421 B = Thing_HumanCattle_MilkingMachine139087 Giver = ThinkNode_QueuedJob [workGiverDef: MilkHuman]) System.NullReferenceException: Object reference not set to an instance of an object [Ref F862D19A] at HumanCattle.ExCattleUtils.DoMilking (Verse.Pawn target, System.Single& num, System.Single& chargeConsumed, Verse.Hediff lactatingHediff, Verse.Hediff cattleHediff, Verse.HediffComp_Lactating lactating, HumanCattle.HediffComp_MilkedTracker milkable) [0x000ec] in <0a3f94e49f1847f3ac13adfe1722e893>:0 at HumanCattle.Building_MilkingMachine.DoMilking (Verse.Pawn milkee, Verse.Pawn milker) [0x000d5] in <0a3f94e49f1847f3ac13adfe1722e893>:0 at HumanCattle.JobDriver_GatherAnimalBodyResources+<>c__DisplayClass10_0.<MakeNewToils>b__1 (System.Int32 delta) [0x000a2] in <0a3f94e49f1847f3ac13adfe1722e893>:0 at Verse.AI.JobDriver.DriverTickInterval (System.Int32 delta) [0x0009f] in <61e4173561894da49d210260257b5097>:0 Error for hand milking: JobDriver threw exception in toil Do's initAction for pawn Emerald driver=JobDriver_HandmilkHuman (toilIndex=2) driver.job=(HandmilkHuman (Job_1167106) A = Thing_Human162421 Giver = ThinkNode_QueuedJob [workGiverDef: MilkHuman]) System.NullReferenceException: Object reference not set to an instance of an object [Ref 494A43AA] at HumanCattle.ExCattleUtils.DoMilking (Verse.Pawn target, System.Single& num, System.Single& chargeConsumed, Verse.Hediff lactatingHediff, Verse.Hediff cattleHediff, Verse.HediffComp_Lactating lactating, HumanCattle.HediffComp_MilkedTracker milkable) [0x000ec] in <0a3f94e49f1847f3ac13adfe1722e893>:0 at HumanCattle.JobDriver_HandmilkHuman+<>c__DisplayClass23_0.<MakeNewToils>b__3 () [0x0003c] in <0a3f94e49f1847f3ac13adfe1722e893>:0 at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <61e4173561894da49d210260257b5097>:0 Full Hugs log: https://gist.github.com/HugsLibRecordKeeper/f7ebacac340664dd4e0f9ba988dc5166
doop_lvl Posted 23 hours ago Author Posted 23 hours ago hmm, the function throwing the error should already have plenty of null checks, save for mood need. does the pawn getting milked not have a mood need?
DarkFireTim Posted 16 hours ago Posted 16 hours ago No mood need was the problem. Put the mood need back and everything started working again. Thanks for the help. I don't think I would have figured this out on my own.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now