Literally just a port of Comfy RPG from the Comfy Factorio scenario pack found on Github (https://github.com/M3wM3w/ComfyFactorio) to work in the current version of Factorio
All credit goes to M3wm3w and the Comfy Factorio team responsible for bringing Comfy RPG to this point
I only did one edit, removing line 15 from global.lua which was preventing it from working, that in conjunction with line 127 in event.lua also not working.
It works now