diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index 69b376905ab93b5e83aa069147737425d75f5f95..36498d2dc242fc254ef9fdd5eb0e88fc8daf0578 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 10bca8a31321473fc150be25413f2a9560a8d42f..7ac0e52df4af17ed660f08ca8248c99ce5326110 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 dc084faf450d5190bde984c2b33cdcd173d9b876..23472d35b30e82e3737f75856abeede02e2a6b64 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 = "";