diff --git a/features.js b/features.js index d75bf4e..5a5d341 100644 --- a/features.js +++ b/features.js @@ -529,18 +529,32 @@ options = [ "unit": "mass" }, { - "name": "Paw area", - "id": "basePawArea", + "name": "Paw length", + "id": "basePawLength", "type": "float", - "default": "0.1", - "unit": "area" + "default": "0.15", + "unit": "length" }, { - "name": "Hand area", - "id": "baseHandArea", + "name": "Paw width", + "id": "basePawWidth", "type": "float", - "default": "0.1", - "unit": "area" + "default": "0.15", + "unit": "length" + }, + { + "name": "Hand length", + "id": "baseHandLength", + "type": "float", + "default": "0.25", + "unit": "length" + }, + { + "name": "Hand width", + "id": "baseHandWidth", + "type": "float", + "default": "0.15", + "unit": "length" }, { "name": "Ass area", diff --git a/game.js b/game.js index 95c61f9..0526c10 100644 --- a/game.js +++ b/game.js @@ -77,10 +77,14 @@ let macro = "scaling": function(value, scale, factor) { return value * Math.pow(scale,factor); }, get height() { return this.scaling(this.baseHeight, this.scale, 1); }, get mass () { return this.scaling(this.baseMass, this.scale, 3); }, - get pawArea() { return this.scaling(this.basePawArea * this.pawScale * this.pawScale, this.scale, 2); }, + get pawLength() { return this.scaling(this.basePawLength * this.pawScale, this.scale, 1); }, + get pawWidth() { return this.scaling(this.basePawWidth * this.pawScale, this.scale, 1); }, + get pawArea() { return this.pawLength * this.pawWidth; }, get analVoreArea() { return this.scaling(Math.pow(this.baseAnalVoreDiameter * this.assScale, 2), this.scale, 2); }, get assArea() { return this.scaling(this.baseAssArea * this.assScale, this.scale, 2); }, - get handArea() { return this.scaling(this.baseHandArea, this.scale, 2); }, + get handLength() { return this.scaling(this.baseHandLength, this.scale, 1); }, + get handWidth() { return this.scaling(this.baseHandWidth, this.scale, 1); }, + get handArea() { return this.handLength * this.handWidth }, get wingLength() { return this.scaling(this.baseWingLength, this.scale, 1); }, get wingWidth() { return this.scaling(this.baseWingWidth, this.scale, 1); },