|
@@ -116,6 +116,9 @@ if $ARGS[0] = '':
|
|
|
if fat < (-2 - (vitalbuf / 10)): salo -= 1 & fat = 0
|
|
|
end
|
|
|
|
|
|
+!!This is the salo cap for the weight approximation
|
|
|
+ if salo > 150: salo = 150
|
|
|
+
|
|
|
!!This calculates the current salo category; ranges are 20 points, seemed to balance best if the range is x10 the hip devisor
|
|
|
:salocatloop
|
|
|
if salo < 10:
|
|
@@ -380,7 +383,42 @@ if $ARGS[0] = 'initial':
|
|
|
tits = 11
|
|
|
$titsize = 'K cup'
|
|
|
end
|
|
|
- pcs_weight = (pcs_hgt * 62 / 170) + (vhips + (vofat * 2)) / 4 + tits
|
|
|
+
|
|
|
+!!pcs_weight: Svetas weight in kg
|
|
|
+!!Optimal Weight for a 170cm sveta (BMI: 20.76): 60 salo / 60kg
|
|
|
+!!This is an approximation, so that a sveta with a different height has the same BMI for the same salo values.
|
|
|
+!!The default height of 170 cm is used as a starting point for the approximation. The BMI deviates by 0.06 for a deviation of 10cm and 0.4 for a deviation of 20cm.
|
|
|
+
|
|
|
+ pcs_weight = 30 + salo / 2 + (pcs_hgt - 170) * 7 / 10
|
|
|
+
|
|
|
+!!Do not remove (julzor)
|
|
|
+!!This is the old more complex function, but it doesn''t work correctly.
|
|
|
+!!This variable is actually only used ONCE (except for the BMI calculation), when stripping, to see if you fall off the pole from being too heavy. I am reluctant to touch it, since the math is not explained. Maybe later.
|
|
|
+!!Weight = (height in cm x bottom of average weight in kilos for a 170cm female / 170cm + (hip modifier + 2 x overrun fat)/4 + cup size
|
|
|
+
|
|
|
+ !!pcs_weight = (pcs_hgt * 62 / 170) + (vhips + (vofat * 2)) / 4 + tits
|
|
|
+
|
|
|
+!!BMI Calculation
|
|
|
+ bmi_calc = 10000 * pcs_weight / (pcs_hgt * pcs_hgt)
|
|
|
+
|
|
|
+!!BMI Descriptions
|
|
|
+ if bmi_calc < 16:
|
|
|
+ $bmi_desc = 'You are severely underweight.'
|
|
|
+ elseif bmi_calc >= 16 and bmi_calc < 19:
|
|
|
+ $bmi_desc = 'You are underweight'
|
|
|
+ elseif bmi_calc >= 19 and bmi_calc < 25:
|
|
|
+ $bmi_desc = 'You have a normal, healthy weight.'
|
|
|
+ elseif bmi_calc >= 25 and bmi_calc < 30:
|
|
|
+ $bmi_desc = 'You are overweight.'
|
|
|
+ elseif bmi_calc >= 30 and bmi_calc < 35:
|
|
|
+ $bmi_desc = 'You are moderately obese.'
|
|
|
+ elseif bmi_calc >= 35 and bmi_calc < 40:
|
|
|
+ $bmi_desc = 'You are severely obese.'
|
|
|
+ elseif bmi_calc >= 40 and bmi_calc < 45:
|
|
|
+ $bmi_desc = 'You are very severely obese.'
|
|
|
+ elseif bmi_calc >= 45:
|
|
|
+ $bmi_desc = 'You are morbidly obese.'
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
!!This is the calculation for the base appearance
|