Improved bio styling and fixed penis sizes.
This commit is contained in:
@@ -49,6 +49,7 @@ const keyMap = {
|
||||
penisGirth: 'penis_girth',
|
||||
hasTattoos: 'has_tattoos',
|
||||
hasPiercings: 'has_piercings',
|
||||
isCircumcised: 'circumcised',
|
||||
};
|
||||
|
||||
export function curateActor(actor, context = {}) {
|
||||
@@ -65,7 +66,6 @@ export function curateActor(actor, context = {}) {
|
||||
cup: actor.cup,
|
||||
waist: actor.waist,
|
||||
hip: actor.hip,
|
||||
circumcised: actor.circumcised,
|
||||
height: actor.height && {
|
||||
metric: actor.height,
|
||||
imperial: unit(actor.height, 'cm').splitUnit(['ft', 'in']).map((value) => Math.round(value.toNumber())),
|
||||
@@ -74,6 +74,14 @@ export function curateActor(actor, context = {}) {
|
||||
metric: actor.weight,
|
||||
imperial: Math.round(unit(actor.weight, 'kg').toNumeric('lbs')),
|
||||
},
|
||||
penisLength: actor.penis_length && {
|
||||
metric: actor.penis_length,
|
||||
imperial: Math.round(unit(actor.penis_length, 'cm').toNumeric('in')),
|
||||
},
|
||||
penisGirth: actor.penis_girth && {
|
||||
metric: actor.penis_girth,
|
||||
imperial: Math.round(unit(actor.penis_girth, 'cm').toNumeric('in')),
|
||||
},
|
||||
eyes: actor.eyes,
|
||||
tattoos: actor.tattoos,
|
||||
piercings: actor.piercings,
|
||||
@@ -812,6 +820,16 @@ export async function createActorRevision(actorId, {
|
||||
};
|
||||
}
|
||||
|
||||
if (['penisLength', 'penisGirth'].includes(key) && options.penisUnits === 'imperial') {
|
||||
const convertedValue = Math.round(convert(value, 'inches').to('cm'));
|
||||
|
||||
return {
|
||||
key,
|
||||
value: convertedValue,
|
||||
comment: `${key} converted from ${value} inches to ${convertedValue} cm`,
|
||||
};
|
||||
}
|
||||
|
||||
return { key, value };
|
||||
}).filter(Boolean);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user