# How do i add in custom items? AS2

**URL:** <https://solero.me/t/how-do-i-add-in-custom-items-as2/265>\
**Category:** Support\
**Created:** [December 21, 2019, 6:24pm UTC](https://solero.me/t/how-do-i-add-in-custom-items-as2/265 "2019-12-21T18:24:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CPB](https://solero.me/user_avatar/solero.me/cpb/32/390_2.png) [@CPB](https://solero.me/u/CPB)\
**Post date:** [December 21, 2019, 6:24pm UTC](https://solero.me/t/how-do-i-add-in-custom-items-as2/265/1 "2019-12-21T18:24:37Z")

</div>

So basically I just started using Flash and stuff. I wanted to open a CPPS to play with my friends and I guess other people. I recently got everything setup and I edited the original CP Beta Test Party Town and original Beta Hat. I’ve made the colors red instead of pink, I’ve added the Icon, Paper, and Sprite into the clothing thing on Filezilla but it for some reason still isn’t working. DM me on discord jason#0007 or comment here. I also am having some trouble with mascots and a few other things so if anybody can help me that would be great.

 ![image](https://solero.me/uploads/default/original/1X/94367f6b8031cf86e1d38f49003dbdcacc9fb806.png) Also if someone knows how to make the hats box on top of the gift shop box please tell me.

---

<div class="post-metadata">

**Author:** ![rsakeys](https://solero.me/user_avatar/solero.me/rsakeys/32/480_2.png) [@rsakeys](https://solero.me/u/rsakeys)\
**Post date:** [December 21, 2019, 11:56pm UTC](https://solero.me/t/how-do-i-add-in-custom-items-as2/265/2 "2019-12-21T23:56:12Z")

</div>

As for anyone else wondering:

**Adding Items**

1. Make your custom item:

You can do this by decompiling an existing item icons, paper and sprite. in **/media/play/v2/content/global/clothing/icons** and **/media/play/v2/content/global/clothing/paper** and **/media/play/v2/content/global/clothing/sprite**. Just find the ID of the item, go to the correct folders, download them and decompile them. Edit them with CS6, make the changes or add whatever you want.

Once you got your final icon, paper and sprite for the custom item, upload it to your media-server in **/media/play/v2/content/global/clothing/icons** and **/media/play/v2/content/global/clothing/paper** and **/media/play/v2/content/global/clothing/sprite**. Make sure it’s named after a unique ID e.g. 16.swf for the icons, sprite and paper files.

1. Add it to the client-sided crumbs

Decompile global\_crumbs and local\_crumbs (found in /media/play/v2/content/global/crumbs/global\_crumbs.swf and /media/play/v2/content/local/en/crumbs/local\_crumbs.swf) read the actionscript code and see how the items for the ID 1, 2 3 etc are added. You just need to add an entry for your custom item and it’s ID. The ID will be the name of the SWF file e.g. 16.swf.

1. Add it to the server-sided crumbs

Add an entry for the item in paper\_items.json, although it’s difficult to read, you should see how the items for others are implemented etc. You just need to do the same for your custom item, with it’s unique ID e.g. the swf file name (16). If you want your item to be obtainable in-game via the !ai command, make sure you set isBait to 0.

Clear your cache in your browser, clear your cache for cloudflare if your website is under cloudflare too. Reload Houdini & relogin. If the steps were followed correctly, you should be able to add the item ID using the command !ai and use the item.

**Fixing Mascots**

Create the accounts in the database, assign the IDs of the accounts based on the IDs given in global\_crumbs.swf in the mascots collection.

---

<div class="post-metadata">

**Author:** ![Rouge](https://solero.me/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@Rouge](https://solero.me/u/Rouge)\
**Post date:** [September 21, 2020, 3:46pm UTC](https://solero.me/t/how-do-i-add-in-custom-items-as2/265/3 "2020-09-21T15:46:29Z")

</div>

I have a good tutorial for setting up mascots on my page if anyone is interested
