Use person.lastsexday instead of person.metrics.lastsexday. Lastsexday does not exist in the metrics dictionary.
Tried that, and I still get "Null" in the speech. The console gives the following new error:
SCRIPT ERROR: talkKegels: Invalid operands 'Object' and 'float' in operator '/'.
At: user://mods/AricsExpansion/scripts/expansion.gd:683
Here's the current relevant line in expansion.gd (sans tabs)
if person.sstr*2 + person.lastsexday + capacity + rand_range(0,10) >+ rand_range(50,100)/capacity:
Oh hey, that fixes it. Cool.
I also fixed another bug I found in the mod that prevented slaves with wits below 0 from even talking to the PC.
http://www.mediafire.com/file/60u8ew84t599cs4/AricsExpansion_for_0.5.23c.7z/file
Enjoy the updated mod.
[EDIT]
Woops, forgot to enable sharing. Should be open to everyone now.
Also, I've encountered some other bugs. One leads to a divide by zero issue when doing the Kegels talk.
Thanks for updating this, man! I haven’t forgotten about this mod but had some stuff pop up in my life that put it on the back burner for a few months. I plan on resuming work on it pretty soon to bring out a lot of those features previously discussed and make sure everything plays nicely with the alterations maverik made in 5.24c.