From a7dbe9f5dc73b6795f131d7746adf6d298eb9e5f Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Fri, 28 Feb 2020 17:07:48 -0500 Subject: [PATCH] Add Nova; fix Coffee's vertical positioning --- media/attribution.js | 12 ++ media/characters/nova/front.svg | 209 ++++++++++++++++++++++++++++++++ presets/characters.js | 37 +++++- 3 files changed, 255 insertions(+), 3 deletions(-) create mode 100644 media/characters/nova/front.svg diff --git a/media/attribution.js b/media/attribution.js index 9d734b7f..4a8b8a6c 100644 --- a/media/attribution.js +++ b/media/attribution.js @@ -1859,6 +1859,18 @@ const attributionData = { "march-dragon" ] }, + { + prefix: "./media/characters/nova/", + files: [ + { name: "front.svg", source: null } + ], + authors: [ + "bkdebo" + ], + owners: [ + "bkdebo" + ] + }, { prefix: "./media/characters/odi-lunar/", files: [ diff --git a/media/characters/nova/front.svg b/media/characters/nova/front.svg new file mode 100644 index 00000000..ec27a3a8 --- /dev/null +++ b/media/characters/nova/front.svg @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + diff --git a/presets/characters.js b/presets/characters.js index bcba0491..5f16a2f9 100644 --- a/presets/characters.js +++ b/presets/characters.js @@ -6320,7 +6320,7 @@ characterMakers["Rivet"] = () => { characterMakers["Coffee"] = () => { return makeCharacter( "Coffee", - "Vonadi", + "CoffeeDoggo", { front: { height: math.unit(5 + 9/12, "feet"), @@ -6328,7 +6328,8 @@ characterMakers["Coffee"] = () => { name: "Front", image: { source: "./media/characters/coffee/front.svg", - extra: 3666/3032 + extra: 3666/3032 * (1 / (1 - 0.04)), + bottom: 0.04 } } }, @@ -6357,7 +6358,7 @@ characterMakers["Coffee"] = () => { characterMakers["Chari-Gal"] = () => { return makeCharacter( "Chari-Gal", - "Vonadi", + "Knoem", { front: { height: math.unit(6, "feet"), @@ -6394,6 +6395,36 @@ characterMakers["Chari-Gal"] = () => { ) }; +characterMakers["Nova"] = () => { + return makeCharacter( + "Nova", + "CoffeeDoggo", + { + front: { + height: math.unit(6, "feet"), + weight: math.unit(150, "lbs"), + name: "Front", + image: { + source: "./media/characters/nova/front.svg", + extra: 5000/4722 * (1 / (1 - 0.02)), + bottom: 0.02 + } + } + }, + [ + { + name: "Micro-", + height: math.unit(0.8, "inches") + }, + { + name: "Micro", + height: math.unit(2, "inches"), + normal: true + }, + ] + ) +}; + function makeCharacters() { const results = [];