Skip to content
Snippets Groups Projects
Commit 65e2383b authored by Pregmodder's avatar Pregmodder
Browse files

catches for bad chastity

parent 55ff620f
No related branches found
No related tags found
4 merge requests!843Delete Please.,!833Pregmod master,!758Pregmod master,!684Pregmod v1019-31
...@@ -58,6 +58,12 @@ ...@@ -58,6 +58,12 @@
<<if $slaves[_i].rivalry == 0>> <<if $slaves[_i].rivalry == 0>>
<<set $slaves[_i].rivalryTarget = 0>> <<set $slaves[_i].rivalryTarget = 0>>
<</if>> <</if>>
<<if $slaves[_i].vagina < 0 && $slaves[_i].vaginalAccessory != "none">>
<<set $slaves[_i].vaginalAccessory = "none">>
<</if>>
<<if $slaves[_i].dick == 0 && $slaves[_i].dickAccessory != "none">>
<<set $slaves[_i].dickAccessory = "none">>
<</if>>
/% Fix some possible floating point rounding errors, and bring precision to one decimal place. %/ /% Fix some possible floating point rounding errors, and bring precision to one decimal place. %/
<<SlaveStatClamp $slaves[_i]>> <<SlaveStatClamp $slaves[_i]>>
<<set $slaves[_i].energy = Math.clamp($slaves[_i].energy.toFixed(1), 0, 100)>> <<set $slaves[_i].energy = Math.clamp($slaves[_i].energy.toFixed(1), 0, 100)>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment