For those having problem with Nora standing sex I found a console work-around for it.
first add the item to your inventory:
g_InventoryItem.append(ItemData(pKey='masochist_pills'))
then run this to see what index the item has, it will be the last one:
for index, item in enumerated(g_InventoryItem): print("item #{}".format(index, item.pKey))
it will write a list with items, what are you looking for is something like 'item #n = masochist_pills'
the you only have to write:
g_InventoryItem[n].count = xxx
and then you're gonna have xxx amount of pills.
Be careful with capitalization!!!
*n = index of the item.