|
@@ -903,13 +903,24 @@ end
|
|
|
if $ARGS[0] = 'endwork':
|
|
|
!!if young_shop_work = 1 and young_shop_miss < 3:
|
|
|
cla
|
|
|
-
|
|
|
- if week = 5 and young_shop_salary > 0:
|
|
|
- act '<font color="green">Collect your pay</font>':gt 'andrey'
|
|
|
- else
|
|
|
- act '<b>Leave the store</b>':
|
|
|
- minut += 3
|
|
|
- gt 'torgcentr'
|
|
|
+
|
|
|
+ if young_shop_work = 1 or young_shop_work2 = 1:
|
|
|
+ if week = 5 and young_shop_salary > 0:
|
|
|
+ act '<font color="green">Collect your pay</font>':gt 'andrey'
|
|
|
+ else
|
|
|
+ act '<b>Leave the store</b>':
|
|
|
+ minut += 3
|
|
|
+ gt 'torgcentr'
|
|
|
+ end
|
|
|
+ end
|
|
|
+ elseif young_shop_work1 = 1:
|
|
|
+ if week = 7 and young_shop_salary > 0:
|
|
|
+ act '<font color="green">Collect your pay</font>':gt 'andrey'
|
|
|
+ else
|
|
|
+ act '<b>Leave the store</b>':
|
|
|
+ minut += 3
|
|
|
+ gt 'torgcentr'
|
|
|
+ end
|
|
|
end
|
|
|
end
|
|
|
end
|