Course of Temptation Dev Diary #120 (Patreon)
Content
Hello friends! It is time for another dev diary.
Our current version as of a few minutes ago is 0.7.8d! It's been a relatively smooth launch of this month's update, as I learned from last month and did not add a whole new system in a marathon session the day before the release deadline. Still, no release is bug-free, and today's update fixes a bunch of them.
Besides bughunting, I'm back on 0.8, the NPC simulation update, this week. My goal for this month is just to get through as much of The Final Todo List as I can. Here's about where that stands:
Finish implementing a wider range of rules that dominants can set for their submissives, in particular ones that "soft doms" would be interested in
Allow NPCs to be able to accept all of the same sub rules that the PC can
The main blocker to the above is making NPC outfits more dynamic, both to accommodate specific clothing rules and to allow NPCs to accept gifted clothing
Allow subs to intentionally defy rules if they're so inclined, and implement punishments from the player character
Give cheating NPCs a favored "cheating partner" and include their interactions in the background simulation
Write events where the player character encourages an NPC to take on new inclinations
Rework the look of the View Person dialog to better integrate all the information it shows these days, in particular integrating their Elkbook event history (where the background simulation surfaces)
Add prenatal checkups where the player character can discover if they're having twins and the gender
Write events related to ongoing pregnancies, both the player character's and NPCs'
Add an occasional "pregnancy scare" event where the player is alerted to the fact they may be pregnant (with the same text as if they actually were)
Fix the game year so that summer is no longer one month shorter than the other seasons, which is something I did for some reason
Implement marriage as a possible relationship between NPCs, generate actual spouse NPCs for all the "married professor" types, and start off some townies with marriages as well
The past couple of days, I've been able to check off the View Person dialog item with a big revamp of that UI. For a while now, I haven't been particularly happy with how that dialog looks. It contains a lot of information, and it's not particularly easy to take in at a glance. The way it presents notable facts about the NPC in plain English is interesting as a feat of dynamic natural language, but it isn't helpful for quickly perceiving who an NPC is to you or making snap decisions about how to react to them.
As we all know, UI design is not really my forte, and CSS is my mortal enemy. That said, I've put a lot of work into tearing this dialog down and building it back up with, hopefully, a more useful, less cluttered layout and overall more polished look.
The idea here is to give it the look of a personal profile, which will also fit conceptually with its new Elkbook integration. The information is decluttered by presenting just the key words, starting at the top with who this NPC is to you and how you know them, then presenting other notable aspects below that, followed by the attitude meters and their personality traits.
It's also split into tabs, which does a lot to reduce the sheer amount of information you're presented with at once. Still, the things you want to know — whatever helps you make a decision about how to react to an NPC in the moment — should be right there in the Overview tab.
In doing this, I've split this information into a bunch of individual widgets so they're easy to rearrange. This includes the structural UI elements like the tab bar and the accordions, which, up to now, I've been creating bespoke in each passage where they're needed.
That is a bit of a nasty little habit you can get into with large projects. "I just need to build an accordion this one time," you say, and so you make it right there in that passage. Then, later, "Oh, I need another accordion here. Well, I'll just copy and paste the code from the first one." And then, "Ah, turns out I need a third accordion. Time to paste in that code again. I guess it's not so bad if it's only three times..." Then: "Uh oh, now I need it a fourth time. Well..." And before long you've got a bunch of repeated code throughout the project, and repeated code is pretty much a surefire sign you've gone wrong somewhere.
Anyway, all of that is to say that while I was at it, I standardized these structures so that they can be easily used throughout the project in a broader UI revamp. That's a bit outside of the immediate scope for 0.8, though I may tackle it once we're in the testing and polishing phase, or in whatever monthly update follows 0.8. We'll see.
In the meantime, what do you think of the changes so far? Anything you'd adjust? Any key piece of info you're missing? I'm not done with this revamp yet so these images are definitely WIP, but I'm pausing here with it for the time being, so it's a good time for suggestions! (After I took these screenshots, I made the "Text them" action more visually distinct from the personality traits.)
In the meantime, I'll be continuing with the rest of the todo list. I think I'll take today to tackle an item I've been dreading: making NPC outfits more dynamic. This is necessary so that if you want a sub NPC to always wear a skintight top, for example, then they can find or create an outfit that will allow them to do so. Currently NPCs are locked into semi-static outfits, so if you wanted to make them wear a skintight top, it's not guaranteed that they'd be able to obey, which is why that option hasn't been available to the player. So we either need to make sure every style type has a skintight top outfit, or has an outfit they can dynamically swap a skintight top into. And so on for the other possible wardrobe rules.
Anyway, that's all for now. Thank you for reading, and as always, I'm incredibly grateful for your generous support and for making this project possible. I'll be back next Friday and I hope you have a good week!