STY: Misc linting fixes

This commit is contained in:
bananarama92 2025-04-09 17:03:45 +02:00
parent d7a84ef872
commit 588a232bfa
No known key found for this signature in database
GPG key ID: E83C7D3B5DA36248
3 changed files with 123 additions and 153 deletions
BondageClub
Assets/Female3DCG
Screens/Inventory/ItemNeckRestraints/CollarLeash

View file

@ -8060,18 +8060,16 @@ var AssetFemale3DCG = [
},
DefaultColor: ["#545454", "#EEEEEE", "#BC8B84"],
Layer: [
{ Name: "Main" },
{ Name: "Main" },
{ Name: "Highlights" },
{ Name: "Buckles" },
{ Name: "Buckles" },
{
Name: "BodyMask",
BlendingMode: "destination-out",
TextureMask: {
Groups: [
"BodyUpper", "BodyLower", "Suit", "SuitLower"
]
}
}
Groups: ["BodyUpper", "BodyLower", "Suit", "SuitLower"],
},
},
],
},
// Flat Chest Compatible Clothing
@ -18078,18 +18076,16 @@ var AssetFemale3DCG = [
},
],
},
{
{
Name: "LargeBushyTail",
InventoryID: 1232,
Fetish: ["Pet"],
BuyGroup: "largeBushyTail",
DefaultColor: ["#8F5F2D"],
BuyGroup: "largeBushyTail",
DefaultColor: ["#8F5F2D"],
Value: 1,
Top: 60,
Left: 10,
Layer: [
{ Name: "Tail", AllowColorize: true },
],
Top: 60,
Left: 10,
Layer: [{ Name: "Tail", AllowColorize: true }],
},
],
Color: [
@ -19805,7 +19801,7 @@ var AssetFemale3DCG = [
{
Name: "HairFront66",
Top: 30,
Left: 140
Left: 140,
},
{
Name: "HairFront67",
@ -19823,8 +19819,8 @@ var AssetFemale3DCG = [
},
{
Name: "streak",
}
]
},
],
},
{
Name: "HairFront68",
@ -19836,7 +19832,7 @@ var AssetFemale3DCG = [
{
Name: "Streak",
},
]
],
},
{
Name: "HairFront69",
@ -19848,7 +19844,7 @@ var AssetFemale3DCG = [
{
Name: "Streak",
},
]
],
},
{
Name: "HairFront70",
@ -19860,7 +19856,7 @@ var AssetFemale3DCG = [
{
Name: "Tone",
},
]
],
},
{
Name: "HairFront71",
@ -19875,7 +19871,7 @@ var AssetFemale3DCG = [
CopyLayerColor: "Main",
AllowTypes: { typed: 1 },
},
]
],
},
{
Name: "HairFront72",
@ -19891,7 +19887,7 @@ var AssetFemale3DCG = [
{
Name: "Tone",
},
]
],
},
{
Name: "HairFront74",
@ -19903,7 +19899,7 @@ var AssetFemale3DCG = [
{
Name: "Streak",
},
]
],
},
],
Color: [
@ -23746,21 +23742,11 @@ var AssetFemale3DCG = [
SetPose: ["LegsClosed"],
AllowActivePose: ["Kneel"],
Effect: [E.Slow],
PoseMapping: {...AssetPoseMapping.ItemTorso},
Block: [
"ItemPelvis",
"ItemVulva",
"ItemVulvaPiercings",
"ItemButt",
],
PoseMapping: { ...AssetPoseMapping.ItemTorso },
Block: ["ItemPelvis", "ItemVulva", "ItemVulvaPiercings", "ItemButt"],
Alpha: [
{
Group: [
"Socks",
"SocksRight",
"SocksLeft",
"Shoes",
],
Group: ["Socks", "SocksRight", "SocksLeft", "Shoes"],
Masks: [[160, 365, 180, 300]],
},
],
@ -23780,7 +23766,7 @@ var AssetFemale3DCG = [
AllFours: PoseType.HIDE,
Hogtied: "Hogtied",
},
AllowColorize: true
AllowColorize: true,
},
{
Name: "Lower",
@ -23824,24 +23810,24 @@ var AssetFemale3DCG = [
},
Alpha: [
{
Group: ["Cloth","ClothLower","Corset"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[120, 440, 260, 560]],
Masks: [[0, 450, 500, 550]],
},
{
Pose: ["BackBoxTie"],
Group: ["Cloth","ClothLower","Corset"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[0, 420, 500, 580]],
},
{
Pose: ["BackElbowTouch","Yoked","OverTheHead"],
Group: ["Cloth","ClothLower","Corset"],
Pose: ["BackElbowTouch", "Yoked", "OverTheHead"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[0, 390, 500, 610]],
},
],
CreateLayerTypes: ["z"],
AllowTypes: { z: 1 },
AllowColorize: false
AllowColorize: false,
},
{
Name: "BellyB",
@ -23860,7 +23846,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["w"],
AllowTypes: { w: 1 },
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "BellyM",
@ -23879,7 +23865,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["w"],
AllowTypes: { w: 1 },
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "BellyLock",
@ -23901,7 +23887,7 @@ var AssetFemale3DCG = [
AllowTypes: { w: 1 },
LockLayer: true,
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegB",
@ -23918,7 +23904,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["x"],
AllowTypes: { x: 1 },
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegM",
@ -23935,7 +23921,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["x"],
AllowTypes: { x: 1 },
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegLock",
@ -23953,7 +23939,7 @@ var AssetFemale3DCG = [
AllowTypes: { x: 1 },
LockLayer: true,
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "Neck",
@ -23972,7 +23958,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: [1, 2] },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
{
Name: "NeckB",
@ -23991,7 +23977,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: 2 },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
{
Name: "NeckM",
@ -24010,7 +23996,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: 2 },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
],
},
@ -29013,18 +28999,16 @@ var AssetFemale3DCG = [
},
DefaultColor: ["#545454", "#EEEEEE", "#BC8B84"],
Layer: [
{ Name: "Main" },
{ Name: "Main" },
{ Name: "Highlights" },
{ Name: "Buckles" },
{ Name: "Buckles" },
{
Name: "BodyMask",
BlendingMode: "destination-out",
TextureMask: {
Groups: [
"BodyUpper", "BodyLower", "Suit", "SuitLower"
]
}
}
Groups: ["BodyUpper", "BodyLower", "Suit", "SuitLower"],
},
},
],
},
{
@ -29058,21 +29042,11 @@ var AssetFemale3DCG = [
SetPose: ["LegsClosed"],
AllowActivePose: ["Kneel"],
Effect: [E.Slow],
Block: [
"ItemPelvis",
"ItemVulva",
"ItemVulvaPiercings",
"ItemButt",
],
PoseMapping: {...AssetPoseMapping.ItemTorso},
Block: ["ItemPelvis", "ItemVulva", "ItemVulvaPiercings", "ItemButt"],
PoseMapping: { ...AssetPoseMapping.ItemTorso },
Alpha: [
{
Group: [
"Socks",
"SocksRight",
"SocksLeft",
"Shoes",
],
Group: ["Socks", "SocksRight", "SocksLeft", "Shoes"],
Masks: [[160, 365, 180, 300]],
},
],
@ -29092,7 +29066,7 @@ var AssetFemale3DCG = [
AllFours: PoseType.HIDE,
Hogtied: "Hogtied",
},
AllowColorize: true
AllowColorize: true,
},
{
Name: "Lower",
@ -29136,24 +29110,24 @@ var AssetFemale3DCG = [
},
Alpha: [
{
Group: ["Cloth","ClothLower","Corset"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[120, 440, 260, 560]],
Masks: [[0, 450, 500, 550]],
},
{
Pose: ["BackBoxTie"],
Group: ["Cloth","ClothLower","Corset"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[0, 420, 500, 580]],
},
{
Pose: ["BackElbowTouch","Yoked","OverTheHead"],
Group: ["Cloth","ClothLower","Corset"],
Pose: ["BackElbowTouch", "Yoked", "OverTheHead"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[0, 390, 500, 610]],
},
],
CreateLayerTypes: ["z"],
AllowTypes: { z: 1 },
AllowColorize: false
AllowColorize: false,
},
{
Name: "BellyB",
@ -29172,7 +29146,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["w"],
AllowTypes: { w: 1 },
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "BellyM",
@ -29191,7 +29165,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["w"],
AllowTypes: { w: 1 },
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "BellyLock",
@ -29213,7 +29187,7 @@ var AssetFemale3DCG = [
AllowTypes: { w: 1 },
LockLayer: true,
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegB",
@ -29230,7 +29204,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["x"],
AllowTypes: { x: 1 },
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegM",
@ -29247,7 +29221,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["x"],
AllowTypes: { x: 1 },
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegLock",
@ -29265,7 +29239,7 @@ var AssetFemale3DCG = [
AllowTypes: { x: 1 },
LockLayer: true,
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "Neck",
@ -29284,7 +29258,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: [1, 2] },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
{
Name: "NeckB",
@ -29303,7 +29277,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: 2 },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
{
Name: "NeckM",
@ -29322,7 +29296,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: 2 },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
],
},
@ -30428,18 +30402,16 @@ var AssetFemale3DCG = [
},
DefaultColor: ["#545454", "#EEEEEE", "#BC8B84"],
Layer: [
{ Name: "Main" },
{ Name: "Main" },
{ Name: "Highlights" },
{ Name: "Buckles" },
{ Name: "Buckles" },
{
Name: "BodyMask",
BlendingMode: "destination-out",
TextureMask: {
Groups: [
"BodyUpper", "BodyLower", "Suit", "SuitLower"
]
}
}
Groups: ["BodyUpper", "BodyLower", "Suit", "SuitLower"],
},
},
],
},
{
@ -30473,21 +30445,11 @@ var AssetFemale3DCG = [
SetPose: ["LegsClosed"],
AllowActivePose: ["Kneel"],
Effect: [E.Slow],
PoseMapping: {...AssetPoseMapping.ItemTorso},
Block: [
"ItemPelvis",
"ItemVulva",
"ItemVulvaPiercings",
"ItemButt",
],
PoseMapping: { ...AssetPoseMapping.ItemTorso },
Block: ["ItemPelvis", "ItemVulva", "ItemVulvaPiercings", "ItemButt"],
Alpha: [
{
Group: [
"Socks",
"SocksRight",
"SocksLeft",
"Shoes",
],
Group: ["Socks", "SocksRight", "SocksLeft", "Shoes"],
Masks: [[160, 365, 180, 300]],
},
],
@ -30507,7 +30469,7 @@ var AssetFemale3DCG = [
AllFours: PoseType.HIDE,
Hogtied: "Hogtied",
},
AllowColorize: true
AllowColorize: true,
},
{
Name: "Lower",
@ -30551,24 +30513,24 @@ var AssetFemale3DCG = [
},
Alpha: [
{
Group: ["Cloth","ClothLower","Corset"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[120, 440, 260, 560]],
Masks: [[0, 450, 500, 550]],
},
{
Pose: ["BackBoxTie"],
Group: ["Cloth","ClothLower","Corset"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[0, 420, 500, 580]],
},
{
Pose: ["BackElbowTouch","Yoked","OverTheHead"],
Group: ["Cloth","ClothLower","Corset"],
Pose: ["BackElbowTouch", "Yoked", "OverTheHead"],
Group: ["Cloth", "ClothLower", "Corset"],
Masks: [[0, 390, 500, 610]],
},
],
CreateLayerTypes: ["z"],
AllowTypes: { z: 1 },
AllowColorize: false
AllowColorize: false,
},
{
Name: "BellyB",
@ -30587,7 +30549,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["w"],
AllowTypes: { w: 1 },
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "BellyM",
@ -30606,7 +30568,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["w"],
AllowTypes: { w: 1 },
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "BellyLock",
@ -30628,7 +30590,7 @@ var AssetFemale3DCG = [
AllowTypes: { w: 1 },
LockLayer: true,
ColorGroup: "Belly",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegB",
@ -30645,7 +30607,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["x"],
AllowTypes: { x: 1 },
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegM",
@ -30662,7 +30624,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["x"],
AllowTypes: { x: 1 },
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "LegLock",
@ -30680,7 +30642,7 @@ var AssetFemale3DCG = [
AllowTypes: { x: 1 },
LockLayer: true,
ColorGroup: "Legs",
AllowColorize: true
AllowColorize: true,
},
{
Name: "Neck",
@ -30699,7 +30661,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: [1, 2] },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
{
Name: "NeckB",
@ -30718,7 +30680,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: 2 },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
{
Name: "NeckM",
@ -30737,7 +30699,7 @@ var AssetFemale3DCG = [
CreateLayerTypes: ["y"],
AllowTypes: { y: 2 },
ColorGroup: "Neck",
AllowColorize: true
AllowColorize: true,
},
],
},
@ -35682,7 +35644,11 @@ var AssetFemale3DCG = [
SelfUnlock: false,
DrawLocks: false,
Hide: ["Cloth", "Bra", "Corset", "Suit", "ItemHands", "ItemHandheld"],
HideItem: ["ClothLowerPajama1", "ClothLowerBusinessTrousers","ItemLegsBarrelCorset"],
HideItem: [
"ClothLowerPajama1",
"ClothLowerBusinessTrousers",
"ItemLegsBarrelCorset",
],
HideItemExclude: [
"ClothLatexHobbleDress",
"ClothHeavyLeatherDress",
@ -40168,9 +40134,13 @@ var AssetFemale3DCG = [
Time: 5,
AllowLock: true,
Audio: "CuffsMetal",
DefaultColor: ["#908463", "#975757","#908463"],
DefaultColor: ["#908463", "#975757", "#908463"],
Extended: true,
Layer: [{ Name: "Chain" }, { Name: "LockBodyHeart", AllowTypes: { typed: 0 }}, { Name: "LockBodyPlain", AllowTypes: { typed: 1 }}],
Layer: [
{ Name: "Chain" },
{ Name: "LockBodyHeart", AllowTypes: { typed: 0 } },
{ Name: "LockBodyPlain", AllowTypes: { typed: 1 } },
],
},
],
Color: [
@ -53104,7 +53074,7 @@ var AssetFemale3DCG = [
Name: "Mask",
Priority: 54,
CreateLayerTypes: ["m"],
AllowTypes: { m: [ 0, 1, 2 ] },
AllowTypes: { m: [0, 1, 2] },
ColorGroup: "Mask",
AllowColorize: true,
},
@ -53112,7 +53082,7 @@ var AssetFemale3DCG = [
Name: "Detail1",
Priority: 54,
CreateLayerTypes: ["m"],
AllowTypes: { m: [ 0, 1, 2 ] },
AllowTypes: { m: [0, 1, 2] },
ColorGroup: "Mask",
AllowColorize: true,
},
@ -53120,7 +53090,7 @@ var AssetFemale3DCG = [
Name: "Detail2",
Priority: 54,
CreateLayerTypes: ["m"],
AllowTypes: { m: [ 0, 2 ] },
AllowTypes: { m: [0, 2] },
ColorGroup: "Mask",
AllowColorize: true,
},
@ -53136,7 +53106,7 @@ var AssetFemale3DCG = [
Name: "Hood",
Priority: 53,
CreateLayerTypes: ["h"],
AllowTypes: { h: [ 1, 2 ] },
AllowTypes: { h: [1, 2] },
AllowColorize: true,
},
{
@ -57615,17 +57585,17 @@ var AssetFemale3DCG = [
Extended: true,
Effect: [E.Freeze, E.MapImmobile],
},
{
{
Name: "CeilingNeckCuff",
InventoryID: 1228,
Top: -700,
Random: false,
Fetish: ["Metal"],
Value: -1,
Random: false,
Fetish: ["Metal"],
Value: -1,
BuyGroup: "MCuffCollar",
Prerequisite: ["CanBeCeilingTethered", "NotSuspended", "NotLifted"],
Difficulty: 7,
SelfBondage: 2,
Prerequisite: ["CanBeCeilingTethered", "NotSuspended", "NotLifted"],
Difficulty: 7,
SelfBondage: 2,
Time: 10,
RemoveTime: 10,
RemoveAtLogin: true,
@ -57634,7 +57604,7 @@ var AssetFemale3DCG = [
AllowLock: true,
DrawLocks: false,
Extended: true,
DefaultColor: ["#757575","#877C66"],
DefaultColor: ["#757575", "#877C66"],
Audio: "CuffsMetal",
Effect: [E.Freeze],
ExpressionTrigger: [
@ -57647,7 +57617,7 @@ var AssetFemale3DCG = [
{ Name: "CBack", CopyLayerColor: "Cuff", Priority: 6 },
{ Name: "Chain", CopyLayerColor: "Cuff", Priority: 3 },
{ Name: "Lock", LockLayer: true, AllowColorize: true, Priority: 3 },
]
],
},
],
Color: [

View file

@ -1590,7 +1590,7 @@ var AssetFemale3DCGExtended = {
Archetype: ExtendedArchetype.TYPED,
DrawImages: false,
Options: [{ Name: "Long" }, { Name: "Medium" }],
},// HairBack82
}, // HairBack82
HairBack83: {
Archetype: ExtendedArchetype.TYPED,
DrawImages: false,
@ -5039,9 +5039,9 @@ var AssetFemale3DCGExtended = {
Name: "Handcuffs",
Key: "h",
Options: [
{
{
// None
Property: {}
Property: {},
},
{
// Cuffed
@ -5057,15 +5057,15 @@ var AssetFemale3DCGExtended = {
Name: "Leash",
Key: "l",
Options: [
{
{
// None
Property: {}
Property: {},
},
{
// Leashed
Property: {
Difficulty: 4,
Effect: [E.Leash,E.IsLeashed],
Effect: [E.Leash, E.IsLeashed],
},
},
],
@ -12996,7 +12996,7 @@ var AssetFemale3DCGExtended = {
NeckB: 30,
NeckM: 30,
},
Hide: ["ClothLower","Panties","Garters"],
Hide: ["ClothLower", "Panties", "Garters"],
HideItem: [
"ClothAccessoryLeatherBeltCloth",
"ClothFurCoat",
@ -13010,9 +13010,9 @@ var AssetFemale3DCGExtended = {
Name: "Tightness",
Key: "s",
Options: [
{
{
// Loose
Property: {}
Property: {},
},
{
// Thigh
@ -13065,9 +13065,9 @@ var AssetFemale3DCGExtended = {
Name: "LegBelts",
Key: "x",
Options: [
{
{
// None
Property: {}
Property: {},
},
{
// Equipped

View file

@ -14,7 +14,7 @@ function AssetsItemNeckRestraintsChainLeashBeforeDraw(data) {
/** @type {ExtendedItemCallbacks.BeforeDraw} */
function AssetsItemNeckRestraintsChokeChainBeforeDraw(data) {
if (data.L === "Padlock" || data.L === "Chain") {
return { LayerType: data.C.HasEffect("IsLeashed") ? "Held" : ""};
}
}
if (data.L === "Padlock" || data.L === "Chain") {
return { LayerType: data.C.HasEffect("IsLeashed") ? "Held" : ""};
}
}