split generic_functions.lua and move to utils subfolder
add additional debug output to rightclick handler
add some assertions to helper functions
add assert in case of invalid parameters for mgen_follow state identification
fixed bug in backup of current state on start fighting
improvements to support guard mob
added sound support on shooting distance attack