|
@@ -0,0 +1,65 @@
|
|
|
+# mod_pregtest_options
|
|
|
+
|
|
|
+mod_pregtestI = 0
|
|
|
+if $ARGS[0] = 'testcycle':
|
|
|
+ if $ARGS[1] = 'day':
|
|
|
+ mod_pregtestN = 24
|
|
|
+ elseif $ARGS[1] = 'week':
|
|
|
+ mod_pregtestN = 168
|
|
|
+ else
|
|
|
+ mod_pregtestN = 1
|
|
|
+ end
|
|
|
+ :loop_testcycle
|
|
|
+ if mod_pregtestI < mod_pregtestN:
|
|
|
+ gs 'femcyc'
|
|
|
+ mod_pregtestI += 1
|
|
|
+ jump 'loop_testcycle'
|
|
|
+ end
|
|
|
+end
|
|
|
+
|
|
|
+*clr&cla
|
|
|
+
|
|
|
+'<b>Children: <<kid>></b>'
|
|
|
+$mod_pregtestPrint = ''
|
|
|
+mod_pregtestN = 0
|
|
|
+:loop_ChildThFath
|
|
|
+if mod_pregtestN < arrsize('$ChildThFath'):
|
|
|
+ $mod_pregtestPrint += '<b><<mod_pregtestN + 1>>. child dad:</b> <<$ChildThFath[mod_pregtestN]>> <b>AKA:</b> <<$npc_usedname[$ChildThFath[mod_pregtestN]]>> '
|
|
|
+ mod_pregtestN += 1
|
|
|
+ jump 'loop_ChildThFath'
|
|
|
+end
|
|
|
+$mod_pregtestPrint
|
|
|
+*nl
|
|
|
+
|
|
|
+'<b>Current pregnancy</b>'
|
|
|
+'Unfertilized eggs: <<UnfertEgg>> Fertilized eggs: <<FertEgg>> Implanted embryos: <<babyembryo>>'
|
|
|
+$mod_pregtestPrint = ''
|
|
|
+mod_pregtestN = 0
|
|
|
+:loop_wombpotfath
|
|
|
+if mod_pregtestN < arrsize('$wombpotfath'):
|
|
|
+ $mod_pregtestPrint += '<b><<mod_pregtestN + 1>>. potential dad:</b> <<$wombpotfath[mod_pregtestN]>> <b>AKA:</b> <<$npc_usedname[$wombpotfath[mod_pregtestN]]>> '
|
|
|
+ mod_pregtestN += 1
|
|
|
+ jump 'loop_wombpotfath'
|
|
|
+end
|
|
|
+$mod_pregtestPrint
|
|
|
+*nl
|
|
|
+
|
|
|
+'<b>Cycle data</b>'
|
|
|
+'0 Menstruation, 1 Follicular, 2 Ovulation, 3 Luteal, 4 Pregnancy recovery, 5 Pregnant, 6 Menopause'
|
|
|
+'Current cycle: <<cycle>>'
|
|
|
+iif(cycle = 0, '<b>', '') + 'Cycle 0 variables: Hours of menstruation: <<mesec>>' + iif(cycle = 0, '</b>', '')
|
|
|
+iif(cycle = 1, '<b>', '') + 'Cycle 1 variables: Hours until ovulation: <<FocH_Max - FocH>> - <<FocH>>/<<FocH_Max>>' + iif(cycle = 1, '</b>', '')
|
|
|
+iif(cycle = 2, '<b>', '') + 'Cycle 2 variables: Egg release hormone: <<EggRH>> Hours of ovulation left: <<ovulate>>' + iif(cycle = 2, '</b>', '')
|
|
|
+iif(cycle = 3, '<b>', '') + 'Cycle 3 variables: Hours until menstruation: <<LutH_Max - LutH>> - <<LutH>>/<<LutH_Max>> Implant lottery: <<imp_rand>>' + iif(cycle = 3, '</b>', '')
|
|
|
+iif(cycle = 4, '<b>', '') + 'Cycle 4 variables: Hours of recovery left: <<RecovH>>' + iif(cycle = 4, '</b>', '')
|
|
|
+iif(cycle = 5, '<b>', '') + 'Cycle 5 variables:' + iif(preg = 1, ' Pregnant!', '') + iif(preg = 2, ' In labor!', '') + ' Fetuses: <<babyembryo>> Pregnancy hours: <<PregChem>> Labor window: <<6573 - (babyembryo-1)*588 - 400>>-<<6573 - (babyembryo-1)*588 + 800>>' + iif(cycle = 5, '</b>', '')
|
|
|
+
|
|
|
+*nl
|
|
|
+
|
|
|
+act 'return': gt 'mod_setting'
|
|
|
+act 'Cycle!': gs 'mod_pregtest_options', 'testcycle'
|
|
|
+act 'Cycle! x24(a day)': gs 'mod_pregtest_options', 'testcycle', 'day'
|
|
|
+act 'Cycle! x168(a week)': gs 'mod_pregtest_options', 'testcycle', 'week'
|
|
|
+
|
|
|
+--- mod_isample_options ---------------------------------
|
|
|
+
|