|
@@ -1,6 +1,10 @@
|
|
# din_bad
|
|
# din_bad
|
|
!2021/05/02
|
|
!2021/05/02
|
|
-$mobile_check = {
|
|
|
|
|
|
+!! Dynamic code has been translated to static code for performance and savegame size reasons.
|
|
|
|
+!! The dynamic variables still exist for compatibility reasons.
|
|
|
|
+!! Whenever possible, don''t use dynamic code (use "gs 'din_bad', 'xxx'" instead of "dynamic $xxx").
|
|
|
|
+$mobile_check = "gs 'din_bad', 'mobile_check'"
|
|
|
|
+if $ARGS[0] = 'mobile_check':
|
|
if menu_off = 0:
|
|
if menu_off = 0:
|
|
gs 'stat'
|
|
gs 'stat'
|
|
if vladimirQW['day'] ! daystart and hour >= 15 and hour <= 17:
|
|
if vladimirQW['day'] ! daystart and hour >= 15 and hour <= 17:
|
|
@@ -78,9 +82,10 @@ $mobile_check = {
|
|
|
|
|
|
killvar 'lover_number'
|
|
killvar 'lover_number'
|
|
end
|
|
end
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$d_salf = {
|
|
|
|
|
|
+$d_salf = "gs 'din_bad', 'd_salf'"
|
|
|
|
+if $ARGS[0] = 'd_salf':
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Tissues</h1></center>'
|
|
'<center><h1>Tissues</h1></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
@@ -95,9 +100,10 @@ $d_salf = {
|
|
if pcs_makeup ! 1 and cosmetic_tattoo = 0: '<a href="exec:mc_inventory[''makeup_wipes''] -= 1 & pcs_makeup = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Remove your makeup</b></a>'
|
|
if pcs_makeup ! 1 and cosmetic_tattoo = 0: '<a href="exec:mc_inventory[''makeup_wipes''] -= 1 & pcs_makeup = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''"><b>Remove your makeup</b></a>'
|
|
'<a href="exec:gs ''stat'' & gs ''din_bad'', ''d_bag''"><br><b>Put tissues away</b></a>'
|
|
'<a href="exec:gs ''stat'' & gs ''din_bad'', ''d_bag''"><br><b>Put tissues away</b></a>'
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
-}
|
|
|
|
-
|
|
|
|
-$d_mouthwash = {
|
|
|
|
|
|
+end
|
|
|
|
+
|
|
|
|
+$d_mouthwash = "gs 'din_bad', 'd_mouthwash'"
|
|
|
|
+if $ARGS[0] = 'd_mouthwash':
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Mouth Wash</h1></center>'
|
|
'<center><h1>Mouth Wash</h1></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
@@ -112,7 +118,7 @@ $d_mouthwash = {
|
|
''
|
|
''
|
|
act 'Done':gs 'stat' & gs 'din_bad', 'd_bag'
|
|
act 'Done':gs 'stat' & gs 'din_bad', 'd_bag'
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
if $ARGS[0] = 'd_bag':
|
|
if $ARGS[0] = 'd_bag':
|
|
*clr & cla
|
|
*clr & cla
|
|
@@ -123,20 +129,20 @@ if $ARGS[0] = 'd_bag':
|
|
'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
|
|
'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
|
|
'<td cellspacing="0" cellpadding="0" valign="top">'
|
|
'<td cellspacing="0" cellpadding="0" valign="top">'
|
|
if mc_inventory['makeup_wipes'] > 0: 'You have <b><<mc_inventory[''makeup_wipes'']>></b> wet wipes left in your purse. <a href="exec:dynamic $d_salf">Use a tissue</a>'
|
|
if mc_inventory['makeup_wipes'] > 0: 'You have <b><<mc_inventory[''makeup_wipes'']>></b> wet wipes left in your purse. <a href="exec:dynamic $d_salf">Use a tissue</a>'
|
|
- if mc_inventory['painkillers'] > 0 and pain['total'] > 0 and pain['killer'] = 0:
|
|
|
|
|
|
+ if mc_inventory['painkillers'] > 0 and pain['total'] > 0 and pain['killer'] = 0:
|
|
'You have <b><<mc_inventory[''painkillers'']>></b> painkiller'+iif(mc_inventory['painkillers'] > 1, 's ', ' ')+'left in your purse. <a href="exec: gs ''drugs'', ''painkiller'' & gs ''din_bad'', ''d_bag''">Take One</a>'
|
|
'You have <b><<mc_inventory[''painkillers'']>></b> painkiller'+iif(mc_inventory['painkillers'] > 1, 's ', ' ')+'left in your purse. <a href="exec: gs ''drugs'', ''painkiller'' & gs ''din_bad'', ''d_bag''">Take One</a>'
|
|
elseif mc_inventory['painkillers'] > 0 and (pain['total'] = 0 or pain['killer'] > 0):
|
|
elseif mc_inventory['painkillers'] > 0 and (pain['total'] = 0 or pain['killer'] > 0):
|
|
'You have <b><<mc_inventory[''painkillers'']>></b> painkiller'+iif(mc_inventory['painkillers'] > 1, 's ', ' ')+'left in your purse.'
|
|
'You have <b><<mc_inventory[''painkillers'']>></b> painkiller'+iif(mc_inventory['painkillers'] > 1, 's ', ' ')+'left in your purse.'
|
|
end
|
|
end
|
|
- if mc_inventory['mouthwash'] > 0 and (pcs_breath = 0 or cumloc[12] = 1):
|
|
|
|
|
|
+ if mc_inventory['mouthwash'] > 0 and (pcs_breath = 0 or cumloc[12] = 1):
|
|
'There''s mouthwash in your purse. <b><<mc_inventory[''mouthwash'']>></b> uses remaining. <a href="exec:dynamic $d_mouthwash">Use mouthwash</a>'
|
|
'There''s mouthwash in your purse. <b><<mc_inventory[''mouthwash'']>></b> uses remaining. <a href="exec:dynamic $d_mouthwash">Use mouthwash</a>'
|
|
elseif mc_inventory['mouthwash'] > 0 and pcs_breath = 1 and cumloc[12] = 0:
|
|
elseif mc_inventory['mouthwash'] > 0 and pcs_breath = 1 and cumloc[12] = 0:
|
|
'There''s mouthwash in your purse. <b><<mc_inventory[''mouthwash'']>></b> uses remaining.'
|
|
'There''s mouthwash in your purse. <b><<mc_inventory[''mouthwash'']>></b> uses remaining.'
|
|
end
|
|
end
|
|
- if mc_inventory['travel_mirror'] = 1:
|
|
|
|
|
|
+ if mc_inventory['travel_mirror'] = 1:
|
|
'You have a <a href="exec: cla & gt ''mirror'', ''d_bag_mirror''">compact mirror</a> in your purse'+iif(mc_inventory['travel_makeup'] >0, ' and some portable makeup.', '.')
|
|
'You have a <a href="exec: cla & gt ''mirror'', ''d_bag_mirror''">compact mirror</a> in your purse'+iif(mc_inventory['travel_makeup'] >0, ' and some portable makeup.', '.')
|
|
if mc_inventory['lipbalm'] > 0 and pcs_lipbalm <= 0:
|
|
if mc_inventory['lipbalm'] > 0 and pcs_lipbalm <= 0:
|
|
- 'You can apply some <a href="exec: cls & gs ''mirror'', ''applyLipbalm'' & act ''Return'':gs ''din_bad'', ''d_bag''">lip balm</a>'
|
|
|
|
|
|
+ 'You can apply some <a href="exec: cls & gs ''mirror'', ''applyLipbalm'' & act ''Return'':gs ''din_bad'', ''d_bag''">lip balm</a>'
|
|
end
|
|
end
|
|
elseif mc_inventory['travel_mirror'] = 0 and mc_inventory['travel_makeup'] >0:
|
|
elseif mc_inventory['travel_mirror'] = 0 and mc_inventory['travel_makeup'] >0:
|
|
'You have some portable makeup in your purse, but you need a compact mirror to apply it.'
|
|
'You have some portable makeup in your purse, but you need a compact mirror to apply it.'
|
|
@@ -152,9 +158,9 @@ if $ARGS[0] = 'd_bag':
|
|
end
|
|
end
|
|
!! Hair options
|
|
!! Hair options
|
|
*nl
|
|
*nl
|
|
- if (mc_inventory['travel_mirror'] = 1 or mc_inventory['comb'] = 1) and pcs_hairbsh = 0:
|
|
|
|
|
|
+ if (mc_inventory['travel_mirror'] = 1 or mc_inventory['comb'] = 1) and pcs_hairbsh = 0:
|
|
'There''s a hairbrush in your purse. <a href="exec:pcs_hairbsh = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Brush your hair</a>'
|
|
'There''s a hairbrush in your purse. <a href="exec:pcs_hairbsh = 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Brush your hair</a>'
|
|
- elseif (mc_inventory['travel_mirror'] = 1 or mc_inventory['comb'] = 1) and pcs_hairbsh = 1:
|
|
|
|
|
|
+ elseif (mc_inventory['travel_mirror'] = 1 or mc_inventory['comb'] = 1) and pcs_hairbsh = 1:
|
|
'There''s a hairbrush in your purse. Your hair doesn''t need brushing right now.'
|
|
'There''s a hairbrush in your purse. Your hair doesn''t need brushing right now.'
|
|
end
|
|
end
|
|
if pcs_hairbsh > 0 and pcs_hairlng > 80 and hbraids = 0:
|
|
if pcs_hairbsh > 0 and pcs_hairlng > 80 and hbraids = 0:
|
|
@@ -236,12 +242,12 @@ if $ARGS[0] = 'd_bag':
|
|
if mc_inventory['breastcream'] > 0:'<a href="exec: gs ''drugs'', ''breastcream'' & gs ''din_bad'', ''d_bag''">Apply breast cream.</a> You have <b><<mc_inventory[''breastcream'']>></b> cream left in your purse.'
|
|
if mc_inventory['breastcream'] > 0:'<a href="exec: gs ''drugs'', ''breastcream'' & gs ''din_bad'', ''d_bag''">Apply breast cream.</a> You have <b><<mc_inventory[''breastcream'']>></b> cream left in your purse.'
|
|
if mc_inventory['aphrodisiac'] > 0:'<a href="exec: gs ''drugs'', ''aphrodisiac'' & gs ''din_bad'', ''d_bag'' & *pl $drugVars[''aphrodisiac_msg''] & *pl $min_arousal_msg & killvar ''$min_arousal_msg''">Chew aphrodisiac gum.</a> You have <b><<mc_inventory[''aphrodisiac'']>></b> gum left in your purse.'
|
|
if mc_inventory['aphrodisiac'] > 0:'<a href="exec: gs ''drugs'', ''aphrodisiac'' & gs ''din_bad'', ''d_bag'' & *pl $drugVars[''aphrodisiac_msg''] & *pl $min_arousal_msg & killvar ''$min_arousal_msg''">Chew aphrodisiac gum.</a> You have <b><<mc_inventory[''aphrodisiac'']>></b> gum left in your purse.'
|
|
|
|
|
|
- if mc_inventory['refill_bottle_water'] = 4 and mc_inventory['refill_bottle'] >= 1:
|
|
|
|
|
|
+ if mc_inventory['refill_bottle_water'] = 4 and mc_inventory['refill_bottle'] >= 1:
|
|
'You carry your sports water bottle in your purse. It''s still completely full. <a href="exec: mc_inventory[''refill_bottle_water''] = 3 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
'You carry your sports water bottle in your purse. It''s still completely full. <a href="exec: mc_inventory[''refill_bottle_water''] = 3 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
elseif mc_inventory['refill_bottle_water'] = 3 and mc_inventory['refill_bottle'] >= 1:
|
|
elseif mc_inventory['refill_bottle_water'] = 3 and mc_inventory['refill_bottle'] >= 1:
|
|
'You carry your sports water bottle in your purse. It''s almost full. <a href="exec: mc_inventory[''refill_bottle_water''] = 2 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
'You carry your sports water bottle in your purse. It''s almost full. <a href="exec: mc_inventory[''refill_bottle_water''] = 2 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
elseif mc_inventory['refill_bottle_water'] = 2 and mc_inventory['refill_bottle'] >= 1:
|
|
elseif mc_inventory['refill_bottle_water'] = 2 and mc_inventory['refill_bottle'] >= 1:
|
|
- 'You carry your sports water bottle in your purse. It''s half full. <a href="exec: mc_inventory[''refill_bottle_water''] = 1 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
|
|
|
|
+ 'You carry your sports water bottle in your purse. It''s half full. <a href="exec: mc_inventory[''refill_bottle_water''] = 1 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
elseif mc_inventory['refill_bottle_water'] = 1 and mc_inventory['refill_bottle'] >= 1:
|
|
elseif mc_inventory['refill_bottle_water'] = 1 and mc_inventory['refill_bottle'] >= 1:
|
|
'You carry your sports water bottle in your purse. It''s almost empty. <a href="exec: mc_inventory[''refill_bottle_water''] = 0 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
'You carry your sports water bottle in your purse. It''s almost empty. <a href="exec: mc_inventory[''refill_bottle_water''] = 0 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
|
|
elseif mc_inventory['refill_bottle_water'] = 0 and mc_inventory['refill_bottle'] >= 1:
|
|
elseif mc_inventory['refill_bottle_water'] = 0 and mc_inventory['refill_bottle'] >= 1:
|
|
@@ -268,7 +274,8 @@ if $ARGS[0] = 'd_bag':
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
end
|
|
end
|
|
|
|
|
|
-$dinalkowin1 = {
|
|
|
|
|
|
+$dinalkowin1 = "gs 'din_bad', 'dinalkowin1'"
|
|
|
|
+if $ARGS[0] = 'dinalkowin1':
|
|
*clr & cla
|
|
*clr & cla
|
|
alkowine = 1
|
|
alkowine = 1
|
|
minut += 5
|
|
minut += 5
|
|
@@ -278,9 +285,10 @@ $dinalkowin1 = {
|
|
*nl
|
|
*nl
|
|
'You take the wine bottle out of your purse and slowly drink half of it. You struggle quite a lot to put the cork back before being able to make it.'
|
|
'You take the wine bottle out of your purse and slowly drink half of it. You struggle quite a lot to put the cork back before being able to make it.'
|
|
act 'Continue':gs 'din_bad', 'd_bag'
|
|
act 'Continue':gs 'din_bad', 'd_bag'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$dinalkowin2 = {
|
|
|
|
|
|
+$dinalkowin2 = "gs 'din_bad', 'dinalkowin2'"
|
|
|
|
+if $ARGS[0] = 'dinalkowin2':
|
|
*clr & cla
|
|
*clr & cla
|
|
alkowine = 0
|
|
alkowine = 0
|
|
mc_inventory['food_wine'] = 0
|
|
mc_inventory['food_wine'] = 0
|
|
@@ -291,9 +299,10 @@ $dinalkowin2 = {
|
|
*nl
|
|
*nl
|
|
'You take out the remaining half wine bottle out of your purse, slowly drinking the rest of it. As you finish you throw the empty bottle away.'
|
|
'You take out the remaining half wine bottle out of your purse, slowly drinking the rest of it. As you finish you throw the empty bottle away.'
|
|
act 'Continue':gs 'din_bad', 'd_bag'
|
|
act 'Continue':gs 'din_bad', 'd_bag'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$din_Switch_Condom_Menu = {
|
|
|
|
|
|
+$din_Switch_Condom_Menu = "gs 'din_bad', 'din_Switch_Condom_Menu'"
|
|
|
|
+if $ARGS[0] = 'din_Switch_Condom_Menu':
|
|
dynamic $din_Update_Condom_Counts
|
|
dynamic $din_Update_Condom_Counts
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Condoms</h1></center>'
|
|
'<center><h1>Condoms</h1></center>'
|
|
@@ -318,9 +327,10 @@ $din_Switch_Condom_Menu = {
|
|
*nl
|
|
*nl
|
|
act 'Return':gs 'din_bad', 'd_bag'
|
|
act 'Return':gs 'din_bad', 'd_bag'
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$din_Table_Condom_Menu = {
|
|
|
|
|
|
+$din_Table_Condom_Menu = "gs 'din_bad', 'din_Table_Condom_Menu'"
|
|
|
|
+if $ARGS[0] = 'din_Table_Condom_Menu':
|
|
dynamic $din_Update_Condom_Counts
|
|
dynamic $din_Update_Condom_Counts
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Condoms</h1></center>'
|
|
'<center><h1>Condoms</h1></center>'
|
|
@@ -347,7 +357,7 @@ $din_Table_Condom_Menu = {
|
|
end
|
|
end
|
|
*nl
|
|
*nl
|
|
act 'Return':gt 'stol', 'bc'
|
|
act 'Return':gt 'stol', 'bc'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
!! Condom System
|
|
!! Condom System
|
|
!! mc_inventory['equipped_condoms']: Total number of condoms sveta is using (normal or damaged).
|
|
!! mc_inventory['equipped_condoms']: Total number of condoms sveta is using (normal or damaged).
|
|
@@ -356,7 +366,8 @@ $din_Table_Condom_Menu = {
|
|
!! preziktype: 0 - Use condoms / 1 - don''t use condoms / 2 - use damaged condoms
|
|
!! preziktype: 0 - Use condoms / 1 - don''t use condoms / 2 - use damaged condoms
|
|
!! to check if sveta wants to use a condom use if mc_inventory['equipped_condoms'] > 0:
|
|
!! to check if sveta wants to use a condom use if mc_inventory['equipped_condoms'] > 0:
|
|
|
|
|
|
-$din_Do_Condom_Counts = {
|
|
|
|
|
|
+$din_Do_Condom_Counts = "gs 'din_bad', 'din_Do_Condom_Counts'"
|
|
|
|
+if $ARGS[0] = 'din_Do_Condom_Counts':
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Condoms</h1></center>'
|
|
'<center><h1>Condoms</h1></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
@@ -399,9 +410,10 @@ $din_Do_Condom_Counts = {
|
|
dynamic $din_Table_Condom_Menu
|
|
dynamic $din_Table_Condom_Menu
|
|
end
|
|
end
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$din_Update_Condom_Counts = {
|
|
|
|
|
|
+$din_Update_Condom_Counts = "gs 'din_bad', 'din_Update_Condom_Counts'"
|
|
|
|
+if $ARGS[0] = 'din_Update_Condom_Counts':
|
|
if mc_inventory['equipped_condoms'] + mc_inventory['normal_condoms'] + mc_inventory['sabotaged_condoms'] > 0: prezikmsg = 1
|
|
if mc_inventory['equipped_condoms'] + mc_inventory['normal_condoms'] + mc_inventory['sabotaged_condoms'] > 0: prezikmsg = 1
|
|
if preziktype = 0:
|
|
if preziktype = 0:
|
|
if mc_inventory['normal_condoms'] > 0:
|
|
if mc_inventory['normal_condoms'] > 0:
|
|
@@ -437,9 +449,10 @@ $din_Update_Condom_Counts = {
|
|
preziktype = 0
|
|
preziktype = 0
|
|
end
|
|
end
|
|
end
|
|
end
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$d_tabletkied = {
|
|
|
|
|
|
+$d_tabletkied = "gs 'din_bad', 'd_tabletkied'"
|
|
|
|
+if $ARGS[0] = 'd_tabletkied':
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Birth Control</h1></center>'
|
|
'<center><h1>Birth Control</h1></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
'<center><img <<$set_imgh>> src="<<FUNC(''$purse_image'', $currentpursetype, currentpursenumber)>>"></center>'
|
|
@@ -450,7 +463,7 @@ $d_tabletkied = {
|
|
if tabletkiday < daystart: '<a href="exec:dynamic $d_tabletkieda, 1 & dynamic $d_tabletkied">Take the birth control pill now.</a>'
|
|
if tabletkiday < daystart: '<a href="exec:dynamic $d_tabletkieda, 1 & dynamic $d_tabletkied">Take the birth control pill now.</a>'
|
|
|
|
|
|
if tabletkicheck = 0:
|
|
if tabletkicheck = 0:
|
|
- if birth_control['remind_hour'] = 0:
|
|
|
|
|
|
+ if birth_control['remind_hour'] = 0:
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
|
|
else
|
|
else
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
|
|
@@ -474,9 +487,10 @@ $d_tabletkied = {
|
|
end
|
|
end
|
|
act 'Return':gs 'din_bad', 'd_bag'
|
|
act 'Return':gs 'din_bad', 'd_bag'
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$d_tabletkiedt = {
|
|
|
|
|
|
+$d_tabletkiedt = "gs 'din_bad', 'd_tabletkiedt'"
|
|
|
|
+if $ARGS[0] = 'd_tabletkiedt':
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Birth Control</h1></center>'
|
|
'<center><h1>Birth Control</h1></center>'
|
|
if mc_inventory['desk'] = 0:
|
|
if mc_inventory['desk'] = 0:
|
|
@@ -488,9 +502,9 @@ $d_tabletkiedt = {
|
|
tabloc = 1
|
|
tabloc = 1
|
|
if thinkpreg = 0 and knowpreg = 0:
|
|
if thinkpreg = 0 and knowpreg = 0:
|
|
if tabletkiday < daystart: '<a href="exec:*clr & dynamic $d_tabletkieda, 1 & dynamic $d_tabletkiedt">Take the birth control pill now.</a>'
|
|
if tabletkiday < daystart: '<a href="exec:*clr & dynamic $d_tabletkieda, 1 & dynamic $d_tabletkiedt">Take the birth control pill now.</a>'
|
|
-
|
|
|
|
|
|
+
|
|
if tabletkicheck = 0:
|
|
if tabletkicheck = 0:
|
|
- if birth_control['remind_hour'] = 0:
|
|
|
|
|
|
+ if birth_control['remind_hour'] = 0:
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Set a reminder to take your birth control pills.</a>'
|
|
else
|
|
else
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
|
|
'<a href="exec:gs ''din_bad'', ''set_bc_reminder''">Change your birth control reminder.</a>'
|
|
@@ -504,9 +518,10 @@ $d_tabletkiedt = {
|
|
'<a href="exec:*clr & dynamic $d_tabletkieda, 4">Examine the birth control pills.</a>'
|
|
'<a href="exec:*clr & dynamic $d_tabletkieda, 4">Examine the birth control pills.</a>'
|
|
if tabletkioddk = 1: '<a href="exec:*clr & dynamic $d_tabletkieda, 5 & dynamic $d_tabletkiedt">Dump the strange pills.</a>'
|
|
if tabletkioddk = 1: '<a href="exec:*clr & dynamic $d_tabletkieda, 5 & dynamic $d_tabletkiedt">Dump the strange pills.</a>'
|
|
act 'Return':gt 'stol', 'bc'
|
|
act 'Return':gt 'stol', 'bc'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$d_tabletkieda = {
|
|
|
|
|
|
+$d_tabletkieda = "gs 'din_bad', 'd_tabletkieda'"
|
|
|
|
+if $ARGS[0] = 'd_tabletkieda':
|
|
if ARGS[0] = 1:
|
|
if ARGS[0] = 1:
|
|
tabletkipd += tabletkipt
|
|
tabletkipd += tabletkipt
|
|
if tabletkiday ! daystart:
|
|
if tabletkiday ! daystart:
|
|
@@ -561,7 +576,7 @@ $d_tabletkieda = {
|
|
tabletkioddp = 0
|
|
tabletkioddp = 0
|
|
gs 'stat'
|
|
gs 'stat'
|
|
end
|
|
end
|
|
-
|
|
|
|
|
|
+
|
|
if mc_inventory['contraceptive_pill'] = 0 and pillsleft[ptype] = 0:
|
|
if mc_inventory['contraceptive_pill'] = 0 and pillsleft[ptype] = 0:
|
|
msg 'That was your last birth control pill. You need to buy some more.'
|
|
msg 'That was your last birth control pill. You need to buy some more.'
|
|
end
|
|
end
|
|
@@ -571,7 +586,7 @@ $d_tabletkieda = {
|
|
else
|
|
else
|
|
act 'Return':gt 'stol', 'bc'
|
|
act 'Return':gt 'stol', 'bc'
|
|
end
|
|
end
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
if $ARGS[0] = 'set_auto_bc':
|
|
if $ARGS[0] = 'set_auto_bc':
|
|
:invalid_auto_bc_loop
|
|
:invalid_auto_bc_loop
|
|
@@ -616,7 +631,8 @@ if $ARGS[0] = 'turn_off_bc_reminder':
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
|
|
-$d_cycreport_choice = {
|
|
|
|
|
|
+$d_cycreport_choice = "gs 'din_bad', 'd_cycreport_choice'"
|
|
|
|
+if $ARGS[0] = 'd_cycreport_choice':
|
|
*clr & cla
|
|
*clr & cla
|
|
'<center><h1>Fertility Cycle</h1></center>'
|
|
'<center><h1>Fertility Cycle</h1></center>'
|
|
'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
|
|
'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
|
|
@@ -663,9 +679,10 @@ $d_cycreport_choice = {
|
|
end
|
|
end
|
|
act 'Exit':gs 'stat' & gt $loc, $loc_arg
|
|
act 'Exit':gs 'stat' & gt $loc, $loc_arg
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$d_cycreport_actor = {
|
|
|
|
|
|
+$d_cycreport_actor = "gs 'din_bad', 'd_cycreport_actor'"
|
|
|
|
+if $ARGS[0] = 'd_cycreport_actor':
|
|
!! Svetlana has decided she is not pregnant
|
|
!! Svetlana has decided she is not pregnant
|
|
if ARGS[0] = 1:
|
|
if ARGS[0] = 1:
|
|
$cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
|
|
$cycreport_txt = 'It has been <<temp>> days since you last remember having a period.'
|
|
@@ -686,7 +703,7 @@ $d_cycreport_actor = {
|
|
dynamic $d_cycreport_update
|
|
dynamic $d_cycreport_update
|
|
gs 'stat'
|
|
gs 'stat'
|
|
dynamic $d_cycreport_choice
|
|
dynamic $d_cycreport_choice
|
|
- !! Svetlana is Menstrating.
|
|
|
|
|
|
+ !! Svetlana is Menstrating.
|
|
elseif ARGS[0] = 3:
|
|
elseif ARGS[0] = 3:
|
|
thinkpreg = 0
|
|
thinkpreg = 0
|
|
denypreg = 0
|
|
denypreg = 0
|
|
@@ -694,7 +711,7 @@ $d_cycreport_actor = {
|
|
dynamic $d_cycreport_update
|
|
dynamic $d_cycreport_update
|
|
gs 'stat'
|
|
gs 'stat'
|
|
dynamic $d_cycreport_choice
|
|
dynamic $d_cycreport_choice
|
|
- !! Svetlana is remembering her last period.
|
|
|
|
|
|
+ !! Svetlana is remembering her last period.
|
|
elseif ARGS[0] = 4:
|
|
elseif ARGS[0] = 4:
|
|
thinkpreg = 0
|
|
thinkpreg = 0
|
|
denypreg = 0
|
|
denypreg = 0
|
|
@@ -737,7 +754,7 @@ $d_cycreport_actor = {
|
|
'<center><h1>Fertility Cycle</h1></center>'
|
|
'<center><h1>Fertility Cycle</h1></center>'
|
|
'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
|
|
'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
|
|
'<td width="500" cellspacing="0" cellpadding="0" valign="top">'
|
|
'<td width="500" cellspacing="0" cellpadding="0" valign="top">'
|
|
-
|
|
|
|
|
|
+
|
|
potfather_temp[1] = arrsize('$wombpotfath')
|
|
potfather_temp[1] = arrsize('$wombpotfath')
|
|
if potfather_temp[1] > 0:
|
|
if potfather_temp[1] > 0:
|
|
potfather_counter = 0
|
|
potfather_counter = 0
|
|
@@ -754,16 +771,16 @@ $d_cycreport_actor = {
|
|
else
|
|
else
|
|
'There are no potential fathers.'
|
|
'There are no potential fathers.'
|
|
end
|
|
end
|
|
-
|
|
|
|
|
|
+
|
|
killvar 'potfather_counter'
|
|
killvar 'potfather_counter'
|
|
killvar 'potfather_temp'
|
|
killvar 'potfather_temp'
|
|
-
|
|
|
|
|
|
+
|
|
'<br> <a href="exec:dynamic $d_cycreport_choice & gs ''stat''">Accept</a>'
|
|
'<br> <a href="exec:dynamic $d_cycreport_choice & gs ''stat''">Accept</a>'
|
|
'</td></tr></table></center>'
|
|
'</td></tr></table></center>'
|
|
-
|
|
|
|
|
|
+
|
|
act 'Return':dynamic $d_cycreport_choice
|
|
act 'Return':dynamic $d_cycreport_choice
|
|
act 'Exit':gs 'stat' & gt $loc, $loc_arg
|
|
act 'Exit':gs 'stat' & gt $loc, $loc_arg
|
|
-
|
|
|
|
|
|
+
|
|
!! This is the old code that was broken, keeping it for now (julzor)
|
|
!! This is the old code that was broken, keeping it for now (julzor)
|
|
!! {
|
|
!! {
|
|
tempmax = arrsize('$cumfthname')-1
|
|
tempmax = arrsize('$cumfthname')-1
|
|
@@ -807,9 +824,10 @@ $d_cycreport_actor = {
|
|
$cycreport_txt = 'You are currently recovering from childbirth. You gave birth on <<monthkid[temp]>> / <<daykid[temp]>> / <<yearkid[temp]>>.'
|
|
$cycreport_txt = 'You are currently recovering from childbirth. You gave birth on <<monthkid[temp]>> / <<daykid[temp]>> / <<yearkid[temp]>>.'
|
|
gs 'stat'
|
|
gs 'stat'
|
|
end
|
|
end
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$d_cycreport_update = {
|
|
|
|
|
|
+$d_cycreport_update = "gs 'din_bad', 'd_cycreport_update'"
|
|
|
|
+if $ARGS[0] = 'd_cycreport_update':
|
|
killvar 'temp'
|
|
killvar 'temp'
|
|
if thinkpreg = 1 or knowpreg = 1: dynamic $d_cycreport_upduedate
|
|
if thinkpreg = 1 or knowpreg = 1: dynamic $d_cycreport_upduedate
|
|
!! Vagblood in a future update to account for babydamage and miscarrages.
|
|
!! Vagblood in a future update to account for babydamage and miscarrages.
|
|
@@ -840,7 +858,7 @@ $d_cycreport_update = {
|
|
elseif birth_control['implant_status'] > 1 and pillcon2 >= 30000:
|
|
elseif birth_control['implant_status'] > 1 and pillcon2 >= 30000:
|
|
$cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>Your implant protects you from getting pregnant.</font>'
|
|
$cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>Your implant protects you from getting pregnant.</font>'
|
|
elseif birth_control['implant_status'] > 1 and pillcon2 < 30000:
|
|
elseif birth_control['implant_status'] > 1 and pillcon2 < 30000:
|
|
- $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=red>Your implant is not yet effective.</font>'
|
|
|
|
|
|
+ $cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=red>Your implant is not yet effective.</font>'
|
|
elseif pillcon2 > 0 and birth_control['think_safe'] = 1:
|
|
elseif pillcon2 > 0 and birth_control['think_safe'] = 1:
|
|
$cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>You are currently on the birth control pill.</font>'
|
|
$cycreport_txt = 'It has been <<temp[1]>> days since the start of your last period. <font color=green>You are currently on the birth control pill.</font>'
|
|
elseif pillcon2 > 0 and ((FocH > (Foch_Max - 96)) or ovulate > 0) and birth_control['think_safe'] = 0 and birth_control['using_bc'] > 0:
|
|
elseif pillcon2 > 0 and ((FocH > (Foch_Max - 96)) or ovulate > 0) and birth_control['think_safe'] = 0 and birth_control['using_bc'] > 0:
|
|
@@ -929,24 +947,25 @@ $d_cycreport_update = {
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
|
|
|
|
-$d_cycreport_upduedate = {
|
|
|
|
|
|
+$d_cycreport_upduedate = "gs 'din_bad', 'd_cycreport_upduedate'"
|
|
|
|
+if $ARGS[0] = 'd_cycreport_upduedate':
|
|
!! implant_calc: Calculation of an implantation date in the uterus (Average is 5 days after ovulation)
|
|
!! implant_calc: Calculation of an implantation date in the uterus (Average is 5 days after ovulation)
|
|
implant_calc = daystart - lastovulation + 5
|
|
implant_calc = daystart - lastovulation + 5
|
|
-
|
|
|
|
|
|
+
|
|
!! Human gastation period: 280 days
|
|
!! Human gastation period: 280 days
|
|
gastation_time = 280 / (1 + cheatVars['preg_speed'])
|
|
gastation_time = 280 / (1 + cheatVars['preg_speed'])
|
|
-
|
|
|
|
|
|
+
|
|
temp = gastation_time - implant_calc
|
|
temp = gastation_time - implant_calc
|
|
pregdueday = day
|
|
pregdueday = day
|
|
pregduemonth = month
|
|
pregduemonth = month
|
|
pregdueyear = year
|
|
pregdueyear = year
|
|
-
|
|
|
|
|
|
+
|
|
temp += pregdueday
|
|
temp += pregdueday
|
|
pregdueday = 0
|
|
pregdueday = 0
|
|
-
|
|
|
|
|
|
+
|
|
:pregduedateloop
|
|
:pregduedateloop
|
|
if pregduemonth = 1 and temp > 31:
|
|
if pregduemonth = 1 and temp > 31:
|
|
pregduemonth += 1
|
|
pregduemonth += 1
|
|
@@ -1017,9 +1036,10 @@ $d_cycreport_upduedate = {
|
|
$pregduedate += 'Dec'
|
|
$pregduedate += 'Dec'
|
|
end
|
|
end
|
|
$pregduedate += ' <<pregdueyear>>'
|
|
$pregduedate += ' <<pregdueyear>>'
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
-$d_pregmovement = {
|
|
|
|
|
|
+$d_pregmovement = "gs 'din_bad', 'd_pregmovement'"
|
|
|
|
+if $ARGS[0] = 'd_pregmovement':
|
|
if denypreg = 0 and pregchem > 0:
|
|
if denypreg = 0 and pregchem > 0:
|
|
if thinkpreg > 0 and knowpreg = 0:
|
|
if thinkpreg > 0 and knowpreg = 0:
|
|
knowpreg = 1
|
|
knowpreg = 1
|
|
@@ -1077,7 +1097,7 @@ $d_pregmovement = {
|
|
'You feel movement deep inside you. It''s probably just gas.'
|
|
'You feel movement deep inside you. It''s probably just gas.'
|
|
end
|
|
end
|
|
end
|
|
end
|
|
-}
|
|
|
|
|
|
+end
|
|
|
|
|
|
|
|
|
|
if $ARGS[0] = 'takepill':
|
|
if $ARGS[0] = 'takepill':
|
|
@@ -1143,7 +1163,7 @@ if $ARGS[0] = 'takepill':
|
|
pcs_skin += 1
|
|
pcs_skin += 1
|
|
EggRH += rand(10,80)
|
|
EggRH += rand(10,80)
|
|
end
|
|
end
|
|
-
|
|
|
|
|
|
+
|
|
!!pillcon2 is the ideal state, PC considers this the believed pillcon value
|
|
!!pillcon2 is the ideal state, PC considers this the believed pillcon value
|
|
pillcon2 += ((pillcon2 + 15000) / 25) + 4000
|
|
pillcon2 += ((pillcon2 + 15000) / 25) + 4000
|
|
if pillcon2 > 40000: pillcon2 = 40000
|
|
if pillcon2 > 40000: pillcon2 = 40000
|
|
@@ -1164,7 +1184,7 @@ if $ARGS[0] = 'quick_takepill':
|
|
pcs_health -= 1
|
|
pcs_health -= 1
|
|
end
|
|
end
|
|
pilldaychk = daystart
|
|
pilldaychk = daystart
|
|
-
|
|
|
|
|
|
+
|
|
if birth_control['message_skip'] ! daystart:
|
|
if birth_control['message_skip'] ! daystart:
|
|
if mc_inventory['contraceptive_pill'] = 0 and pillsleft[ptype] = 0:
|
|
if mc_inventory['contraceptive_pill'] = 0 and pillsleft[ptype] = 0:
|
|
msg 'That was your last birth control pill. You need to buy some more.'
|
|
msg 'That was your last birth control pill. You need to buy some more.'
|