Talk:OBSE Wish List

Revision as of 11:15, 2 August 2006 by imported>DragoonWraith (→‎Dejaside's Binary Examples: defense of the binary operations)

Disputed Changes

If you think something should have stayed on the list or if you think a change in one of the items misinterpretted what was meant, please let us know.

Dejaside's Binary Examples

these Is______ functions suggested by Dejaside (unless noted otherwise)

  • IsEmpty - checks if container is empty
  • IsBook - checks if item is a book
  • IsSkillBook - checks if book teaches a skill
  • IsWeapon - checks if item is a weapon
    • IsMelee - checks if weapon is melee
    • IsRanged - checks if weapon is ranged
    • IsAmmo - checks if weapon is ammo
    • IsStaff - checks if weapon is a staff (DragoonWraith)
  • IsEdible - checks if item is edible (note: the ai uses 'restore fatigue' to determine edibility)
  • IsIngredient - checks if item can be used in a potion
  • IsActivator - checks if object is an activator
  • IsDoor - checks if object is a door
  • IsLoadDoor - checks if door loads a new cell
  • IsContainer - checks if object is a container
  • IsAnimated - checks whether object has an animation (?)
  • IsApparel - checks if item can be worn
  • IsArmor - checks if item has armor rating
  • IsRing - checks if item is a ring
  • IsAmulet - checks if item is an amulet
  • IsKey - checks if item is a key
  • IsApparatus - checks if item can be used to make potions
  • IsMisc - checks if item has no value beyond its value in gold


Just wondered if consolidating some suggested functions might make things easier to read. i.e., for the various isMisc, isClothing functions, wouldn't they be better served by a single getObjectType function? Don't want the list to become overwhelming, that's all. Scruggs 22:26, 1 August 2006 (EDT)
Dragoon Wraith TALK 09:35, 2 August 2006 (EDT): Yes, as mentioned in the thread, I'm going to in charge of keeping this clean. That project comes as soon as I finally finish Danger Sense for Addiktive (tonight, probably). It'll be cleaned up by the weekend.
Dragoon Wraith TALK 12:07, 2 August 2006 (EDT): See, it's cleaned up now! And it's only Wednesday!
Anyway, Dejaside's idea was that these functions would be very easy to create for the OBSE developers, and combinations of them could be more useful than a simple GetObjectType function - for example, an ingredient with Restore Health is both edible and an ingredient - GetObjectType would only return one of these pieces of information, while having these binary tests would allow you to determine both.
Return to "OBSE Wish List" page.