mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 02:57:48 +01:00
* holy guacamole * TGUI capitilization Co-authored-by: Nathan Winters <100448493+CinnamonSnowball@users.noreply.github.com> * TGUI rebuild * implements requested changes * fixes * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> * fulfilling more requests * uplink fixes * init order stuff * charlies requested changes * Apply suggestions from code review Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Co-authored-by: Nathan Winters <100448493+CinnamonSnowball@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
30 lines
709 B
Plaintext
30 lines
709 B
Plaintext
/obj/item/implant/emp
|
|
name = "emp implant"
|
|
desc = "Triggers an EMP."
|
|
icon_state = "emp"
|
|
origin_tech = "biotech=3;magnets=4;syndicate=1"
|
|
uses = 2
|
|
implant_data = /datum/implant_fluff/emp
|
|
implant_state = "implant-syndicate"
|
|
|
|
/obj/item/implant/emp/activate()
|
|
uses--
|
|
INVOKE_ASYNC(GLOBAL_PROC, .proc/empulse, get_turf(imp_in), 3, 5, 1)
|
|
if(!uses)
|
|
qdel(src)
|
|
|
|
/obj/item/implanter/emp
|
|
name = "implanter (EMP)"
|
|
|
|
/obj/item/implanter/emp/Initialize(mapload)
|
|
. = ..()
|
|
imp = new /obj/item/implant/emp(src)
|
|
|
|
/obj/item/implantcase/emp
|
|
name = "implant case - 'EMP'"
|
|
desc = "A glass case containing an EMP implant."
|
|
|
|
/obj/item/implantcase/emp/Initialize(mapload)
|
|
. = ..()
|
|
imp = new /obj/item/implant/emp(src)
|