Move a savanna-agent fun to savanna_commons