So, I want to implement a "part-time job" mechanic in my game. For reference, I'm using Moghunter's Time System for timekeeping.
Basically, the hero shows up at a shop for his shift at a specific time. The screen fades out and time fast-forwards to the end of the shift (let's say 6AM). The hero is then paid 80 gold or 10 gold per hour. But say the shift is 10PM to 6AM, and the hero doesn't show up for their shift until 12AM, so they leave with 60 gold because they only worked six hours instead of eight.
What would be the best way to accomplish this via event?
Basically, the hero shows up at a shop for his shift at a specific time. The screen fades out and time fast-forwards to the end of the shift (let's say 6AM). The hero is then paid 80 gold or 10 gold per hour. But say the shift is 10PM to 6AM, and the hero doesn't show up for their shift until 12AM, so they leave with 60 gold because they only worked six hours instead of eight.
What would be the best way to accomplish this via event?