Skip to content

Patch up artifact cell charge and drain

Rob Nelson requested to merge pull/6654/Energy-Artifact into Bleeding-Edge

Created by: dylanstrategie

  • Use proper helper procs and correct checks (notably check for cell instead of looping through contents)
  • Use effectrange consistently, this should also reduce lag massively since the artifact will no longer loop through all of the station's APC contents when triggered
  • Streamline effects. Aura is +25 or -50 charge. Pulse and touch are rand() * 100 + or -
  • Use warning and danger for charge drains, because that's REALLY bad
  • All broadcasted warnings use the delay

Fixes #6596 (closed)

Merge request reports