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

[added/changed] added a slow degredation to bodyVars['bust_other'], moved the degredation and breast cream effects to 'body' and implemented into the daily body update

anjuna krokus 5 месяцев назад
Родитель
Сommit
315152823a
2 измененных файлов с 57 добавлено и 15 удалено
  1. 57 2
      locations/body.qsrc
  2. 0 13
      locations/cikl.qsrc

+ 57 - 2
locations/body.qsrc

@@ -58,8 +58,8 @@ if $ARGS[0] = 'UpdateBodyMeasurement':
 	pcs_hips  = (pcs_hgt   * bodyVars['hratio']) / 100 + bodyVars['vhips']
 	pcs_waist = (pcs_hips  * bodyVars['wratio']) / 100 + bodyVars['vofat']
 	pcs_band  = (pcs_waist * bodyVars['bratio']) / 100 + bodyVars['vofat']
-	pcs_bust  = (pcs_waist * bodyVars['bratio']) / 100 + pcs_mass['bust'] + bodyVars['bust_magic'] + bodyVars['bust_silicone'] + bodyVars['bust_other']
-	pcs_butt  = (pcs_hips  * 10    ) / 100 + bodyVars['butt_bonus'] + bodyVars['butt_silicone'] + bodyVars['butt_cheat'] + pcs_butt_tr + bodyVars['butt_other']
+	pcs_bust  = (pcs_waist * bodyVars['bratio']) / 100 + pcs_mass['bust'] + bodyVars['bust_magic'] + bodyVars['bust_silicone'] + max(-10, min(bodyVars['bust_other'], 10))
+	pcs_butt  = (pcs_hips  * 10    ) / 100 + bodyVars['butt_bonus'] + bodyVars['butt_silicone'] + bodyVars['butt_cheat'] + pcs_butt_tr + bodyVarsmax(-5, min(bodyVars['butt_other'], 5))
 
 	!! pcs_cupsize = pcs_mass['bust'] + bodyVars['bust_magic'] + bodyVars['bust_silicone'] - bodyVars['vofat']
 	pcs_cupsize = pcs_bust - pcs_band
@@ -130,6 +130,9 @@ if $ARGS[0] = 'DailyUpdate':
 
 	gs 'body', 'UpdateBodyImage'
 
+
+	gs 'body', 'Update_daily_body_other'
+
 	gs 'body', 'Update_Eyelashes'
 	gs 'body', 'Update_Hair'
 	gs 'body', 'Update_Pubes_and_leghair'
@@ -259,6 +262,7 @@ if $ARGS[0] = 'Update_Teeth':
 end
 
 
+	!!-------------------------    UPDATE images   -------------------------!!
 
 if $ARGS[0] = 'UpdateBodyImage':
 	!Update body image set
@@ -299,6 +303,14 @@ end
 
 
 
+
+	!!===================================!!
+	!!                                   !!
+	!!           Update Body             !!
+	!!                                   !!
+	!!===================================!!
+
+
 if $ARGS[0] = 'Update_Body':
 	gs 'body', 'Update_StatBuffs'
 
@@ -429,6 +441,49 @@ if $ARGS[0] = 'Update_StatBuffs':
 	end
 end
 
+if $ARGS[0] = 'Update_daily_body_other':
+	if bodyVars['bust_other'] ! 0:
+		if daystart mod 10 = 0:
+			if bodyVars['bust_other'] > 0:
+				bodyVars['bust_other'] -= 1
+			else
+				bodyVars['bust_other'] += 1
+			end
+		end
+	end
+
+	if bodyVars['butt_other'] ! 0:
+		if daystart mod 15 = 0:
+			if bodyVars['butt_other'] > 0:
+				bodyVars['butt_other'] -= 1
+			else
+				bodyVars['butt_other'] += 1
+			end
+		end
+	end
+
+	if bcream_used >= 1:
+		bcream_used = 0
+
+		temp = pcs_mass['bust'] - pcs_mass['bust_gen']
+		temp = rand(0, 5 + max(0, temp)) / max(1, temp)
+
+		if temp > 0:
+			bodyVars['bust_other'] += 1
+			'Feels like your breasts have grown slightly.'
+		end
+		killvar 'temp'
+	end
+
+	if steroid_dose >= 1:
+		if lashair < 1:
+			pcs_pubes += steroid_dose
+			pcs_leghair += steroid_dose
+		end
+		steroid_dose = 0
+	end
+end
+
 
 	!!-------------------------    RATIOS    -------------------------!!
 

+ 0 - 13
locations/cikl.qsrc

@@ -1015,19 +1015,6 @@ mosal_time = totminut
 !!also, the first thing you do in the morning is visiting your porcelain friend, no?
 killvar 'last_pee'
 
-if bcream_used >= 1:
-	bcream_used = 0
-
-	temp = pcs_mass['bust'] - pcs_mass['bust_gen']
-	temp = rand(0, 5 + max(0, temp)) / max(1, temp)
-
-	if temp > 0:
-		bodyVars['bust_other'] += 1
-		'Feels like your breasts have grown slightly.'
-	end
-	killvar 'temp'
-end
-
 if steroid_dose >= 1:
 	if lashair < 1:
 		pcs_pubes += steroid_dose