mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
Fixes tesla coil hell contraptions (#52889)
Removes the ability for tesla coils to generate power with more then 85% efficiency. Cleans up the remainder of my zap_act refactor, making the proc better fit its usecase and removing some unneeded code. Adds a check in the tesla coil zap() proc that makes sure we're not trying to use power that's not there. Removes some seemingly complex math from said proc, replaces it with a static 20% draw * the efficiency.
This commit is contained in:
@@ -419,7 +419,7 @@
|
||||
if(client)
|
||||
R.updatename(client)
|
||||
|
||||
if(mind) //TODO
|
||||
if(mind) //TODO //TODO WHAT
|
||||
if(!transfer_after)
|
||||
mind.active = FALSE
|
||||
mind.transfer_to(R)
|
||||
|
||||
Reference in New Issue
Block a user