Sfoglia il codice sorgente

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

anjuna krokus 5 mesi fa
parent
commit
5aceb5d517
1 ha cambiato i file con 11 aggiunte e 3 eliminazioni
  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['butt_message'] = pcs_mass['butt']
 	
+	bodyVars['vhips'] = (pcs_mass['body'] - 60 + pcs_mass['butt'] - pcs_mass['butt_gen']) / 2
 end
 
 
@@ -840,9 +841,13 @@ end
 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
 	bodyresetflag = 1
+	if gamestartflag = 1: static_body_mass = pcs_mass['body']
 	:resetloop
 	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'
 		jump 'resetloop'
 	end
@@ -853,6 +858,7 @@ if $ARGS[0] = 'softreset':
 	!!Clears the warning and reset status flags if they were set
 	bodyresetflag = 0
 	btwarn = 0
+	killvar 'static_body_mass'
 end
 
 if $ARGS[0] = 'hardreset':
@@ -934,8 +940,10 @@ end
 if $ARGS[0] = 'initial':
 	!!	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
-	
-	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
 	strenbuf = pcs_stren