tranquilliam Posted February 7, 2024 Posted February 7, 2024 16 hours ago, tranquilliam said: figured i should post my logs, too. here they are figured out the issue: i had a thing toggled in FrozenSnowFox Tweaks that messed with fertility while lactating, which would obviously conflict with this mod. lmao
Yurrii_The_Shark Posted March 3, 2024 Posted March 3, 2024 (edited) Just found this mod and have been playing with it a bit. Is there a way to use Biotech genes to change the milk product (and potentially the amounts)? I've been giving it a try with no luck so far. Also it would be neat if not only breast size but also body size was taken into account with the handful of mods that change that out there. Edited March 3, 2024 by Yurrii_The_Shark
Smut Enjoyer Posted April 2, 2024 Posted April 2, 2024 On 3/2/2024 at 10:58 PM, Yurrii_The_Shark said: Just found this mod and have been playing with it a bit. Is there a way to use Biotech genes to change the milk product (and potentially the amounts)? I've been giving it a try with no luck so far. Also it would be neat if not only breast size but also body size was taken into account with the handful of mods that change that out there. There's a submod for that
onslort Posted April 15, 2024 Posted April 15, 2024 A potentially temporary update for 1.5 to make this version of milkable colonists work with the current test version of RJW doing the rounds found here: https://gitgud.io/jikulopo/rjw/-/tree/1.5-test Warning! As RJW gets updated this may also have to be updated further and might break existing saves in future updates. Convenient link to download post
Yurrii_The_Shark Posted April 16, 2024 Posted April 16, 2024 On 4/2/2024 at 3:34 AM, adneralcool said: There's a submod for that Do you have a link to where the submods would be? I have been unable to find any with either LL or Google searches.
onslort Posted April 29, 2024 Posted April 29, 2024 Minor update to fix an annoying thing I saw happening in my game. 15.2: Pawns in a caravan will no longer leave the caravan to milk themselves at a milking station, holding up the entire caravan. Convenient link to download post
tranquilliam Posted April 29, 2024 Posted April 29, 2024 getting a weird crash where the console gets spammed with errors saying that the breastfeeding job cannot be reserved because the colonists involved are already reserved by a job; in this case, the Initiate Lovin' job from Vanilla Expanded Highmates (where you use an ability to initiate vanilla Lovin' between two pawns). it's a shame that RJW sex doesn't seem to fill the Lovin' dependency of colonists with said gene...
onslort Posted April 30, 2024 Posted April 30, 2024 I don't believe Vanilla Expanded Highmates is compatible with RJW in general, and maybe even less so in 1.5. There is a thread on it here: And after reading that thread, there may be a patch in the mod ReSplice: Charmweavers that helps with compatibility. I have not tested it though. 1
rimworldarei Posted May 17, 2024 Posted May 17, 2024 I use RJW 1.5 which works. I installed the latest version of this mod but it doesnt seem to work properly. I get the milk tab at the bottom with its few options but thats it. There is nothing under Health or any other tab on pregnant females. No milk option. Is Biotech required for this mod?
rimworldarei Posted May 17, 2024 Posted May 17, 2024 It did work with the x-lactate i injected in one of the non pregnant females, after they dropped from a raider. But the other females still dont produce milk or have any indicator for it.
waffleing Posted June 1, 2024 Posted June 1, 2024 (edited) Error Report for 15.2 mod version cant find MemeDef named Hucow Spoiler Failed to find RimWorld.MemeDef named Hucow. There are 35 defs of this type loaded. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.DefDatabase`1<RimWorld.MemeDef>:GetNamed (string,bool) Verse.GenDefDatabase:GetDef (System.Type,string,bool) RimWorld.DefOfHelper:BindDefsFor (System.Type) System.Threading.Tasks.Parallel/<>c__DisplayClass31_0`2<System.Type, object>:<ForEachWorker>b__0 (int) System.Threading.Tasks.Parallel/<>c__DisplayClass17_0`1<object>:<ForWorker>b__1 () System.Threading.Tasks.Task:InnerInvoke () System.Threading.Tasks.Task:InnerInvokeWithArg (System.Threading.Tasks.Task) System.Threading.Tasks.Task/<>c__DisplayClass178_0:<ExecuteSelfReplicating>b__0 (object) System.Threading.Tasks.Task:InnerInvoke () System.Threading.Tasks.Task:Execute () System.Threading.Tasks.Task:ExecutionContextCallback (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.Tasks.Task:ExecuteWithThreadLocal (System.Threading.Tasks.Task&) System.Threading.Tasks.Task:ExecuteEntry (bool) System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () System.Threading.ThreadPoolWorkQueue:Dispatch () System.Threading._ThreadPoolWaitCallback:PerformWaitCallback () Only Mods loaded were RJW and its requirements and MC Bio Edited June 1, 2024 by waffleing
onslort Posted June 1, 2024 Posted June 1, 2024 (edited) @waffleing That is part of this mod that expects C0ffee's RJW Ideology addon to be installed. I don't think it's been updated for 1.5 yet. It's fine to ignore the error. @rimworldarei Back in 1.4 I updated the mod not to be dependent on Biotech, but it really was made with biotech in mind for full functionality. If it still works (untested with 1.5) then you need to give a pawn lact-x to have them start lactating. Edited June 1, 2024 by onslort
byehi Posted June 2, 2024 Posted June 2, 2024 how do you manually milk a colonist? I have a slave that is at 100% fullness and my colonists will breast feed from them but I dont have the option to milk them (I have the milking stand as well)
Turbotowns2 Posted June 20, 2024 Posted June 20, 2024 I hope all the races that have functionality for the steam version, have functionality for this version.
kimbilmo Posted June 22, 2024 Posted June 22, 2024 >BDSM >whoring >multiplayer >machines Is make pawns to breastfeed their animal offspring THIS hard for this mod? 😔
reed33 Posted August 16, 2024 Posted August 16, 2024 and where can I download a version for milking RJW colonists, which works and does not break the AI colonists that they have nothing to do at all. I looked through the forum for the direct version for 1.5 and did not find it on the third-party site "gitgud.io".
Promenade Posted September 6, 2024 Posted September 6, 2024 On 11/20/2022 at 10:46 PM, onslort said: I really wanted this mod and Biotech to behave nicer together, and so I had to learn how to c#. I've learned a lot over the past weekend! I started off just trying to make the rimworld lacation hediff work with Milkable Colonists and wound up changing all sorts of things. It ended up being pretty much a complete rewrite. Some of my source is really ugly right now but I'm slowly cleaning it up as I figure out better ways to do things. The main changes: Rimworld Biotech's hediff remains, but the charge is now set via MC's fullness value when it updates. (This is ugly but it works for now.) Milk will recharge faster than in standard MC, this is set to closer match the speed on biotech's milk renew. (For baby feeding.) As before, breast size matters. Larger breasts will give you more milk and help keep babies fed more easily. If your pawn only has small breasts you may use all your milk on one feeding for the kiddies. Larger breasts can feed multiple babies. The milk you gain from milking is now in baby sized portions and nutrition values. I added recipes to the stove to combine 10 milk bottles into 1 bulk milk. The bulk milk will feed an adult better. Still not exactly the ideal meal, but if it's all you have you take what you can get. You can also split the larger bulk milks into the bottles as well to feed babies. No loss in ingredient amount, it just takes time. (I know you could potentially setup a cooking loop to combine and uncombine to skill up. I don't care. Your pawns should have better things to do.) When milking you will take 'whole' amounts and leave the leftover, rather than setting the fullness to 0. If a pawn at 100% fullness has 3.5 milk bottles in them (Low end of large breast size), you'll take 3 bottles and the pawn will be left with the remainder of half a bottle in this example. (Which mathematically would be something like 14% fullness left over.) The drugs have been changed: Regular Lact-x will start the pawn lactating (and get you high.) This will now last 10 days unless you breast feed a baby, which will restart the 10 day countdown. (Biotech values and rules.) (Modified in ver 002. Now lasts 3 days from drug. Will still reset to 10 if you breastfeed.) Lact-Max will get the pawn addicted to lact-x, give you the Lactating Permanent hediff, increase milk generation speed by 50% and increase yield by 50%. It should be a little over double in total if you can keep up with on time milkings. Also offsets hunger +40%. Hyper Lact-Max does the similar, it adds the Heavy Lactating Permanent hediff, except with a 100% increase in generation and yield. Should be quadruple the amount if you can keep up with the milkings. Offsets hunger +80% (Shovel that food down). Removed the brain damage portion. Lact-X Swell added. This will enlarge a pawns breasts and give them the Regular Lact-x drug hediff. Many options can now be adjusted in the mod settings. On the back end I removed CompHyperMilkableHuman, I'm just using CompMilkableHuman with the end values adjusted if you have either of the permanent hediffs. I didn't change the ID of the package so any dependencies should still work. If you use it alongside an existing copy of RJW-MC it will probably complain and/or break in some way. If there are any bugs let me know. Make sure you're using the latest version of everything first. Possible future ideas. Different Milking Stations. (Luxury Milking Stations that give mood buffs?) ---------------- Ver 012 Updates: New version! (This version is not on gitgud yet. Currently treating as experimental in case I broke something.) Added a milking station building. Can be found in Production, available after you research Smithing. It uses the stool graphics for now. I am not arty. This will extract milk twice as fast as basic self milking. New column added to the options for who can do what milking jobs to allow/disallow milking at the milking station. Also uses the stool graphic for now. New option added to the mod options so you can set the milk amount before the pawn will start wanting to look for a milking station. The milking station will store the milk in itself. You can change the priority of storage so that pawns will remove the bottles from the station and move them somewhere else. It does NOT keep milk fresh. (Maybe put the station in a freezer?) And an extra. The above also has optional mod integration. If you have Vanilla Expanded Framework and Vanilla Milk Expanded, the milking station will connect to the milk pipes and tanks. *** Do not use the "Vanilla Milk Expanded for Humans" patch on steam. It is not compatible. I made this version of Milkable Colonists compatible without it.*** A caveat. With the above mods active, any humanoid milk bottles put into the MC version of the Milking Station get turned in 'milk'. This may or may not be unbalanced. I just wanted to get it working. It seems to be. You can then extract the normal milk using the Vanilla Milk Expanded buildings. (Also added the food need fix from dastardlii for androids.) ------------------- Ver 15 Updates. No changes. Just updating code to work with 1.5 and the test RJW found at: https://gitgud.io/jikulopo/rjw/-/tree/1.5-test Ver 15.2. Minor update. Pawns in a caravan will no longer leave the caravan to milk themselves at a milking station, holding up the entire caravan. Older updates: Reveal hidden contents ---------------- Ver 002 Updates: Lots of cleanups and naming things more sensibly. Lactating_Natural and Lactating_Drug hediffs have been re-added for backward compatibility. The biotech hediff will be added if you have any of the MC hediffs and it will match it's severity (Days until it expires) Taking basic Lact-x will now give you the Lactating_Drug Hediff and three days worth of timer. This will be copied to the Biotech hediff timer. Lactating_Drug gives +10% production and +10% yield. Permanent and Heavy Permanent remain at +50% and +100% production and yield. Lactating_Natural and Lactating_Drug will be removed if you become malnourished to match the Biotech hediff. The permanent hediffs will remain but you will not gain milk or the biotech Lactating hediff during that time. Stronger hediffs will remove the lesser hediffs. Heavy Permanent -> Permanent -> Drug -> Natural. Moved the logic to do this into the tick rather than in the always on "Active" checking part of the function. Probably slightly better for performance. ------------------ Ver 003 Updates: Pregnancy. Not too long into the third trimester pawns will start lactating naturally. (At severity .8 right now, which is 80% of 18 days. Maybe day 15?) Added new larger milk bottle art supplied by Akaluto (Untested by me) Added Russian translations for the new recipes, also supplied by Akaluto ------------------ Ver 004 Updates: Moved the production and yield values into the hediffs. This will allow you to see what each is doing in game more easily. And allow you to edit the values if you desire. Milk leakage. If your pawn is overflowing they can drip milk onto the ground. The fuller they are, the more often they will leak. This can be toggled off in the options menu. Milk splashed onto the ground can help put out fires. Fix: If a pawn breastfeeds and resets their lactating countdown to 10 days, it will no longer extend the basic 3 day Lactating_Drug hediff. If the drug hediff wears off the pawn will start lactating naturally at that point. ------------------ Ver 005 Updates: (Early WIP, Still messy, But working) You can now assign which pawns will do which jobs. The fullness string will now display the amount of milk bottles in parenthesis ( ) after. This is still ugly and displays a lot of decimal places. Will fix later. Note: On the back end, milking a human is a handling job, if a pawn is not set to handling they cannot manually milk another pawn. Breastfeeding is a 'Patient' job as I needed something that everyone could do. Make sure your pawn can do 'Patient' in the work tab if you want them to be able to breastfeed. To start breastfeeding, the pawn doing the feeding needs to be below 50% food. Amount of milk has been tweaked. Large breasts will give less milk than before, but now all milk values are constant across all jobs. Note that an adult breastfeeding cannot get enough nutrition using base values, so there is a debug multiplier in the options that you can change to increase how much more nutrition an adult would get compared to a baby. 5 is default. You may want to set it higher. Breastfeeding and milking jobs will only start at 100%+ fullness, but then they will continue until done. My job setup/milking setup is a horrible hack. It works. There are probably bugs. It's late, I'm going to bed. ------------------ Ver 006 Updates: (Sort of cleaned up. Might still have bugs but looking good in my testing.) Cleaned up fullness display string. Fixed a bug that could cause an exception if a milkable colonist went off map. (I think.) Added some thoughts to milkable pawns. Small values based on milk state. Also accounts for masochists. New option added: Breast Growth Max Size. Default value 1. If you have a mod that can display it, you can change this to 2 to have pawns breasts rather large. You could potentially make it higher, I didn't test it. If you make the value and you don't like how your pawns' breast end up looking, changing this value back to a lower number will shrink anyone larger down to that number. New drug to go along with max breast size implementation. Lact-X-Swell. It will help make those breasts grow big and strong. Don't overdose and have a swell time! ------------------ Ver 006b Minor tweaks. Made the 'Do breast milking' and 'Do breastfeed' options disabled by default. This is to stop visitors in your colony from milking and/or drinking all the milk from your pawns. There's probably a better way to do it, but this was quick and worked for now. Updated Lact-X-Swell to also give you the Lactating-Drug Hediff when taken. It seemed to me like it should. ---------------- Ver 007 - The cleanup. Bugs fixed: You can now milk/breastfeed from prisoners without causing an exception if you are not in the same room. I was doing path checks from both pawns before allowing the job to proceed, but prisoners weren't allowed out of their cells and so the job got into something of a failure infinite loop. If a breastfeeding/milking pawn or their partner start a different job they should now halt what they are doing 'better'. Sometimes a pawn could be stuck trying to breastfeed/milk while their partner was busy working on something else. A few other things cleaned/commented out. New options page with sliders to keep min/max values in sensible amounts. Mostly. Along with some new options: Milk drip fullness amount. You can choose at what fullness level pawns will start to drip. Milkable fullness level. You can adjust what level pawn fullness is before they are considered as a target for manual milking. Breastfeed fullness level. You can adjust what level pawn fullness is before they are considered to be breastfeeding targets. Breastfeed Hunger level. You can adjust how hungry a pawn has to be before they will consider breastfeeding. Don't make this too low or they will just eat food instead. ---------------- Ver007c - Minor updates due to being busy with work and other things. Added a multiplier to speed up various milk related tasks. I was getting annoyed with how long it would take to milk some of my colonists with hefty assets. More Russian translations added thanks to Akaluto. ---------------- Ver 008 - DIY Added new milking job: Milk Self. This is off by default and can be turned on per pawn in the same list with the rest of the milking jobs. Nothing extra is needed to do this right now. It might require a machine or something later on. There is also a new option in the main mod options for the fullness required before a pawn will milk themselves. This is set to 150% fullness by default. Added a debug option to show a pawn gizmo button to fill a pawns fullness to 150% with a click. Updated the code so this version will no longer actually require Biotech. Breastfeed baby will be disabled if you don't have biotech installed. I haven't done a lot of testing but I think I have it mostly error free. It is still incompatible with C0ffeeRIA at the moment. Even though this no longer requires biotech it is still not compatible with 1.3. ---------------- Ver 009 - Milkable Colonists C0ffeeRIA Compatibility After chatting with C0ffeeeeee, I've updated and tweaked a lot of things to make this work with an updated version of C0ffee's RIA (which I will include here, and cross post.) The new debug fill milk button will now toggle between 150%, 0% and 100% for testing. Pawns belonging to a lactation/hucow ideology will also reset their natural lactation countdown when breastfed upon, similar to what happens when breastfeeding a child. Pawns belonging to a lactation/hucow ideology will get increased happy thoughts when breastfeeding/breastfed upon. This should also still work fine on it's own without CRIA, but there's no new gameplay in this release on its own. C0ffee's Rimworld Ideology Addons updates: Designating a pawn for induced lactation has changed slightly. Instead of using an internal timer now pawns will get a cooldown debuff hediff to show they have been recently induced. Default cooldown timer is 30% of a day in length, and default amount of times induce is required is 20. This works out approximately 3 times a day for a week before lactation starts if you have no drugs to help. Hucow values are now set to +250% yield and +150% production speed, with work speed and move speed set to 70%. The yield and speed values will combine with Milkable Colonist Lact-X hediffs that provide boosts. You can end up with 2 x 2.5 for yield and 2 x 1.5 for speed using Hucow and Hyper Lact Max. Hucows will fill several of their needs by performing milking tasks. Breastfeeding will grant the most needs bar, milked by another colonist second, lowest is self milking. Added options for CRIA lacation: Option to change the cooldown amount of inducing lactation. This will not change the timers on any existing cooldown hediffs. Option to change the amount of times induce is required before lacation starts. This will not reset the progress on the current induce lactation. For example, if you are already halfway through the process and you increase the total to 50, it would take 25 induces from that point. Same is true if you make the total smaller. There is an option to give a pawn a breast size increase when they get turned into a hucow. This is set to 0 by default and can be adjusted. There is also a setting to set the minimum size that breasts become when turning into a hucow. This is set to 0.5 by default, which is average sized. ***Only this newest version of MC-Biotech is compatible with this newest version of CRIA. Make sure to get them both if you want to use CRIA.*** ---------------- Ver 009b - Bug found by Akiya82. Added null check to the Milk self setup. ---------------- Ver 010 - The re-jobening. Reworked how the milking jobs work on the back end so that the jobdrivers do the work instead of just being something that are watched for. This has also allowed me to make downed/sleeping pawns valid targets for milking jobs. And maybe even fix a bug or two concerning starting too many jobs in a single tick. Also added another page to the milking designations page so you can set what your slave/prisoners will do/have done to them, just like your colonists. This new version is CRIA compatible but I haven't had too much time to test it in a real game, so I'm leaving the ver009 download available as well. ---------------- Ver 010b - Small update as Steam sales are on and I'm playing less Rimworld currently. After helping Akiya82 with a bug I realized I was assuming 'milk' when breastfeeding. This may apply to very few people, but this version will now check the item set in the CompProperties and take the nutrition value from it for breastfeeding. It will fall back to 0.01 if it can't find a nutritional value on the item but the item is still flagged as gives nutrition. There is more math behind the scenes, but if you know what I'm talking about here you can look it up yourself in the source. Also added some more Russian translations provided by Akaluto. Bug Fix for CRIA: "Induced Lactation Recently" hediff is counting up, and not down. Bug found by Akiya82. Added null check to the Milk self setup. ---------------- Ver 010c - Small update. Adding option so you can toggle off the capped breast size setting. ---------------- Ver 011 Updates: Added a new option that will prevent most jobs from being interrupted when someone milks or breastfeeds from the target pawn. If the pawn is sleeping, moving or not doing anything important the pawn will stop and be involved with the milking/breastfeeding, otherwise they will keep on doing whatever they were doing. It probably goes something like this: "You're researching? You're looking a bit full, let me milk you. Carry on working on your schematics." It may make less sense for more physical jobs like mining. I'm still tweaking it. ---------------- Ver 011b Updates. Actually updated Hydraulic and Bionic breasts to give milk. For real this time. In base RJW Hydraulic and Bionic breasts give no milk. These are now being patched in Milkable Colonists so they will. Default values: Hydraulic breasts will give 50% the amount vs natural breasts of the same size. Bionic breasts will give 75% the amount vs natural breasts of the same size. Archotech breasts will give 125% the amount vs natural breasts of the same size. These amounts can all be adjusted in the options. ---------------- Ver 011c updates. Small additions. The work speed/amount multiplier now changes work speed for most tasks. Only Biotech baby breastfeeding is untouched, it will still be an amount multiplier instead of a speed multiplier. Added options: Hunger amount offset for Lact-Max hediff. Default is 40%, but now you can slide this down if you want. Hunger amount offset for Hyper-Lact-Max hediff. Default is 80%, but now you can slide this down if you want. Lactation fertility factor override. By default the Biotech Lactating hediff makes your pawn's fertility 5%. You can now adjust that and make it higher if you want your milk providing pawns to still have children. Or set it to 0 if you really hate children. Do what makes you happy. The second, possibly more game changing update. I updated the 'who can give milk' patch file so that it should affect all pawns, including HAR races. This is located in rjw-mc-biotech\1.4\Patches\RaceMilkPatch.xml If you're already running your own adjusted 'who give what milks' patch file you can keep your own. If you want to go back to only base rimworld humanoids giving milk, you can delete the top section from that file and un-comment out the bottom section (Remove the <!-- and -->) For most it should just work as is though. I am not sure if you need a new save for this to work with existing pawns. My testing has varied. With a new game I can have any pawn from any race mod drink a lact-x and start making milk. ---------------- Ver 011d updates. Thanks to @OriginalNoCare for the heads up. Bug fixes with artificial breasts and milk amounts when performing milking jobs. If you already have 011c but your pawns don't use hydraulic/bionic/archotech breasts, you can skip this update. If you're downloading for the first time get this version for 'less bugs.' Downloads: coffees-rjw-ideology-addons.zip 194.22 kB · 11,178 downloads rjw-mc-biotech_012.zip 592.49 kB · 8,093 downloads rjw-mc-biotech_15_2.zip 731.1 kB · 547 downloads Unfortunately, something has completely broken with RWJ 5.5. Milk just stops all hediff progress (including milk buildup, diseases, wounds healing, etc.) I have searched for the cause but I can't find it, especially because this has to plug into base game components. I don't have the time or the know-how, unfortunately. It occurs with any sort of lactation (it also fails to begin during pregnancy with this mod installed.)
Promenade Posted September 7, 2024 Posted September 7, 2024 (edited) On 9/6/2024 at 2:12 PM, Promenade said: Unfortunately, something has completely broken with RWJ 5.5. Milk just stops all hediff progress (including milk buildup, diseases, wounds healing, etc.) I have searched for the cause but I can't find it, especially because this has to plug into base game components. I don't have the time or the know-how, unfortunately. It occurs with any sort of lactation (it also fails to begin during pregnancy with this mod installed.) Have seen the update on disc. Thx Edited September 11, 2024 by Promenade
psyminki Posted October 28, 2024 Posted October 28, 2024 From discord, I ve heard RJW comphediffbodypart has been changed into hediffcomp_sexpart. While MC keeps looking for compehediffbodypart. It occurs rapid error and tick spikes. Any one know which file and how to fix? I am afraid I can not take out the mod right now.
onslort Posted November 3, 2024 Posted November 3, 2024 (edited) Updated version to work with RJW 5.5+ Note, if upgrading from an older version with an older save I found that breast hediff severity will be broken. I had to edit each pawns breast hediff severity in Character Editor to stop the milk bottle amount showing NaN (Not a number) due to the severity of the hediff (size of the breasts) not being a valid number. This did not affect a new game with new pawns. Convenient link to download post (This is not on gitgud yet. I don't feel like fighting with that site right now.) Edited November 3, 2024 by onslort 1
TeH_Dav Posted November 23, 2024 Posted November 23, 2024 (edited) On 11/20/2022 at 10:46 PM, onslort said: I really wanted this mod and Biotech to behave nicer together, and so I had to learn how to c#. I've learned a lot over the past weekend! I started off just trying to make the rimworld lacation hediff work with Milkable Colonists and wound up changing all sorts of things. It ended up being pretty much a complete rewrite. Some of my source is really ugly right now but I'm slowly cleaning it up as I figure out better ways to do things. The main changes: Rimworld Biotech's hediff remains, but the charge is now set via MC's fullness value when it updates. (This is ugly but it works for now.) Milk will recharge faster than in standard MC, this is set to closer match the speed on biotech's milk renew. (For baby feeding.) As before, breast size matters. Larger breasts will give you more milk and help keep babies fed more easily. If your pawn only has small breasts you may use all your milk on one feeding for the kiddies. Larger breasts can feed multiple babies. The milk you gain from milking is now in baby sized portions and nutrition values. I added recipes to the stove to combine 10 milk bottles into 1 bulk milk. The bulk milk will feed an adult better. Still not exactly the ideal meal, but if it's all you have you take what you can get. You can also split the larger bulk milks into the bottles as well to feed babies. No loss in ingredient amount, it just takes time. (I know you could potentially setup a cooking loop to combine and uncombine to skill up. I don't care. Your pawns should have better things to do.) When milking you will take 'whole' amounts and leave the leftover, rather than setting the fullness to 0. If a pawn at 100% fullness has 3.5 milk bottles in them (Low end of large breast size), you'll take 3 bottles and the pawn will be left with the remainder of half a bottle in this example. (Which mathematically would be something like 14% fullness left over.) The drugs have been changed: Regular Lact-x will start the pawn lactating (and get you high.) This will now last 10 days unless you breast feed a baby, which will restart the 10 day countdown. (Biotech values and rules.) (Modified in ver 002. Now lasts 3 days from drug. Will still reset to 10 if you breastfeed.) Lact-Max will get the pawn addicted to lact-x, give you the Lactating Permanent hediff, increase milk generation speed by 50% and increase yield by 50%. It should be a little over double in total if you can keep up with on time milkings. Also offsets hunger +40%. Hyper Lact-Max does the similar, it adds the Heavy Lactating Permanent hediff, except with a 100% increase in generation and yield. Should be quadruple the amount if you can keep up with the milkings. Offsets hunger +80% (Shovel that food down). Removed the brain damage portion. Lact-X Swell added. This will enlarge a pawns breasts and give them the Regular Lact-x drug hediff. Many options can now be adjusted in the mod settings. On the back end I removed CompHyperMilkableHuman, I'm just using CompMilkableHuman with the end values adjusted if you have either of the permanent hediffs. I didn't change the ID of the package so any dependencies should still work. If you use it alongside an existing copy of RJW-MC it will probably complain and/or break in some way. If there are any bugs let me know. Make sure you're using the latest version of everything first. Possible future ideas. Different Milking Stations. (Luxury Milking Stations that give mood buffs?) ------------------- Ver 15 Updates. No changes. Just updating code to work with 1.5 and the test RJW found at: https://gitgud.io/jikulopo/rjw/-/tree/1.5-test Ver 15.2. Minor update. Pawns in a caravan will no longer leave the caravan to milk themselves at a milking station, holding up the entire caravan. ------------------ Ver 16 Update. No changes. Updated the framework making it compatible with RJW 5.5+ Note, if upgrading from an older version with an older save I found that breast hediff severity will be broken. I had to edit each pawns breast hediff severity in Character Editor to stop the milk bottle amount showing NaN (Not a number) due to the severity of the hediff (size of the breasts) not being a valid number. This did not affect a new game with new pawns. Older updates: Reveal hidden contents ---------------- Ver 002 Updates: Lots of cleanups and naming things more sensibly. Lactating_Natural and Lactating_Drug hediffs have been re-added for backward compatibility. The biotech hediff will be added if you have any of the MC hediffs and it will match it's severity (Days until it expires) Taking basic Lact-x will now give you the Lactating_Drug Hediff and three days worth of timer. This will be copied to the Biotech hediff timer. Lactating_Drug gives +10% production and +10% yield. Permanent and Heavy Permanent remain at +50% and +100% production and yield. Lactating_Natural and Lactating_Drug will be removed if you become malnourished to match the Biotech hediff. The permanent hediffs will remain but you will not gain milk or the biotech Lactating hediff during that time. Stronger hediffs will remove the lesser hediffs. Heavy Permanent -> Permanent -> Drug -> Natural. Moved the logic to do this into the tick rather than in the always on "Active" checking part of the function. Probably slightly better for performance. ------------------ Ver 003 Updates: Pregnancy. Not too long into the third trimester pawns will start lactating naturally. (At severity .8 right now, which is 80% of 18 days. Maybe day 15?) Added new larger milk bottle art supplied by Akaluto (Untested by me) Added Russian translations for the new recipes, also supplied by Akaluto ------------------ Ver 004 Updates: Moved the production and yield values into the hediffs. This will allow you to see what each is doing in game more easily. And allow you to edit the values if you desire. Milk leakage. If your pawn is overflowing they can drip milk onto the ground. The fuller they are, the more often they will leak. This can be toggled off in the options menu. Milk splashed onto the ground can help put out fires. Fix: If a pawn breastfeeds and resets their lactating countdown to 10 days, it will no longer extend the basic 3 day Lactating_Drug hediff. If the drug hediff wears off the pawn will start lactating naturally at that point. ------------------ Ver 005 Updates: (Early WIP, Still messy, But working) You can now assign which pawns will do which jobs. The fullness string will now display the amount of milk bottles in parenthesis ( ) after. This is still ugly and displays a lot of decimal places. Will fix later. Note: On the back end, milking a human is a handling job, if a pawn is not set to handling they cannot manually milk another pawn. Breastfeeding is a 'Patient' job as I needed something that everyone could do. Make sure your pawn can do 'Patient' in the work tab if you want them to be able to breastfeed. To start breastfeeding, the pawn doing the feeding needs to be below 50% food. Amount of milk has been tweaked. Large breasts will give less milk than before, but now all milk values are constant across all jobs. Note that an adult breastfeeding cannot get enough nutrition using base values, so there is a debug multiplier in the options that you can change to increase how much more nutrition an adult would get compared to a baby. 5 is default. You may want to set it higher. Breastfeeding and milking jobs will only start at 100%+ fullness, but then they will continue until done. My job setup/milking setup is a horrible hack. It works. There are probably bugs. It's late, I'm going to bed. ------------------ Ver 006 Updates: (Sort of cleaned up. Might still have bugs but looking good in my testing.) Cleaned up fullness display string. Fixed a bug that could cause an exception if a milkable colonist went off map. (I think.) Added some thoughts to milkable pawns. Small values based on milk state. Also accounts for masochists. New option added: Breast Growth Max Size. Default value 1. If you have a mod that can display it, you can change this to 2 to have pawns breasts rather large. You could potentially make it higher, I didn't test it. If you make the value and you don't like how your pawns' breast end up looking, changing this value back to a lower number will shrink anyone larger down to that number. New drug to go along with max breast size implementation. Lact-X-Swell. It will help make those breasts grow big and strong. Don't overdose and have a swell time! ------------------ Ver 006b Minor tweaks. Made the 'Do breast milking' and 'Do breastfeed' options disabled by default. This is to stop visitors in your colony from milking and/or drinking all the milk from your pawns. There's probably a better way to do it, but this was quick and worked for now. Updated Lact-X-Swell to also give you the Lactating-Drug Hediff when taken. It seemed to me like it should. ---------------- Ver 007 - The cleanup. Bugs fixed: You can now milk/breastfeed from prisoners without causing an exception if you are not in the same room. I was doing path checks from both pawns before allowing the job to proceed, but prisoners weren't allowed out of their cells and so the job got into something of a failure infinite loop. If a breastfeeding/milking pawn or their partner start a different job they should now halt what they are doing 'better'. Sometimes a pawn could be stuck trying to breastfeed/milk while their partner was busy working on something else. A few other things cleaned/commented out. New options page with sliders to keep min/max values in sensible amounts. Mostly. Along with some new options: Milk drip fullness amount. You can choose at what fullness level pawns will start to drip. Milkable fullness level. You can adjust what level pawn fullness is before they are considered as a target for manual milking. Breastfeed fullness level. You can adjust what level pawn fullness is before they are considered to be breastfeeding targets. Breastfeed Hunger level. You can adjust how hungry a pawn has to be before they will consider breastfeeding. Don't make this too low or they will just eat food instead. ---------------- Ver007c - Minor updates due to being busy with work and other things. Added a multiplier to speed up various milk related tasks. I was getting annoyed with how long it would take to milk some of my colonists with hefty assets. More Russian translations added thanks to Akaluto. ---------------- Ver 008 - DIY Added new milking job: Milk Self. This is off by default and can be turned on per pawn in the same list with the rest of the milking jobs. Nothing extra is needed to do this right now. It might require a machine or something later on. There is also a new option in the main mod options for the fullness required before a pawn will milk themselves. This is set to 150% fullness by default. Added a debug option to show a pawn gizmo button to fill a pawns fullness to 150% with a click. Updated the code so this version will no longer actually require Biotech. Breastfeed baby will be disabled if you don't have biotech installed. I haven't done a lot of testing but I think I have it mostly error free. It is still incompatible with C0ffeeRIA at the moment. Even though this no longer requires biotech it is still not compatible with 1.3. ---------------- Ver 009 - Milkable Colonists C0ffeeRIA Compatibility After chatting with C0ffeeeeee, I've updated and tweaked a lot of things to make this work with an updated version of C0ffee's RIA (which I will include here, and cross post.) The new debug fill milk button will now toggle between 150%, 0% and 100% for testing. Pawns belonging to a lactation/hucow ideology will also reset their natural lactation countdown when breastfed upon, similar to what happens when breastfeeding a child. Pawns belonging to a lactation/hucow ideology will get increased happy thoughts when breastfeeding/breastfed upon. This should also still work fine on it's own without CRIA, but there's no new gameplay in this release on its own. C0ffee's Rimworld Ideology Addons updates: Designating a pawn for induced lactation has changed slightly. Instead of using an internal timer now pawns will get a cooldown debuff hediff to show they have been recently induced. Default cooldown timer is 30% of a day in length, and default amount of times induce is required is 20. This works out approximately 3 times a day for a week before lactation starts if you have no drugs to help. Hucow values are now set to +250% yield and +150% production speed, with work speed and move speed set to 70%. The yield and speed values will combine with Milkable Colonist Lact-X hediffs that provide boosts. You can end up with 2 x 2.5 for yield and 2 x 1.5 for speed using Hucow and Hyper Lact Max. Hucows will fill several of their needs by performing milking tasks. Breastfeeding will grant the most needs bar, milked by another colonist second, lowest is self milking. Added options for CRIA lacation: Option to change the cooldown amount of inducing lactation. This will not change the timers on any existing cooldown hediffs. Option to change the amount of times induce is required before lacation starts. This will not reset the progress on the current induce lactation. For example, if you are already halfway through the process and you increase the total to 50, it would take 25 induces from that point. Same is true if you make the total smaller. There is an option to give a pawn a breast size increase when they get turned into a hucow. This is set to 0 by default and can be adjusted. There is also a setting to set the minimum size that breasts become when turning into a hucow. This is set to 0.5 by default, which is average sized. ***Only this newest version of MC-Biotech is compatible with this newest version of CRIA. Make sure to get them both if you want to use CRIA.*** ---------------- Ver 009b - Bug found by Akiya82. Added null check to the Milk self setup. ---------------- Ver 010 - The re-jobening. Reworked how the milking jobs work on the back end so that the jobdrivers do the work instead of just being something that are watched for. This has also allowed me to make downed/sleeping pawns valid targets for milking jobs. And maybe even fix a bug or two concerning starting too many jobs in a single tick. Also added another page to the milking designations page so you can set what your slave/prisoners will do/have done to them, just like your colonists. This new version is CRIA compatible but I haven't had too much time to test it in a real game, so I'm leaving the ver009 download available as well. ---------------- Ver 010b - Small update as Steam sales are on and I'm playing less Rimworld currently. After helping Akiya82 with a bug I realized I was assuming 'milk' when breastfeeding. This may apply to very few people, but this version will now check the item set in the CompProperties and take the nutrition value from it for breastfeeding. It will fall back to 0.01 if it can't find a nutritional value on the item but the item is still flagged as gives nutrition. There is more math behind the scenes, but if you know what I'm talking about here you can look it up yourself in the source. Also added some more Russian translations provided by Akaluto. Bug Fix for CRIA: "Induced Lactation Recently" hediff is counting up, and not down. Bug found by Akiya82. Added null check to the Milk self setup. ---------------- Ver 010c - Small update. Adding option so you can toggle off the capped breast size setting. ---------------- Ver 011 Updates: Added a new option that will prevent most jobs from being interrupted when someone milks or breastfeeds from the target pawn. If the pawn is sleeping, moving or not doing anything important the pawn will stop and be involved with the milking/breastfeeding, otherwise they will keep on doing whatever they were doing. It probably goes something like this: "You're researching? You're looking a bit full, let me milk you. Carry on working on your schematics." It may make less sense for more physical jobs like mining. I'm still tweaking it. ---------------- Ver 011b Updates. Actually updated Hydraulic and Bionic breasts to give milk. For real this time. In base RJW Hydraulic and Bionic breasts give no milk. These are now being patched in Milkable Colonists so they will. Default values: Hydraulic breasts will give 50% the amount vs natural breasts of the same size. Bionic breasts will give 75% the amount vs natural breasts of the same size. Archotech breasts will give 125% the amount vs natural breasts of the same size. These amounts can all be adjusted in the options. ---------------- Ver 011c updates. Small additions. The work speed/amount multiplier now changes work speed for most tasks. Only Biotech baby breastfeeding is untouched, it will still be an amount multiplier instead of a speed multiplier. Added options: Hunger amount offset for Lact-Max hediff. Default is 40%, but now you can slide this down if you want. Hunger amount offset for Hyper-Lact-Max hediff. Default is 80%, but now you can slide this down if you want. Lactation fertility factor override. By default the Biotech Lactating hediff makes your pawn's fertility 5%. You can now adjust that and make it higher if you want your milk providing pawns to still have children. Or set it to 0 if you really hate children. Do what makes you happy. The second, possibly more game changing update. I updated the 'who can give milk' patch file so that it should affect all pawns, including HAR races. This is located in rjw-mc-biotech\1.4\Patches\RaceMilkPatch.xml If you're already running your own adjusted 'who give what milks' patch file you can keep your own. If you want to go back to only base rimworld humanoids giving milk, you can delete the top section from that file and un-comment out the bottom section (Remove the <!-- and -->) For most it should just work as is though. I am not sure if you need a new save for this to work with existing pawns. My testing has varied. With a new game I can have any pawn from any race mod drink a lact-x and start making milk. ---------------- Ver 011d updates. Thanks to @OriginalNoCare for the heads up. Bug fixes with artificial breasts and milk amounts when performing milking jobs. If you already have 011c but your pawns don't use hydraulic/bionic/archotech breasts, you can skip this update. If you're downloading for the first time get this version for 'less bugs.' ---------------- Ver 012 Updates: New version! (This version is not on gitgud yet. Currently treating as experimental in case I broke something.) Added a milking station building. Can be found in Production, available after you research Smithing. It uses the stool graphics for now. I am not arty. This will extract milk twice as fast as basic self milking. New column added to the options for who can do what milking jobs to allow/disallow milking at the milking station. Also uses the stool graphic for now. New option added to the mod options so you can set the milk amount before the pawn will start wanting to look for a milking station. The milking station will store the milk in itself. You can change the priority of storage so that pawns will remove the bottles from the station and move them somewhere else. It does NOT keep milk fresh. (Maybe put the station in a freezer?) And an extra. The above also has optional mod integration. If you have Vanilla Expanded Framework and Vanilla Milk Expanded, the milking station will connect to the milk pipes and tanks. *** Do not use the "Vanilla Milk Expanded for Humans" patch on steam. It is not compatible. I made this version of Milkable Colonists compatible without it.*** A caveat. With the above mods active, any humanoid milk bottles put into the MC version of the Milking Station get turned in 'milk'. This may or may not be unbalanced. I just wanted to get it working. It seems to be. You can then extract the normal milk using the Vanilla Milk Expanded buildings. (Also added the food need fix from dastardlii for androids.) Downloads: coffees-rjw-ideology-addons.zip 194.22 kB · 11,296 downloads rjw-mc-biotech_012.zip 592.49 kB · 8,164 downloads rjw-mc-biotech_15_2.zip 731.1 kB · 662 downloads For RJW version 5.5+use version 16. rjw-mc-biotech_16_forRJW55.zip 519.3 kB · 168 downloads @onslort Yo, can you post this in the discord? A huge majority of our players don't know this was updated lol. Also, C0ffee's RJW ideology additions is dead; might be a good idea to remove the connections to it. Additionally, Hugslib isn't needed for RJW if you want, might be a good idea to remove usage for that as well. Edited November 23, 2024 by TeH_Dav
polishingmyswitchaxe Posted January 2, 2025 Posted January 2, 2025 I want to tweak the hunger offset from lactating, but I can't find it anywhere. Is it in the MC files? RJW? Rimworld proper?
GreatFez Posted January 3, 2025 Posted January 3, 2025 On 1/1/2025 at 9:52 PM, polishingmyswitchaxe said: I want to tweak the hunger offset from lactating, but I can't find it anywhere. Is it in the MC files? RJW? Rimworld proper? If you mean the Lactating hediff added by Biotech that adds +0.5 to a pawn's food consumption stat, that's defined in Rimworld proper. The Lactating hediff is in the Rimworld install folder, in Data\Biotech\Defs\HediffDefs\Hediffs_Global_Misc.xml, but it doesn't seem to define the hunger effect there. That's odd; perhaps it's being set in the code instead of the xml. If you mean the hunger offsets from this mod's permanent and heavy permanent effects, there are sliders for those in the mod options. You may need to scroll down to find them.
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