Hey, I'm creating a radiant quest system to be done whilst the player is in prison. Currently I'm working on a mine system, in which the player mines for ore in exchange for food and water. My issue is if the player's prison sentence is up whilst they're working on a radiant quest, it'll stick with them forever...or, at least, until they're thrown back into the same prison to complete it.
So is there anyway to have the quest auto-fail when the player is released from prison? Also, as an aside, how difficult would it be to either change the prison sentence length or change the sentence to mine "X" amount of ore? I have no experience scripting, so all I'm really capable of is building levels, quests, and NPCs as of right now. But I could see about finding some help with it if scripting would make this possible.