Parcourir la source

[Fixed] No longer have to buy the guys food too so you actually save some money now

KevinSmarts il y a 5 ans
Parent
commit
f629318296
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      locations/pavSharedApt.qsrc

+ 3 - 3
locations/pavSharedApt.qsrc

@@ -600,6 +600,7 @@ if $ARGS[0] = 'kitchen':
 	'<center><h3>Kitchen</h3></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/kuhrpar.jpg"></center>'
 	'It''s a modest kitchen, but has all that is needed.'
+	'You can cook breakfast for the guys between 6:00 and 7:00 and dinner for them between 18:00 and 19:00'
 
 	! dishes
 	if cltarelka > 0:
@@ -625,7 +626,7 @@ if $ARGS[0] = 'kitchen':
 	if edahot > 0:'<a href="exec: dynamic $edahotd ">On the table is ready meal (0:30).</a>'
 	if edaD = 0 and eda = 0:'<b><font color="red">You have nothing to eat, the refrigerator is empty!</font></b>'
 
-	if eda >= 3: '<a href="exec: gt ''pavSharedApt'', ''cookForGuys''">Cook meal (1:30) for the guys</a>'
+	if hour = 6 or hour = 18:'<a href="exec: gt ''pavSharedApt'', ''cookForGuys''">Cook meals for the guys (1:30)</a>'
 	
 	dynamic $edasnack
 	dynamic $driwater
@@ -646,12 +647,11 @@ if $ARGS[0] = 'cookForGuys':
 	$loc = 'pavSharedApt'
 	$metka = 'kitchen'
 	minut += 90
-	eda -= 3
 	kuhdrova = 0
 	pcs_mood -= 10
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
-	'You prepare three meals.'
+	'You prepare three meals, using what you can from the guys food. Its not very healthy but you''re not planning to offer to do their shopping too.'
 	price = price_cook
 
 	act 'Leave the meal':gt 'pavSharedApt', 'payService'