type

Settable:
no
Arguments:
(1) character
(2) object
Return Value:
string

This function returns the sort of thing that an object or character is. Character types are:

  • human
  • power
  • dragon
  • giant
  • mammal
  • dumb-monster
  • animated-object
  • elemental
  • dumb-plant
  • amphibian
  • reptile
  • bug
  • bird
  • lycanthrope
  • mindless-undead
  • undead
  • evil-human
  • humanoid
  • golem
  • smart-monster
  • fish
  • crustacean
  • slime
  • smart-plant
  • fairy
  • demon
  • angel

Object types are

  • light
  • scroll
  • wand
  • staff
  • weapon
  • fire weapon
  • missile
  • treasure
  • armor
  • potion
  • floor
  • component
  • trash
  • vault key
  • container
  • note
  • liquid container
  • key
  • food
  • money
  • pen
  • boat
  • fountain
  • rope
  • ioun
  • spellbook
  • poison
  • ticket
  • keychain
  • fishing pole
  • clasp
  • musical instrument