From 6494354a6d1de5ad1ef195aee26da40530cd168e Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Fri, 20 Jan 2023 00:23:52 +0100 Subject: [PATCH] refactor: migrate Sebin data mixin --- src/mixins/Sebin.js | 131 -------------------------------------------- src/sebin.ts | 51 +++++++++++++++++ 2 files changed, 51 insertions(+), 131 deletions(-) delete mode 100644 src/mixins/Sebin.js create mode 100644 src/sebin.ts diff --git a/src/mixins/Sebin.js b/src/mixins/Sebin.js deleted file mode 100644 index 205f39f..0000000 --- a/src/mixins/Sebin.js +++ /dev/null @@ -1,131 +0,0 @@ -export default { - data() { - return { - firstName: "Sebin", - middleName: "Antario", - lastName: "Nyshkim", - dateOfBirth: new Date("1993-10-17"), - gender: "male ♂️", - orientation: "gay", - height: 210, // cm - weight: 124, // kg - tailLength: 104, // cm - wingspan: 417, // cm - colors: { - hairPrimary: "#4b608f", - hairSecondary: "#6684c0", - eyes: "#31c215", - scalesPrimary: "#c64c35", - scalesSecondary: "#eda958", - eyebrows: "#eda958", - tailspikes: "#7f4539", - horns: "#413a3a", - claws: "#413a3a", - nipples: "#413a3a", - penis: "#413a3a", - }, - hobbies: ["working out", "travels", "camping", "video games", "tech"], - penis: { - shape: "humanoid", - type: "grower", - special: "ridged, no foreskin", - size: 20, // cm - girth: 5, // cm - }, - prefs: { - position: "vers, prefers top", - kinks: [ - "oral (give/receive)", - "anal (give/receive)", - "facial (give/receive/self)", - "underwear", - "frotting", - "creampie", - "bukkake", - "biting", - "nipple play", - "roughness", - "toys", - "chubbies", - "muscle worship (give/receive)", - "filling condoms", - "growth/macro (not rampage-y)", - "size difference", - ], - }, - }; - }, - - computed: { - fullName() { - return `${this.firstName} ${this.middleName} ${this.lastName}`; - }, - birthdate() { - const locale = this.getClientLocale(); - const age = this.getAge(this.dateOfBirth); - const dobLocaleString = this.dateOfBirth.toLocaleDateString(locale, { - year: "numeric", - month: "long", - day: "2-digit", - }); - - return `${dobLocaleString} (${age})`; - }, - getSebinData() { - const generic = { - headers: ["Key", "Value"], - data: [ - ["Full Name", this.fullName], - ["Date of Birth", this.birthdate], - ["Sex/Gender", this.gender], - ["Height", `${this.height} cm (${this.toImperial(this.height)})`], - ["Weight", `${this.weight} kg (${this.toLbs(this.weight)} lbs)`], - [ - "Wingspan", - `${this.wingspan / 100} m (${this.toImperial(this.wingspan)})`, - ], - ], - }; - - const colors = { - headers: ["Body Part", "Color (hex)", "Color"], - data: [ - ["Scale Color", this.colors.scalesPrimary], - ["Chestplate Color", this.colors.scalesSecondary], - ["Hair Color", this.colors.hairPrimary], - ["Hair Streaks (optional)", this.colors.hairSecondary], - ["Eyes", this.colors.eyes], - ["Facial Spikes", this.colors.eyebrows], - ["Horns/Claws/Nipples", this.colors.horns], - ["Tail Spikes", this.colors.tailspikes], - ], - }; - - const penis = { - headers: ["Key", "Value", "Color"], - data: [ - ["Shape", this.penis.shape], - ["Type", this.penis.type], - ["Special Traits", this.penis.special], - ["Color", this.colors.penis], - ["Length", `${this.penis.size} cm (${this.toInch(this.penis.size)})`], - [ - "Girth", - `${this.penis.girth} cm (${this.toInch(this.penis.girth)})`, - ], - ], - }; - - const preferences = { - headers: ["Key", "Value"], - data: [ - ["Orientation", this.orientation], - ["Position", this.prefs.position], - ["Kinks", this.prefs.kinks], - ], - }; - - return { generic, colors, penis, preferences }; - }, - }, -}; diff --git a/src/sebin.ts b/src/sebin.ts new file mode 100644 index 0000000..eebd75a --- /dev/null +++ b/src/sebin.ts @@ -0,0 +1,51 @@ +export const firstName = "Sebin", + middleName = "Antario", + lastName = "Nyshkim", + dateOfBirth = new Date("1993-10-17"), + gender = "male ♂️", + orientation = "gay", + position = "vers, prefers top", + height = 210, // cm + weight = 124, // kg + tailLength = 104, // cm + wingspan = 417, // cm + colors = { + hairPrimary: "#4b608f", + hairSecondary: "#6684c0", + eyes: "#31c215", + scalesPrimary: "#c64c35", + scalesSecondary: "#eda958", + eyebrows: "#eda958", + tailspikes: "#7f4539", + horns: "#413a3a", + claws: "#413a3a", + nipples: "#413a3a", + penis: "#413a3a", + }, + hobbies = ["working out", "travels", "camping", "video games", "tech"], + penis = { + shape: "humanoid", + type: "grower", + special: "ridged, no foreskin", + size: 20, // cm + girth: 5, // cm + }, + kinks = [ + { name: "Oral", receive: true, give: true }, + { name: "Anal", receive: true, give: true }, + { name: "Facial", receive: true, give: true }, + { name: "Creampie", receive: true, give: true }, + { name: "Bukkake", receive: true, give: true }, + { name: "Biting", receive: true, give: true }, + { name: "Nipple Play", receive: true, give: true }, + { name: "Rough", receive: true, give: true }, + { name: "Toys", receive: true, give: true }, + + { name: "Frotting", receive: true, give: true }, + { name: "Muscle Worship", receive: true, give: true }, + { name: "Filled Condoms", receive: true, give: true }, + { name: "Growth/Macro", receive: true, give: true }, + { name: "Size Difference", receive: true, give: true }, + { name: "Underwear", receive: true, give: true }, + { name: "Chubbies", receive: true, give: true }, + ];