|
@@ -37,11 +37,11 @@ if $ARGS[0] = 'GenRowBreak':
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'calcHotcat':
|
|
if $ARGS[0] = 'calcHotcat':
|
|
- unitbmi_calc = FUNC('body_shape', 'bmicalc', unitsalo, unitpcs_hgt)
|
|
|
|
- unitbodykoef = FUNC('body_shape', 'setbodykoef', unitbmi_calc, unitstrenbuf, unitsalocatnow, unitvofat)
|
|
|
|
- unitHeadBonus = FUNC('body_shape', 'calcHeadBonus', unitpcs_lashes, unitpcs_eyesize, unitpcs_lip, unitpcs_teeth, unitbmi_calc)
|
|
|
|
- unitAttributeBonus = FUNC('body_shape', 'calcAttributeBonus', unitpcs_agil, unitpcs_vital, unitbmi_calc)
|
|
|
|
- unitpcs_apprncbase = FUNC('body_shape', 'basebeautycalc2', unitResetBase, unitvidage, unitpcs_skin, unitbodykoef, unitHeadBonus, unitAttributeBonus, unitpcs_apprncbase)
|
|
|
|
|
|
+ unitbmi_calc = FUNC('body', 'bmicalc', unitsalo, unitpcs_hgt)
|
|
|
|
+ unitbodykoef = FUNC('body', 'setbodykoef', unitbmi_calc, unitstrenbuf, unitsalocatnow, unitvofat)
|
|
|
|
+ unitHeadBonus = FUNC('body', 'calcHeadBonus', unitpcs_lashes, unitpcs_eyesize, unitpcs_lip, unitpcs_teeth, unitbmi_calc)
|
|
|
|
+ unitAttributeBonus = FUNC('body', 'calcAttributeBonus', unitpcs_agil, unitpcs_vital, unitbmi_calc)
|
|
|
|
+ unitpcs_apprncbase = FUNC('body', 'basebeautycalc2', unitResetBase, unitvidage, unitpcs_skin, unitbodykoef, unitHeadBonus, unitAttributeBonus, unitpcs_apprncbase)
|
|
unitclothingbonus = FUNC('body', 'calcClothesBonus', unitPXCloThinness, unitPXCloTopCut, unitPXCloBottomShortness, unitPCloQuality, $unitclothingworntype, unitbmi_calc)
|
|
unitclothingbonus = FUNC('body', 'calcClothesBonus', unitPXCloThinness, unitPXCloTopCut, unitPXCloBottomShortness, unitPCloQuality, $unitclothingworntype, unitbmi_calc)
|
|
unitAccessoriesBonus = FUNC('body', 'calcAccessoriesBonus', unitbonusZ, unitPShoQuality, $unitpantyworntype, $unitbraworntype)
|
|
unitAccessoriesBonus = FUNC('body', 'calcAccessoriesBonus', unitbonusZ, unitPShoQuality, $unitpantyworntype, $unitbraworntype)
|
|
unitGroomingBonus = FUNC('body', 'calcGroomingBonus', unitpcs_lipbalm, unitmopkoef, unitpcs_hairbsh, unitpcs_breath, unitdeodorant_on, unitbmi_calc)
|
|
unitGroomingBonus = FUNC('body', 'calcGroomingBonus', unitpcs_lipbalm, unitmopkoef, unitpcs_hairbsh, unitpcs_breath, unitdeodorant_on, unitbmi_calc)
|
|
@@ -77,7 +77,7 @@ if $ARGS[0] = 'HeadBonusCalc':
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'GenHeadRow':
|
|
if $ARGS[0] = 'GenHeadRow':
|
|
- unitHeadBonus = FUNC('body_shape', 'calcHeadBonus', ARGS[1], ARGS[2], ARGS[3], ARGS[4])
|
|
|
|
|
|
+ unitHeadBonus = FUNC('body', 'calcHeadBonus', ARGS[1], ARGS[2], ARGS[3], ARGS[4])
|
|
'<tr>'
|
|
'<tr>'
|
|
'<td><<unitHeadBonus>></td>'
|
|
'<td><<unitHeadBonus>></td>'
|
|
'<td><<ARGS[1]>></td>'
|
|
'<td><<ARGS[1]>></td>'
|
|
@@ -110,7 +110,7 @@ if $ARGS[0] = 'AttribBonusCalc':
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'GenAttribRow':
|
|
if $ARGS[0] = 'GenAttribRow':
|
|
- unitAttribBonus = FUNC('body_shape', 'calcAttributeBonus', ARGS[1], ARGS[2])
|
|
|
|
|
|
+ unitAttribBonus = FUNC('body', 'calcAttributeBonus', ARGS[1], ARGS[2])
|
|
'<tr>'
|
|
'<tr>'
|
|
'<td><<unitAttribBonus>></td>'
|
|
'<td><<unitAttribBonus>></td>'
|
|
'<td><<ARGS[1]>></td>'
|
|
'<td><<ARGS[1]>></td>'
|
|
@@ -1119,14 +1119,14 @@ if $ARGS[0] = 'CalcSaloVars':
|
|
unitvofat = ((unitpcs_hgt * unithratio) / 100 + unitvhips - (unitpcs_hgt * 72) / 100) / 2
|
|
unitvofat = ((unitpcs_hgt * unithratio) / 100 + unitvhips - (unitpcs_hgt * 72) / 100) / 2
|
|
|
|
|
|
unitsalocatnow = 1 + (unitsalo - 10) / 20
|
|
unitsalocatnow = 1 + (unitsalo - 10) / 20
|
|
- unitbmi_calc = FUNC('body_shape', 'bmicalc', unitsalo, unitpcs_hgt)
|
|
|
|
|
|
+ unitbmi_calc = FUNC('body', 'bmicalc', unitsalo, unitpcs_hgt)
|
|
gs 'UnitAppearance', 'GetClothThick', unitbmi_calc
|
|
gs 'UnitAppearance', 'GetClothThick', unitbmi_calc
|
|
end
|
|
end
|
|
|
|
|
|
if $ARGS[0] = 'GenerateSvetaOptions':
|
|
if $ARGS[0] = 'GenerateSvetaOptions':
|
|
gs 'UnitAppearance', 'SaveBase'
|
|
gs 'UnitAppearance', 'SaveBase'
|
|
gs 'UnitAppearance', 'GenRowBreak', $ARGS[1]
|
|
gs 'UnitAppearance', 'GenRowBreak', $ARGS[1]
|
|
- unitbmi_calc = FUNC('body_shape', 'bmicalc', unitsalo, unitpcs_hgt)
|
|
|
|
|
|
+ unitbmi_calc = FUNC('body', 'bmicalc', unitsalo, unitpcs_hgt)
|
|
|
|
|
|
$svetadesc = 'Current Clothes'
|
|
$svetadesc = 'Current Clothes'
|
|
|
|
|