From ba72b5be50e4ee4b4d96419fd226f20ac91df624 Mon Sep 17 00:00:00 2001 From: ezsh <ezsh.junk@gmail.com> Date: Tue, 25 Jun 2019 00:50:08 +0200 Subject: [PATCH] Fix missing comma Also update type definitions Closes #865 --- devTools/FC.d.ts | 3 +++ src/js/rulesAssistant.js | 2 +- src/js/rulesAssistantOptions.js | 5 ++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/devTools/FC.d.ts b/devTools/FC.d.ts index 57cfd50b8e9..fe3cc903d63 100644 --- a/devTools/FC.d.ts +++ b/devTools/FC.d.ts @@ -77,6 +77,8 @@ declare namespace App { vasectomy: boolean; bellyImplant: string; tummy: number; + earShape: number; + horn: number; } class RuleGrowthSetters { @@ -195,6 +197,7 @@ declare namespace App { inflationType: string; brandTarget: string; brandDesign: string; + hornColor: string; } class Rule { diff --git a/src/js/rulesAssistant.js b/src/js/rulesAssistant.js index 6a2e0d6e2a2..f9f5f011fa0 100644 --- a/src/js/rulesAssistant.js +++ b/src/js/rulesAssistant.js @@ -296,7 +296,7 @@ App.RA.newRule = function() { makeup: null, nails: null, hColor: null, - hornColor: null + hornColor: null, hLength: null, haircuts: null, hStyle: null, diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index f910aab6596..475c176bab5 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -3012,7 +3012,7 @@ window.rulesAssistantOptions = (function() { this.onchange = (value) => current_rule.set.hColor = value; } } - + class HornColorList extends ListSelector { constructor() { const pairs = [ @@ -3941,7 +3941,6 @@ window.rulesAssistantOptions = (function() { } } - class BodyHairSurgeryList extends RadioSelector { constructor() { const items = [ @@ -3965,7 +3964,7 @@ window.rulesAssistantOptions = (function() { this.onchange = (value) => current_rule.set.surgery.hair = value; } } - + class EarShapeSurgeryList extends RadioSelector { constructor() { const items = [ -- GitLab