diff --git a/src/art/artWidgets.tw b/src/art/artWidgets.tw index 9d6b31289087c834d2a9ac3808d426016b350893..c450a5dd1f19409359436c026d1195d6606024cf 100644 --- a/src/art/artWidgets.tw +++ b/src/art/artWidgets.tw @@ -39,10 +39,10 @@ $args[2]: icon UI Display for vector art, 1 for on. /* prepare HTML color codes for slave display */ /* note: latex clothing is mostly emulated by rubber color for skin (and shoes) */ /* TODO: consistently use American "color" instead of "colour" for all identifiers */ -<<include Art_Vector_Set_Color_Outfit_>> -<<include Art_Vector_Set_Color_Skin_>> -<<include Art_Vector_Set_Color_Hair_>> -<<include Art_Vector_Set_Color_Shoe_>> +<<include Art_Vector_Set_Colour_Outfit_>> +<<include Art_Vector_Set_Colour_Skin_>> +<<include Art_Vector_Set_Colour_Hair_>> +<<include Art_Vector_Set_Colour_Shoe_>> <</silently>> <<include Art_Vector_Generate_Stylesheet_>> /* @@ -96,7 +96,7 @@ vector art added later is drawn over previously added art <<if $args[0].customHairVector>> <<set _hairStyle = $args[0].customHairVector>> <<else>> - <<set _hairStyle = ["neat", "up", "ponytail", "tails", "bun", "luxurious", "messy", "eary", "dreadlocks", "braided", "afro", "strip", "trimmed", "buzzcut"].includes($args[0].hStyle) ? $args[0].hStyle : "neat">> + <<set _hairStyle = ["afro", "braided", "bun", "buzzcut", "dreadlocks", "eary", "luxurious", "messy", "neat", "ponytail", "strip", "tails", "trimmed", "up"].includes($args[0].hStyle) ? $args[0].hStyle : "neat">> <</if>> <<set _underArmHStyle = $args[0].underArmHStyle>> diff --git a/src/art/vector/Set_Color_Hair.tw b/src/art/vector/Set_Color_Hair.tw index 25d4a077b762fe7aa97df43e41bce58ec1074e64..01bbb628283676e0ad747d2b9685e739f3b8b038 100644 --- a/src/art/vector/Set_Color_Hair.tw +++ b/src/art/vector/Set_Color_Hair.tw @@ -1,4 +1,4 @@ -:: Art_Vector_Set_Color_Hair_ [nobr] +:: Art_Vector_Set_Colour_Hair_ [nobr] /* "Free-Cities Dyes (taken from Cosmetic Rules Assistant Settings)"- diff --git a/src/art/vector/Set_Color_Outfit.tw b/src/art/vector/Set_Color_Outfit.tw index e8d86f0940573829f907e0e79f39f53e9097d4a3..30e6f7e4c39bc59f79f6f7bdb29040d8a6c2d555 100644 --- a/src/art/vector/Set_Color_Outfit.tw +++ b/src/art/vector/Set_Color_Outfit.tw @@ -1,10 +1,10 @@ -:: Art_Vector_Set_Color_Outfit_ +:: Art_Vector_Set_Colour_Outfit_ -/* BEWARE: _outfitBaseColor is used by Art_Vector_Set_Color_Skin_ */ +/* BEWARE: _outfitBaseColor is used by Art_Vector_Set_Colour_Skin_ */ /* BEWARE: _outfitBaseColor is read by Wardrobe Use */ /* BEWARE: _glassesColor is read by Wardrobe Use */ -<<set _s = Art_Vector_Set_Color_Outfit(_artSlave) >> +<<set _s = Art_Vector_Set_Colour_Outfit(_artSlave) >> <<set _outfitBaseColor = _s.outfitBaseColor>> <<set _glassesColor = _s.glassesColor>> <<set _eyeColor = _s.eyeColor>> \ No newline at end of file diff --git a/src/art/vector/Set_Color_Outfit_JS.tw b/src/art/vector/Set_Color_Outfit_JS.tw index 4dc2d3f2e80efbcc04c503e71776747157edfeba..7b8836ec7269627a911bdc459d7ef6ab0a5dc80d 100644 --- a/src/art/vector/Set_Color_Outfit_JS.tw +++ b/src/art/vector/Set_Color_Outfit_JS.tw @@ -1,6 +1,6 @@ -:: Art_Vector_Set_Color_Outfit_JS [script] +:: Art_Vector_Set_Colour_Outfit_JS [script] -window.Art_Vector_Set_Color_Outfit = function(artSlave) { +window.Art_Vector_Set_Colour_Outfit = function(artSlave) { var s = { outfitBaseColor : undefined, diff --git a/src/art/vector/Set_Color_Shoe.tw b/src/art/vector/Set_Color_Shoe.tw index 524af5a916d0e3efeee61c6bea1afed357c8e730..676973d8d8be801bf2c6e8588395ee81cfc3941d 100644 --- a/src/art/vector/Set_Color_Shoe.tw +++ b/src/art/vector/Set_Color_Shoe.tw @@ -1,4 +1,4 @@ -:: Art_Vector_Set_Color_Shoe_ [nobr] +:: Art_Vector_Set_Colour_Shoe_ [nobr] /* courtesy of Nov-X */ diff --git a/src/art/vector/Set_Color_Skin.tw b/src/art/vector/Set_Color_Skin.tw index 639426720c443680d0f5e0940f4e982b0d1462cd..9399a5fe64ce8e46d05a8d0e23b73f16b88fd930 100644 --- a/src/art/vector/Set_Color_Skin.tw +++ b/src/art/vector/Set_Color_Skin.tw @@ -1,8 +1,8 @@ -:: Art_Vector_Set_Color_Skin_ +:: Art_Vector_Set_Colour_Skin_ -/* BEWARE: _outfitBaseColor is set by Art_Vector_Set_Color_Outfit_ */ +/* BEWARE: _outfitBaseColor is set by Art_Vector_Set_Colour_Outfit_ */ -<<set _s = Art_Vector_Set_Color_Skin(_artSlave, _outfitBaseColor) >> +<<set _s = Art_Vector_Set_Colour_Skin(_artSlave, _outfitBaseColor) >> <<set _areolaStyle = _s.areolaStyle>> <<set _bellySkinStyle = _s.bellySkinStyle>> <<set _boobSkinStyle = _s.boobSkinStyle>> diff --git a/src/art/vector/Set_Color_Skin_JS.tw b/src/art/vector/Set_Color_Skin_JS.tw index 30dae14673ac5df04fa817a14936ea18ee3bf476..d5a68da6e8bec2de828ccdd7397e79ff1ceb1e09 100644 --- a/src/art/vector/Set_Color_Skin_JS.tw +++ b/src/art/vector/Set_Color_Skin_JS.tw @@ -1,6 +1,6 @@ -:: Art_Vector_Set_Color_Skin_JS [script] +:: Art_Vector_Set_Colour_Skin_JS [script] -window.Art_Vector_Set_Color_Skin = function(artSlave, outfitBaseColor) { +window.Art_Vector_Set_Colour_Skin = function(artSlave, outfitBaseColor) { /* create an aggregator object yielding all computed styles */ var s = { diff --git a/src/art/vector_revamp/vectorRevampedArtControlJS.tw b/src/art/vector_revamp/vectorRevampedArtControlJS.tw index 510830cc0b8d15fb58c7a33b0fa840c5962d73ec..72a9e372980636fd4ed8a23f6e4c20ac3a9817aa 100644 --- a/src/art/vector_revamp/vectorRevampedArtControlJS.tw +++ b/src/art/vector_revamp/vectorRevampedArtControlJS.tw @@ -419,9 +419,9 @@ class ClothingControl { } } - get restrictiveLatex() { + get restrictiveLatex() { var defaultOutfitColor = "#515351"; - var areolaColor = "#383838"; + var areolaColor = "#383838"; return { bodySettings: { showEyes: false, @@ -638,7 +638,7 @@ class RevampedArtControl { copyProperties(objTo, objFrom) { for (var attr in objFrom) { - if (objFrom.hasOwnProperty(attr)) + if (objFrom.hasOwnProperty(attr)) objTo[attr] = objFrom[attr]; } } @@ -649,7 +649,7 @@ class RevampedArtControl { applyClothingStyleSettings(styleSettings) { for (var attr in styleSettings) { - if (styleSettings.hasOwnProperty(attr)) + if (styleSettings.hasOwnProperty(attr)) this.copyProperties(this.styleControl[attr], styleSettings[attr]); } } @@ -746,7 +746,7 @@ class RevampedArtControl { else if (this.artSlave.trust >= -20) { if (this.artSlave.devotion <= 20) { rightArmType = "Low"; - } + } else { rightArmType = "High"; @@ -833,7 +833,7 @@ class RevampedArtControl { case "dreadlocks": result.push("Art_Vector_Revamp_Hair_Back_Dreadlocks_" + this.hairLength); break; - default: + default: result.push("Art_Vector_Revamp_Hair_Back_Messy_" + this.hairLength); } @@ -845,7 +845,7 @@ class RevampedArtControl { var leftArmType = ""; var rightArmType = ""; - + if (this.artSlave.amp == 1) { result.push("Art_Vector_Revamp_Arm_Stump"); } @@ -883,7 +883,7 @@ class RevampedArtControl { buttSize = 2; else if (this.artSlave.butt > 2) buttSize = 1; - else + else buttSize = 0; result.push("Art_Vector_Revamp_Butt_" + buttSize); @@ -1000,7 +1000,7 @@ class RevampedArtControl { { this.pubicTattooText = this.artSlave.dick != 0 ? "Useless" : "Fucktoy"; result.push("Art_Vector_Revamp_Pussy_Tattoo"); - } + } switch(this.artSlave.pubicHStyle) { case "strip": @@ -1095,7 +1095,7 @@ class RevampedArtControl { var ballsSize = 0; - if (this.artSlave.scrotum >= 6) + if (this.artSlave.scrotum >= 6) ballsSize = 4; else if (this.artSlave.scrotum >= 4) ballsSize = 3; @@ -1103,7 +1103,7 @@ class RevampedArtControl { ballsSize = 2; else if (this.artSlave.scrotum >= 2) ballsSize = 1; - else + else ballsSize = 0; result.push("Art_Vector_Revamp_Balls_" + ballsSize); @@ -1229,7 +1229,7 @@ class RevampedArtControl { } } - else + else { var artScaleFactor = 0.804354*Math.log(0.00577801*this.artSlave.boobs); @@ -1314,7 +1314,7 @@ class RevampedArtControl { if (this.showNipplesPiercings) { var size = "Small"; - + if (this.artSlave.boobs < 600) { size = "Small"; @@ -1331,7 +1331,7 @@ class RevampedArtControl { { if (this.artSlave.boobs < 300) result.push("Art_Vector_Revamp_Boob_None_Piercing"); - else + else result.push("Art_Vector_Revamp_Boob_" + size + "_Piercing"); } else if (this.artSlave.nipplesPiercing == 2) @@ -1346,7 +1346,7 @@ class RevampedArtControl { { if (this.artSlave.boobs < 300) result.push("Art_Vector_Revamp_Boob_None_Areola_Piercing"); - else + else result.push("Art_Vector_Revamp_Boob_" + size + "_Areola_Piercing"); } else if (this.artSlave.areolaePiercing == 2) @@ -1428,7 +1428,7 @@ class RevampedArtControl { break; case "neck corset": result.push("Art_Vector_Revamp_Collar_Neck_Corset"); - break; + break; case "pretty jewelry": result.push("Art_Vector_Revamp_Collar_Pretty_Jewelry"); break; @@ -1446,10 +1446,10 @@ class RevampedArtControl { break; case "stylish leather": result.push("Art_Vector_Revamp_Collar_Stylish_Leather"); - break; + break; case "tight steel": result.push("Art_Vector_Revamp_Collar_Tight_Steel"); - break; + break; default: } @@ -1524,7 +1524,7 @@ class RevampedArtControl { result.push("Art_Vector_Revamp_Head_Eyebrow_Closed_Piercing_Heavy"); } } - else + else { result.push("Art_Vector_Revamp_Eyes_Angry"); result.push("Art_Vector_Revamp_Eyes_Angry_Highlights"); @@ -1573,7 +1573,7 @@ class RevampedArtControl { result.push("Art_Vector_Revamp_Head_Mouth_Happy_Piercing_Heavy"); } } - else + else { result.push("Art_Vector_Revamp_Makeup_Mouth_Angry_" + lipsSize); result.push("Art_Vector_Revamp_Mouth_Angry_" + lipsSize); @@ -1667,7 +1667,7 @@ class RevampedArtControl { case "dreadlocks": result.push("Art_Vector_Revamp_Hair_Fore_Dreadlocks"); break; - default: + default: result.push("Art_Vector_Revamp_Hair_Fore_Messy"); } @@ -1694,7 +1694,7 @@ class RevampedArtControl { Array.prototype.push.apply(layers, this.chastityBeltLayer); Array.prototype.push.apply(layers, this.torsoOutfitLayer); Array.prototype.push.apply(layers, this.ballsLayer); - Array.prototype.push.apply(layers, this.bellyLayer); + Array.prototype.push.apply(layers, this.bellyLayer); Array.prototype.push.apply(layers, this.penisLayer); Array.prototype.push.apply(layers, this.boobLayer); Array.prototype.push.apply(layers, this.boobAddonLayer); diff --git a/src/uncategorized/wardrobeUse.tw b/src/uncategorized/wardrobeUse.tw index d52fc6371c67dd3cd2f263a70aa664b3757829c2..d32ec9fef1829dcedc2da55f53cbf1fc8c12280e 100644 --- a/src/uncategorized/wardrobeUse.tw +++ b/src/uncategorized/wardrobeUse.tw @@ -730,8 +730,8 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.'' <<if ($seeImages == 1) && ($imageChoice == 1)>> /* prepare display of currently selected color. */ /* TODO: update currently selected color upon outfit select */ - /* _clothingBaseColor is set by display (Art_Vector_Set_Color_Shoe_), but not all outfits define a color. */ - /* _skinColor is used as fallback default (set by Art_Vector_Set_Color_Skin_). */ + /* _clothingBaseColor is set by display (Art_Vector_Set_Colour_Shoe_), but not all outfits define a color. */ + /* _skinColor is used as fallback default (set by Art_Vector_Set_Colour_Skin_). */ <<set _clothingBaseColor = _skinColor >> <<if def _outfitBaseColor>> /* set default color predefined by choice of outfit */ @@ -895,7 +895,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.'' <<if ($seeImages == 1) && ($imageChoice == 1)>> /* prepare display of currently selected color. */ - /* _glassesColor is always set by display (Art_Vector_Set_Color_Outfit_) */ + /* _glassesColor is always set by display (Art_Vector_Set_Colour_Outfit_) */ <<if def $activeSlave.glassesColor>> /* regard current user selection */ <<set _glassesColor = $activeSlave.glassesColor>> @@ -957,7 +957,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.'' <<if ($seeImages == 1) && ($imageChoice == 1)>> /* prepare display of currently selected color. */ - /* _shoeColor is always set by display (Art_Vector_Set_Color_Shoe_) */ + /* _shoeColor is always set by display (Art_Vector_Set_Colour_Shoe_) */ /* TODO: update currently selected color upon shoe select */ <<if def $activeSlave.shoeColor>> /* regard current user selection */