From d128bdfb8c8a9b70e1cb0ae2a1787c4d34f0e68a Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Mon, 25 Mar 2019 18:43:07 -0400 Subject: [PATCH] Naming --- src/facilities/nursery/longChildDescription.tw | 2 +- src/js/descriptionWidgets.js | 4 ++-- src/uncategorized/longSlaveDescription.tw | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/facilities/nursery/longChildDescription.tw b/src/facilities/nursery/longChildDescription.tw index c74a6a2c12a..1c7eb0f0ffc 100644 --- a/src/facilities/nursery/longChildDescription.tw +++ b/src/facilities/nursery/longChildDescription.tw @@ -355,7 +355,7 @@ $he's <</if>> <</if>> - <<= App.Desc.Eye($activeChild)>> + <<= App.Desc.Eyes($activeChild)>> <<if $activeChild.fetish == "mindbroken">> However, @@.coral;$his mind is fundamentally broken;@@ everything $he experiences will quickly be forgotten. diff --git a/src/js/descriptionWidgets.js b/src/js/descriptionWidgets.js index 6ce007e7fc2..45341f4c266 100644 --- a/src/js/descriptionWidgets.js +++ b/src/js/descriptionWidgets.js @@ -1,5 +1,5 @@ /* eslint-disable no-undef */ -App.Desc.Eye = /** @param {App.Entity.SlaveState} slave */ function(slave) { +App.Desc.Eyes = /** @param {App.Entity.SlaveState} slave */ function(slave) { "use strict"; const V = State.variables; let r; @@ -7,7 +7,7 @@ App.Desc.Eye = /** @param {App.Entity.SlaveState} slave */ function(slave) { if (slave.eyes === -2) { const HC = hasVisibleHeterochromia(slave) ? 1 : 0; - if (slave.EyeColor !== "empty") { + if (slave.eyeColor !== "empty") { r += `${p.His} eyes are dull`; if (V.saleDescription && V.PC.medicine >= 50 || V.PC.slaving >= 50) { r += `, unfocused`; diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw index bc2c7ee5115..9e6e99ab430 100644 --- a/src/uncategorized/longSlaveDescription.tw +++ b/src/uncategorized/longSlaveDescription.tw @@ -541,7 +541,7 @@ is <<if $activeSlave.fuckdoll == 0>> /* NORMAL NON-FUCKDOLL MENTAL REPORT */ - <<= App.Desc.Eye($activeSlave)>> + <<= App.Desc.Eyes($activeSlave)>> <<if $activeSlave.fetish == "mindbroken">> However, @@.coral;$his mind is fundamentally broken;@@ everything $he experiences will quickly be forgotten. -- GitLab