const characterMakers = []; math.createUnit("parsecs", { definition: "3.086e16 meters", prefixes: "long" }) math.createUnit("lightyears", { definition: "9.461e15 meters", prefixes: "long" }) function makeCharacter(name, author, viewInfo, defaultSizes, defaultSize) { views = {}; console.log(viewInfo) Object.entries(viewInfo).forEach(([key, value]) => { console.log(key) views[key] = { attributes: { height: { name: "Height", power: 1, type: "length", base: value.height } }, image: value.image, name: value.name } if (value.weight) { views[key].attributes.weight = { name: "Mass", power: 3, type: "mass", base: value.weight }; } }); const entity = makeEntity(name, "author", views); if (defaultSizes) { entity.defaults = defaultSizes; } if (defaultSize) { entity.views[entity.defaultView].height = defaultSize; } return entity; } characterMakers["Fen"] = () => { return makeCharacter( "Fen", "chemicalcrux", { body: { height: math.unit(2.2428, "meter"), weight: math.unit(124.738, "kg"), name: "Body", image: { source: "./media/characters/fen/back.svg" } } }, [ { name: "Normal", height: math.unit(2.2428, "meter") }, { name: "Big", height: math.unit(12, "feet") }, { name: "Macro", height: math.unit(100, "meter") }, { name: "Macro+", height: math.unit(1000, "meter") }, { name: "Megamacro", height: math.unit(10, "miles") } ], math.unit(100, "meter") ) }; function makeSofia() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(183, "cm") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/sofia/front.svg" }, name: "Front" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(183, "cm") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/sofia/back.svg" }, name: "Back" } }; const entity = makeEntity("Sofia", "ZakuraTech", views); entity.views.front.height = math.unit(96, "feet"); return entity; } function makeMarch() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/march/front.svg" }, name: "Front" }, foot: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(0.9, "feet") } }, image: { source: "./media/characters/march/foot.svg" }, name: "Foot" } }; const entity = makeEntity("March", "March-Dragon", views); entity.defaults.push({ name: "Normal", height: math.unit(7.9, "feet") }); entity.defaults.push({ name: "Macro", height: math.unit(220, "meters") }); entity.defaults.push({ name: "Megamacro", height: math.unit(2.98, "km") }); entity.defaults.push({ name: "Gigamacro", height: math.unit(15963, "km") }); entity.defaults.push({ name: "Teramacro", height: math.unit(2980000000, "kilometers") }); entity.defaults.push({ name: "Examacro", height: math.unit(250, "parsecs") }); entity.views.front.height = math.unit(2.98, "km"); return entity; } function makeNoir() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(60, "kg") } }, image: { source: "./media/characters/noir/front.svg", bottom: 0.01 }, name: "Front" } }; const entity = makeEntity("Noir", "March-Dragon", views); entity.defaults.push({ name: "Normal", height: math.unit(6.6, "feet") }); entity.defaults.push({ name: "Macro", height: math.unit(500, "feet") }); entity.defaults.push({ name: "Megamacro", height: math.unit(2.5, "km") }); entity.defaults.push({ name: "Gigamacro", height: math.unit(22500, "km") }); entity.defaults.push({ name: "Teramacro", height: math.unit(2500000000, "kilometers") }); entity.defaults.push({ name: "Examacro", height: math.unit(200, "parsecs") }); entity.views.front.height = math.unit(2.5, "km"); return entity; } function makeOkuri() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/okuri/front.svg" }, name: "Front" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/okuri/back.svg" }, name: "Back" } }; const entity = makeEntity("Okuri", "OrionMechadragon", views); entity.views.front.height = math.unit(100, "miles"); return entity; } function makeManny() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/manny/front.svg" }, name: "Front" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/manny/back.svg" }, name: "Back" } }; const entity = makeEntity("Manny", "Dialuca01", views); entity.views.front.height = math.unit(78, "feet"); return entity; } function makeAdake() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/adake/front-1.svg" }, name: "Front" }, frontAlt: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/adake/front-2.svg", bottom: 0.005 }, name: "Front (Alt)" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/adake/back.svg", }, name: "Back" }, kneel: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(5.385, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(100, "kg") } }, image: { source: "./media/characters/adake/kneel.svg", bottom: 0.05 }, name: "Kneeling" }, }; const entity = makeEntity("Adake", "Dialuca01", views); entity.views.front.height = math.unit(78, "feet"); return entity; } function makeElijah() { const views = { side: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(50, "kg") } }, image: { source: "./media/characters/elijah/side.svg", bottom: 0.01 }, name: "Side" }, foot: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(2, "feet") } }, image: { source: "./media/characters/elijah/foot.svg", }, name: "Foot" } }; const entity = makeEntity("Elijah", "Elijah", views); entity.defaults.push({ name: "Normal", height: math.unit(1.65, "meters") }); entity.defaults.push({ name: "Macro", height: math.unit(55, "meters") }); entity.defaults.push({ name: "Macro+", height: math.unit(105, "meters") }); entity.views.side.height = math.unit(55, "meters"); return entity; } function makeRai() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/rai/front.svg" }, name: "Front" }, side: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/rai/side.svg" }, name: "Side" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/rai/back.svg" }, name: "Back" } }; const entity = makeEntity("Rai", "shadowblade945", views); entity.views.front.height = math.unit(302, "feet"); return entity; } function makeJazzy() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/jazzy/front.svg", bottom: 0.01 }, name: "Front" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/jazzy/back.svg" }, name: "Back" } }; const entity = makeEntity("Jazzy", "Jazzywolf", views); entity.views.front.height = math.unit(216, "feet"); return entity; } function makeFlamm() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/flamm/front.svg" }, name: "Front" } }; const entity = makeEntity("Flamm", "Flamm", views); entity.defaults.push({ name: "Normal", height: math.unit(9.5, "feet") }); entity.defaults.push({ name: "Macro", height: math.unit(200, "feet") }); entity.views.front.height = math.unit(200, "feet"); return entity; } function makeZephiro() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/zephiro/front.svg" }, name: "Front" }, side: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/zephiro/side.svg" }, name: "Side" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./media/characters/zephiro/back.svg" }, name: "Back" } }; const entity = makeEntity("Zephiro", "Zephiro", views); entity.views.front.height = math.unit(118, "feet"); entity.defaults.push({ name: "Micro", height: math.unit(3, "inches") }); entity.defaults.push({ name: "Normal", height: math.unit(5 + 3/12, "feet") }); entity.defaults.push({ name: "Macro", height: math.unit(118, "feet") }); return entity; } function makeFory() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(90, "kg") } }, image: { source: "./media/characters/fory/front.svg" }, name: "Front" } }; const entity = makeEntity("Fory", "Manny", views); entity.defaults.push({ name: "Normal", height: math.unit(5, "feet") }); entity.defaults.push({ name: "Macro", height: math.unit(50, "feet") }); entity.views.front.height = math.unit(50, "feet"); return entity; } function makeKurrikage() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(90, "kg") } }, image: { source: "./media/characters/kurrikage/front.svg" }, name: "Front" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(7, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(90, "kg") } }, image: { source: "./media/characters/kurrikage/back.svg" }, name: "Back" }, paw: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(1.5, "feet") } }, image: { source: "./media/characters/kurrikage/paw.svg" }, name: "Paw" }, staff: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6.7, "feet") } }, image: { source: "./media/characters/kurrikage/staff.svg" }, name: "Staff" }, peek: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(1.05, "feet") } }, image: { source: "./media/characters/kurrikage/peek.svg", bottom: 0.08 }, name: "Peeking" } }; const entity = makeEntity("Kurrikage", "Kurrikage", views); entity.views.front.height = math.unit(12, "feet"); return entity; } function makeShingo() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { source: "./media/characters/shingo/front.svg" }, name: "Front" } }; const entity = makeEntity("Shingo", "Threes", views); entity.defaults.push({ name: "Micro", height: math.unit(4, "inches") }); entity.defaults.push({ name: "Normal", height: math.unit(6, "feet") }); entity.defaults.push({ name: "Macro", height: math.unit(108, "feet") }); return entity; } function makeAigey() { const views = { side: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { source: "./media/characters/aigey/side.svg" }, name: "Side" } }; const entity = makeEntity("Aigey", "Aigey", views); entity.defaults.push({ name: "Macro", height: math.unit(200, "feet") }); entity.defaults.push({ name: "Megamacro", height: math.unit(100, "miles") }); entity.views[entity.defaultView].height = math.unit(200, "feet"); return entity; } function makeNatasha() { const views = { side: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { source: "./media/characters/natasha/front.svg" }, name: "Side" } }; const entity = makeEntity("Natasha", "Natasha", views); entity.defaults.push({ name: "Normal", height: math.unit(5 + 5/12, "feet") }); entity.defaults.push({ name: "Large", height: math.unit(12, "feet") }); entity.defaults.push({ name: "Macro", height: math.unit(100, "feet") }); entity.defaults.push({ name: "Macro+", height: math.unit(260, "feet") }); entity.defaults.push({ name: "Macro++", height: math.unit(1, "mile") }); entity.views[entity.defaultView].height = math.unit(100, "feet"); return entity; } function makeMalik() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { source: "./media/characters/malik/front.svg" }, name: "Front" }, side: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { extra: 1.1539, source: "./media/characters/malik/side.svg" }, name: "Side" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { source: "./media/characters/malik/back.svg" }, name: "Back" }, }; const entity = makeEntity("Malik", "Fuzzypaws", views); entity.defaults.push({ name: "Macro", height: math.unit(156, "feet") }); entity.defaults.push({ name: "Macro+", height: math.unit(1188, "feet") }); entity.views[entity.defaultView].height = math.unit(156, "feet"); return entity; } function makeSefer() { const views = { front: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { source: "./media/characters/sefer/front.svg" }, name: "Front" }, back: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(6, "feet") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(75, "kg") } }, image: { source: "./media/characters/sefer/back.svg" }, name: "Back" }, }; const entity = makeEntity("Sefer", "Fuzzypaws", views); entity.views[entity.defaultView].height = math.unit(6, "feet"); return entity; } function makeMan() { const views = { body: { attributes: { height: { name: "Height", power: 1, type: "length", base: math.unit(2, "meter") }, weight: { name: "Weight", power: 3, type: "mass", base: math.unit(80, "kg") } }, image: { source: "./man.svg" }, name: "Body" } }; return makeEntity("Man", "Fen", views); } characterMakers["North"] = () => { return makeCharacter( "North", "chemicalcrux", { body: { height: math.unit(2.2428, "meter"), weight: math.unit(124.738, "kg"), name: "Body", image: { extra: 1225/1050, source: "./media/characters/north/front.svg" } } }, [ { name: "Micro", height: math.unit(4, "inches") }, { name: "Macro", height: math.unit(63, "meters") }, { name: "Megamacro", height: math.unit(101, "miles") } ], math.unit(101, "miles") ) }; characterMakers["Talan"] = () => { return makeCharacter( "Talan", "talanstrider", { body: { height: math.unit(2, "meter"), weight: math.unit(70, "kg"), name: "Body", image: { bottom: 0.02, source: "./media/characters/talan/front.svg" } } }, [ { name: "Normal", height: math.unit(4, "meters") }, { name: "Macro", height: math.unit(100, "meters") }, { name: "Megamacro", height: math.unit(2, "miles") }, { name: "Gigamacro", height: math.unit(5000, "miles") }, { name: "Teramacro", height: math.unit(100, "parsecs") } ], math.unit(2, "miles") ) }; characterMakers["Gael'Rathus"] = () => { return makeCharacter( "Gael'Rathus", "Kurrikage", { front: { height: math.unit(2, "meter"), weight: math.unit(90, "kg"), name: "Front", image: { source: "./media/characters/gael'rathus/front.svg" } }, frontAlt: { height: math.unit(2, "meter"), weight: math.unit(90, "kg"), name: "Front (alt)", image: { source: "./media/characters/gael'rathus/front-alt.svg" } }, frontAlt2: { height: math.unit(2, "meter"), weight: math.unit(90, "kg"), name: "Front (alt 2)", image: { source: "./media/characters/gael'rathus/front-alt-2.svg" } } }, [ { name: "Normal", height: math.unit(9, "feet") }, { name: "Large", height: math.unit(25, "feet") }, { name: "Macro", height: math.unit(0.25, "miles") }, { name: "Megamacro", height: math.unit(10, "miles") } ], math.unit(9, "feet") ) }; characterMakers["Sosha"] = () => { return makeCharacter( "Sosha", "Sdocat", { side: { height: math.unit(2, "meter"), weight: math.unit(140, "kg"), name: "Side", image: { source: "./media/characters/sosha/side.svg" } }, }, [ { name: "Normal", height: math.unit(12, "feet") } ], math.unit(12, "feet") ) }; characterMakers["Kurribird"] = () => { return makeCharacter( "Kurribird", "Kurrikage", { front: { height: math.unit(2, "meter"), weight: math.unit(50, "kg"), name: "Front", image: { source: "./media/characters/kurribird/front.svg", bottom: 0.015 } }, frontAlt: { height: math.unit(1.5, "meter"), weight: math.unit(50, "kg"), name: "Front (Alt)", image: { source: "./media/characters/kurribird/front-alt.svg", extra: 1.45 } }, }, [ { name: "Normal", height: math.unit(7, "feet") }, { name: "Big", height: math.unit(15, "feet") }, { name: "Macro", height: math.unit(1500, "feet") }, { name: "Megamacro", height: math.unit(2, "miles") } ], math.unit(12, "feet") ) }; characterMakers["Elbial"] = () => { return makeCharacter( "Elbial", "Neopuc", { front: { height: math.unit(2, "meter"), weight: math.unit(80, "kg"), name: "Front", image: { source: "./media/characters/elbial/front.svg" } }, side: { height: math.unit(2, "meter"), weight: math.unit(80, "kg"), name: "Side", image: { source: "./media/characters/elbial/side.svg" } }, back: { height: math.unit(2, "meter"), weight: math.unit(80, "kg"), name: "Back", image: { source: "./media/characters/elbial/back.svg" } }, }, [ { name: "Large", height: math.unit(100, "feet") }, { name: "Macro", height: math.unit(500, "feet") }, { name: "Megamacro", height: math.unit(10, "miles") }, { name: "Gigamacro", height: math.unit(25000, "miles") }, { name: "Full-Size", height: math.unit(8000000, "gigaparsecs") } ], math.unit(500, "feet") ) }; characterMakers["Noah"] = () => { return makeCharacter( "Noah", "Neopuc", { front: { height: math.unit(2, "meter"), weight: math.unit(60, "kg"), name: "Front", image: { source: "./media/characters/noah/front.svg" } }, talons: { height: math.unit(0.315, "meter"), name: "Talons", image: { source: "./media/characters/noah/talons.svg" } } }, [ { name: "Large", height: math.unit(50, "feet") }, { name: "Macro", height: math.unit(750, "feet") }, { name: "Megamacro", height: math.unit(50, "miles") }, { name: "Gigamacro", height: math.unit(100000, "miles") }, { name: "Full-Size", height: math.unit(3000000000, "miles") } ], math.unit(750, "feet") ) }; characterMakers["Natalya"] = () => { return makeCharacter( "Natalya", "Neopuc", { front: { height: math.unit(2, "meter"), weight: math.unit(80, "kg"), name: "Front", image: { source: "./media/characters/natalya/front.svg" } }, back: { height: math.unit(2, "meter"), weight: math.unit(80, "kg"), name: "Back", image: { source: "./media/characters/natalya/back.svg" } } }, [ { name: "Normal", height: math.unit(150, "feet") }, { name: "Megamacro", height: math.unit(5, "miles") }, { name: "Full-Size", height: math.unit(600, "kiloparsecs") } ], math.unit(150, "feet") ) }; characterMakers["Erestrebah"] = () => { return makeCharacter( "Erestrebah", "Kurrikage", { front: { height: math.unit(2, "meter"), weight: math.unit(50, "kg"), name: "Front", image: { source: "./media/characters/erestrebah/front.svg" } }, back: { height: math.unit(2, "meter"), weight: math.unit(50, "kg"), name: "Back", image: { source: "./media/characters/erestrebah/back.svg", extra: 1.2139 } } }, [ { name: "Normal", height: math.unit(10, "feet") }, { name: "Large", height: math.unit(50, "feet") }, { name: "Macro", height: math.unit(300, "feet") }, { name: "Macro+", height: math.unit(750, "feet") }, { name: "Megamacro", height: math.unit(3, "miles") } ], math.unit(50, "feet") ) }; characterMakers["Jennifer"] = () => { return makeCharacter( "Jennifer", "Neopuc", { front: { height: math.unit(2, "meter"), weight: math.unit(80, "kg"), name: "Front", image: { source: "./media/characters/jennifer/front.svg", bottom: 0.11, extra: 1.16 } }, frontAlt: { height: math.unit(2, "meter"), weight: math.unit(80, "kg"), name: "Front (Alt)", image: { source: "./media/characters/jennifer/front-alt.svg" } } }, [ { name: "Canon Height", height: math.unit(120, "feet") }, { name: "Macro+", height: math.unit(300, "feet") }, { name: "Megamacro", height: math.unit(20000, "feet") } ], math.unit(120, "feet") ) }; characterMakers["Kalista"] = () => { return makeCharacter( "Kalista", "Kalista", { front: { height: math.unit(2, "meter"), weight: math.unit(50, "kg"), name: "Front", image: { source: "./media/characters/kalista/front.svg" } }, back: { height: math.unit(2, "meter"), weight: math.unit(50, "kg"), name: "Back", image: { source: "./media/characters/kalista/back.svg" } } }, [ { name: "Uncomfortably Small", height: math.unit(10, "feet") }, { name: "Small", height: math.unit(30, "feet") }, { name: "Macro", height: math.unit(100, "feet") }, { name: "Macro+", height: math.unit(2000, "feet") }, { name: "True Form", height: math.unit(8924, "miles") } ], math.unit(100, "feet") ) }; characterMakers["GiantGrowingVixen"] = () => { return makeCharacter( "GiantGrowingVixen", "GiantGrowingVixen", { front: { height: math.unit(2, "meter"), weight: math.unit(120, "kg"), name: "Front", image: { source: "./media/characters/ggv/front.svg" } }, side: { height: math.unit(2, "meter"), weight: math.unit(120, "kg"), name: "Side", image: { source: "./media/characters/ggv/side.svg" } } }, [ { name: "Extremely Puny", height: math.unit(9 + 5/12, "feet") }, { name: "Horribly Small", height: math.unit(47.7, "miles") }, { name: "Reasonably Sized", height: math.unit(25000, "parsecs") } ], math.unit(47.7, "miles") ) }; characterMakers["Napalm"] = () => { return makeCharacter( "Napalm", "RathDaKrogan", { front: { height: math.unit(2, "meter"), weight: math.unit(75, "lb"), name: "Front", image: { source: "./media/characters/napalm/front.svg" } }, back: { height: math.unit(2, "meter"), weight: math.unit(75, "lb"), name: "Back", image: { source: "./media/characters/napalm/back.svg" } } }, [ { name: "Standard", height: math.unit(55, "feet") } ], math.unit(55, "feet") ) }; characterMakers["Asana"] = () => { return makeCharacter( "Asana", "Asana", { front: { height: math.unit(7 + 5/6, "feet"), weight: math.unit(325, "lb"), name: "Front", image: { source: "./media/characters/asana/front.svg", extra: 1128/1068 } }, back: { height: math.unit(7 + 5/6, "feet"), weight: math.unit(325, "lb"), name: "Back", image: { source: "./media/characters/asana/back.svg", extra: 1128/1068 } }, }, [ { name: "Standard", height: math.unit(7 + 5/6, "feet") }, { name: "Large", height: math.unit(10, "meters") }, { name: "Macro", height: math.unit(2500, "meters") }, { name: "Megamacro", height: math.unit(5e6, "meters") }, { name: "Examacro", height: math.unit(5e12, "lightyears") } ], math.unit(7 + 5/6, "feet") ) }; characterMakers["Ebony"] = () => { return makeCharacter( "Ebony", "Lazerwolf", { front: { height: math.unit(2, "meter"), weight: math.unit(60, "kg"), name: "Front", image: { source: "./media/characters/ebony/front.svg", bottom: 0.03, extra: 1045/810 + 0.03 } }, side: { height: math.unit(2, "meter"), weight: math.unit(60, "kg"), name: "Side", image: { source: "./media/characters/ebony/side.svg", bottom: 0.03, extra: 1045/810 + 0.03 } }, back: { height: math.unit(2, "meter"), weight: math.unit(60, "kg"), name: "Back", image: { source: "./media/characters/ebony/back.svg", bottom: 0.01, extra: 1045/810 + 0.01 } }, }, [ { name: "Standard", height: math.unit(9/8 * (7 + 5/12), "feet") }, { name: "Macro", height: math.unit(200, "feet") }, { name: "Gigamacro", height: math.unit(13000, "km") } ], math.unit(7 + 5/12, "feet") ) }; characterMakers["Mountain"] = () => { return makeCharacter( "Mountain", "Asana", { front: { height: math.unit(6, "feet"), weight: math.unit(175, "lb"), name: "Front", image: { source: "./media/characters/mountain/front.svg" } }, back: { height: math.unit(6, "feet"), weight: math.unit(175, "lb"), name: "Back", image: { source: "./media/characters/mountain/back.svg" } }, }, [ { name: "Large", height: math.unit(20, "meters") }, { name: "Macro", height: math.unit(300, "meters") }, { name: "Gigamacro", height: math.unit(10000, "km") }, { name: "Examacro", height: math.unit(10e9, "lightyears") } ], math.unit(10000, "km") ) }; characterMakers["Rick"] = () => { return makeCharacter( "Rick", "Victni", { front: { height: math.unit(8, "feet"), weight: math.unit(500, "lb"), name: "Front", image: { source: "./media/characters/rick/front.svg" } } }, [ { name: "Normal", height: math.unit(8, "feet") }, { name: "Macro", height: math.unit(5, "km") } ], math.unit(8, "feet") ) }; characterMakers["Ona"] = () => { return makeCharacter( "Ona", "Arrogance127", { front: { height: math.unit(8, "feet"), weight: math.unit(120, "lb"), name: "Front", image: { source: "./media/characters/ona/front.svg" } }, frontAlt: { height: math.unit(8, "feet"), weight: math.unit(120, "lb"), name: "Front (Alt)", image: { source: "./media/characters/ona/front-alt.svg" } }, back: { height: math.unit(8, "feet"), weight: math.unit(120, "lb"), name: "Back", image: { source: "./media/characters/ona/back.svg" } }, foot: { height: math.unit(1.1, "feet"), name: "Foot", image: { source: "./media/characters/ona/foot.svg" } } }, [ { name: "Megamacro", height: math.unit(70, "km") } ], math.unit(70, "km") ) }; function makeCharacters() { const results = []; results.push({ name: "Sofia", constructor: makeSofia }); results.push({ name: "March", constructor: makeMarch }); results.push({ name: "Noir", constructor: makeNoir }); results.push({ name: "Okuri", constructor: makeOkuri }); results.push({ name: "Manny", constructor: makeManny }); results.push({ name: "Adake", constructor: makeAdake }); results.push({ name: "Elijah", constructor: makeElijah }); results.push({ name: "Rai", constructor: makeRai }); results.push({ name: "Jazzy", constructor: makeJazzy }); results.push({ name: "Flamm", constructor: makeFlamm }); results.push({ name: "Zephiro", constructor: makeZephiro }); results.push({ name: "Fory", constructor: makeFory }); results.push({ name: "Kurrikage", constructor: makeKurrikage }); results.push({ name: "Shingo", constructor: makeShingo }); results.push({ name: "Aigey", constructor: makeAigey }); results.push({ name: "Natasha", constructor: makeNatasha }); results.push({ name: "Malik", constructor: makeMalik }); results.push({ name: "Sefer", constructor: makeSefer }); results.push({ name: "Normal man", constructor: makeMan }); Object.entries(characterMakers).forEach(([key, value]) => { results.push({ name: key, constructor: value }); }); return results; }