update terrain properties
use state stack manager for battle
only allow equipping wieldable items
wait for events to avoid crazy cpu usage