1
0
Selaa lähdekoodia

[fixed] some more fixes in body to ensure that the starting mass distribution is truly as defined in the start

anjuna krokus 9 kuukautta sitten
vanhempi
sitoutus
5aceb5d517
1 muutettua tiedostoa jossa 11 lisäystä ja 3 poistoa
  1. 11 3
      locations/body.qsrc

+ 11 - 3
locations/body.qsrc

@@ -759,6 +759,7 @@ if $ARGS[0] = 'Set_mass_distribution_using_body':
 	pcs_mass['bust_message'] = pcs_mass['bust']
 	pcs_mass['bust_message'] = pcs_mass['bust']
 	pcs_mass['butt_message'] = pcs_mass['butt']
 	pcs_mass['butt_message'] = pcs_mass['butt']
 	
 	
+	bodyVars['vhips'] = (pcs_mass['body'] - 60 + pcs_mass['butt'] - pcs_mass['butt_gen']) / 2
 end
 end
 
 
 
 
@@ -840,9 +841,13 @@ end
 if $ARGS[0] = 'softreset':
 if $ARGS[0] = 'softreset':
 	!!This is for use in immediately updating shape if something has caused a large change in pcs_mass['body'], primarily fat burners and plastic surgery
 	!!This is for use in immediately updating shape if something has caused a large change in pcs_mass['body'], primarily fat burners and plastic surgery
 	bodyresetflag = 1
 	bodyresetflag = 1
+	if gamestartflag = 1: static_body_mass = pcs_mass['body']
 	:resetloop
 	:resetloop
 	if pcs_mass['body'] ! salolast:
 	if pcs_mass['body'] ! salolast:
-		if gamestartflag = 1: salobustdo = 1
+		if gamestartflag = 1:
+			salobustdo = 1
+			pcs_mass['body'] = static_body_mass
+		end
 		gs 'body', 'Update_Body'
 		gs 'body', 'Update_Body'
 		jump 'resetloop'
 		jump 'resetloop'
 	end
 	end
@@ -853,6 +858,7 @@ if $ARGS[0] = 'softreset':
 	!!Clears the warning and reset status flags if they were set
 	!!Clears the warning and reset status flags if they were set
 	bodyresetflag = 0
 	bodyresetflag = 0
 	btwarn = 0
 	btwarn = 0
+	killvar 'static_body_mass'
 end
 end
 
 
 if $ARGS[0] = 'hardreset':
 if $ARGS[0] = 'hardreset':
@@ -934,8 +940,10 @@ end
 if $ARGS[0] = 'initial':
 if $ARGS[0] = 'initial':
 	!!	Sets the genetic bust size if it was not set in the start routines
 	!!	Sets the genetic bust size if it was not set in the start routines
 	if pcs_mass['bust_gen'] = 0: pcs_mass['bust_gen'] = 12
 	if pcs_mass['bust_gen'] = 0: pcs_mass['bust_gen'] = 12
-	
-	gs 'body', 'Set_mass_distribution_using_body', pcs_mass['body']
+	if pcs_mass['butt_gen'] = 0: pcs_mass['butt_gen'] = 20
+
+	pcs_mass['bust'] = pcs_mass['bust_gen']
+	pcs_mass['butt'] = pcs_mass['butt_gen']
 
 
 	agilbuf = pcs_agil
 	agilbuf = pcs_agil
 	strenbuf = pcs_stren
 	strenbuf = pcs_stren