an alternative to scripting in gameplay code