Results 1 to 1 of 1

Thread: Potion item type

  1. #1
    Junior Member
    Join Date
    Mar 2013
    Posts
    6

    Default Potion item type

    I want to make a small script that checks all my potions and malls them if they are worth a cerain amount, but it seems that item_type() dosn't support potion for some reason. Any other way to check if an item is a potion?

    EDIT: I used the work around from this thread:

    Code:
    foreach it in $items[] if (it.usable && !it.reusable && it.effect_modifier("Effect") != $effect[none]) print(it);:
    Last edited by Aeres; 03-16-2019 at 11:50 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •