diff --git a/src/interaction/siWardrobe.js b/src/interaction/siWardrobe.js index 9a9353bacf6c3e7919a8d45e78aa8332f5dd16fe..21659cca0a9447db6e99c27e24f4cebfaf8c2b73 100644 --- a/src/interaction/siWardrobe.js +++ b/src/interaction/siWardrobe.js @@ -41,7 +41,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { // Choose her own if (slave.clothes !== `choosing her own clothes`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` Let ${him} choose`, updateSlave: { clothes: `choosing her own clothes`, choosesOwnClothes: 1 } }); + choiceOptionsArray.push({text: ` Let ${him} choose`, updateSlave: {clothes: `choosing her own clothes`, choosesOwnClothes: 1}}); label.appendChild(generateRows(choiceOptionsArray, "clothes", false)); } el.appendChild(label); @@ -56,7 +56,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { } const reshapedItem = { text: object.name, - updateSlave: { clothes: key, choosesOwnClothes: 0 }, + updateSlave: {clothes: key, choosesOwnClothes: 0}, FS: object.fs, exposure: object.exposure, }; @@ -103,7 +103,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { // Choose her own if (slave.collar !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { collar: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {collar: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "collar", false)); } @@ -115,7 +115,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { for (const [key, object] of App.Data.slaveWear.collars) { const reshapedItem = { text: object.name, - updateSlave: { collar: key }, + updateSlave: {collar: key}, FS: object.fs, }; if (object.harsh) { @@ -159,7 +159,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { // Choose her own if (slave.faceAccessory !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { faceAccessory: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {faceAccessory: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "faceAccessory", false)); } @@ -170,7 +170,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { for (const [key, object] of App.Data.slaveWear.faceAccessory) { const reshapedItem = { text: object.name, - updateSlave: { faceAccessory: key }, + updateSlave: {faceAccessory: key}, FS: object.fs, }; array.push(reshapedItem); @@ -213,7 +213,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { // Choose her own if (slave.mouthAccessory !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { mouthAccessory: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {mouthAccessory: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "mouthAccessory", false)); } @@ -224,7 +224,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { for (const [key, object] of App.Data.slaveWear.mouthAccessory) { const reshapedItem = { text: object.name, - updateSlave: { mouthAccessory: key }, + updateSlave: {mouthAccessory: key}, FS: object.fs, }; array.push(reshapedItem); @@ -256,7 +256,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { // Choose her own if (slave.armAccessory !== "none") { - array.push({ text: ` None`, updateSlave: { armAccessory: `none` } }); + array.push({text: ` None`, updateSlave: {armAccessory: `none`}}); label.appendChild(generateRows(array, "armAccessory", false)); } @@ -265,8 +265,8 @@ App.UI.SlaveInteract.wardrobe = function(slave) { let links = document.createElement('div'); links.className = "choices"; array = [ - { text: "Hand gloves", updateSlave: { armAccessory: "hand gloves" } }, - { text: "Elbow gloves", updateSlave: { armAccessory: "elbow gloves" } } + {text: "Hand gloves", updateSlave: {armAccessory: "hand gloves"}}, + {text: "Elbow gloves", updateSlave: {armAccessory: "elbow gloves"}} ]; links.appendChild(generateRows(array, "armAccessory", false)); el.appendChild(links); @@ -299,7 +299,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { for (const [key, object] of App.Data.slaveWear.shoes) { const reshapedItem = { text: object.name, - updateSlave: { shoes: key }, + updateSlave: {shoes: key}, FS: object.fs, }; optionsArray.push(reshapedItem); @@ -340,7 +340,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { // Choose her own if (slave.legAccessory !== "none") { - array.push({ text: ` None`, updateSlave: { legAccessory: `none` } }); + array.push({text: ` None`, updateSlave: {legAccessory: `none`}}); label.appendChild(generateRows(array, "legAccessory", false)); } @@ -349,8 +349,8 @@ App.UI.SlaveInteract.wardrobe = function(slave) { let links = document.createElement('div'); links.className = "choices"; array = [ - { text: "Short stockings", updateSlave: { legAccessory: "short stockings" } }, - { text: "Long stockings", updateSlave: { legAccessory: "long stockings" } } + {text: "Short stockings", updateSlave: {legAccessory: "short stockings"}}, + {text: "Long stockings", updateSlave: {legAccessory: "long stockings"}} ]; links.appendChild(generateRows(array, "legAccessory", false)); el.appendChild(links); @@ -360,7 +360,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { function bellyAccessory() { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { bellyAccessory: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {bellyAccessory: `none`}}); let optionsArray = []; @@ -371,7 +371,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { } const reshapedItem = { text: object.name, - updateSlave: { bellyAccessory: key }, + updateSlave: {bellyAccessory: key}, FS: object.fs, }; optionsArray.push(reshapedItem); @@ -424,7 +424,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { if (slave.buttplug !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { buttplug: `none`, buttplugAttachment: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {buttplug: `none`, buttplugAttachment: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "buttplug", false)); } el.appendChild(label); @@ -438,7 +438,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { } const reshapedItem = { text: object.name, - updateSlave: { buttplug: key }, + updateSlave: {buttplug: key}, FS: object.fs, }; optionsArray.push(reshapedItem); @@ -471,7 +471,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { if (slave.buttplugAttachment !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { buttplugAttachment: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {buttplugAttachment: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "buttplugAttachment", false)); } el.appendChild(label); @@ -485,7 +485,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { } const reshapedItem = { text: object.name, - updateSlave: { buttplugAttachment: key }, + updateSlave: {buttplugAttachment: key}, FS: object.fs, }; optionsArray.push(reshapedItem); @@ -517,7 +517,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { if (slave.vaginalAccessory !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { vaginalAccessory: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {vaginalAccessory: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "vaginalAccessory", false)); } el.appendChild(label); @@ -531,7 +531,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { } const reshapedItem = { text: object.name, - updateSlave: { vaginalAccessory: key }, + updateSlave: {vaginalAccessory: key}, FS: object.fs, }; optionsArray.push(reshapedItem); @@ -564,7 +564,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { if (slave.vaginalAttachment !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { vaginalAttachment: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {vaginalAttachment: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "vaginalAttachment", false)); } el.appendChild(label); @@ -578,7 +578,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { } const reshapedItem = { text: object.name, - updateSlave: { vaginalAttachments: key }, + updateSlave: {vaginalAttachments: key}, FS: object.fs, }; optionsArray.push(reshapedItem); @@ -608,7 +608,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { if (slave.dickAccessory !== `none`) { let choiceOptionsArray = []; - choiceOptionsArray.push({ text: ` None`, updateSlave: { dickAccessory: `none` } }); + choiceOptionsArray.push({text: ` None`, updateSlave: {dickAccessory: `none`}}); label.appendChild(generateRows(choiceOptionsArray, "dickAccessory", false)); } el.appendChild(label); @@ -622,7 +622,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { } const reshapedItem = { text: object.name, - updateSlave: { dickAccessory: key }, + updateSlave: {dickAccessory: key}, FS: object.fs, }; optionsArray.push(reshapedItem);