mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-26 00:51:23 +00:00
* Completely removes `proc_holders` from existence. Refactors all wizard, xeno, spider, and genetics powers to be actions. Also refactors and sorts ton of accompanying code. * our changes * yes * 0 * Update blackmesa.dmm Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
28 lines
832 B
Plaintext
28 lines
832 B
Plaintext
/obj/item/implant/mortis
|
|
name = "MORTIS implant"
|
|
|
|
/obj/item/implant/mortis/get_data()
|
|
var/dat = {"<b>Implant Specifications:</b><BR>
|
|
<b>Name:</b> God Co. MORTIS Implant<BR>
|
|
<b>Life:</b> Activates upon death.<BR>
|
|
"}
|
|
return dat
|
|
|
|
/obj/item/implant/mortis/implant(mob/living/target, mob/user, silent = FALSE, force = FALSE)
|
|
. = ..()
|
|
if(.)
|
|
RegisterSignal(target, COMSIG_MOB_EMOTED("deathgasp"), .proc/on_deathgasp)
|
|
|
|
/obj/item/implant/mortis/removed(mob/target, silent = FALSE, special = FALSE)
|
|
. = ..()
|
|
if(.)
|
|
UnregisterSignal(target, COMSIG_MOB_EMOTED("deathgasp"))
|
|
|
|
/obj/item/implant/mortis/proc/on_deathgasp(mob/source)
|
|
SIGNAL_HANDLER
|
|
playsound(source.loc, 'modular_skyrat/modules/chaplain/sound/mortis.ogg', 50, 0)
|
|
|
|
/obj/item/implanter/mortis
|
|
name = "implanter (MORTIS)"
|
|
imp_type = /obj/item/implant/mortis
|