Course of Temptation Dev Diary #112 (Patreon)
Content
Hello friends! Friday the Thirteenth! It's here!
We're on version 0.7.6f today, with the latest bugfix update out just now. The animated UI elements introduced a couple weird unexpected problems, though nothing too severe, and it should be sorted now. My brain always wants to believe that variables set within a widget are scoped there and won't overwrite variables in other widgets/passages, which is absolutely not true... but slowly I'm getting the notion that I should be sure to name variables within a widget something unique. But anyway!
Beyond fixing bugs, this last week has been about further work on the pregnancy system that I want to expand on in 0.8. It's been a little bit of a "the last 20% takes 80% of the time" situation as I keep realizing there are things NPCs need to algorithmically decide about the situation they're in, which requires new helper methods, and on it goes.
This logic is always subject to change and further finetuning. Consistently, the trickiest thing about this game is that all these subjective, complicated situations ultimately have to come down to a number and a final quantitative decision.
However, I've gotten to the point where most of this backend stuff is finished and it's time to write events that surface what's going on to the player.
This is a work in progress, and the NPC's specific reaction depends on their relationship with the PC, their inclinations, and how they feel about their situation. As you can see, you do get the opportunity to turn it into a huge disaster if you want to!
The NPC simulation event system is the engine for much of this. It controls when NPCs realize they're pregnant or decide they should test, whether they take a morning after pill after unprotected sex, when they decide they should tell the player they're pregnant if the player is involved, and so on. The event where the NPC informs the player they're pregnant relies on the system where the NPC can seek advice from the player before a simulation event executes. Technically, they're not exactly seeking advice, but it works regardless without any modifications. So, all in all, it's a good thing I wrote the NPC simulation system first.
I'll continue tackling all this into next week, with the focus now on writing related events, first working on surfacing what's going on with pregnant NPCs and then continuing writing stuff to do with the PC being pregnant (I've already written some stuff for the PC suspecting or discovering they're pregnant).
Pretty soon I'll have to switch gears to the March monthly update. Why does February always feel even shorter than it is? Anyway, the 0.8 update is biiiiig, but once the broad strokes of the pregnancy stuff are done, the todo list of remaining tasks for this update will be pretty specific and manageable.
Okay, that's about it for this week. I will return on the far less fraught Friday the Twentieth with another progress report. I hope your week is a good one, and as always, thank you so much for your support!