diff --git a/media/attribution.js b/media/attribution.js index 63214e28..64afcee1 100644 --- a/media/attribution.js +++ b/media/attribution.js @@ -2772,6 +2772,20 @@ const attributionData = { "cirez" ] }, + { + prefix: "./media/characters/zephiro/", + files: [ + { name: "front.svg", source: "https://www.furaffinity.net/view/20930792/" }, + { name: "side.svg", source: "https://www.furaffinity.net/view/20930792/" }, + { name: "back.svg", source: "https://www.furaffinity.net/view/20930792/" } + ], + authors: [ + "feve" + ], + owners: [ + "zephiro" + ] + }, { prefix: "./media/characters/", files: [ @@ -4022,6 +4036,10 @@ const attributionData = { "name": "LibragonSlvr", "url": "https://twitter.com/LibragonSlvr", }, + "zephiro": { + "name": "Zephiro", + "url": "https://www.furaffinity.net/user/zephiro/", + }, } } diff --git a/media/characters/zephiro/back.svg b/media/characters/zephiro/back.svg index d92e1e3e..77589e21 100644 --- a/media/characters/zephiro/back.svg +++ b/media/characters/zephiro/back.svg @@ -1,108 +1,97 @@ - + + viewBox="0 0 1425.03 2404.18" style="enable-background:new 0 0 1425.03 2404.18;" xml:space="preserve"> + - + + diff --git a/media/characters/zephiro/front.svg b/media/characters/zephiro/front.svg index 7d83bb6f..d594a78a 100644 --- a/media/characters/zephiro/front.svg +++ b/media/characters/zephiro/front.svg @@ -1,160 +1,139 @@ - + + viewBox="0 0 1377.8 2470.23" style="enable-background:new 0 0 1377.8 2470.23;" xml:space="preserve"> + - + + diff --git a/media/characters/zephiro/side.svg b/media/characters/zephiro/side.svg index 88b0522e..a12a1637 100644 --- a/media/characters/zephiro/side.svg +++ b/media/characters/zephiro/side.svg @@ -1,108 +1,108 @@ - + + viewBox="0 0 1256.41 2439.69" style="enable-background:new 0 0 1256.41 2439.69;" xml:space="preserve"> + - + + diff --git a/presets/characters.js b/presets/characters.js index 8da4f331..6cb11748 100644 --- a/presets/characters.js +++ b/presets/characters.js @@ -770,90 +770,58 @@ function makeFlamm() { 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") +characterMakers["Zephiro"] = () => { + return makeCharacter( + "Zephiro", + "Zephiro", + { + front: { + height: math.unit(7, "feet"), + weight: math.unit(80, "kg"), + name: "Front", + image: { + source: "./media/characters/zephiro/front.svg", + extra: 2309/2162 * (1 / (1 - 0.069)), + bottom: 0.069 } }, - 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") + side: { + height: math.unit(7, "feet"), + weight: math.unit(80, "kg"), + name: "Side", + image: { + source: "./media/characters/zephiro/side.svg", + extra: 2403/2279 * (1 / (1 - 0.015)), + bottom: 0.015 } }, - image: { - source: "./media/characters/zephiro/side.svg" + back: { + height: math.unit(7, "feet"), + weight: math.unit(80, "kg"), + name: "Back", + image: { + source: "./media/characters/zephiro/back.svg", + extra: 2373/2244 * (1 / (1 - 0.013)), + bottom: 0.013 + } }, - 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") - } + [ + { + name: "Micro", + height: math.unit(3, "inches") }, - image: { - source: "./media/characters/zephiro/back.svg" + { + name: "Normal", + height: math.unit(5 + 3/12, "feet") }, - name: "Back" - } - }; - - const entity = makeEntity({ name: "Zephiro", author: "Zephiro" }, views, []); - entity.views.front.height = math.unit(118, "feet"); - - entity.sizes.push({ - name: "Micro", - height: math.unit(3, "inches") - }); - - entity.sizes.push({ - name: "Normal", - height: math.unit(5 + 3 / 12, "feet") - }); - - entity.sizes.push({ - name: "Macro", - height: math.unit(118, "feet") - }); - - return entity; -} + { + name: "Macro", + height: math.unit(118, "feet") + }, + ] + ) +}; function makeFory() { const views = { @@ -7640,10 +7608,6 @@ function makeCharacters() { name: "Flamm", constructor: makeFlamm }); - results.push({ - name: "Zephiro", - constructor: makeZephiro - }); results.push({ name: "Fory", constructor: makeFory