Project Zomboid

Project Zomboid

Excrementum
star  [udvikler] 23. sep. 2022 kl. 10:24
API (for other modders)
Deprecated:
Function - API_AddIgnoreBodyLocation()
This function excludes specific body location from drop pants action.

Syntax:
Excrementum.API_AddIgnoreBodyLocation(body_loc_name, value);

Value may be:
  • true / nil - excludes in general.
  • "pee" - allows only pee action (e.g. jeans). Otherwise is included in drop pants action.
  • "pee_silent" - allows only pee action and no zip sound.
  • "only_long" - allows this clothes type but only if it doesn't cover lower legs (mostly for skirt/dress types).

Example:
if Excrementum and Excrementum.API_AddIgnoreBodyLocation then Excrementum.API_AddIgnoreBodyLocation("RasSkin"); Excrementum.API_AddIgnoreBodyLocation("RasMalePrivatePart"); end


Don't use this! New API is coming.
Sidst redigeret af star; 15. okt. 2022 kl. 20:35
< >
Viser 1-1 af 1 kommentarer
star  [udvikler] 23. sep. 2022 kl. 11:13 
Defecate and Urinate Actions
Does urination/defecation.

Syntax:
Excrementum:InvoluntaryUrinate(is_forced) Excrementum:InvoluntaryDefecate(is_forced)
  • is_forced - boolean value. If true, it will does action even on empty cavity.

Examples:
if Excrementum then Excrementum:InvoluntaryUrinate() end
if Excrementum then Excrementum:InvoluntaryDefecate() end
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50