diff --git a/src/facilities/bodyModification/bodyModification.js b/src/facilities/bodyModification/bodyModification.js index 4d49c4acc0a8376e63d69fe0076b2af0565b0fe9..90436e337b163f21cbc21d1e9f3a823191303ea8 100644 --- a/src/facilities/bodyModification/bodyModification.js +++ b/src/facilities/bodyModification/bodyModification.js @@ -13,6 +13,7 @@ App.UI.bodyModification = function(slave, cheat = false) { Enunciate(slave); let piercingLevel; let modReaction = ""; + /** @type {string|0} */ let tattooChoice = ""; let scarApplied = false; let brandApplied = false; @@ -790,7 +791,7 @@ App.UI.bodyModification = function(slave, cheat = false) { App.UI.DOM.link( "Remove Scar", () => { - scarApplied = 0; + scarApplied = false; delete slave.scar[_scarName]; billSurgery(); degradation -= 10; @@ -953,7 +954,7 @@ App.UI.bodyModification = function(slave, cheat = false) { "left", () => { V.scarTarget.local = _leftTarget; - scarApplied = 1; + scarApplied = true; App.Medicine.Modification.addScar(slave, _leftTarget, V.scarDesign.local); billMod(); degradation += 10; @@ -975,7 +976,7 @@ App.UI.bodyModification = function(slave, cheat = false) { "right", () => { V.scarTarget.local = _rightTarget; - scarApplied = 1; + scarApplied = true; App.Medicine.Modification.addScar(slave, _rightTarget, V.scarDesign.local); billSurgery(); degradation += 10; @@ -1032,7 +1033,7 @@ App.UI.bodyModification = function(slave, cheat = false) { } } billMod(); - scarApplied = 1; + scarApplied = true; degradation += 10; refresh(); } @@ -1049,10 +1050,6 @@ App.UI.bodyModification = function(slave, cheat = false) { const el = new DocumentFragment(); let p = document.createElement('p'); let div = document.createElement('div'); - const { - him, He, - his, His - } = getPronouns(slave); App.UI.DOM.appendNewElement("h2", el, "Branding");