Tesla tweaks and bugfixes (#6955)

Bugfix: Tesla no longer gains energy from just colliding with objects

    Bugfix: Fixes sprite for singularity beacon not showing up

    Bugfix: Tesla no longer spams admin longs when a new ball is created outside of containment

    Bugfix: Telsa looses energy when dropping ball which should be slightly below how much is required for new ball.

    tweak: Tesla dissipation rate has been buffed, it now looses energy faster

    tweak: Tesla dissipates every time it zaps something

    tweak: Tesla now melts any object or mob(but not turfs) it touches or when it zaps it while sacrificing a miniball.

    rscadd: Added special emergency singularity beacon that is to be used when Singulo/Telsa are on the Loose. When Tesla zaps the beacon, it will discharge all energy into it, dying and destroying beacon.
This commit is contained in:
Mykhailo Bykhovtsev
2019-10-23 11:09:46 -07:00
committed by Erki
parent 037887700e
commit b167f0eade
5 changed files with 110 additions and 18 deletions
@@ -30,9 +30,10 @@
var/chained = 0//Adminbus chain-grab
/obj/singularity/New(loc, var/starting_energy = 50, var/temp = 0)
/obj/singularity/New(loc, var/starting_energy = 50, var/temp = 0, var/alert = TRUE)
//CARN: admin-alert for chuckle-fuckery.
admin_investigate_setup()
if(alert)
admin_investigate_setup()
energy = starting_energy
if (temp)