diff --git a/0N1/manifest.json b/0N1/manifest.json index 3cb5f90..08472e7 100644 --- a/0N1/manifest.json +++ b/0N1/manifest.json @@ -16,6 +16,9 @@ 0.1, 0.01 ], + "requiredTraits": [ + "Body" + ], "initialTraits": [ "Body", "Head", @@ -23,7 +26,21 @@ "Shoes", "Chest", "Waist", - "Neck" + "Neck", + "Weapon" + ], + "randomTraits": [ + "Body", + "Head", + "Hands", + "Shoes", + "Chest", + "Waist", + "Neck", + "Weapon" + ], + "colliderTraits": [ + "Body" ], "offset": [ 0.0, diff --git a/anata/female/manifest.json b/anata/female/manifest.json index 85ad82b..fb85009 100644 --- a/anata/female/manifest.json +++ b/anata/female/manifest.json @@ -16,6 +16,9 @@ 0.1, 0.01 ], + "requiredTraits": [ + "Body" + ], "initialTraits": [ "Body", "Head", @@ -23,7 +26,21 @@ "Shoes", "Chest", "Waist", - "Neck" + "Neck", + "Weapon" + ], + "randomTraits": [ + "Body", + "Head", + "Hands", + "Shoes", + "Chest", + "Waist", + "Neck", + "Weapon" + ], + "colliderTraits": [ + "Body" ], "offset": [ 0.0, diff --git a/anata/male/manifest.json b/anata/male/manifest.json index 9b8713c..a205268 100644 --- a/anata/male/manifest.json +++ b/anata/male/manifest.json @@ -16,6 +16,9 @@ 0.1, 0.01 ], + "requiredTraits": [ + "Body" + ], "initialTraits": [ "Body", "Head", @@ -23,7 +26,21 @@ "Shoes", "Chest", "Waist", - "Neck" + "Neck", + "Weapon" + ], + "randomTraits": [ + "Body", + "Head", + "Hands", + "Shoes", + "Chest", + "Waist", + "Neck", + "Weapon" + ], + "colliderTraits": [ + "Body" ], "offset": [ 0.0, diff --git a/scripts/generate_manifest_0N1.py b/scripts/generate_manifest_0N1.py index 9a9f468..0f525f5 100644 --- a/scripts/generate_manifest_0N1.py +++ b/scripts/generate_manifest_0N1.py @@ -12,7 +12,10 @@ def generate_manifest(directory_path): "traitIconsDirectorySvg": "./loot/icons/", "defaultCullingLayer": -1, "defaultCullingDistance": [0.1, 0.01], - "initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck"], + "requiredTraits": ["Body"], + "initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"], + "randomTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"], + "colliderTraits": ["Body"], "offset": [0.0, 0.48, 0.0], "traits": generate_traits(directory_path), "textureCollections": [], diff --git a/scripts/generate_manifest_anata.py b/scripts/generate_manifest_anata.py index f491e2d..d923b19 100644 --- a/scripts/generate_manifest_anata.py +++ b/scripts/generate_manifest_anata.py @@ -5,14 +5,17 @@ def generate_manifest(directory_path): manifest_template = { "assetsLocation": "./loot-assets/", "format": "vrm", - "traitsDirectory": "/anata/female/", + "traitsDirectory": "/anata/male/", "thumbnailsDirectory": "./loot/thumbnails/", "exportScale": 1, "animationPath": get_animation_paths(), "traitIconsDirectorySvg": "./loot/icons/", "defaultCullingLayer": -1, "defaultCullingDistance": [0.1, 0.01], - "initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck"], + "requiredTraits": ["Body"], + "initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"], + "randomTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"], + "colliderTraits": ["Body"], "offset": [0.0, 0.48, 0.0], "traits": generate_traits(directory_path), "textureCollections": [], @@ -74,10 +77,10 @@ def generate_collection(directory_path, trait_name): ] if __name__ == "__main__": - directory_path = "./anata/female/" + directory_path = "./anata/male/" manifest_content = generate_manifest(directory_path) - with open("./anata/female/manifest.json", "w") as manifest_file: + with open("./anata/male/manifest.json", "w") as manifest_file: manifest_file.write(manifest_content) print("Manifest file generated successfully.") diff --git a/scripts/generate_manifest_tubby.py b/scripts/generate_manifest_tubby.py index 0c086a7..9010fb4 100644 --- a/scripts/generate_manifest_tubby.py +++ b/scripts/generate_manifest_tubby.py @@ -12,7 +12,10 @@ def generate_manifest(directory_path): "traitIconsDirectorySvg": "./loot/icons/", "defaultCullingLayer": -1, "defaultCullingDistance": [0.1, 0.01], - "initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck"], + "requiredTraits": ["Body"], + "initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"], + "randomTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"], + "colliderTraits": ["Body"], "offset": [0.0, 0.48, 0.0], "traits": generate_traits(directory_path), "textureCollections": [], diff --git a/tubbycats/manifest.json b/tubbycats/manifest.json index 0f6900c..fcf84cc 100644 --- a/tubbycats/manifest.json +++ b/tubbycats/manifest.json @@ -16,6 +16,9 @@ 0.1, 0.01 ], + "requiredTraits": [ + "Body" + ], "initialTraits": [ "Body", "Head", @@ -23,7 +26,21 @@ "Shoes", "Chest", "Waist", - "Neck" + "Neck", + "Weapon" + ], + "randomTraits": [ + "Body", + "Head", + "Hands", + "Shoes", + "Chest", + "Waist", + "Neck", + "Weapon" + ], + "colliderTraits": [ + "Body" ], "offset": [ 0.0,