From 808d6c0bea1d40cc041f50a0b8b6a91ead188ff2 Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Sun, 23 Sep 2018 19:07:15 -0700 Subject: [PATCH] Nursery stuff --- src/js/rulesAssistantOptions.tw | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/js/rulesAssistantOptions.tw b/src/js/rulesAssistantOptions.tw index 3ac9e938b3e..2ef68b2860e 100644 --- a/src/js/rulesAssistantOptions.tw +++ b/src/js/rulesAssistantOptions.tw @@ -784,6 +784,7 @@ window.rulesAssistantOptions = (function() { if (V.masterSuite > 0) items.push("Master Suite"); if (V.schoolroom > 0) items.push("Schoolroom"); if (V.spa > 0) items.push("Spa"); + if (V.nursery > 0) item.push("Nursery"); if (V.clinic > 0) items.push("Clinic"); if (V.cellblock > 0) items.push("Cellblock"); items.forEach( @@ -815,6 +816,7 @@ window.rulesAssistantOptions = (function() { "Master Suite": "serve in the master suite", "Schoolroom": "learn in the schoolroom", "Spa": "rest in the spa", + "Nursery": "work as a nanny", "Clinic": "get treatment in the clinic", "Cellblock": "be confined in the cellblock", }[what]; @@ -1100,6 +1102,7 @@ window.rulesAssistantOptions = (function() { ["Nurse (slutty)", "a slutty nurse outfit"], ["Red Army uniform", "a red army uniform"], ["Schoolgirl", "a schoolgirl outfit"], + ["Shimapan Panties", "shimapan panties"], ["Silken ballgown", "a ball gown"], ["Skimpy battledress", "battledress"], ["Slave gown", "a slave gown"], @@ -1764,18 +1767,13 @@ window.rulesAssistantOptions = (function() { this.onchange = (value) => { current_rule.set.dietCum = value.cum; current_rule.set.dietMilk = value.milk; + this.setValue(this.value2string(current_rule.set.dietCum, current_rule.set.dietMilk)); }; } value2string(cum, milk) { return `cum: ${cum}, milk: ${milk}`; } - - setValue(what) { - what = this.value2string(what.cum, what.milk); - super.setValue(what); - } - } class DietSolidFoodList extends List { -- GitLab