Browse Source

[added] refillable sports water bottle to the purse, sportsShop and the basic player home

julzor 5 years ago
parent
commit
14a00b191e

+ 7 - 0
locations/din_bad.qsrc

@@ -167,6 +167,13 @@ if $ARGS[0] = 'd_bag':
 	if aphrodisiac_have > 0:'<a href="exec:dynamic $use_aphrodisiac & gs ''din_bad'', ''d_bag''">Chew aphrodisiac gum.</a> You have <b><<aphrodisiac_have>></b> gum left in your purse.'
 	if aphrodisiac_have > 0:'<a href="exec:dynamic $use_aphrodisiac & gs ''din_bad'', ''d_bag''">Chew aphrodisiac gum.</a> You have <b><<aphrodisiac_have>></b> gum left in your purse.'
 
 
 	if lubri > 0:'There''s a tube of lubricant in your purse, enough for <b><<lubri>></b> applications.'
 	if lubri > 0:'There''s a tube of lubricant in your purse, enough for <b><<lubri>></b> applications.'
+	if refillable_bottle = 3: 
+		'You carry your sports water bottle in your purse. It''s still completely full. <a href="exec: refillable_bottle = 2 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
+	elseif refillable_bottle = 2:
+		'You carry your sports water bottle in your purse. It''s half full. <a href="exec: refillable_bottle = 1 & pcs_hydra += 75 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
+	elseif refillable_bottle = 1:
+		'You carry your sports water bottle in your purse. It''s empty.'
+	end
 	if bottle > 0: 'There''s a bottle of water in your purse. <a href="exec:bottle = 0 & pcs_hydra += 100 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
 	if bottle > 0: 'There''s a bottle of water in your purse. <a href="exec:bottle = 0 & pcs_hydra += 100 & cumspclnt = 2 & gs ''cum_cleanup'' & gs ''stat'' & gs ''din_bad'', ''d_bag''">Drink</a>'
 	if buterbrod > 0: 'There''s a sandwich in your purse. <a href="exec:buterbrod = 0 & pcs_energy += 40 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Eat</a>'
 	if buterbrod > 0: 'There''s a sandwich in your purse. <a href="exec:buterbrod = 0 & pcs_energy += 40 & cumspclnt = 2 & gs ''cum_cleanup'' & fat += 1 & gs ''stat'' & gs ''din_bad'', ''d_bag''">Eat</a>'
 	if wine = 1 and alkowine = 0:'There''s a bottle of <a href="exec:dynamic $dinalkowin1">wine</a> in your purse.'
 	if wine = 1 and alkowine = 0:'There''s a bottle of <a href="exec:dynamic $dinalkowin1">wine</a> in your purse.'

+ 12 - 0
locations/kit_din.qsrc

@@ -534,6 +534,18 @@ $driwater = {
 	end
 	end
 }
 }
 
 
+$fill_bottle = {
+	if refillable_bottle = 1 or refillable_bottle = 2:
+		*nl
+		'You can fill your sports water bottle with filtrated tap water.'
+		act 'Fill your water bottle (0:01)':
+			minut += 1
+			refillable_bottle = 3
+			gt $loc, $metka
+		end
+	end
+}
+
 $lekarstvo = {
 $lekarstvo = {
 	if lekarstvo > 0:
 	if lekarstvo > 0:
 		'You have <b><<lekarstvo>></b> tablets.'
 		'You have <b><<lekarstvo>></b> tablets.'

+ 2 - 1
locations/kuhr.qsrc

@@ -73,8 +73,9 @@ if husband > 0 and husbandrink ! 10:
 	if hour = 7 or hour = 17:'<a href="exec:gt ''husb'', ''start''">Your husband is eating at the table.</a>'
 	if hour = 7 or hour = 17:'<a href="exec:gt ''husb'', ''start''">Your husband is eating at the table.</a>'
 end
 end
 
 
-dynamic $pranik
+dynamic $fill_bottle
 dynamic $edaD
 dynamic $edaD
+dynamic $pranik
 dynamic $fatdel
 dynamic $fatdel
 dynamic $driwater
 dynamic $driwater
 
 

+ 2 - 1
locations/kuhr2x.qsrc

@@ -77,8 +77,9 @@ if husband > 0 and husbandrink ! 10:
 	end
 	end
 end
 end
 
 
-dynamic $pranik
+dynamic $fill_bottle
 dynamic $edaD
 dynamic $edaD
+dynamic $pranik
 dynamic $fatdel
 dynamic $fatdel
 dynamic $driwater
 dynamic $driwater
 
 

+ 1 - 0
locations/kuhrPar.qsrc

@@ -40,6 +40,7 @@ act 'Eat a meal (0:30)': dynamic $edahotd
 dynamic $edasnack
 dynamic $edasnack
 dynamic $driwater
 dynamic $driwater
 dynamic $dritea
 dynamic $dritea
+dynamic $fill_bottle
 dynamic $edaD
 dynamic $edaD
 dynamic $pranik
 dynamic $pranik
 dynamic $fatdel
 dynamic $fatdel

+ 7 - 1
locations/sportShop.qsrc

@@ -10,7 +10,13 @@ if $ARGS[0] = 'start':
 	'<center><img src="images/locations/city/citycenter/mall/sportshop/sportshop.jpg"></center>'
 	'<center><img src="images/locations/city/citycenter/mall/sportshop/sportshop.jpg"></center>'
 	*nl
 	*nl
 	'As soon as you enter, a high energy song with a thumping baseline fills your eardrums, making you feeling pumped and awake. The store is sleek and professional, the walls and floors advertising all different kinds of sporting equipment and attire. The room is filled with beautifully fit people shopping, their bodies varying from big and muscular to lean and trim. If they don''t inspire you to want to work out, the posters advertising past and present famous athletes is motivating as hell.'
 	'As soon as you enter, a high energy song with a thumping baseline fills your eardrums, making you feeling pumped and awake. The store is sleek and professional, the walls and floors advertising all different kinds of sporting equipment and attire. The room is filled with beautifully fit people shopping, their bodies varying from big and muscular to lean and trim. If they don''t inspire you to want to work out, the posters advertising past and present famous athletes is motivating as hell.'
-
+	*nl
+	if refillable_bottle = 0 and money >= 1000 and bag > 0: 
+		'You can buy a high-quality <a href="exec:minut += 5 & money -= 1000 & refillable_bottle = 1 & gt ''sportShop'', ''start''">water bottle</a> that you can carry around in your purse.'
+	elseif refillable_bottle = 0 and (money < 1000 or bag = 0):
+		'The shop sells high-quality water bottles for 1,000 <b>₽</b>. You could carry one around in '+iif(bag > 0, 'your', 'a')+' purse.'
+	end
+	
 	act 'Leave':
 	act 'Leave':
 		cla
 		cla
 		minut += 3
 		minut += 3