From f3e62938a86c65dbf811680c3c247cae5e5e824d Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Thu, 27 Feb 2020 15:02:14 -0500 Subject: [PATCH] Add new views for Ashtrek; fix front/front-armor sizes --- media/attribution.js | 2 + media/characters/ashtrek/back.svg | 103 ++++++++++++++++++++++++++++++ media/characters/ashtrek/side.svg | 73 +++++++++++++++++++++ presets/characters.js | 27 +++++++- 4 files changed, 203 insertions(+), 2 deletions(-) create mode 100644 media/characters/ashtrek/back.svg create mode 100644 media/characters/ashtrek/side.svg diff --git a/media/attribution.js b/media/attribution.js index 36e74041..01e4ab4d 100644 --- a/media/attribution.js +++ b/media/attribution.js @@ -228,6 +228,8 @@ const attributionData = { files: [ { name: "front.svg", source: null }, { name: "front-armor.svg", source: null }, + { name: "side.svg", source: null }, + { name: "back.svg", source: null } ], authors: [ "silverwingink" diff --git a/media/characters/ashtrek/back.svg b/media/characters/ashtrek/back.svg new file mode 100644 index 00000000..fcb64f04 --- /dev/null +++ b/media/characters/ashtrek/back.svg @@ -0,0 +1,103 @@ + + + + + + + diff --git a/media/characters/ashtrek/side.svg b/media/characters/ashtrek/side.svg new file mode 100644 index 00000000..6e2e6d57 --- /dev/null +++ b/media/characters/ashtrek/side.svg @@ -0,0 +1,73 @@ + + + + + + + diff --git a/presets/characters.js b/presets/characters.js index ee8aeeeb..6adfaf1f 100644 --- a/presets/characters.js +++ b/presets/characters.js @@ -2461,7 +2461,9 @@ characterMakers["Ashtrek"] = () => { weight: math.unit(70, "kg"), name: "Front", image: { - source: "./media/characters/ashtrek/front.svg" + source: "./media/characters/ashtrek/front.svg", + extra: 560/524 * (1 / (1 - 0.01)), + bottom: 0.01 } }, frontArmor: { @@ -2469,7 +2471,28 @@ characterMakers["Ashtrek"] = () => { weight: math.unit(76, "kg"), name: "Front (Armor)", image: { - source: "./media/characters/ashtrek/front-armor.svg" + source: "./media/characters/ashtrek/front-armor.svg", + extra: 561/527 * (1 / (1 - 0.01)), + bottom: 0.01 + } + }, + side: { + height: math.unit(2, "meters"), + weight: math.unit(70, "kg"), + name: "Side", + image: { + source: "./media/characters/ashtrek/side.svg", + extra: 1717/1609 * (1 / (1 - 0.005)), + bottom: 0.005 + } + }, + back: { + height: math.unit(2, "meters"), + weight: math.unit(70, "kg"), + name: "Back", + image: { + source: "./media/characters/ashtrek/back.svg", + extra: 1570/1501 } }, },