apply_random_scroll

Inscribes the found item with a randomly chosen scroll that it can be inscribed with.

Categories: inventory

Optional arguments

Key(s)DescriptionTypeDefault
scrollsThe ids of the scrolls to choose from. If empty, all registered scrolls are considered.STRING_LIST
typeIf specified, only scrolls of this scroll type are considered.STRING
allow_unsafeIf true, scrolls that the item does not meet the inscription requirements for can still be chosen.BOOLEANfalse

Example

effects:
  - id: apply_random_scroll
    args:
      scrolls: 
        - <value> # ← Optional
      type: <value> # ← Optional
      allow_unsafe: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue
Permanentfalse