Difference between revisions of "User:Candlemaster/Item Sorter"
→First Attempt
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. | ||
It appears that the problem may have been "GetObjectType". Instead, I'll try using OBSE's "IsIngredient" function. List of such functions: | |||
* [IsAlchemyItem] | |||
* [IsAmmo] | |||
* [IsApparatus] | |||
* [IsArmor] | |||
* [IsBook] | |||
* [IsClonedForm] | |||
* [IsClothing] | |||
* [IsContainer] | |||
* [IsFood] | |||
* [IsIngredient] | |||
* [IsKey] | |||
* [IsLight] | |||
* [IsLightCarriable] | |||
* [IsPlayable] | |||
* [IsPoison] | |||
* [IsQuestItem] (important) | |||
* [IsScripted] | |||
* [IsSigilStone] | |||
* [IsSoulGem] | |||
* [IsWeapon] |