Night Vision (Power Type)

Brightens the world for the holder without applying the status effect.

Brightens the world for whoever holds it, the way the Night Vision effect does, but without applying an effect — so there is no icon, no timer, no particles, and nothing a milk bucket can remove.

Type ID: apoli:night_vision (alias apoli:toggle_night_vision)

Fields

FieldTypeDefaultDescription
strengthFloat1.0How bright, from 0.0 (no change) to 1.0 (full Night Vision). Values in between give partial darkvision.

If several night vision powers are active, the highest strength wins; it does not stack.

Examples

Full, always-on darkvision:

{
  "type": "apoli:night_vision"
}

Weak darkvision that only works while you are still, which reads much better than an effect because it can switch instantly:

{
  "type": "apoli:night_vision",
  "strength": 0.4,
  "condition": {
    "type": "apoli:sneaking"
  }
}

Tie the strength to a resource by shipping two powers at different strengths and gating each — the alias apoli:toggle_night_vision exists for packs ported from the original Apoli and behaves identically:

{
  "type": "apoli:night_vision",
  "strength": 0.2,
  "condition": {
    "type": "apoli:resource",
    "resource": "vampire:blood",
    "comparison": ">=",
    "compare_to": 4
  }
}

This affects the client’s lighting only. It does not make mobs easier to detect, and it does not change actual light levels for anything else.