Modify Accessory Slots (Power Type)

Adds or removes accessory slots for the entity.

Changes how many accessory slots the holder has. Adding slots is the usual case — an origin that can wear two rings instead of one.

Type ID: apoli:modify_accessory_slots (aliases apoli:modify_trinket_slot, apoli:modify_trinket_slots)

Fields

FieldTypeDefaultDescription
modifiersarray of modifier objectsrequiredThe slot changes. See below.

Modifier fields

FieldTypeDefaultDescription
slotStringrequiredThe slot to change, as group/slot — for example hand/ring.
idIdentifierrequiredA unique id for this modifier, so it can be applied and removed cleanly.
amountFloat0.0How much to change the count by.
operationAttribute Modifier Operationadd_base_earlyHow amount is applied.

Examples

One extra ring slot:

{
  "type": "apoli:modify_accessory_slots",
  "modifiers": [
    {
      "slot": "hand/ring",
      "id": "mypack:extra_ring",
      "amount": 1
    }
  ]
}

Take a slot away as a drawback, and add another elsewhere as the compensation:

{
  "type": "apoli:modify_accessory_slots",
  "modifiers": [
    { "slot": "chest/necklace", "id": "mypack:no_necklace", "amount": -1 },
    { "slot": "hand/ring",      "id": "mypack:extra_ring",  "amount": 2 }
  ]
}

Give each modifier a distinct id. Two modifiers sharing one id on the same slot will overwrite each other.

Needs an accessory mod — Trinkets, Accessories or Curios, depending on your loader. These types do not exist without one, so a pack using them must depend on it.