8023d94b20
experimental: Tesla damage has been reworked to structures and objects have been worked with a linear scaling. experimental: All tesla weapons now no longer need to hit a mob to arc lightning; however, they will no longer stun, and only hit each target once. tesla_zap vars are now a single bitfield.
11 lines
432 B
Plaintext
11 lines
432 B
Plaintext
/obj/machinery/the_singularitygen/tesla
|
|
name = "energy ball generator"
|
|
desc = "Makes the wardenclyffe look like a child's plaything when shot with a particle accelerator."
|
|
icon = 'icons/obj/tesla_engine/tesla_generator.dmi'
|
|
icon_state = "TheSingGen"
|
|
creation_type = /obj/singularity/energy_ball
|
|
|
|
/obj/machinery/the_singularitygen/tesla/tesla_act(power, tesla_flags)
|
|
if(tesla_flags & TESLA_MACHINE_EXPLOSIVE)
|
|
energy += power
|