Browse Source

[fixed] Hair accessory options shouldn't show under 80 length

Alaratt 3 years ago
parent
commit
314c8282a3
2 changed files with 6 additions and 6 deletions
  1. 2 2
      locations/din_bad.qsrc
  2. 4 4
      locations/mirror.qsrc

+ 2 - 2
locations/din_bad.qsrc

@@ -142,11 +142,11 @@ if $ARGS[0] = 'd_bag':
 	elseif (compact_mirror = 1 or greben = 1) and pcs_hairbsh = 1: 
 		'There''s a hairbrush in your purse. Your hair doesn''t need brushing right now.'
 	end
-	if pcs_hairlng > 41 and hscrunch >= 1 and hbraids = 0:
+	if pcs_hairlng > 80 and hscrunch >= 1 and hbraids = 0:
 		if hscrunchw = 0 and hpingripw = 0: 'As you have a scrunchy, you can arrange your hair into a <a href="exec:hscrunchw = 1 & gs ''din_bad'', ''d_bag''">ponytail</a>. You have <<hscrunch>> scrunchies left.'
 		if hscrunchw = 1: 'Remove the <a href="exec:hscrunchw = 0 & gs ''din_bad'', ''d_bag''">scrunchie</a> to get rid of the ponytail.'
 	end
-	if pcs_hairlng > 41 and hpingrip >= 1 and hbraids = 0:
+	if pcs_hairlng > 80 and hpingrip >= 1 and hbraids = 0:
 		if hscrunchw = 0 and hpingripw = 0: 'You have several clips, pins and grips for you hair. Hence, you can <a href="exec:hpingripw = 1 & gs ''din_bad'', ''d_bag''">updo your hair</a>. You have <<hpingrip>> hair accessories at your disposal.'
 		if hpingripw = 1: 'Let your hair <a href="exec:hpingripw = 0 & gs ''din_bad'', ''d_bag''">flow free</a>.'
 	end

+ 4 - 4
locations/mirror.qsrc

@@ -33,7 +33,7 @@ if $ARGS[0] = 'start':
 		if hscrunch < 2:hpigtail = 0
 
 		if pcs_hairbsh = 0: $serv['hairbrush']='<a href="exec: xgt ''mirror'', ''brush''"><img src="images/system/icon/action_icons/hairbrush.png"></a>'
-		if pcs_hairlng > 41 and hscrunch >= 1 and hbraids = 0:
+		if pcs_hairlng > 80 and hscrunch >= 1 and hbraids = 0:
 			if hscrunchw = 0 and hpingripw = 0:
 				$serv['ponytail']='<a href="exec:hscrunchw = 1 & gs ''mirror'', ''start''"><img src="images/system/icon/action_icons/scrunchy.png"></a>'
 				$serv['ponytail desc']='As you have a scrunchy, you can arrange your hair into a <a href="exec:hscrunchw = 1 & gs ''mirror'', ''start''">ponytail</a>. You have <b><<hscrunch>></b> scrunchies left.'
@@ -43,7 +43,7 @@ if $ARGS[0] = 'start':
 				$serv['ponytail desc']='Remove the <a href="exec:hscrunchw = 0 & gs ''mirror'', ''start''">scrunchie</a> to get rid of the ponytail.'
 			end
 		end
-		if pcs_hairlng > 41 and hpingrip >= 1 and hbraids = 0:
+		if pcs_hairlng > 80 and hpingrip >= 1 and hbraids = 0:
 			if hscrunchw = 0 and hpingripw = 0:
 				$serv['bun']='<a href="exec:hpingripw = 1 & gs ''mirror'', ''start''"><img src="images/system/icon/action_icons/clips_pins_grips.png"></a>'
 				$serv['bun desc']='You have several clips, pins and grips for you hair. Hence, you can <a href="exec:hpingripw = 1 & gs ''mirror'', ''start''">updo your hair</a>. You have <b><<hpingrip>></b> hair accessories at your disposal.'
@@ -178,13 +178,13 @@ if $ARGS[0] = 'start':
 		if hpingrip < 1:hpingripw = 0
 		if hscrunch < 2:hpigtail = 0
 
-		if pcs_hairlng > 41 and hscrunch >= 1 and hbraids = 0:
+		if pcs_hairlng > 80 and hscrunch >= 1 and hbraids = 0:
 			*nl
 			if hscrunchw = 0 and hpingripw = 0: 'As you have a scrunchy, you can arrange your hair into a <a href="exec:hscrunchw = 1 & gs ''mirror'', ''start''">ponytail</a>. You have <<hscrunch>> scrunchies left.'
 			if hscrunchw = 1: 'Remove the <a href="exec:hscrunchw = 0 & gs ''mirror'', ''start''">scrunchie</a> to get rid of the ponytail.'
 		end
 
-		if pcs_hairlng > 41 and hpingrip >= 1 and hbraids = 0:
+		if pcs_hairlng > 80 and hpingrip >= 1 and hbraids = 0:
 			if hscrunchw = 0 and hpingripw = 0: 'You have several clips, pins and grips for you hair. Hence, you can <a href="exec:hpingripw = 1 & gs ''mirror'', ''start''">updo your hair</a>. You have <<hpingrip>> hair accessories at your disposal.'
 			if hpingripw = 1: 'Let your hair <a href="exec:hpingripw = 0 & gs ''mirror'', ''start''">flow free</a>.'
 		end