About This File
This is basically just a basic framework for creating a custom job. Included in this is the example Maid Framework which is a working example, although so far it's very barebone as to work as an example. It can of course be expanded if people want. While the maid framework is usable by anyone this is really only meant for modders so far. The maid job is extremely barebone but has a few example events.
How to use this framework and what it does:
To be technical calling it a framework is a bit of a misnomer. But it works in much the same way. With this you can setup a job that handles a lot of the technical stuff involved in creating a job with relative and instead focus on creating scenes/events for the workdays. All this is made only with passages so it will not conflict with any other mods.
To get started:
Most of the setup you need to get started are in the "job framework initialize". Simply change the settings to what you need for your chosen job. You will also need to change "daily check for hired" with the needed changes. To create a better interview process you will have to change the "job framework interview" to create a scene to your liking.
At the start of a regular workday the framework assumes you have some sort of skill test/minigame that checks your job skill. After this check it then calls a random event from the event pool depending on whether the test failed or passed. The event pool is simply any passage tagged with [job_event_fail] or [job_event_success]. If you want an event to be run in both cases you'd need to use [job_event_fail job_event_success]
One of these events will randomly be chosen to run each workday. Finish these events with a call to "job framework end" and the game will handle all the details like pay and continuing the day normally.