From 6f59ead8b2488738561ed9ede35c885b161be054 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 29 Feb 2020 09:47:12 -0500 Subject: [PATCH] Add Mira-al-Cul. Fix names wrapping too aggressively --- macrovision.css | 6 +- media/attribution.js | 21 ++++ media/characters/mira-al-cul/front.svg | 56 ++++++++++ media/characters/mira-al-cul/lamp.svg | 144 +++++++++++++++++++++++++ presets/characters.js | 54 ++++++++++ 5 files changed, 279 insertions(+), 2 deletions(-) create mode 100644 media/characters/mira-al-cul/front.svg create mode 100644 media/characters/mira-al-cul/lamp.svg diff --git a/macrovision.css b/macrovision.css index 1317ce3c..9eb52aec 100644 --- a/macrovision.css +++ b/macrovision.css @@ -55,7 +55,9 @@ body { left: 0%; transform: translate(-50%, -36px); font-size: 24px; - pointer-events: none + pointer-events: none; + max-width: 250px; + width: 250px; } body.toggle-entity-name .entity-name { @@ -288,7 +290,7 @@ body #test-canvas { display: none; text-align: center; position: fixed; - width: 75px; + width: 150px; height: 50px; transform: translate(-50%, 0%); } diff --git a/media/attribution.js b/media/attribution.js index 76508f11..520eeef5 100644 --- a/media/attribution.js +++ b/media/attribution.js @@ -1846,6 +1846,19 @@ const attributionData = { "little-big-x110" ] }, + { + prefix: "./media/characters/mira-al-cul/", + files: [ + { name: "lamp.svg", source: "https://www.furaffinity.net/view/24240755/" }, + { name: "front.svg", source: "https://www.furaffinity.net/view/24240755/" } + ], + authors: [ + "rubbermage" + ], + owners: [ + "garouwl" + ] + }, { prefix: "./media/characters/nibbles/", files: [ @@ -3344,6 +3357,14 @@ const attributionData = { "name": "Argent", "url": "https://www.furaffinity.net/user/argentvz/", }, + "rubbermage": { + "name": "RubberMage", + "url": "https://www.furaffinity.net/user/rubbermage/", + }, + "garouwl": { + "name": "Garouwl", + "url": "https://www.furaffinity.net/user/mariokartsonicriders/", + }, } } diff --git a/media/characters/mira-al-cul/front.svg b/media/characters/mira-al-cul/front.svg new file mode 100644 index 00000000..69129e4d --- /dev/null +++ b/media/characters/mira-al-cul/front.svg @@ -0,0 +1,56 @@ + + + + + + + diff --git a/media/characters/mira-al-cul/lamp.svg b/media/characters/mira-al-cul/lamp.svg new file mode 100644 index 00000000..24128b4d --- /dev/null +++ b/media/characters/mira-al-cul/lamp.svg @@ -0,0 +1,144 @@ + + + + + + + + + + + + + diff --git a/presets/characters.js b/presets/characters.js index d6ff14e5..1f01800d 100644 --- a/presets/characters.js +++ b/presets/characters.js @@ -6459,6 +6459,60 @@ characterMakers["Argent"] = () => { ) }; +characterMakers["Mira al-Cul"] = () => { + return makeCharacter( + "Mira al-Cul", + "Garouwl", + { + lamp: { + height: math.unit(7 * 1559 / 989, "feet"), + weight: math.unit(750, "lbs"), + name: "Magic Lamp", + image: { + source: "./media/characters/mira-al-cul/lamp.svg", + extra: 1617/1559 + } + }, + front: { + height: math.unit(7, "feet"), + weight: math.unit(750, "lbs"), + name: "Front", + image: { + source: "./media/characters/mira-al-cul/front.svg", + extra: 1044/990 + } + }, + }, + [ + { + name: "Heavily Restricted", + height: math.unit(7 * 1559 / 989, "feet") + }, + { + name: "Freshly Freed", + height: math.unit(50 * 1559 / 989, "feet") + }, + { + name: "World Encompassing", + height: math.unit(10000 * 1559 / 989, "miles") + }, + { + name: "Galactic", + height: math.unit(1.433 * 1559 / 989, "zettameters") + }, + { + name: "Palmed Universe", + height: math.unit(6000 * 1559 / 989, "yottameters"), + default: true + }, + { + name: "True Size", + height: math.unit(8.87e10, "yottameters") + }, + ] + ) +}; + function makeCharacters() { const results = [];