1
0
Эх сурвалжийг харах

[fixed] Can still do dance classes in Pav even if you can't increase skill and have a 20% chance of Albina showing up after instead of her turning up straight away say its after the class

Kevin_Smarts 2 жил өмнө
parent
commit
ac742a4940
1 өөрчлөгдсөн 26 нэмэгдсэн , 9 устгасан
  1. 26 9
      locations/gdksport.qsrc

+ 26 - 9
locations/gdksport.qsrc

@@ -227,8 +227,6 @@ if $ARGS[0] = 'dance2':
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/community/dance_studio/fit1.jpg"></center>'
 
-	act 'Leave': gt 'gdksport', 'start'
-
 	if pcs_danc < 50:
 		gsAboDance -= 1
 		timemult = 8
@@ -249,16 +247,35 @@ if $ARGS[0] = 'dance2':
 		end
 		!place for use in events
 		gs 'stat'
+		act 'Leave': gt 'gdksport', 'start'
 	else
-		'There is nothing you can learn from this dance class with your current skill. You need to find a new teacher or travel to the city to find better dance classes if you wish to improve further.'
+		gsAboDance -= 1
+		timemult = 8
+		loopcount = 1
+		:dancetimeloop2
+		gs 'exercise', 'tier2', 0, 'agil_exp'
+		if loopcount < timemult: loopcount += 1 & jump 'dancetimeloop2'
+		loopcount = 0
+		timemult = 0
+		if pcs_inhib < 40:inhib_exp += rand(1,2)
+		gs 'stat'
 
-		if AlbinaQW['StarletsJoined'] = 0 and StoryLine ! 0 and ( month < 10 or ( month = 10 and day < 18 )):
-			if alterstrtimg = 13:
-				gt 'AlbStars', 'albina3'
-			elseif grupTipe = 1 or grupTipe = 2:
-				gt 'AlbStars', 'albina2'
+		'You take a lesson in modern dance, which is very popular with people your age.'
+		'There is nothing you can learn from this dance class with your current skill. You need to find a new teacher or travel to the city to find better dance classes if you wish to improve further, it is still good exercise.'
+
+		act 'Leave':
+			if rand (0,4):
+				if AlbinaQW['StarletsJoined'] = 0 and StoryLine ! 0 and ( month < 10 or ( month = 10 and day < 18 )):
+					if alterstrtimg = 13:
+						gt 'AlbStars', 'albina3'
+					elseif grupTipe = 1 or grupTipe = 2:
+						gt 'AlbStars', 'albina2'
+					else
+						gt 'AlbStars', 'albina1'
+					end
+				end
 			else
-				gt 'AlbStars', 'albina1'
+				gt 'gdksport', 'start'
 			end
 		end
 	end