From ccecc48950d48d77c69f471ebb0c4641b4c03346 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 6 Oct 2020 11:04:01 -0400 Subject: [PATCH] Add Pi --- media/attribution.js | 16 ++ media/characters/pi/solgooleo.svg | 309 ++++++++++++++++++++++++++++++ presets/characters.js | 41 ++++ 3 files changed, 366 insertions(+) create mode 100644 media/characters/pi/solgooleo.svg diff --git a/media/attribution.js b/media/attribution.js index c1c4fa0e..e1fc1a65 100644 --- a/media/attribution.js +++ b/media/attribution.js @@ -12574,6 +12574,18 @@ const attributionData = { "rainbowjulian" ] }, + { + prefix: "./media/characters/pi/", + files: [ + { name: "solgooleo.svg", source: "https://twitter.com/Goopomancer/status/1312880815592931328" } + ], + authors: [ + "goopomancer" + ], + owners: [ + "goopomancer" + ] + }, //characters { prefix: "./media/dildos/chance/", @@ -17332,6 +17344,10 @@ const attributionData = { "name": "RainbowJulian", "url": "https://twitter.com/RainbowJulian" }, + "goopomancer": { + "name": "Goopomancer", + "url": "https://twitter.com/Goopomancer/" + }, } } diff --git a/media/characters/pi/solgooleo.svg b/media/characters/pi/solgooleo.svg new file mode 100644 index 00000000..fc134d07 --- /dev/null +++ b/media/characters/pi/solgooleo.svg @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/presets/characters.js b/presets/characters.js index f1be0966..c58e7d05 100644 --- a/presets/characters.js +++ b/presets/characters.js @@ -29,6 +29,15 @@ function makeCharacter(info, viewInfo, defaultSizes) { }; } + if (value.volume) { + views[key].attributes.volume = { + name: "Volume", + power: 3, + type: "volume", + base: value.volume + }; + } + if (value.capacity) { views[key].attributes.capacity = { name: "Capacity", @@ -1454,6 +1463,14 @@ const speciesData = { name: "Mia", parents: ["canine"] }, + "rainbow": { + name: "Rainbow", + parents: ["monster"] + }, + "solgaleo": { + name: "Solgaleo", + parents: ["pokemon"] + }, } //species @@ -32614,6 +32631,30 @@ characterMakers.push(() => makeCharacter( ] )) +characterMakers.push(() => makeCharacter( + { name: "Pi", species: ["solgaleo"], tags: ["anthro", "goo"] }, + { + solgooleo: { + height: math.unit(4, "meters"), + weight: math.unit(3600*1.5, "kg"), + volume: math.unit(3600, "liters"), + name: "Solgooleo", + image: { + source: "./media/characters/pi/solgooleo.svg", + extra: 388/331, + bottom: 29/417 + } + }, + }, + [ + { + name: "Normal", + height: math.unit(4, "meters"), + default: true + }, + ] +)) + //characters function makeCharacters() {