From a1ba3e3f6d43734b11931910c7adfc42375694f7 Mon Sep 17 00:00:00 2001 From: pregmodfan <pregmodfan@cock.li> Date: Tue, 9 Oct 2018 15:44:26 +0300 Subject: [PATCH] documentation and fixes --- slave variables documentation - Pregmod.txt | 25 ++++++++++++++++----- src/js/storyJS.tw | 4 ++-- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/slave variables documentation - Pregmod.txt b/slave variables documentation - Pregmod.txt index db216a2c4d5..707b595b682 100644 --- a/slave variables documentation - Pregmod.txt +++ b/slave variables documentation - Pregmod.txt @@ -1,5 +1,4 @@ - -**anything labeled accepts string will return any string entered into it** +anything labeled accepts string will return any string entered into it** slaveName: @@ -1722,17 +1721,33 @@ readyOva: Number of ready to be impregnated ova (override normal cases), default - 0. For delayed impregnations with multiples. Used onetime on next call of the SetPregType widget. After SetPregType use it to override .pregType, it set back to 0 automatically. -broodmother +superfetation: + +Superfetation is condition when pregnancy not block ovulation cycle, so further, second and more impregnantion possible when alredy pregnant. Very rare IRL. +0 - no +1 - condition present + +ovaImplant: + +Ovary implant state and type. + +-1 - present, supress natural superfetation (normalize slave with natural superfetation), still allow partial birth. +0 - no implant +1 - artifical superfetation and partial birth support. +2 - ova release on orgasm and partial birth support. + +broodmother: has the slave been turned into a broodmother 0 - no 1 - standard 1 birth/week 2 - black market 12 births/week +3 - black market upgrade for implant firmware, to allow change weekly number of ova in range of 1 to 12 in remote surgery block. (broodmotherFetuses change through remote surgery). -broodmotherFetuses +broodmotherFetuses: count of ova that broodmother implant force to release. Should be setted with "broodmother" property together. If broodmother == 0 has no meaning. -broodmotherOnHold +broodmotherOnHold: If broodmother implant set to pause it's work. 1 - implant on pause diff --git a/src/js/storyJS.tw b/src/js/storyJS.tw index cb19ff15d1a..ea119fc0787 100644 --- a/src/js/storyJS.tw +++ b/src/js/storyJS.tw @@ -311,9 +311,9 @@ window.isFertile = function(slave) { WombInit(slave); - if (slave.womb.length > 0 && slave.superfetation < 1) { /* currently pregnant without superfetation */ + if (slave.womb.length > 0 && slave.superfetation < 1 && slave.ovaImplant < 1) { /* currently pregnant without superfetation */ return false; - } else if ( slave.broodmother > 0) { /* currently broodmother */ + } else if (slave.broodmother > 0) { /* currently broodmother */ return false; } else if (slave.preg < -1) { /* sterile */ return false; -- GitLab