Actually, I have a plan for bad endings. There's a "Sanity" stat. It does nothing yet, but finally I plan to use it in certain battles and when it hits 0 then there will be a different losing scene. I'm not sure how it was resolved in trials.
in trials in tainted space, it didn't go off of stats for bad endings all the time. Stat based bad ends were mostly done through how submissive you became toward an npc. Most bad ends were from you losing either a certain amount of times to a certain enemy, losing in a dungeon, or outright submitting to a character. I would suggest sleeping or crafting to reduce sanity, but the affect of sanity would also result in the character moving to an area over night