Each accessory slot goes into a seperate file into the 'addon/[namespace]/accessory_slots' folder, which can then be used for accessories.
Setting | Type | Description | Required | Fallback Value |
---|---|---|---|---|
icon | class_2960 | Texture path for the icon of the slot. | true | / |
allows_multiple | Boolean | Determines if multiple accessories in this slot can be equipped | false | false |
menu_visibility | Condition[] | Determines if the slot is visible in the menu. Can be ignored, set to 'false' or defined by conditions | false | / |
{"icon":"namespace:textures/gui/accessory_slots/example.png","allows_multiple":false,"menu_visibility":true}