vgstation-coders / vgstation13

Butts
GNU Affero General Public License v3.0
265 stars 544 forks source link

Shield capacitors should turn off if APC is drained #24058

Open D3athrow-Issues opened 5 years ago

D3athrow-Issues commented 5 years ago

(WEB REPORT BY: archinist REMOTE: 206.221.180.138:7777)

Revision

4aa305780a7d5652b1956282e98a198ac3ad0087

Description

I played as AI on Snowmap for the first time and decided to fiddle with the starscreen shield makers in the AI room for fun and profit. Unfortunately I got neither, instead the AI APC was instantly drained and drained faster then it could charge.

Steps to Reproduce

Join Snowmap as AI, go to starscreen capacitors and set them to about 50 KWs

What you Expected

The shields to turn on and make me invincible to most threats, and maybe use a bit of power

What Actually Happened

I lost all power as the AI and couldn't even turn the capacitors off to let the APC charge.

Kurfursten commented 5 years ago

Capacitors should probably default power off if the APC hits 0

SonixApache commented 5 years ago

Capacitors need some more work but working with the UI is extreme pain.

Probe1 commented 5 years ago

My brain is mush is this a mapping or coding issue?

Kurfursten commented 5 years ago

Coding issue really. You could simply delete them from the AI core but really we should have failsafes for this so AIs don't stupid themselves.