|
@@ -67,12 +67,12 @@ if $ARGS[0] = 'start':
|
|
|
$serv['pigtails desc']='<a href="exec:hpigtail = 0 & hscrunchw = 0 & gs ''mirror'', ''start''">Remove</a> your scrunchies and let your hair flow free again.'
|
|
|
end
|
|
|
end
|
|
|
- if canBraidHair = 1 and mc_inventory['scrunchies'] >= 1 and hBraids = 0 and (pcs_hairlng > 80 and pcs_hairlng <= 800) and hscrunchw = 0 and hpingripw = 0 and hscrunchw = 0:
|
|
|
- $serv['braid']='<a href="exec:hbraids = 15 & minut += 30 & gs ''mirror'', ''start''"><img src="images/system/icons/action/braiding.png"></a>'
|
|
|
- $serv['braid desc']='You can spend half an hour <a href="exec:hbraids = 15 & minut += 30 & gs ''mirror'', ''start''">braiding</a> your hair, just the way your sister taught you.'
|
|
|
+ if canBraidHair = 1 and mc_inventory['scrunchies'] >= 1 and hBraids = 0 and (pcs_hairlng > 80 and pcs_hairlng <= 800) and hscrunchw = 0 and hpingripw = 0 and hpigtail = 0:
|
|
|
+ $serv['braid']='<a href="exec:hbraids = 15 & minut += pcs_hairlng/10 & gs ''mirror'', ''start''"><img src="images/system/icons/action/braiding.png"></a>'
|
|
|
+ $serv['braid desc']='You can spend <<pcs_hairlng/10>> minutes <a href="exec:hbraids = 15 & minut += pcs_hairlng/10 & gs ''mirror'', ''start''">braiding</a> your hair, just the way your sister taught you.'
|
|
|
elseif hbraids > 0:
|
|
|
- $serv['braid']='<a href="exec:hbraids = 0 & minut += 30 & gs ''mirror'', ''start''"><img src="images/system/icons/action/braid.png"></a>'
|
|
|
- $serv['braid desc']='Take half an hour removing your <a href="exec:hbraids = 0 & minut += 30 & gs ''mirror'', ''start''">braid</a>.'
|
|
|
+ $serv['braid']='<a href="exec:hbraids = 0 & minut += hbraids*2+pcs_hairlng/50 & gs ''mirror'', ''start''"><img src="images/system/icons/action/braid.png"></a>'
|
|
|
+ $serv['braid desc']='Take <<hbraids*2+pcs_hairlng/50>> minutes removing your <a href="exec:hbraids = 0 & minut += hbraids*2+pcs_hairlng/50 & gs ''mirror'', ''start''">braid</a>.'
|
|
|
end
|
|
|
! ----- actions
|
|
|
$serv['back']='<a href="exec: gt ''mirror'',''fin''"><img src="images/system/icons/action/back.png"></a>'
|
|
@@ -261,7 +261,7 @@ if $ARGS[0] = 'start':
|
|
|
if hscrunchw = 2: '<a href="exec:hpigtail = 0 & hscrunchw = 0 & gs ''mirror'', ''start''">Remove</a> your scrunchies and let your hair flow free again.'
|
|
|
end
|
|
|
|
|
|
- if canBraidHair = 1 and mc_inventory['scrunchies'] >= 1 and hBraids = 0 and (pcs_hairlng > 80 and pcs_hairlng <= 800) and hscrunchw = 0 and hpingripw = 0 and hscrunchw = 0:
|
|
|
+ if canBraidHair = 1 and mc_inventory['scrunchies'] >= 1 and hBraids = 0 and (pcs_hairlng > 80 and pcs_hairlng <= 800) and hscrunchw = 0 and hpingripw = 0 and hpigtail = 0:
|
|
|
'You can spend half an hour <a href="exec:hbraids = 15 & minut += 30 & gs ''mirror'', ''start''">braiding</a> your hair, just the way your sister taught you.'
|
|
|
end
|
|
|
|
|
@@ -551,7 +551,7 @@ end
|
|
|
if $ARGS[0] = 'brush':
|
|
|
menu_off = 1
|
|
|
*clr & cla
|
|
|
- minut += 3
|
|
|
+ minut += max(1, pcs_hairlng/20)
|
|
|
pcs_hairbsh = 1
|
|
|
if newstylemirror = 1:
|
|
|
$serv['noaction'] = '<img <<$set_imgh>> src="images/system/icons/blank.png">'
|