Trying to make a small house mod that lets you commission and build a house, similar to the Great Houses, for the Imperial Legion questline. I've got all the framework of the quest down - I'm able to do it, start to finish, with only one problem. The script that's supposed to track the days passed doesn't seem to do anything, and I can go from paying for the thing to getting my key without closing the dialogue window.
Does anyone know how to handle the passage of time via scripting? I tried putting two local variables on the NPC who gives the quest, one for the day he's paid and one to flag that the house is ready. When you make the payment, it sets the DayPaid to the current game day (using the Day global), and sets the house ready flag once (Day - DayPaid >= 14).
Any ideas as to why this isn't working?