Skip to content
Snippets Groups Projects
Commit da8e16e0 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

fix ducking autoformat

parent 6bdec74d
No related branches found
No related tags found
1 merge request!8512Make wardrobe tooltips data driven
...@@ -41,7 +41,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -41,7 +41,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
// Choose her own // Choose her own
if (slave.clothes !== `choosing her own clothes`) { if (slave.clothes !== `choosing her own clothes`) {
let choiceOptionsArray = []; 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)); label.appendChild(generateRows(choiceOptionsArray, "clothes", false));
} }
el.appendChild(label); el.appendChild(label);
...@@ -56,7 +56,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -56,7 +56,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
} }
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { clothes: key, choosesOwnClothes: 0 }, updateSlave: {clothes: key, choosesOwnClothes: 0},
FS: object.fs, FS: object.fs,
exposure: object.exposure, exposure: object.exposure,
}; };
...@@ -103,7 +103,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -103,7 +103,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
// Choose her own // Choose her own
if (slave.collar !== `none`) { if (slave.collar !== `none`) {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { collar: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {collar: `none`}});
label.appendChild(generateRows(choiceOptionsArray, "collar", false)); label.appendChild(generateRows(choiceOptionsArray, "collar", false));
} }
...@@ -115,7 +115,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -115,7 +115,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
for (const [key, object] of App.Data.slaveWear.collars) { for (const [key, object] of App.Data.slaveWear.collars) {
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { collar: key }, updateSlave: {collar: key},
FS: object.fs, FS: object.fs,
}; };
if (object.harsh) { if (object.harsh) {
...@@ -159,7 +159,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -159,7 +159,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
// Choose her own // Choose her own
if (slave.faceAccessory !== `none`) { if (slave.faceAccessory !== `none`) {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { faceAccessory: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {faceAccessory: `none`}});
label.appendChild(generateRows(choiceOptionsArray, "faceAccessory", false)); label.appendChild(generateRows(choiceOptionsArray, "faceAccessory", false));
} }
...@@ -170,7 +170,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -170,7 +170,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
for (const [key, object] of App.Data.slaveWear.faceAccessory) { for (const [key, object] of App.Data.slaveWear.faceAccessory) {
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { faceAccessory: key }, updateSlave: {faceAccessory: key},
FS: object.fs, FS: object.fs,
}; };
array.push(reshapedItem); array.push(reshapedItem);
...@@ -213,7 +213,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -213,7 +213,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
// Choose her own // Choose her own
if (slave.mouthAccessory !== `none`) { if (slave.mouthAccessory !== `none`) {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { mouthAccessory: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {mouthAccessory: `none`}});
label.appendChild(generateRows(choiceOptionsArray, "mouthAccessory", false)); label.appendChild(generateRows(choiceOptionsArray, "mouthAccessory", false));
} }
...@@ -224,7 +224,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -224,7 +224,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
for (const [key, object] of App.Data.slaveWear.mouthAccessory) { for (const [key, object] of App.Data.slaveWear.mouthAccessory) {
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { mouthAccessory: key }, updateSlave: {mouthAccessory: key},
FS: object.fs, FS: object.fs,
}; };
array.push(reshapedItem); array.push(reshapedItem);
...@@ -256,7 +256,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -256,7 +256,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
// Choose her own // Choose her own
if (slave.armAccessory !== "none") { if (slave.armAccessory !== "none") {
array.push({ text: ` None`, updateSlave: { armAccessory: `none` } }); array.push({text: ` None`, updateSlave: {armAccessory: `none`}});
label.appendChild(generateRows(array, "armAccessory", false)); label.appendChild(generateRows(array, "armAccessory", false));
} }
...@@ -265,8 +265,8 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -265,8 +265,8 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
let links = document.createElement('div'); let links = document.createElement('div');
links.className = "choices"; links.className = "choices";
array = [ array = [
{ text: "Hand gloves", updateSlave: { armAccessory: "hand gloves" } }, {text: "Hand gloves", updateSlave: {armAccessory: "hand gloves"}},
{ text: "Elbow gloves", updateSlave: { armAccessory: "elbow gloves" } } {text: "Elbow gloves", updateSlave: {armAccessory: "elbow gloves"}}
]; ];
links.appendChild(generateRows(array, "armAccessory", false)); links.appendChild(generateRows(array, "armAccessory", false));
el.appendChild(links); el.appendChild(links);
...@@ -299,7 +299,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -299,7 +299,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
for (const [key, object] of App.Data.slaveWear.shoes) { for (const [key, object] of App.Data.slaveWear.shoes) {
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { shoes: key }, updateSlave: {shoes: key},
FS: object.fs, FS: object.fs,
}; };
optionsArray.push(reshapedItem); optionsArray.push(reshapedItem);
...@@ -340,7 +340,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -340,7 +340,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
// Choose her own // Choose her own
if (slave.legAccessory !== "none") { if (slave.legAccessory !== "none") {
array.push({ text: ` None`, updateSlave: { legAccessory: `none` } }); array.push({text: ` None`, updateSlave: {legAccessory: `none`}});
label.appendChild(generateRows(array, "legAccessory", false)); label.appendChild(generateRows(array, "legAccessory", false));
} }
...@@ -349,8 +349,8 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -349,8 +349,8 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
let links = document.createElement('div'); let links = document.createElement('div');
links.className = "choices"; links.className = "choices";
array = [ array = [
{ text: "Short stockings", updateSlave: { legAccessory: "short stockings" } }, {text: "Short stockings", updateSlave: {legAccessory: "short stockings"}},
{ text: "Long stockings", updateSlave: { legAccessory: "long stockings" } } {text: "Long stockings", updateSlave: {legAccessory: "long stockings"}}
]; ];
links.appendChild(generateRows(array, "legAccessory", false)); links.appendChild(generateRows(array, "legAccessory", false));
el.appendChild(links); el.appendChild(links);
...@@ -360,7 +360,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -360,7 +360,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
function bellyAccessory() { function bellyAccessory() {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { bellyAccessory: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {bellyAccessory: `none`}});
let optionsArray = []; let optionsArray = [];
...@@ -371,7 +371,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -371,7 +371,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
} }
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { bellyAccessory: key }, updateSlave: {bellyAccessory: key},
FS: object.fs, FS: object.fs,
}; };
optionsArray.push(reshapedItem); optionsArray.push(reshapedItem);
...@@ -424,7 +424,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -424,7 +424,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
if (slave.buttplug !== `none`) { if (slave.buttplug !== `none`) {
let choiceOptionsArray = []; 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)); label.appendChild(generateRows(choiceOptionsArray, "buttplug", false));
} }
el.appendChild(label); el.appendChild(label);
...@@ -438,7 +438,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -438,7 +438,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
} }
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { buttplug: key }, updateSlave: {buttplug: key},
FS: object.fs, FS: object.fs,
}; };
optionsArray.push(reshapedItem); optionsArray.push(reshapedItem);
...@@ -471,7 +471,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -471,7 +471,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
if (slave.buttplugAttachment !== `none`) { if (slave.buttplugAttachment !== `none`) {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { buttplugAttachment: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {buttplugAttachment: `none`}});
label.appendChild(generateRows(choiceOptionsArray, "buttplugAttachment", false)); label.appendChild(generateRows(choiceOptionsArray, "buttplugAttachment", false));
} }
el.appendChild(label); el.appendChild(label);
...@@ -485,7 +485,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -485,7 +485,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
} }
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { buttplugAttachment: key }, updateSlave: {buttplugAttachment: key},
FS: object.fs, FS: object.fs,
}; };
optionsArray.push(reshapedItem); optionsArray.push(reshapedItem);
...@@ -517,7 +517,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -517,7 +517,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
if (slave.vaginalAccessory !== `none`) { if (slave.vaginalAccessory !== `none`) {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { vaginalAccessory: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {vaginalAccessory: `none`}});
label.appendChild(generateRows(choiceOptionsArray, "vaginalAccessory", false)); label.appendChild(generateRows(choiceOptionsArray, "vaginalAccessory", false));
} }
el.appendChild(label); el.appendChild(label);
...@@ -531,7 +531,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -531,7 +531,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
} }
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { vaginalAccessory: key }, updateSlave: {vaginalAccessory: key},
FS: object.fs, FS: object.fs,
}; };
optionsArray.push(reshapedItem); optionsArray.push(reshapedItem);
...@@ -564,7 +564,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -564,7 +564,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
if (slave.vaginalAttachment !== `none`) { if (slave.vaginalAttachment !== `none`) {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { vaginalAttachment: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {vaginalAttachment: `none`}});
label.appendChild(generateRows(choiceOptionsArray, "vaginalAttachment", false)); label.appendChild(generateRows(choiceOptionsArray, "vaginalAttachment", false));
} }
el.appendChild(label); el.appendChild(label);
...@@ -578,7 +578,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -578,7 +578,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
} }
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { vaginalAttachments: key }, updateSlave: {vaginalAttachments: key},
FS: object.fs, FS: object.fs,
}; };
optionsArray.push(reshapedItem); optionsArray.push(reshapedItem);
...@@ -608,7 +608,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -608,7 +608,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
if (slave.dickAccessory !== `none`) { if (slave.dickAccessory !== `none`) {
let choiceOptionsArray = []; let choiceOptionsArray = [];
choiceOptionsArray.push({ text: ` None`, updateSlave: { dickAccessory: `none` } }); choiceOptionsArray.push({text: ` None`, updateSlave: {dickAccessory: `none`}});
label.appendChild(generateRows(choiceOptionsArray, "dickAccessory", false)); label.appendChild(generateRows(choiceOptionsArray, "dickAccessory", false));
} }
el.appendChild(label); el.appendChild(label);
...@@ -622,7 +622,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) { ...@@ -622,7 +622,7 @@ App.UI.SlaveInteract.wardrobe = function(slave) {
} }
const reshapedItem = { const reshapedItem = {
text: object.name, text: object.name,
updateSlave: { dickAccessory: key }, updateSlave: {dickAccessory: key},
FS: object.fs, FS: object.fs,
}; };
optionsArray.push(reshapedItem); optionsArray.push(reshapedItem);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment