lua entity wip