Format asset defs correctly

This commit is contained in:
Jean-Baptiste Emmanuel Zorg 2024-02-21 17:37:28 +01:00
parent e3d94e7d8a
commit ebca1244d5
4 changed files with 221 additions and 246 deletions

View file

@ -0,0 +1,5 @@
node_modules/
Scripts/lib/
CSS/chessboard-0.3.0.css
CHANGELOG.md
package-lock.json

View file

@ -0,0 +1,2 @@
semi: true
printWidth: 80

View file

@ -2498,7 +2498,11 @@ var AssetFemale3DCG = [
"NecklaceCatsuitCollar",
"ItemArmsBondageBra",
],
Layer: [{ Name: "Suit", AllowColorize: true }, { Name: "Shirt", AllowColorize: true }, { Name: "Tie", AllowColorize: true }],
Layer: [
{ Name: "Suit", AllowColorize: true },
{ Name: "Shirt", AllowColorize: true },
{ Name: "Tie", AllowColorize: true },
],
},
// Flat Chest Compatible Clothing
{
@ -3182,8 +3186,8 @@ var AssetFemale3DCG = [
AllowTypes: { zd: 1 },
CopyLayerColor: "Zoom",
},
]
}
],
},
// Flat Chest Compatible Clothing
],
Color: [
@ -9671,8 +9675,8 @@ var AssetFemale3DCG = [
Fetish: ["Latex"],
Value: -1,
Layer: [
{ Name: "Main", HideForAttribute: ["ShortHair"], Top: 15, },
{ Name: "Detail", HideForAttribute: ["ShortHair"], Top: 15, },
{ Name: "Main", HideForAttribute: ["ShortHair"], Top: 15 },
{ Name: "Detail", HideForAttribute: ["ShortHair"], Top: 15 },
{
Name: "MainShort",
CopyLayerColor: "Main",
@ -13039,7 +13043,7 @@ var AssetFemale3DCG = [
AllowTypes: { zd: 1 },
CopyLayerColor: "Zoom",
},
]
],
},
],
Color: [
@ -34371,10 +34375,7 @@ var AssetFemale3DCG = [
AllowColorize: false,
Priority: 33,
},
{ Name: "Neck",
CopyLayerColor: "Main",
Priority: 25,
},
{ Name: "Neck", CopyLayerColor: "Main", Priority: 25 },
{
Name: "Eyes",
AllowColorize: true,
@ -34382,14 +34383,8 @@ var AssetFemale3DCG = [
AllowTypes: { typed: [1, 2, 3] },
Priority: 32,
},
{ Name: "Collar",
AllowColorize: true,
Priority: 26,
},
{ Name: "Detail",
AllowColorize: true,
Priority: 33,
},
{ Name: "Collar", AllowColorize: true, Priority: 26 },
{ Name: "Detail", AllowColorize: true, Priority: 33 },
],
},
],
@ -37531,10 +37526,7 @@ var AssetFemale3DCG = [
AllowColorize: false,
Priority: 33,
},
{ Name: "Neck",
CopyLayerColor: "Main",
Priority: 25,
},
{ Name: "Neck", CopyLayerColor: "Main", Priority: 25 },
{
Name: "Eyes",
AllowColorize: true,
@ -37542,14 +37534,8 @@ var AssetFemale3DCG = [
AllowTypes: { typed: [1, 2, 3] },
Priority: 32,
},
{ Name: "Collar",
AllowColorize: true,
Priority: 26,
},
{ Name: "Detail",
AllowColorize: true,
Priority: 33,
},
{ Name: "Collar", AllowColorize: true, Priority: 26 },
{ Name: "Detail", AllowColorize: true, Priority: 33 },
],
},
],
@ -39055,12 +39041,7 @@ var AssetFemale3DCG = [
SetPose: ["LegsClosed", "BackElbowTouch"],
Effect: [E.BlockWardrobe, E.Freeze, E.Block, E.Mounted],
HideItem: ["ShoesFlippers"],
Block: [
"ItemArms",
"ItemFeet",
"ItemBoots",
"ItemNeckAccessories",
],
Block: ["ItemArms", "ItemFeet", "ItemBoots", "ItemNeckAccessories"],
Layer: [
{ Name: "Frame", AllowTypes: { typed: 0 } },
{ Name: "Frame2", AllowTypes: { typed: 1 }, CopyLayerColor: "Frame" },

View file

@ -796,7 +796,7 @@ var AssetFemale3DCGExtended = {
Key: "zd",
Options: [{}, {}], // n,y
},
]
],
},
},
ClothAccessory: {
@ -6903,29 +6903,24 @@ var AssetFemale3DCGExtended = {
BigMouthHood: {
Archetype: ExtendedArchetype.TYPED,
Options: [
{ Name: "Empty",
Property: { Effect: [] },
},
{ Name: "Lenses",
{ Name: "Empty", Property: { Effect: [] } },
{
Name: "Lenses",
Property: {
Effect: [E.BlindLight],
Tint: [{ Color: 2, Strength: 0.2 }]
Tint: [{ Color: 2, Strength: 0.2 }],
},
},
{ Name: "Mesh",
{
Name: "Mesh",
Property: {
Effect: [
E.BlindNormal,
E.BlockWardrobe,
],
Effect: [E.BlindNormal, E.BlockWardrobe],
},
},
{ Name: "Slim",
{
Name: "Slim",
Property: {
Effect: [
E.BlindHeavy,
E.BlockWardrobe,
],
Effect: [E.BlindHeavy, E.BlockWardrobe],
},
},
],
@ -7828,9 +7823,7 @@ var AssetFemale3DCGExtended = {
{
Name: "Inflated",
Property: {
Block: [
"ItemLegs",
],
Block: ["ItemLegs"],
Hide: [
"HairFront",
"HairBack",
@ -7840,7 +7833,6 @@ var AssetFemale3DCGExtended = {
"Hat",
],
},
},
],
DrawImages: false,
@ -14186,29 +14178,24 @@ var AssetFemale3DCGExtended = {
Archetype: ExtendedArchetype.TYPED,
CopyConfig: { GroupName: "ItemHood", AssetName: "BigMouthHood" },
Options: [
{ Name: "Empty",
Property: { Effect: [] },
},
{ Name: "Lenses",
{ Name: "Empty", Property: { Effect: [] } },
{
Name: "Lenses",
Property: {
Effect: [E.BlindLight],
Tint: [{ Color: 2, Strength: 0.2 }]
Tint: [{ Color: 2, Strength: 0.2 }],
},
},
{ Name: "Mesh",
{
Name: "Mesh",
Property: {
Effect: [
E.BlindNormal,
E.BlockWardrobe,
],
Effect: [E.BlindNormal, E.BlockWardrobe],
},
},
{ Name: "Slim",
{
Name: "Slim",
Property: {
Effect: [
E.BlindHeavy,
E.BlockWardrobe,
],
Effect: [E.BlindHeavy, E.BlockWardrobe],
},
},
],