aboutsummaryrefslogtreecommitdiff
path: root/engine/traits/orientation.ts
blob: e72a9cfe8ed65b322e56d88226bb86d59cd8604f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * Gender identity and sexual orientation. Continuous axes plus a discrete
 * gender tag.
 *
 *   sexualAttraction   0 = hetero-exclusive, 100 = homo-exclusive
 *   romanticAttraction independent continuous axis
 *   sexualityAwareness 0 = pre-discovery, 1 = fully integrated self-knowledge
 */
export type Gender = 'male' | 'female' | 'nonbinary' | 'trans-male' | 'trans-female'

export interface SexualOrientation {
  readonly sexualAttraction: number
  readonly romanticAttraction: number
  readonly gender: Gender
  readonly sexualityAwareness: number
}