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

@ -2441,7 +2441,7 @@ var AssetFemale3DCG = [
Value: 78,
Extended: true,
CreateLayerTypes: ["typed"],
PoseMapping: {...AssetPoseMapping.Cloth },
PoseMapping: { ...AssetPoseMapping.Cloth },
HideItem: [
"ItemNipplesPiercingsRoundPiercing",
"ItemNipplesPiercingsNecklacePiercingChain",
@ -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
{
@ -3039,151 +3043,151 @@ var AssetFemale3DCG = [
Layer: [
{
Name: "Zoom",
AllowTypes: { z: 1},
AllowTypes: { z: 1 },
},
{
Name:"Big",
AllowTypes: { b: 1},
Name: "Big",
AllowTypes: { b: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Bloom",
AllowTypes: { c: 1},
Name: "Bloom",
AllowTypes: { c: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"BottomSpike",
AllowTypes: { d: 1},
Name: "BottomSpike",
AllowTypes: { d: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Flash",
AllowTypes: { e: 1},
Name: "Flash",
AllowTypes: { e: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Fly",
AllowTypes: { f: 1},
Name: "Fly",
AllowTypes: { f: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Grass",
AllowTypes: { g: 1},
Name: "Grass",
AllowTypes: { g: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Grow",
AllowTypes: { h: 1},
Name: "Grow",
AllowTypes: { h: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"GrowHollow",
AllowTypes: { i: 1},
Name: "GrowHollow",
AllowTypes: { i: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartSmallOutline",
AllowTypes: { j: 1},
Name: "HeartSmallOutline",
AllowTypes: { j: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Heartline",
AllowTypes: { k: 1},
Name: "Heartline",
AllowTypes: { k: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartSmall",
AllowTypes: { l: 1},
Name: "HeartSmall",
AllowTypes: { l: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartSolid",
AllowTypes: { m: 1},
Name: "HeartSolid",
AllowTypes: { m: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartWings",
AllowTypes: { n: 1},
Name: "HeartWings",
AllowTypes: { n: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"In",
AllowTypes: { o: 1},
Name: "In",
AllowTypes: { o: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Leaves",
AllowTypes: { p: 1},
Name: "Leaves",
AllowTypes: { p: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"MidSpike",
AllowTypes: { q: 1},
Name: "MidSpike",
AllowTypes: { q: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Ribow",
AllowTypes: { r: 1},
Name: "Ribow",
AllowTypes: { r: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Sense",
AllowTypes: { s: 1},
Name: "Sense",
AllowTypes: { s: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Shake",
AllowTypes: { t: 1},
Name: "Shake",
AllowTypes: { t: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"SideHearts",
AllowTypes: { u: 1},
Name: "SideHearts",
AllowTypes: { u: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Swim",
AllowTypes: { v: 1},
Name: "Swim",
AllowTypes: { v: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Thorn",
AllowTypes: { w: 1},
Name: "Thorn",
AllowTypes: { w: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"ThornOut",
AllowTypes: { x: 1},
Name: "ThornOut",
AllowTypes: { x: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"TopSpike",
AllowTypes: { y: 1},
Name: "TopSpike",
AllowTypes: { y: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Venom",
AllowTypes: { za: 1},
Name: "Venom",
AllowTypes: { za: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Viper",
AllowTypes: { zb: 1},
Name: "Viper",
AllowTypes: { zb: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Waves",
AllowTypes: { zc: 1},
Name: "Waves",
AllowTypes: { zc: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"WingSmall",
AllowTypes: { zd: 1},
Name: "WingSmall",
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",
@ -12870,7 +12874,7 @@ var AssetFemale3DCG = [
{
Group: "BodyMarkings",
Priority: 8,
Clothing:true,
Clothing: true,
Default: false,
Random: false,
Asset: [
@ -12896,150 +12900,150 @@ var AssetFemale3DCG = [
Layer: [
{
Name: "Zoom",
AllowTypes: { z: 1},
AllowTypes: { z: 1 },
},
{
Name:"Big",
AllowTypes: { b: 1},
Name: "Big",
AllowTypes: { b: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Bloom",
AllowTypes: { c: 1},
Name: "Bloom",
AllowTypes: { c: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"BottomSpike",
AllowTypes: { d: 1},
Name: "BottomSpike",
AllowTypes: { d: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Flash",
AllowTypes: { e: 1},
Name: "Flash",
AllowTypes: { e: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Fly",
AllowTypes: { f: 1},
Name: "Fly",
AllowTypes: { f: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Grass",
AllowTypes: { g: 1},
Name: "Grass",
AllowTypes: { g: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Grow",
AllowTypes: { h: 1},
Name: "Grow",
AllowTypes: { h: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"GrowHollow",
AllowTypes: { i: 1},
Name: "GrowHollow",
AllowTypes: { i: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartSmallOutline",
AllowTypes: { j: 1},
Name: "HeartSmallOutline",
AllowTypes: { j: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Heartline",
AllowTypes: { k: 1},
Name: "Heartline",
AllowTypes: { k: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartSmall",
AllowTypes: { l: 1},
Name: "HeartSmall",
AllowTypes: { l: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartSolid",
AllowTypes: { m: 1},
Name: "HeartSolid",
AllowTypes: { m: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"HeartWings",
AllowTypes: { n: 1},
Name: "HeartWings",
AllowTypes: { n: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"In",
AllowTypes: { o: 1},
Name: "In",
AllowTypes: { o: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Leaves",
AllowTypes: { p: 1},
Name: "Leaves",
AllowTypes: { p: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"MidSpike",
AllowTypes: { q: 1},
Name: "MidSpike",
AllowTypes: { q: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Ribow",
AllowTypes: { r: 1},
Name: "Ribow",
AllowTypes: { r: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Sense",
AllowTypes: { s: 1},
Name: "Sense",
AllowTypes: { s: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Shake",
AllowTypes: { t: 1},
Name: "Shake",
AllowTypes: { t: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"SideHearts",
AllowTypes: { u: 1},
Name: "SideHearts",
AllowTypes: { u: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Swim",
AllowTypes: { v: 1},
Name: "Swim",
AllowTypes: { v: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Thorn",
AllowTypes: { w: 1},
Name: "Thorn",
AllowTypes: { w: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"ThornOut",
AllowTypes: { x: 1},
Name: "ThornOut",
AllowTypes: { x: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"TopSpike",
AllowTypes: { y: 1},
Name: "TopSpike",
AllowTypes: { y: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Venom",
AllowTypes: { za: 1},
Name: "Venom",
AllowTypes: { za: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Viper",
AllowTypes: { zb: 1},
Name: "Viper",
AllowTypes: { zb: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"Waves",
AllowTypes: { zc: 1},
Name: "Waves",
AllowTypes: { zc: 1 },
CopyLayerColor: "Zoom",
},
{
Name:"WingSmall",
AllowTypes: { zd: 1},
Name: "WingSmall",
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

@ -653,150 +653,150 @@ var AssetFemale3DCGExtended = {
{
Name: "Zoom",
Key: "z",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Big",
Name: "Big",
Key: "b",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Bloom",
Name: "Bloom",
Key: "c",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"BottomSpike",
Name: "BottomSpike",
Key: "d",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Flash",
Name: "Flash",
Key: "e",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Fly",
Name: "Fly",
Key: "f",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Grass",
Name: "Grass",
Key: "g",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Grow",
Name: "Grow",
Key: "h",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"GrowHollow",
Name: "GrowHollow",
Key: "i",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"HeartSmallOutline",
Name: "HeartSmallOutline",
Key: "j",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Heartline",
Name: "Heartline",
Key: "k",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"HeartSmall",
Name: "HeartSmall",
Key: "l",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"HeartSolid",
Name: "HeartSolid",
Key: "m",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"HeartWings",
Name: "HeartWings",
Key: "n",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"In",
Name: "In",
Key: "o",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Leaves",
Name: "Leaves",
Key: "p",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"MidSpike",
Name: "MidSpike",
Key: "q",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Ribow",
Name: "Ribow",
Key: "r",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Sense",
Name: "Sense",
Key: "s",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Shake",
Name: "Shake",
Key: "t",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"SideHearts",
Name: "SideHearts",
Key: "u",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Swim",
Name: "Swim",
Key: "v",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Thorn",
Name: "Thorn",
Key: "w",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"ThornOut",
Name: "ThornOut",
Key: "x",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"TopSpike",
Name: "TopSpike",
Key: "y",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Venom",
Name: "Venom",
Key: "za",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Viper",
Name: "Viper",
Key: "zb",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"Waves",
Name: "Waves",
Key: "zc",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
{
Name:"WingSmall",
Name: "WingSmall",
Key: "zd",
Options: [{},{}], // n,y
Options: [{}, {}], // n,y
},
]
],
},
},
ClothAccessory: {
@ -976,8 +976,8 @@ var AssetFemale3DCGExtended = {
Archetype: ExtendedArchetype.MODULAR,
ChatSetting: ModularItemChatSetting.PER_MODULE,
DrawImages: false,
CopyConfig: {GroupName: "BodyMarkings", AssetName: "WombTattoos"},
},//WombTattoos
CopyConfig: { GroupName: "BodyMarkings", AssetName: "WombTattoos" },
}, //WombTattoos
}, // ClothAccessory
ClothLower: {
PantBoots: {
@ -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],
},
},
],