From 6ba0432168910addd3aa65d198a79d22aa288a33 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sun, 14 Nov 2021 13:39:09 -0500 Subject: [PATCH] Add some paw size info to Remmyzilla --- .vscode/snippets.code-snippets | 13 ++++++++++++- presets/characters.js | 20 ++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/.vscode/snippets.code-snippets b/.vscode/snippets.code-snippets index a897347d..ca32266c 100644 --- a/.vscode/snippets.code-snippets +++ b/.vscode/snippets.code-snippets @@ -82,7 +82,7 @@ " name: \"${1/(.*)/${1:/capitalize}/}\",", " image: {", " source: \"./media/characters/$2/$1.svg\"", - " }", + " },", " form: \"$3\",", "}," ], @@ -126,5 +126,16 @@ " name: \"${1/([^-]+)(-)?/${1:/capitalize}${2:+ }/g}\",", "},", ] + }, + "Attribute": { + "prefix": "attribute", + "body": [ + "\"$1\": {", + " name: \"$2\",", + " power: $3,", + " type: \"$4\",", + " base: math.unit($5, \"$6\")", + "},", + ] } } diff --git a/presets/characters.js b/presets/characters.js index ee12d2a9..ff7ea5a9 100644 --- a/presets/characters.js +++ b/presets/characters.js @@ -30364,6 +30364,26 @@ characterMakers.push(() => makeCharacter( name: "Paw", image: { source: "./media/characters/remmyzilla/paw.svg" + }, + extraAttributes: { + "toeSize": { + name: "Toe Size", + power: 2, + type: "area", + base: math.unit(0.0035, "m^2") + }, + "padSize": { + name: "Pad Size", + power: 2, + type: "area", + base: math.unit(0.015, "m^2") + }, + "pawsize": { + name: "Paw Size", + power: 2, + type: "area", + base: math.unit(0.072, "m^2") + }, } }, maw: {