1
0
Просмотр исходного кода

moved the work option to the top of the list and set the time to the start of the shift

julzor 6 лет назад
Родитель
Сommit
a569b44eaf
1 измененных файлов с 31 добавлено и 31 удалено
  1. 31 31
      locations/young_shop

+ 31 - 31
locations/young_shop

@@ -55,41 +55,12 @@ if hour >= 9 and hour < 18 and week < 6 and (young_shop_work = 3 or young_shop_w
 	end
 end
 
-act '<b>Leave the shop</b>':
-	minut += 3
-	gt 'torgcentr'
-end
-
-act 'Look through the clothes on sale':
-	minut += 1
-	gt 'sell_young_clothes', 'start'
-end
-
-act 'Look through the panties on sale':
-	minut += 1
-	gt 'sell_young_clothes', 'panties'
-end
-
-act 'Look through the bras on sale':
-	minut += 1
-	gt 'sell_young_clothes', 'bras'
-end
-
-act 'Look through the shoes on sale':
-	minut += 1
-	gt 'sell_young_clothes', 'shoes'
-end
-
-act 'Look through the purses on sale':
-	minut += 1
-	gt 'sell_young_clothes', 'purses'
-end
-
 if ((hour = 15 and minut <= 5) or (hour = 14 and minut >= 30)) and young_shop_work = 1 and week < 6:
-	act 'Work':
+	act '<b>Work</b>':
 		cla
 		inWorkYoungShop = 1
 		young_shop_salary += 1
+		if hour < 15:hour = 15 & minut = 0
 		minut += 135
 		gs 'stat'
 		'You spend 2 hours cleaning the department, folding and rehanging clothes and serving customers. The store now looks clean and pretty organized.'
@@ -639,6 +610,35 @@ if ((hour = 15 and minut <= 5) or (hour = 14 and minut >= 30)) and young_shop_wo
 	end
 end
 
+act 'Leave the shop':
+	minut += 3
+	gt 'torgcentr'
+end
+
+act 'Look through the clothes on sale':
+	minut += 1
+	gt 'sell_young_clothes', 'start'
+end
+
+act 'Look through the panties on sale':
+	minut += 1
+	gt 'sell_young_clothes', 'panties'
+end
+
+act 'Look through the bras on sale':
+	minut += 1
+	gt 'sell_young_clothes', 'bras'
+end
+
+act 'Look through the shoes on sale':
+	minut += 1
+	gt 'sell_young_clothes', 'shoes'
+end
+
+act 'Look through the purses on sale':
+	minut += 1
+	gt 'sell_young_clothes', 'purses'
+end
 
 if hour >= 8 and hour <= 18 and young_shop_miss >= 3 and week < 6 and young_shop_work = 1:gt 'andrey'