[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "User:Candlemaster/Item Sorter"
Jump to navigation
Jump to search
→First Attempt
imported>Candlemaster |
imported>Candlemaster |
||
Line 56: | Line 56: | ||
endif | endif | ||
End</pre> | End</pre> | ||
This is my first rendition of an OBSE-using ingredient sorter. | This is my first rendition of an OBSE-using ingredient sorter. | ||
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: | It appears that the problem may have been "GetObjectType". Instead, I'll try using OBSE's "IsIngredient" function. List of such functions: | ||
*[IsAlchemyItem] | *[[IsAlchemyItem]] | ||
*[IsAmmo] | *[[IsAmmo]] | ||
*[IsApparatus] | *[[IsApparatus]] | ||
*[IsArmor] | *[[IsArmor]] | ||
*[IsBook] | *[[IsBook]] | ||
*[IsClonedForm] | *[[IsClonedForm]] | ||
*[IsClothing] | *[[IsClothing]] | ||
*[IsContainer] | *[[IsContainer]] | ||
*[IsFood] | *[[IsFood]] | ||
*[IsIngredient] | *[[IsIngredient]] | ||
*[IsKey] | *[[IsKey]] | ||
*[IsLight] | *[[IsLight]] | ||
*[IsLightCarriable] | *[[IsLightCarriable]] | ||
*[IsPlayable] | *[[IsPlayable]] | ||
*[IsPoison] | *[[IsPoison]] | ||
*[IsQuestItem] (important) | *[[IsQuestItem]] (important) | ||
*[IsScripted] | *[[IsScripted]] | ||
*[IsSigilStone] | *[[IsSigilStone]] | ||
*[IsSoulGem] | *[[IsSoulGem]] | ||
*[IsWeapon] | *[[IsWeapon]] |