AI Type

From The Unofficial POWDER Wiki
Jump to: navigation, search

AI Type defines the behaviors that the AI will do while a monster is controlled by the AI.

AI Types and Behaviors Chart

This chart shows which behaviors are associated with the different AI Types
AI Type Attack Avatar Attack Species Attack Type Attack Others Use Items Throw Items Get Items Zap Wands Seek Invisible Open Doors
Animal (Pack) X X
Animal (Speciest) X X X
Evil Humanoid X X X X X X X X X
Friendly X
Good Humanoid X X X X X X X X
Kobold X X X X X X X X
Mouse X
Pack X X X
Rabid X X X X X
Scavenger X X X X
Smart Tridude X X X X X X X X
Speciest X X X X
Troll X X X X X X X X

Behaviors Defined

  • Attack Avatar - This monster will attack the avatar on sight
  • Attack Species - This monster will attack other monsters of the same species (Another monster of the same monster definition)
  • Attack Type - This monster will attack other monsters of the same Monster Type
  • Attack Others - This monster will attack other monsters not of the same species or type
  • Use Items - This monster can use items from its inventory: Drink Potions, read Scrolls, wear Armour, wield Weapons, etc
  • Throw Items - This monster can throw items from its inventory (such as Throwable Weapons and harmful Potions)
  • Get Items - This monster will pick up items it finds on the ground
  • Zap Wands - This monster can zap Wands from its inventory
  • Seek Invisible - If range-attacked by an Invisible monster, this monster will remember the square that the attack came from and move towards it in hopes of locating the attacker
  • Open Doors - This monster can open doors

Notes on Behaviors

Types And Species
Attack Type means that a monster will attack a monster of the same type (for example, a Blue Tridude and a Red Tridude are of the same Monster Type) and Attack Species means that a monster will attack another monster of it's same species (for example, a Green Tridude and another Green Tridude are the same species)
Unusual Monsters
Monsters of the type "Unusual" that have an AI Type which does not include the "Attack Type" behavior may still attack other "Unusual" type monsters. This is an exception to the "Attack Type" behavior, since the "Unusual" Monster Type is a catchall category for monsters without a specific type, and not intended to be an actual category of monsters.
Behavior vs Abilities
Behaviors associated with an AI Type only affect what a monster of that AI Type will do when controlled by the Game AI. Not having a behavior does not mean the monster is incapable of performing that action when possessed, polymorphed, or otherwise directly controlled by the player.
Mechanical Mice
Mice have a unique pattern: They try to follow a wall, keeping it on their right. For this purpose, any sort of obstacle counts as a "wall" -- liquid tiles, boulders, even monsters or the avatar. If no "wall" is to their right, they will check for a wall behind and to their right (that is, they are turning a corner). Otherwise, they will keep going straight until they find a wall, then follow it to the left. If they cannot do any of the above, they are considered "cornered", and will revert to a normal AI long enough to get them out of the corner. This last is the only case in which they can attack, assuming they've been angered. This fixed pattern means that a pet mouse cannot obey commands (notably "Stay"), though they might be able to attack something if they happen to get cornered by it. A possessed mouse, or polymorphed avatar, can still move normally at the player's direction.
Personal tools
Free Web Hosting