To understand the engineering behind the genre, we must look at the specific components that drive the Otome Function.
For Ren’Py (common otome engine):