Project Zomboid

Project Zomboid

[B42] Bodily Functions [EA v0.12.3]
Showing 21-30 of 39 entries
< 1  2  3  4 >
Update: 10 Mar @ 3:14pm

- Updated to B42.4.1
- Fixed a bug. getWaterAmount -> getFluidAmount

- Updated FALLBACK version

Update: 26 Jan @ 6:37am

==============
[VERSION 0.5]
==============

-Added rounding to the bladder / bowel values in the GUI, and the peed / pooped values on the soiled clothing.
-Removed "Bodily Functions" tab in the context menu for simplicity, might return at some point as a mod option
-Added https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3378285185&searchtext=starl requirement
-Added tooltips to peed / pooped clothing items, additionally removed text from the soiled item name.
-Replaced many ipairs with for loops for optimization
-Removed "Bladder / Bowel Moodle Type" mod option for now. Might come back eventually.
-Renamed health menu tab from "Bathroom" to "Excretion"
-MASSIVE optimization for peed clothing textures. Therefore also removed the "(Testing)" text for the "(Testing) Show Wet Spot" sandbox option.
-Added "'Say' Status" mod option that lets you choose if you want text displaying your status above your head.
-Fixed "Improper Toilet Sitting" problem. Now rotates to face the right direction when using toilets.
-Created "Wiped" variants of some items that replace wipe-able items.
-Added "Pee In Sink" and "Pee In Shower" options.
-Fixed the double toilet context menu option bug.
-Added "BF_" prefix to all sounds to prevent mod incompatabilities.

Update: 19 Jan @ 12:53am

- Made clothes get reequiped after urination / defecation

Update: 9 Jan @ 8:56pm

-Reversed thirst and hunger changes temporarily (will fix next patch)

Update: 9 Jan @ 3:53am

==============
[VERSION 0.40]
==============

-Added code for a "Reset Sandbox Values" button in GUI. Maybe remove

-Simplified the UrinePuddle model by removing unnecessary faces. It is now a flat plane.
-Replaced the 3D model with a flat square plane, allowing for texture-based variations instead of relying on complex models.
-Introduced new textures for urine puddles:
Hydrated texture (blue-er and clearer).
Dehydrated texture (yellowish).

-Added Icons To Context Options
Wash soiled clothing (uses PeedSelf texture)
Pee in container (uses pee water bottle texture)

-Moved Bathroom_WasteProducts.txt models into Bathroom_Models.txt
-Added most (if not all) shorts to different list, meaning they will no longer show the peed jeans overlay.
-Renamed "Urine_Hydrated_0" to "Urine_Hydrated_0" and removed DisplayName
-Renamed "Urine_Hydrated_0" to "Urine_Hydrated_0" and removed DisplayName

-Thirst and Hunger Mechanics:
Thirst and hunger levels now influence the production of urine and poop:
Higher thirst/hunger slows down production.
Lower thirst/hunger speeds it up.

-Increased the base urine production rate from 1% to 1.2% per cycle, making the system slightly faster.

-Added Traits: (Most are not yet fully implemented but will be worked on in future updates.)
Bladder Traits:

Small Bladder: "Bladder fills quicker and more urgently." (+1 points)
Bedwetter: "Involuntary urination while asleep." (+3 points)
Urinary Incontinence: "Poor bladder control in general." (+5 points)
Paruresis: "Urination is difficult when near zombies or players." (+4 points)
Shy Bladder: "Urination is difficult without using the toilet." (+6 points)
Large Bladder: "Bladder takes longer to fill." (-1 point)
Bladder Control: "75% chance to stop urination 5% of the way through peeing self." (-3 points)

Bowel Traits:

Small Bowels: "Bowels fill quicker and more urgently. (+1 points)
Bedsoiler: "Involuntary defecation while asleep." (+3 points)
Fecal Incontinence: "Poor bowel control in general." (+6 points)
Parcopresis: "Defecation is difficult when near zombies or players." (+4 points)
Shy Bowels: "Defecation is difficult without using the toilet." (+5 points)
Large Bowels: "Bowels take longer to fill." (-1 point)
Bowel Control: "75% chance to stop defecation 5% of the way through pooping self." (-3 points)

