Explorar o código

[fixed] breast cream now properly (and for now permanently) affects breast growth. Added some comments to body.

anjuna krokus hai 5 meses
pai
achega
594b70d028
Modificáronse 2 ficheiros con 22 adicións e 9 borrados
  1. 9 3
      locations/body.qsrc
  2. 13 6
      locations/cikl.qsrc

+ 9 - 3
locations/body.qsrc

@@ -1,14 +1,20 @@
 # body
 
-!!bodyVars['vhips'] = derived from pcs_mass['body'] in body_shape
-!!vhtmp = slows the change to vhips in body_shape
 !!bodyVars['wratio'] = waist to hips ratio set in body_shape
 !!bodyVars['bratio'] = band to waist ratio set in body_shape
 !!bodyVars['hratio'] = hip to height ratio set in body_shape
 !!bodyVars['vofat'] = used as a place to put extra pcs_mass['body'] at extreme high values (i.e. really, really fat) set in body_shape
+!!
+!!pcs_mass['butt'] = starts at a set genetic butt size, but can be adjusted down if pcs_mass['body'] drops too low
+!!pcs_mass['butt_gen'] = the set genetic bust size
+!!bodyVars['vhips'] = derived from pcs_mass['body'] and pcs_mass['butt'] in body_shape
+!!vhtmp = slows the change to vhips in body_shape
+!!
 !!pcs_mass['bust'] = starts at a set genetic bust size, but can be adjusted down if pcs_mass['body'] drops too low
-!!bodyVars['bust_magic'] = set in body_shape for the fat moved to bust
 !!pcs_mass['bust_gen'] = the set genetic bust size
+!!bodyVars['bust_magic'] = set in body_shape for the fat moved to bust
+!!bodyVars['bust_other'] = other additions to bust-size, including breast creams
+!!
 !!salocatnow = the current category of pcs_mass['body']
 !!salocatlast = the previous category of pcs_mass['body']
 !!magf2bdo = flag for magic bust increase; 0, ready; 1, do it; 2, ask; 3, no

+ 13 - 6
locations/cikl.qsrc

@@ -1017,11 +1017,17 @@ killvar 'last_pee'
 
 if bcream_used >= 1:
 	bcream_used = 0
-	temp = rand(0, 5 + max(0, pcs_mass['bust'] - pcs_mass['bust_gen'])) / max(1, pcs_mass['bust'] - pcs_mass['bust_gen'])
-	if temp > 0: temp = 1
-	pcs_mass['bust'] += temp
-	if temp > 0:'Feels like your breasts have grown slightly.'
+
+	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
@@ -1029,8 +1035,9 @@ if steroid_dose >= 1:
 	end
 	steroid_dose = 0
 end
-if aphrodisiac_overdose = 1:aphrodisiac_overdose = 0
-if aphrodisiac_timer ! 0:aphrodisiac_timer	= 0
+
+if aphrodisiac_overdose = 1: aphrodisiac_overdose = 0
+if aphrodisiac_timer ! 0: aphrodisiac_timer	= 0
 
 if mentats_dose = 1:
 	mentats_dose = 0