Foundry Playbook disclaimer: wip i wrote this at midnight, please cut me some slack if it doesnt work