Difference between revisions of "Talk:OBSE Wish List"
Jump to navigation
Jump to search
→Dejaside's Binary Examples: - update for v0007
imported>ShadowDancer m (typo) |
imported>Behippo (→Dejaside's Binary Examples: - update for v0007) |
||
Line 6: | Line 6: | ||
these Is______ functions suggested by Dejaside (unless noted otherwise) | these Is______ functions suggested by Dejaside (unless noted otherwise) | ||
*IsEmpty - checks if container is empty | *IsEmpty - checks if container is empty. | ||
*IsBook - checks if item is a book | *IsBook - checks if item is a book [[DONE]] | ||
*IsSkillBook - checks if book teaches a skill | *IsSkillBook - checks if book teaches a skill | ||
*IsWeapon - checks if item is a weapon | *IsWeapon - checks if item is a weapon [[DONE]] | ||
**IsMelee - checks if weapon is melee | **IsMelee - checks if weapon is melee. [[Available]] - combination of IsWeapon and GetOV 103 (weapon type). All types but 4 (Bow) are Melee. | ||
**IsRanged - checks if weapon is ranged | **IsRanged - checks if weapon is ranged [[Avalilable]] - combination of IsWeapon and GetOV 103 (weapon type). If type is 4 it is ranged. | ||
**IsStaff - checks if weapon is a staff (DragoonWraith) [[Available]] - combination of IsWeapon and GetOV 103 (weapon type). If type is 5 it is ranged. | |||
**IsStaff - checks if weapon is a staff (DragoonWraith) | *IsAmmo - checks if weapon is ammo [[DONE]] | ||
*IsEdible - checks if item is edible (note: the ai uses 'restore fatigue' to determine edibility) | *IsEdible - checks if item is edible (note: the ai uses 'restore fatigue' to determine edibility) [[Available]] - GetOV 210 (food) returns if the ingredient is edible. | ||
*IsIngredient - checks if item can be used in a potion | *IsIngredient - checks if item can be used in a potion [[DONE]] | ||
*IsActivator - checks if object is an activator | *IsActivator - checks if object is an activator [[DONE]] | ||
*IsDoor - checks if object is a door | *IsDoor - checks if object is a door [[DONE]] | ||
*IsLoadDoor - checks if door loads a new cell | *IsLoadDoor - checks if door loads a new cell | ||
*IsContainer - checks if object is a container | *IsContainer - checks if object is a container [[DONE]] | ||
*IsAnimated - checks whether object has an animation (?) | *IsAnimated - checks whether object has an animation (?) | ||
*IsApparel - checks if item can be worn | *IsApparel - checks if item can be worn [[Available]] - combination of IsClothing and IsArmor. | ||
*IsArmor - checks if item has armor rating | *IsArmor - checks if item has armor rating [[DONE]] | ||
*IsRing - checks if item is a ring | *IsRing - checks if item is a ring [[Available]] - If GetOV 3 (equipment slot) returns 6 or 7 it is a ring. | ||
*IsAmulet - checks if item is an amulet | *IsAmulet - checks if item is an amulet [[Available]] - If GetOV 3 (equipment slot) returns 8 it is an amulet. | ||
*IsKey - checks if item is a key | *IsKey - checks if item is a key [[DONE]] | ||
*IsApparatus - checks if item can be used to make potions | *IsApparatus - checks if item can be used to make potions [[DONE]] | ||
*IsMisc - checks if item has no value beyond its value in gold | *IsMisc - checks if item has no value beyond its value in gold | ||