mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-02 21:52:48 +00:00
* Refactors Electrocution and Tesla Zapping---Improves Supermatter and Tesla * forgot this one * fixes and styling * last tidbits hopefully * machine frames * use flags * styling
11 lines
424 B
Plaintext
11 lines
424 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/zap_act(power, zap_flags)
|
|
if(zap_flags & ZAP_MACHINE_EXPLOSIVE)
|
|
energy += power
|