From c5d35fd112fc3278ba91535e1e0ea68be60f4465 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Fri, 29 Jun 2018 21:45:46 -0400 Subject: [PATCH] space and notes --- devNotes/VersionChangeLog-Premod+LoliMod.txt | 4 ++ devNotes/twine JS.txt | 67 ++++++++++++++++++++ src/js/PenthouseNaming.tw | 1 + 3 files changed, 72 insertions(+) diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index 69b376905ab..36498d2dc24 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -4,6 +4,10 @@ 6/29/2018 + 10 + -fixed forceFeeding + -SFanon's facility naming UI support + 9 -you can now change your refreshment choice at the black market -fixed pronoun problems in clothing selection diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index 10bca8a3132..7ac0e52df4a 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -15919,3 +15919,70 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { } return r; } + +/*:: PenthouseNaming [script]*/ + +window.MS = function() { + const V = State.variables; + var name = ""; + if (V.masterSuiteNameCaps === "The Master Suite") + name = "Master Suite" + else + name = V.masterSuiteNameCaps; + return `<<link "${name}""Master Suite">><</link>> `} +window.HS = function() { + const V = State.variables; + var name = ""; + if (V.HGSuiteNameCaps === "The Head Girl Suite") + name = "Head Girl Suite" + else + name = V.HGSuiteNameCaps; + return `<<link "${name}""Head Girl Suite">><</link>> `} +window.SQ = function() { + const V = State.variables; + var name = ""; + if (V.servantsQuartersNameCaps === "The Servants' Quarters") + name = "Servants' Quarters" + else + name = V.servantsQuartersNameCaps; + return `<<link "${name}""Servants' Quarters">><</link>> `} +window.S = function() { + const V = State.variables; + var name = ""; + if (V.spaNameCaps === "The Spa") + name = "Spa" + else + name = V.spaNameCaps; + return `<<link "${name}""Spa">><</link>> `} +window.CI = function() { + const V = State.variables; + var name = ""; + if (V.clinicNameCaps === "The Clinic") + name = "Clinic" + else + name = V.clinicNameCaps; + return `<<link "${name}""Clinic">><</link>> `} +window.SC = function() { + const V = State.variables; + var name = ""; + if (V.schoolroomNameCaps === "The Schoolroom") + name = "Schoolroom" + else + name = V.schoolroomNameCaps; + return `<<link "${name}""Schoolroom">><</link>> `} +window.CB = function() { + const V = State.variables; + var name = ""; + if (V.cellblockNameCaps === "The Cellblock") + name = "Cellblock" + else + name = V.cellblockNameCaps; + return `<<link "${name}""Cellblock">><</link>> `} +window.I = function() { + const V = State.variables; + var name = ""; + if (V.incubatorNameCaps === "The Incubator") + name = "Incubator" + else + name = V.incubatorNameCaps; + return `<<link "${name}""Incubator">><</link>> `} diff --git a/src/js/PenthouseNaming.tw b/src/js/PenthouseNaming.tw index dc084faf450..23472d35b30 100644 --- a/src/js/PenthouseNaming.tw +++ b/src/js/PenthouseNaming.tw @@ -1,4 +1,5 @@ :: PenthouseNaming [script] + window.MS = function() { const V = State.variables; var name = ""; -- GitLab