Difference between revisions of "User:Candlemaster/Item Sorter"

Jump to navigation Jump to search
imported>Candlemaster
imported>Candlemaster
Line 60: Line 60:
After testing this script, nothing happens when "Sort Ingredients" is chosen, but "Open Container" works fine.
After testing this script, nothing happens when "Sort Ingredients" is chosen, but "Open Container" works fine.


<pre>19  Apparatus
It appears that the problem may have been "GetObjectType".  Instead, I'll try using OBSE's "IsIngredient" function.  List of such functions:
20  Armor
    * [IsAlchemyItem]
21  Book
    * [IsAmmo]
22  Clothing
    * [IsApparatus]
25  Ingredient
    * [IsArmor]
26  Light ;Including Torches?
    * [IsBook]
27  Misc
    * [IsClonedForm]
33  Weapon
    * [IsClothing]
34  Ammo
    * [IsContainer]
38  Soul Gem
    * [IsFood]
39  Key
    * [IsIngredient]
40  Alchemy Item ;I'm pretty sure this means Potion
    * [IsKey]
42  Sigil Stone</pre>
    * [IsLight]
    * [IsLightCarriable]
    * [IsPlayable]
    * [IsPoison]
    * [IsQuestItem] (important)
    * [IsScripted]
    * [IsSigilStone]
    * [IsSoulGem]
    * [IsWeapon]
Anonymous user

Navigation menu