--
-- Underworld Adventures - an Ultima Underworld remake project
-- Copyright (c) 2002,2003,2004 Underworld Adventures Team
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
--

--
-- critter.lua - critter handling
--


-- constants


-- tables


-- functions

-- evaluates critter condition and does actions
function critter_eval(obj_pos)

   -- get object infos
   -- local objinfo = objlist_get_obj_info(obj_handle)

   -- available functions:
   --  critter.find_path(tox,toy,use_water,use_lava,can_fly)
   --  critter.dist_to(obj_handle)
   --  critter.dist_to_player()
   --  critter.set_move(dir,speed)
   --  critter.set_anim(animtype)
   --  critter.get_npcinfo() -> same as objlist_get_obj_info?
   --  critter.attack_mode(bool on)
   --  critter.set_goal(goal) often used(?)

end
