Character Schedules [1] Overview Character schedules give life to a character. They are implemented by Python scripts specifing movement and actions of each character. [2] Dependencies none [3] Requirements * a master schedule decides what activity schedule controls the character at any given time. This master schedule is only executed when no other schedule is active * activity schedules let characters walk, talk, pick up, combine and drop items, etc. ... * events (time, quest, etc.) can be used to stop the active schedule, thus triggering the master schedule. * character activity can be paused and resumed * generic activities written in python can be used to create individual activity schedules for characters. * Schedules are event driven: schedule of player listens for keyboard events and reacts accordingly; other schedules are controlled by other types of events. * schedule state must be saved and loaded [4] References * Suggestions (take with a lump of salt) http://lists.gnu.org/archive/html/adonthell-devel/2002-04/msg00208.html * More suggestions (take with a grain of salt) http://lists.gnu.org/archive/html/adonthell-devel/2003-02/msg00035.html * Sample code http://lists.gnu.org/archive/html/adonthell-devel/2002-06/msg00002.html