Fixes supermatter AC. Keeps max subtract below current power. (#47943)
Fixes supermatter AC. Keeps max subtract below current power. (#47943)

* Properly zeros bz curve, maybe fixes negative rads

* Reverting so it can be better modified.

* Ah hell

* Adds Min that takes over power degen

* Changes constant

* Future proofs against negative positive switch

* Changes powerloss formula again, takes the absolue value to keep it aboove the curve.

* Changes the second formula to a proportional one, needs further testing.

PKPenguin321/-tg-station,optimumtact/-tg-station,erwgd/-tg-station,anconfuzedrock/tgstation,Bawhoppen/-tg-station,tgstation/tgstation,CPTANT/-tg-station,QualityVan/tgstation,Thunder12345/-tg-station,WJohn/-tg-station,kingofkosmos/-tg-station,Cruix/-tg-station,kingofkosmos/-tg-station,HippieStation/HippieStation,Jordie0608/tgstation,MicroWorldwide/SS13-TG-station,JJRcop/tgstation,Mark9013100/tgstation-m9,infinitystation/-tg-station,SamuelRowe/-tg-station,Cruix/-tg-station,TheVekter/-tg-station,GunHog/-tg-station,MrStonedOne/tgstation,tgstation/-tg-station,tgstation/tgstation,HippieStation/HippieStation,QualityVan/tgstation,TheVekter/-tg-station,infinitystation/-tg-station,Razharas/-tg-station,Razharas/-tg-station,coiax/-tg-station,nicbn/tgstation,Jordie0608/tgstation,XDTM/tgstation,Mark9013100/tgstation-m9,tgstation/tgstation,Bawhoppen/-tg-station,nicbn/tgstation,MicroWorldwide/SS13-TG-station,tgstation/-tg-station,PKPenguin321/-tg-station,TheVekter/-tg-station,Thunder12345/-tg-station,CPTANT/-tg-station,Arianya/tgstation,Mark9013100/tgstation-m9,kingofkosmos/-tg-station,kingofkosmos/-tg-station,kingofkosmos/-tg-station,MicroWorldwide/SS13-TG-station,optimumtact/-tg-station,Fox-McCloud/-tg-station,Cruix/-tg-station,infinitystation/-tg-station,Cruix/-tg-station,XDTM/tgstation,PKPenguin321/-tg-station,Arianya/tgstation,Profakos/tgstation,tgstation/tgstation,Cyberboss/tgstation,kingofkosmos/-tg-station,erwgd/-tg-station,JJRcop/tgstation,MicroWorldwide/SS13-TG-station,Razharas/-tg-station,tgstation/-tg-station,Cyberboss/tgstation,Mark9013100/tgstation-m9,optimumtact/-tg-station,Jordie0608/tgstation,Jordie0608/tgstation,ShizCalev/tgstation,Thunder12345/-tg-station,Bawhoppen/-tg-station,WJohn/-tg-station,JJRcop/tgstation,MrStonedOne/tgstation,Cruix/-tg-station,QualityVan/tgstation,JJRcop/tgstation,Cyberboss/tgstation,XDTM/tgstation,ShizCalev/tgstation,QualityVan/tgstation,XDTM/tgstation,TheVekter/-tg-station,erwgd/-tg-station,optimumtact/-tg-station,JJRcop/tgstation,CPTANT/-tg-station,ShizCalev/tgstation,Fox-McCloud/-tg-station,Profakos/tgstation,MicroWorldwide/SS13-TG-station,Fox-McCloud/-tg-station,optimumtact/-tg-station,HippieStation/HippieStation,anconfuzedrock/tgstation,JJRcop/tgstation,nicbn/tgstation,TheVekter/-tg-station,tgstation/tgstation,Cruix/-tg-station,Bawhoppen/-tg-station,WJohn/-tg-station,XDTM/tgstation,GunHog/-tg-station,Profakos/tgstation,WJohn/-tg-station,Arianya/tgstation,tgstation/tgstation,SamuelRowe/-tg-station,JJRcop/tgstation,coiax/-tg-station,QualityVan/tgstation,Razharas/-tg-station,HippieStation/HippieStation,Jordie0608/tgstation,Profakos/tgstation,WJohn/-tg-station,HippieStation/HippieStation,Arianya/tgstation,coiax/-tg-station,Thunder12345/-tg-station,tgstation/tgstation,Bawhoppen/-tg-station,CPTANT/-tg-station,Thunder12345/-tg-station,ShizCalev/tgstation,Cyberboss/tgstation,infinitystation/-tg-station,infinitystation/-tg-station,coiax/-tg-station,kingofkosmos/-tg-station,ShizCalev/tgstation,Fox-McCloud/-tg-station,Mark9013100/tgstation-m9,PKPenguin321/-tg-station,HippieStation/HippieStation,Cyberboss/tgstation,Jordie0608/tgstation,Thunder12345/-tg-station,optimumtact/-tg-station,PKPenguin321/-tg-station,PKPenguin321/-tg-station,infinitystation/-tg-station,Razharas/-tg-station,coiax/-tg-station,Jordie0608/tgstation,MicroWorldwide/SS13-TG-station,CPTANT/-tg-station,XDTM/tgstation,MrStonedOne/tgstation,Mark9013100/tgstation-m9,anconfuzedrock/tgstation,Fox-McCloud/-tg-station,SamuelRowe/-tg-station,Cyberboss/tgstation,Profakos/tgstation,MrStonedOne/tgstation,anconfuzedrock/tgstation,PKPenguin321/-tg-station,TheVekter/-tg-station,Razharas/-tg-station,Cyberboss/tgstation,GunHog/-tg-station,nicbn/tgstation,Bawhoppen/-tg-station,nicbn/tgstation,GunHog/-tg-station,Arianya/tgstation,MrStonedOne/tgstation,coiax/-tg-station,tgstation/-tg-station,MicroWorldwide/SS13-TG-station,Mark9013100/tgstation-m9,XDTM/tgstation,HippieStation/HippieStation,nicbn/tgstation,ShizCalev/tgstation,Bawhoppen/-tg-station,nicbn/tgstation,MrStonedOne/tgstation,TalkingCactus/tgstation,Razharas/-tg-station,Profakos/tgstation,TalkingCactus/tgstation,Arianya/tgstation,Fox-McCloud/-tg-station,GunHog/-tg-station,QualityVan/tgstation,Razharas/-tg-station,WJohn/-tg-station,GunHog/-tg-station,Cruix/-tg-station,coiax/-tg-station,CPTANT/-tg-station,ShizCalev/tgstation,Bawhoppen/-tg-station,TalkingCactus/tgstation,WJohn/-tg-station,infinitystation/-tg-station,SamuelRowe/-tg-station,CPTANT/-tg-station,MrStonedOne/tgstation,Jordie0608/tgstation,CPTANT/-tg-station,MrStonedOne/tgstation,MicroWorldwide/SS13-TG-station,optimumtact/-tg-station,anconfuzedrock/tgstation,QualityVan/tgstation,Arianya/tgstation,Cruix/-tg-station,ShizCalev/tgstation,Fox-McCloud/-tg-station,anconfuzedrock/tgstation,tgstation/tgstation,Thunder12345/-tg-station,anconfuzedrock/tgstation,Profakos/tgstation,TalkingCactus/tgstation,infinitystation/-tg-station,PKPenguin321/-tg-station,GunHog/-tg-station,TheVekter/-tg-station