This commit is contained in:
Oscar
2025-06-26 21:12:11 +03:00
parent 8b61aa1d7b
commit 793165bb03
66 changed files with 89 additions and 95 deletions

View File

@@ -11,7 +11,7 @@ public static class UpdateCloths
[Menu( "Editor", "MyClothing/Generate .clitem Files" )]
public static async void GenerateClitemFiles()
{
var packageResult = await Package.FindAsync( "type:clothing", 100 );
var packageResult = await Package.FindAsync( "type:clothing", 500 );
Directory.CreateDirectory( outputFolder );
@@ -30,7 +30,7 @@ public static class UpdateCloths
ClothUrl = clothUrl,
Slot = "Body",
Name = package.Title,
Description = package.Description == "" ? package.Ident : package.Description,
Description = package.Ident.Replace( "_", "" ).Replace( " ", "" ),
Prefab = new { _type = "gameobject", prefab = "prefabs/item_parcel.prefab" },
ImageTexture = (string)null,
ImageUrl = imageUrl,