Personal Laser Defense Toggle Button


Adds a HUD shortcut button and hotkey to toggle personal laser defense equipment on and off.

Utilities
30 minutes ago
2.1
0
Armor
Owner:
immortalknight
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
30 minutes ago
Latest Version:
0.1.0 (30 minutes ago)
Factorio version:
2.1
Downloaded by:
0 users

Adds a native-styled HUD shortcut button and hotkey (default Ctrl + L) to toggle your Personal Laser Defense equipment on and off—ideal for peaceful mode, friendly bases, or conserving armor battery power.

Features

  • Dynamic Button States: The shortcut icon visually reflects your equipment status—yellow when armed, light gray when switched off (standby), and dark gray when no personal laser defense is equipped.
  • Preserves Capacitor Charge: Disabling your lasers stops automatic firing and sets passive drain to 0W without dumping their internal energy buffer, so toggling them back on won't drain your armor batteries.
  • Modded Equipment Support: Automatically works with both vanilla and modded personal laser defense modules (any automatic active-defense equipment) while leaving manual Discharge Defense unaffected.
  • Tech-Gated Shortcut: Automatically appears on your shortcut bar once Personal Laser Defense is researched.

Inspired by sonaxaton's Nightvision Toggle mod.