|
@@ -108,7 +108,7 @@ if $ARGS[0] = 'view_milk_bottles':
|
|
|
!! Checking for unregistered bottles.
|
|
|
gs 'lact_bp', 'reg_bottle_count'
|
|
|
'You check the bottles that you store here.<br>'
|
|
|
- temp_var = (bpbottlem + bpbottles) - 1
|
|
|
+ temp_var = (mc_inventory['bottle_m'] + mc_inventory['bottle_s']) - 1
|
|
|
vmb_i = 0
|
|
|
milkedvolume = 0
|
|
|
:vmbloop
|
|
@@ -137,7 +137,7 @@ if $ARGS[0] = 'empty_milk_bottles':
|
|
|
!! use gt 'lact_bp', 'empty_milk_bottles'
|
|
|
*clr
|
|
|
cla
|
|
|
- temp_var = (bpbottlem + bpbottles) - 1
|
|
|
+ temp_var = (mc_inventory['bottle_m'] + mc_inventory['bottle_s']) - 1
|
|
|
emb_i = 0
|
|
|
:emb_loop
|
|
|
if emb_i <= temp_var:
|
|
@@ -350,10 +350,10 @@ if $ARGS[0] = 'bp_milking':
|
|
|
else
|
|
|
'You have no bottles left to use. Please empty bottles or buy new ones in the pharmacy.'
|
|
|
end
|
|
|
- if (bpbottlem + bpbottles) = 1:
|
|
|
+ if (mc_inventory['bottle_m'] + mc_inventory['bottle_s']) = 1:
|
|
|
'You have one bottle. You can check it <a href="exec:gs ''lact_bp'',''view_milk_bottles'', 1">here</a>'
|
|
|
- elseif (bpbottlem + bpbottles) > 1:
|
|
|
- 'You have <<bpbottlem + bpbottles>> bottles. You can check them <a href="exec:gs ''lact_bp'',''view_milk_bottles'', 1">here</a>'
|
|
|
+ elseif (mc_inventory['bottle_m'] + mc_inventory['bottle_s']) > 1:
|
|
|
+ 'You have <<mc_inventory[''bottle_m''] + mc_inventory[''bottle_s'']>> bottles. You can check them <a href="exec:gs ''lact_bp'',''view_milk_bottles'', 1">here</a>'
|
|
|
end
|
|
|
|
|
|
if lactation['breastmv'] > 0 and (func('lact_bp','useable_sbottle_count') > 0 or func('lact_bp','useable_mbottle_count') > 0):
|
|
@@ -432,7 +432,7 @@ end
|
|
|
!! for manual milk expression in bathrooms etc. please use this function.
|
|
|
|
|
|
if $ARGS[0] = 'massage':
|
|
|
- if (($location_type ! 'bathroom' and pcs_inhib >= 30) or $location_type = 'bathroom' and breastpump = 0) and (pcs_horny >= 10 or lactation['active'] > 0) and cheat_NoLactation = 0:
|
|
|
+ if (($location_type ! 'bathroom' and pcs_inhib >= 30) or $location_type = 'bathroom' and mc_inventory['breast_pump'] = 0) and (pcs_horny >= 10 or lactation['active'] > 0) and cheat_NoLactation = 0:
|
|
|
if lactation['active'] > 0 and lactation['pc_aware'] > 0:
|
|
|
act 'Milk your breasts': gt 'lact_bp','man_milking'
|
|
|
else
|
|
@@ -460,9 +460,9 @@ if $ARGS[0] = 'man_milking':
|
|
|
minut += 2
|
|
|
'You prepare yourself and weight your breasts in your hands. You feel that your breasts carry a large amount of milk and manually expressing it will probably take a long time.'
|
|
|
'Getting relieve for your breasts with manual expression will probably take at least <<pumptime>> minutes.'
|
|
|
- if breastpump <= 0 and bp_unbox <= 1:
|
|
|
+ if mc_inventory['breast_pump'] <= 0 and bp_unbox <= 1:
|
|
|
'You should consider buying a breast pump'
|
|
|
- elseif breastpump = 1 and bp_unbox <= 1 and pain['nipples'] <= 60:
|
|
|
+ elseif mc_inventory['breast_pump'] = 1 and bp_unbox <= 1 and pain['nipples'] <= 60:
|
|
|
'You should consider using your breast pump.'
|
|
|
else
|
|
|
'You should consider the use of a breast pump.'
|
|
@@ -550,7 +550,7 @@ if $ARGS[0] = 'bp_unbox_event':
|
|
|
'<center><img <<$set_imgh>> src="images/pc/body/tits/pump_unboxing_bath.jpg"></center>'
|
|
|
end
|
|
|
!! creating first 150ml bottle
|
|
|
- bpbottles += 1
|
|
|
+ mc_inventory['bottle_s'] += 1
|
|
|
gs 'lact_bp', 'reg_bottle_count'
|
|
|
!! Actions
|
|
|
if (pcs_inhib > 40 and $location_type = 'private') or $location_type = 'bathroom':
|
|
@@ -721,10 +721,10 @@ end
|
|
|
if $ARGS[0] = 'reg_bottle_count':
|
|
|
if reg_bottles_count <= 0: reg_bottles_count = 0
|
|
|
if reg_bottlem_count <= 0: reg_bottlem_count = 0
|
|
|
- if (reg_bottlem_count + reg_bottles_count) < (bpbottlem + bpbottles):
|
|
|
+ if (reg_bottlem_count + reg_bottles_count) < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
:rbc_loop
|
|
|
rbc_index = (reg_bottlem_count + reg_bottles_count) - 1
|
|
|
- if (bpbottles - reg_bottles_count) > 0:
|
|
|
+ if (mc_inventory['bottle_s'] - reg_bottles_count) > 0:
|
|
|
reg_bottles_count += 1
|
|
|
rbc_index = (reg_bottlem_count + reg_bottles_count) - 1
|
|
|
mbarrtype[rbc_index] = 1500
|
|
@@ -736,7 +736,7 @@ if $ARGS[0] = 'reg_bottle_count':
|
|
|
mbarrloca[rbc_index] = 1
|
|
|
jump 'rbc_loop'
|
|
|
end
|
|
|
- if (bpbottlem - reg_bottlem_count) > 0:
|
|
|
+ if (mc_inventory['bottle_m'] - reg_bottlem_count) > 0:
|
|
|
reg_bottlem_count += 1
|
|
|
rbc_index = (reg_bottlem_count + reg_bottles_count) - 1
|
|
|
mbarrtype[rbc_index] = 2500
|
|
@@ -776,7 +776,7 @@ if $ARGS[0] = 'milking':
|
|
|
if (bp_useable_sbottle - bp_used_sbottle) > 0:
|
|
|
bottlecounter = 0
|
|
|
:sbottle_loneloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles) and milkedvolume > 1500:
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']) and milkedvolume > 1500:
|
|
|
if mbarrtype[bottlecounter] = 1500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,1500)
|
|
|
jump 'bottlefull_loopbreak'
|
|
@@ -787,7 +787,7 @@ if $ARGS[0] = 'milking':
|
|
|
elseif (bp_useable_mbottle - bp_used_mbottle) > 0 and milkedvolume > 2500:
|
|
|
bottlecounter = 0
|
|
|
:mbottle_loneloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 2500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,2500)
|
|
|
jump 'bottlefull_loopbreak'
|
|
@@ -814,7 +814,7 @@ if $ARGS[0] = 'milking':
|
|
|
milkedvolume -= 1500
|
|
|
bottlecounter = 0
|
|
|
:sbottle_searchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 1500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,1500)
|
|
|
jump 'sbottle_searchloopbreak'
|
|
@@ -831,7 +831,7 @@ if $ARGS[0] = 'milking':
|
|
|
milkedvolume -= 2500
|
|
|
bottlecounter = 0
|
|
|
:mbottle_searchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 2500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,2500)
|
|
|
jump 'mbottle_searchloopbreak'
|
|
@@ -850,7 +850,7 @@ if $ARGS[0] = 'milking':
|
|
|
milkedvolume -= 2500
|
|
|
bottlecounter = 0
|
|
|
:sbottle_altsearchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 2500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,2500)
|
|
|
jump 'sbottle_altsearchloopbreak'
|
|
@@ -867,7 +867,7 @@ if $ARGS[0] = 'milking':
|
|
|
milkedvolume -= 1500
|
|
|
bottlecounter = 0
|
|
|
:mbottle_altsearchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 1500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,1500)
|
|
|
jump 'mbottle_altsearchloopbreak'
|
|
@@ -920,7 +920,7 @@ if $ARGS[0] = 'milking':
|
|
|
if (bp_useable_sbottle - bp_used_sbottle) > 0 and milkedvolume <= 1500:
|
|
|
bottlecounter = 0
|
|
|
:sbottle_restsearchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 1500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,milkedvolume)
|
|
|
jump 'sbottlefilled_break'
|
|
@@ -933,7 +933,7 @@ if $ARGS[0] = 'milking':
|
|
|
elseif (bp_useable_mbottle - bp_used_mbottle) > 0 and milkedvolume <= 2500:
|
|
|
bottlecounter = 0
|
|
|
:mbottle_restsearchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 2500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,milkedvolume)
|
|
|
jump 'mbottlefilled_break'
|
|
@@ -970,7 +970,7 @@ if $ARGS[0] = 'milking':
|
|
|
if (bp_useable_sbottle - bp_used_sbottle) > 0 and milkedvolume <= 1500:
|
|
|
bottlecounter = 0
|
|
|
:single_sbottle_searchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 1500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,milkedvolume)
|
|
|
jump 'single_sbottlefilled_break'
|
|
@@ -982,7 +982,7 @@ if $ARGS[0] = 'milking':
|
|
|
elseif (bp_useable_mbottle - bp_used_mbottle) > 0 and milkedvolume <= 2500:
|
|
|
bottlecounter = 0
|
|
|
:single_mbottle_searchloop
|
|
|
- if bottlecounter < (bpbottlem + bpbottles):
|
|
|
+ if bottlecounter < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrtype[bottlecounter] = 2500 and mbarrfill[bottlecounter] = 0:
|
|
|
func('lact_bp','fill_milk_bottle',bottlecounter,milkedvolume)
|
|
|
jump 'single_mbottlefilled_break'
|
|
@@ -1074,12 +1074,12 @@ if $ARGS[0] = 'milking':
|
|
|
cla
|
|
|
piits_i = 0
|
|
|
:piits_emptyloop
|
|
|
- if piits_i < (bpbottlem + bpbottles):
|
|
|
+ if piits_i < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrmage[piits_i] = (pump_timestamp):mbarrfill[piits_i] = 0
|
|
|
piits_i += 1
|
|
|
jump 'piits_emptyloop'
|
|
|
end
|
|
|
- if milkedvolume > 1500 and bpbottles <= 1:
|
|
|
+ if milkedvolume > 1500 and mc_inventory['bottle_s'] <= 1:
|
|
|
'<center><img <<$set_imgh>> src="images/pc/body/tits/milk_sink.jpg"></center>'
|
|
|
'<center>You pour 150ml of your breast milk into the sink and clean up your breast pump.</center>'
|
|
|
else
|
|
@@ -1110,7 +1110,7 @@ if $ARGS[0] = 'milking':
|
|
|
'<center>The milk is still warm from your breasts.</center>'
|
|
|
di_i = 0
|
|
|
:di_emptyloop
|
|
|
- if di_i < (bpbottlem + bpbottles):
|
|
|
+ if di_i < (mc_inventory['bottle_m'] + mc_inventory['bottle_s']):
|
|
|
if mbarrmage[di_i] = (pump_timestamp):mbarrfill[di_i] = 0
|
|
|
di_i += 1
|
|
|
jump 'di_emptyloop'
|