Преглед изворни кода

[changed] Changed the running at the school sport facility to use the proper exercise gosub.

bgkjdgbizgblzdgbr пре 2 година
родитељ
комит
dff852a1b9
1 измењених фајлова са 3 додато и 5 уклоњено
  1. 3 5
      locations/gschool_grounds.qsrc

+ 3 - 5
locations/gschool_grounds.qsrc

@@ -349,11 +349,9 @@ if $ARGS[0] = 'sports':
 		act 'Go for a run (1 hour)':
 			*clr & cla
 			menu_off = 1
-			minut += 60
-			schoolrunday = daystart
-			fat -= rand(2, 7)
-			run_exp += rand(0, 2)
-			gs 'sweat', 'add', 20
+			gs 'exercise', 'tier1', 60, 'run_exp'
+			fat -= rand(0,4)
+			gs 'sweat', 'add', 5
 			gs 'stat'
 			if month > 2 and month < 9:
 				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/runsummer.jpg"></center>'