promotional bannermobile promotional banner
premium banner
Lets you give pets clothes to wear.

Description

This is a framework that allows modders to use Content Patcher to designate items (clothing or otherwise) as clothing items for their pets. 

Sprites must be created for each pet type and breed the clothes can be given to. For example:

{

    "Format": "2.7.0",
    "Changes": [
        {
            "Action": "EditData",
            "Target": "aedenthorn.PetClothes/dict",
            "Entries": {                
                "(S)1033": {
                    "Cat1": "{{InternalAssetKey: assets/shirt/cat1_green.png}}"
                }                    
            }
        }
    ]
}

This designates the green shirt as wearable by the "1" breed of the "Cat" pet and points to a png file with the clothing overlay.  The png file should use the cat1.png file in the game content as a guide.

Note that you need to use the item's QualifiedItemId for the entry key.

Only one clothing piece can be worn by an animal at a time, but hats are independantly controlled by the vanilla game, so a hat and clothes can be worn together.

To remove clothes worn by a pet, hold down the modifier key (default Left Alt) and interact with the pet.

I have included an example content pack in the optional file for reference, but I'm not a pixel artist so I don't recommend actually using my crappy example in-game.

5f212e0b-90be-4877-a030-01cbcd57efab