-Implemented Traits:
Bedwetter: You will pee the bed if your bladder reaches near max value.
Bedsoiler: You will poop the bed if your bowels reach near max value.

-Urgency Hiccup System:
-Depending on your character's current mood and how full your bladder or bowels are, you might experience a "hiccup" of urgency. This could be a small reminder to go, or an unexpected accident.
-Currently the only modifiers are "Panic" (increases chance of hiccup, doesn't impact accident chance yet), and "Drunkenness" (increases accident chance)
-When you feel a sudden urgency, game speed slows down for a better reaction time.
-The function that manages sudden accidents (formerly "CheckForAccident") is now renamed to HandleInstantAccidents. It triggers accidents in very sudden situations like being injured or overflowing bladder or bowels.
-Hiccup chance is always 0 when sleeping, but as listed above, bedwetters and bedsoilers are still not safe.

-Cleaning Urine Puddles
-Removed from inventory (as in not visible)
-They cannot be picked up with the Grab function
-They can be cleaned with either a Mop, Dish Towel, Bath Towel, or Toilet Brush

Update: 5 Jan @ 12:58am

-Player removes items listed in new function "BathroomFunctions.GetExcreteObstructiveClothing()" rather than "BathroomFunctions.GetSoilableClothing()"
-Added "ShortsShort" body location to GetSoilableClothing and GetExcreteObstructiveClothing
-Added "LongDress", "Dress", "LongSkirt", and "Skirt" body locations to GetExcreteObstructiveClothing
-Added IdleUrgencyPee timed action, random chance of playing when bladder is above 80%
-Added IdleUrgencyPoop timed action, random chance of playing when bowels is above 80%

Update: 4 Jan @ 5:40pm

-Temporarily disabled peeing / pooping when sleeping. You now wake up on the verge.

-Changed values: (based on realism and not being horrible to deal with)
PeeInToiletRequirement: 60% to 40%
PeeOnGroundRequirement: 70% to 50%
PeeOnSelfRequirement: 85% to 85%
PeeInContainerRequirement: 70% to 60%
PoopInToiletRequirement: 70% to 40%
PoopOnGroundRequirement: 80% to 50%
PoopOnSelfRequirement: 75% to 75%

-Changed moodle thresholds: (no more being unable to use the bathroom when the urge shows up)
defecationThreshold
[0.4] = 0.4, -- Mild urge starts at 40%
[0.6] = 0.3, -- Moderate urge at 60%
[0.8] = 0.2, -- High urge at 80%
[0.9] = 0.1 -- Critical need at 90% or above
urinationThreshold
[0.4] = 0.4, -- Mild urge starts at 40%
[0.6] = 0.3, -- Moderate urge at 60%
[0.8] = 0.2, -- High urge at 80%
[0.9] = 0.1 -- Critical need at 90% or above

-Simplified code in moodle calcualtion

Update: 4 Jan @ 1:45am

-Made Human Feces edible. Poisonous. And addable to evolved recipes (like sandwiches)
-Remade Urine Puddle and Human Feces textures.

Update: 3 Jan @ 3:24am

-Made player take off soilable clothing before pooping (and peeing if female).
-Improved standing pee animation, still going to be recreated eventually.
-Added "ShortPants" to GetSoilableClothing in BathroomUtils

Update: 3 Jan @ 2:11am

-Removed "CanHavePoopPurpose", "CanHavePeePurpose", "CanPeeBottle" sandbox options
-Added "PeeInContainersOption", "PeeSelfOption", "PoopSelfOption" native B42 mod options
-Removed "DoMoodles" sandbox option
-Added "ShowMoodles", "ShowSoiledMoodles" native B42 mod options
-Added "MoodleType" native B42 mod option, not yet implemented though