Skip to content

five-on-it / packages/ai/src/visibility / VISIBILITY

Variable: VISIBILITY ​

const VISIBILITY: object

Defined in: packages/ai/src/visibility.ts:27

The shares of sight and hearing the dark and the weather leave.

Type Declaration ​

fog ​

readonly fog: 0.5 = 0.5

Sight in the thickest fog.

lamp ​

readonly lamp: 0.9 = 0.9

Sight at night under a street lamp.

night ​

readonly night: 0.55 = 0.55

Sight in the dark of night.

rain ​

readonly rain: 0.25 = 0.25

The share of sight a downpour takes away.

rainHearing ​

readonly rainHearing: 0.35 = 0.35

The share of hearing a downpour takes away.